Chapter: 06. Scratch Programming Game Creation
Section 1: Multiple Choice Questions (MCQs)
b) To create games and animated stories b) It stores data that can change. Section 2: Fill in the Blanks
Section 3: True/False Questions
Section 4: Short Answer Questions
Three important parts of the Scratch window are the Stage Area, Script Area, and Block Menu. A Numeric Variable stores numbers for calculations, while a String Variable stores text or characters and is not used for math. Pen blocks need to be added as an extension in Scratch 3.0 because they are not part of the default block categories, requiring manual activation. To make a sprite draw a line as it moves, you must use the pen down block. A sprite would turn 45 degrees at each corner to draw an octagon because an octagon has 8 sides, and 360 degrees divided by 8 equals 45 degrees. Section 5: Identifying and/or Differentiate Concepts
The repeat block executes its instructions a specific, predefined number of times and then stops. The forever block, however, executes its instructions continuously and indefinitely until the program is manually stopped by the user. The erase all Pen block clears all drawings made by the pen from the stage. In contrast, the stamp Pen block creates an exact copy of the current sprite’s image on the stage at its current location. Section 6: Diagram-Based Questions
The sprite will draw a square. Section 7: Long Answer Questions
To animate a character talking and jumping repeatedly, you would start with a when green flag clicked block. Then, place a forever block to make the actions repeat continuously. Inside the forever block, use a say "Hello!" for ( ) seconds block (from Looks) for talking. For jumping, you could use glide 1 secs to x: (new X) y: (new Y) (from Motion) to make it move to a different spot, combined with next costume (from Looks) for a jumping animation. Conditional blocks like if...then and if...then...else allow a Scratch program to make decisions based on whether certain conditions are true or false. You would use if...then if you only want an action to occur when a condition is true, such as if (score = 10) then say "You Win!". You would use if...then...else when you need two different outcomes depending on the condition, like if (age > 18) then say "Adult" else say "Minor".