Sie sind auf Seite 1von 3

Reflection Journal -- Scratch Level #1

Expectation for reflection journals -- include a thoughtful, thorough answer that can
be understood by any reader - your answer should always include explanations
that show your thinking & provide some evidence to support your answer (CER)

**Formatting
when answering a question leave a line of space between the question & your answer & the next question, have the
indention of your entire answer match that of the question, do not change the font or size, BUT DO change the COLOR

Turning in your Reflection Journal:


This will need to be posted to your weebly on the Power-Up Projects section that you set-up for the class.

Tasks:
1. Choose ONE of the 3 projects for this assignment --
a. 10 Block Challenge
b. Build-A-Band
c. Its Alive

2. Use the data table below to ANNOTATE your code for EACH sprite
a. Annotate -- add notes to (a text or diagram) giving explanation or comment
b. Key to screenshots -- do a small amount of code at a time so it is legible
c. One image is placed in table click on it & choose wrap text
d. Add to the data table as needed to incorporate all of the sprites & the code you wrote

SAMPLE ANNOTATED CODE:

ScreenShot of CODE Annotation

-- asks the program to start at a particular event --


the green flag is clicked

-- this is a rest for the program so scratch cat


goes back to where he started everytime --
without this scratch cat would wander off the
screen the second time the
program is run

-- this loop allows scratch cat


to walk. for a total of 200
steps forward.
--The WAIT block is needed in
order to see the costume
change -- without that line of
code scratch cat would just
seem to glide to the end spot
without his legs appearing to
move because the costume
changes would happen simultaneously.
Name of Project:

ScreenShot of CODE Annotation

Giant Sprite
-Activates the program when
clicked.

-The repeat allows the cat to repeat the action multiple


times.
-The program involves the scratch cat saying hello and
meowing, then disappearing, only to reappear off of the
screen at 8 times the size. The cat then glides across the
screen to the origin point and reduces back to its original
size.

3. Debug It! Explanation -- choose one debug from debug #2 or debug #3 (whichever you completed)
a. Debug It! #: 2.3
i. What was the program suppose to do?

The program was supposed to draw a smiley face with two eyes and a smile.

ii. What did it actually do?

The smiley face was drawn, but a line was created between the right eye and the mouth.
iii. What did you need to do to fix it? (provide an annotated screenshot if you prefer)

In order to fix it, I added a pen up and a pen down script before and after the movement from the
eye to the mouth to make sure this line was not drawn.

iv. What was your test & debugging protocol (procedure or steps you used)?

First, I found the script which stopped the pen from drawing, ie the pen up and pen down scripts.
Then I located the part of the script which was responsible for moving the pen from the eye to the smile. When I found this
part of the code, there were no pen up and pen down scripts, which I immediately added. After these were added, the script
worked perfectly.

Das könnte Ihnen auch gefallen