CL04 CO06 CODING MAGIC – SCRATCH

CHAPTER 6: CODING MAGIC – SCRATCH


1. The Hook (The Tech Innovation)

  • Did you know that Scratch was developed by visionary computer scientists Mitchel Resnick, Brian Silverman, and Paula Bonta, who launched the very first desktop-only version in 2003 to make programming intuitive, visual, and accessible?
  • Imagine if you could command a computer to design animated stories, control multimedia sound effects, and sketch geometric art simply by snapping graphical blocks together like building bricks!
  • Instead of typing out complex, cryptic computer code prone to syntax errors, Scratch empowers creators to direct on-screen actors called sprites across a dynamic digital canvas known as the stage.
  • With specialized Event blocks, Control loops, and Pen extensions, young engineers can transform raw algorithmic logic into interactive games, animated conversations, and self-drawing mathematical illustrations.

2. Real-World Lesson (Why This Matters)

  • Algorithmic Logic and Computational Sequencing in Modern Software: Every interactive web application, mobile interface, and enterprise system relies on sequential execution and event-driven architectures. In Scratch, learning how an Event block (such as the Hat block when green flag clicked) triggers sequential scripts teaches the fundamental mechanic behind modern software event listeners—such as clicking a checkout button on an e-commerce website or tapping an app icon on a smartphone.
  • Looping Structures and Code Optimization: Industrial programming heavily penalizes code duplication. In this chapter, students transition from manually clicking an identical four-block sequence four times to automating the entire process using a structured repeat block inside the Control block category. This introduces iteration, code optimization, and loop counters used globally by software engineers to automate data pipelines, process transactions, and drive graphics rendering engines.
  • Interactive Media, Game Development, and UI Design: By configuring dual sprites to exchange timed dialogue using say [ ] for [ ] seconds and wait [ ] seconds blocks, students learn concurrency, synchronization, and state management. In the modern digital workplace, game designers, multimedia developers, and conversational AI engineers utilize these identical coordination principles to synchronize cutscenes, user interface animations, and audio cues.
  • Computer Graphics and Procedural Rendering: The Pen extension mirrors real-world vector graphics engines and computer-aided design (CAD) software. By programming precise coordinate displacements (move [ ] steps), geometric angle orientations (turn [ ] degrees), dynamic color increments (change pen color by [ ]), and line thicknesses (set pen size to [ ]), learners build foundational spatial reasoning essential for robotics navigation and graphics programming.

3. The Execution Sequence (Algorithms & Navigation)

A. Adding a Sprite from the Scratch Library

  1. Launch Scratch to load the workspace, which displays the default orange cat sprite named Sprite1.
  2. Locate the sprite info pane positioned beneath the stage on the right side of the interface.
  3. Click the Choose a Sprite option (magnifying glass icon) located in the sprite info pane.
  4. The Choose a Sprite window opens, displaying various thematic categories (e.g., People).
  5. Browse the available library sprites and click on the desired sprite to add it to the project or replace an existing sprite.

B. Working with Multiple Sprites (Creating a Timed Two-Way Dialogue)

  1. Open Scratch.
  2. Delete the default cat sprite by clicking the Delete tool (trash can icon) on the cat sprite thumbnail in the sprites pane.
  3. Click on the Choose a Sprite tool in the sprites pane to open the Choose a Sprite window.
  4. Navigate to the People category filter and click on the Devin sprite to import it onto the stage.
  5. Re-open the Choose a Sprite window, return to the People category, and select the Abby sprite.
  6. Click on the Devin sprite icon in the sprites pane to make its script area active.
  7. Click on the sprite info button for Devin, open the direction field, and rotate the direction indicator so Devin turns to face Abby.
  8. Assemble the sequential script for Devin in the script area by dragging and snapping the following blocks:
    • when green flag clicked (Events block)
    • wait 2 seconds (Control block)
    • say [Hello Abby] for 3 seconds (Looks block)
    • wait 3 seconds (Control block)
    • say [I am fine. How are you?] for 3 seconds (Looks block)
    • wait 3 seconds (Control block)
    • say [I am halfway done with the syllabus. What about you?] for 3 seconds (Looks block)
    • wait 3 seconds (Control block)
    • say [How about we meet at my house for revisions?] for 3 seconds (Looks block)
    • wait 3 seconds (Control block)
    • say [Okay! Bye] for 3 seconds (Looks block)
  9. Click on the Abby sprite icon in the sprites pane to switch to Abby’s script area.
  10. Assemble the synchronized conversational script for Abby using the following sequence:
  • when green flag clicked (Events block)
  • wait 3 seconds (Control block)
  • say [Hi Devin! How are you?] for 3 seconds (Looks block)
  • wait 3 seconds (Control block)
  • say [I am fine. How are your preparations coming along for the semester] for 3 seconds (Looks block)
  • wait 3 seconds (Control block)
  • say [I am a little behind you but I will catch up soon.] for 3 seconds (Looks block)
  • wait 3 seconds (Control block)
  • say [That's great plan. I will arrive at your house by 5 pm.] for 3 seconds (Looks block)
  • wait 3 seconds (Control block)
  • say [See you later. Bye!] for 3 seconds (Looks block)
  1. Click on the View Full Screen button to expand the stage.
  2. Click on the Green Flag button above the stage to trigger and run the synchronized execution.

C. Changing the Costume of a Sprite

  1. Select the target sprite in the sprites pane.
  2. Click the Costumes tab located in the top-middle pane, which transitions the central script area into the dedicated Costumes pane.
  3. View the list of all available poses/costumes for the active sprite displayed along the left column of the Costumes pane.
  4. To switch the sprite’s visual appearance on the stage, click directly on any alternative costume thumbnail in the pane.
  5. To create duplicates or new variations, right-click on an existing costume thumbnail and click Duplicate, or use the drawing tools to edit existing costumes or design a new one.

D. Adding and Configuring the Pen Extension

  1. Look at the default Block palette on the left of the screen, where the Pen category is initially absent.
  2. Click the Add Extension button situated at the bottom-left corner of the Scratch window.
  3. Select the Pen extension from the library to populate the Pen blocks into the Block palette.

E. Executing a Manual Procedural Draw Script (Square without Loops)

  1. Open a new or existing Scratch workspace.
  2. Select the Pen category and drag the pen down block into the Script area.
  3. Select the change pen color by block and snap it directly beneath the pen down block.
  4. Open the Motion category, drag the move steps block, snap it underneath, and edit the numerical value from 10 to 80.
  5. Drag the turn clockwise degrees block from the Motion category, snap it beneath the move block, and modify the value from 15 to 90.
  6. Click manually on the top block of the script stack 4 times in succession.
  7. The sprite moves forward 80 steps, draws an edge, turns 90 degrees at each corner, increments line color by 10, and renders a four-sided colorful square on the stage.

F. Making Duplicate Copies of a Sprite (Stamping)

  1. Open Scratch.
  2. Select the Pen category, locate the stamp block, and drag it into the Script area.
  3. Select the Motion category, drag the move steps block into the Script area, and attach it to the bottom of the stamp block.
  4. Click directly on the stamp block stack in the Script area.
  5. The sprite leaves an exact duplicate visual impression of itself on the stage background at its current position and then advances forward.

G. Changing the Backdrop of the Stage

  1. Move the mouse to the lower-right area of the interface and click the stage thumbnail located in the sprite pane.
  2. Observe that the middle tab header switches to show the Backdrop tab; click on the Backdrop tab.
  3. Click the Choose a Backdrop icon (magnifying glass over canvas) to open the Backdrop Library.
  4. Browse through the category filters across the top bar (All, Fantasy, Music, Sports, Outdoors, Indoors, Space, Underwater).
  5. Click on your chosen background (such as Basketball 2, Baseball 1, Arctic, or Beach Malibu) to immediately load and display it on the stage.

H. Automated Looping Execution (Drawing a Square with Control & Event Blocks)

  1. Click on the Events category in the Block palette.
  2. Drag the when green flag clicked Hat block into the Script area.
  3. Click on the Pen category.
  4. Drag and snap the pen down, set pen size to, and change pen color by blocks consecutively beneath the Event block.
  5. Click on the Control category, select the repeat block, and attach it below the pen configuration blocks.
  6. Edit the iteration field of the repeat block, changing the counter value from 10 to 4.
  7. Click on the Motion category and drag the move steps and turn clockwise degrees blocks into the internal nested loop slot of the repeat block.
  8. Update the nested motion values: change move 10 steps to move 50 steps (or 60 steps), and change turn 15 degrees to turn 90 degrees.
  9. Click the Green Flag icon above the stage or click the top when green flag clicked block to execute the script automatically.

4. Technical Glossary (The Word List)

  • Scratch – An interactive, visual block-based programming language developed to create interactive stories, animations, games, and art without syntax-typing errors – Used as the core software platform throughout Chapter 6.
  • Sprite – An on-screen graphical character or object that executes code scripts, moves, speaks, and changes costumes on the stage – Introduced with the default orange cat (Sprite1) and customized with characters like Devin, Abby, and Fairy.
  • Stage – The primary display screen area in Scratch where sprites act, move, draw with the pen, and display backdrops – Serves as the visual canvas where all scripts, dialogues, and drawings come to life.
  • Sprite Info Pane – The control panel situated below the stage containing metadata and properties of the selected sprite, including sprite name, x-y coordinates, visibility, size, and direction – Used to click the “Choose a Sprite” button and adjust character facing direction.
  • Direction – A sprite parameter inside the sprite info pane that determines the orientation angle of the sprite – Configured in Step 8 of the two-sprite project to rotate Devin to face Abby.
  • Delete Tool – A button represented by a trash can icon on the sprite thumbnail in the sprites pane – Used to remove unwanted sprites, such as deleting the default cat sprite.
  • Choose a Sprite – A navigational tool and popup window containing categorized libraries of characters and objects – Accessed from the sprite info pane to import characters such as Devin and Abby.
  • Costumes Tab / Costumes Pane – A central workspace tab that replaces the script area with an interactive editor showing all available visual poses and variations of a selected sprite – Used to switch appearances, edit vector/bitmap artwork, or duplicate costumes.
  • Duplicate – A contextual right-click option on costume thumbnails in the Costumes pane – Used to copy an existing costume to create multi-frame animation sequences.
  • Backdrop – The background image that covers the surface of the stage behind the active sprites – Changed using the Backdrop tab and Backdrop Library to environments like Basketball 2.
  • Backdrop Library – A searchable repository within Scratch organized into categories (Fantasy, Music, Sports, Outdoors, Indoors, Space, Underwater) containing pre-designed backdrops – Opened to select and assign new backdrops to the stage.
  • Stage Thumbnail – The clickable icon representing the stage background located on the far right of the sprites pane – Clicked to select the stage and display the Backdrop tab header.
  • Block Palette – The left-hand panel of the Scratch interface that houses color-coded programming block categories – Used to access Motion, Looks, Sound, Events, Control, and Pen blocks.
  • Script Area – The large workspace in the middle of the Scratch window where code blocks are dragged, stacked, and assembled into functional programs – Referenced in every programming step across the chapter.
  • Hat Blocks – A distinct type of curved-top Scratch block (such as when green flag clicked) that can only sit at the very top of a stack to detect events and initiate program execution – Described as the blocks containing 6 variations in the Events category used to trigger scripts.
  • Stack Blocks – Standard rectangular interconnecting blocks with a notch on top and a bump on the bottom that perform sequential operations; the Events category contains 2 Stack blocks.
  • Green Flag (when green flag clicked) – The primary execution trigger Hat block situated under the Events block palette and as an interface button above the stage – Clicked to run the main project script.
  • View Full Screen – An interface toggle button located near the upper-right corner of the stage window – Clicked in Step 10 of the multi-sprite dialogue project to maximize the stage display.
  • Sound Block – A category of purple-coded programming blocks used to trigger, manage, and halt audio playback for sprites – Detailed in a dedicated chapter table featuring three primary sound commands.
  • start sound [Meow] – A Sound block command that starts audio playback immediately and proceeds to the very next line of script without pausing or waiting for the sound to finish – Defined as playing sound without pausing the script.
  • play sound [Meow] until done – A Sound block command that plays an audio file from start to finish, halting script progression until the sound completes – Described as playing a selected sound from the drop-down list before continuing.
  • stop all sounds – A Sound block utility command that terminates all active audio tracks currently executing across all project scripts – Defined as stopping all sounds currently playing.
  • Pen Block – An extension category of Scratch blocks that provides procedural drawing capabilities to sketch lines, shapes, and sprite stamps on the stage – Loaded via the “Add Extension” button to draw squares and geometric forms.
  • Add Extension – A button located at the bottom-left of the Scratch window that loads supplemental programming libraries into the Block palette – Specifically referenced as the required method to access the Pen blocks.
  • pen down – A Pen block command that lowers the sprite’s virtual drawing instrument onto the stage, drawing continuous lines wherever the sprite travels – Used at the beginning of square-drawing routines.
  • pen up – A Pen block command that raises the drawing instrument, enabling the sprite to move across coordinates without leaving any ink trail on the stage – Defined as lifting the pen so lines are not drawn during movement.
  • erase all – A Pen block maintenance command that clears every pen mark, stroke, and stamped image from the stage surface – Defined as deleting all pen marks from the stage.
  • stamp – A Pen block command that leaves a static duplicate visual footprint of the sprite stamped directly onto the stage canvas at its present coordinates – Explored in dedicated procedures and practice exercises to replicate sprites.
  • set pen color to [ ] – A Pen block command with a color picker that locks the drawing pen to a specific user-chosen hue – Defined as setting the colour of the pen to one selected by the programmer.
  • change pen color by – A Pen block command that shifts the current pen color value along the color spectrum by a specified numeric increment – Used in square-drawing scripts to produce multi-colored edges.
  • set pen size to – A Pen block command that fixes the absolute stroke width or thickness of the pen line – Used in Step 4 of the automated square program.
  • change pen size by – A Pen block command that dynamically increases or decreases the stroke thickness of the pen line by typing a numeric value – Defined in the Pen Block reference table.
  • Control Block – A category of gold/amber programming blocks that controls and manages the flow, loops, and branching of a program – Introduced as housing the repeat block, forever block, and timing commands.
  • repeat [ ] – A Control block wrapper (loop) that executes all nested blocks held within its jaws a specified number of times – Used to automate drawing a square 4 times rather than repeating manual code blocks.
  • forever – A continuous Control block loop that executes nested instructions indefinitely until the project is halted – Referenced in project activities to create continuous blinking animations.
  • wait [ ] seconds – A Control block timing command that pauses the execution of a script for a set duration before running the next block – Heavily utilized throughout the Devin-Abby dialogue project to prevent sprites from speaking over one another.
  • say [ ] for [ ] seconds – A Looks block command that renders a speech bubble containing specified text above the sprite for a set duration – Used to script the conversational dialogue between Devin and Abby.
  • move [ ] steps – A blue Motion block command that advances the sprite forward along its current directional angle by a specified distance – Used in geometric drawing routines (move 80 steps, move 50 steps, move 10 steps).
  • turn clockwise [ ] degrees – A blue Motion block command that rotates the sprite’s facing direction clockwise by a designated angular measurement – Modified from 15 to 90 degrees to form right angles for drawing squares.
  • next costume – A Looks block command that advances the active sprite to its subsequent costume frame in the Costumes list – Referenced in the project extensions to animate character movement.

5. Teacher’s Chapter Checklist

Use this checklist to verify that all lab environments, software configurations, and instructional milestones are properly completed:

  • [ ] Interface & Navigation Readiness:
    • [ ] Students can locate and identify the Stage, Sprite Info Pane, Costumes Tab, and Block Palette.
    • [ ] Students can toggle View Full Screen mode and trigger scripts via the Green Flag.
  • [ ] Sprite Management:
    • [ ] Students know the default sprite is an orange cat named Sprite1.
    • [ ] Students can use the Delete tool (trash icon) to clear default sprites.
    • [ ] Students can open the Choose a Sprite window and filter library categories (e.g., People, Fairy).
    • [ ] Students can alter sprite properties in the sprite info pane, specifically adjusting the Direction tool to make two sprites face each other.
  • [ ] Costumes & Visual Animation:
    • [ ] Students can switch between the Script area and the Costumes pane using the Costumes tab.
    • [ ] Students understand how to select alternative costumes from the thumbnail list.
    • [ ] Students can duplicate a costume via the right-click contextual menu (Duplicate).
  • [ ] Stage & Environment Customization:
    • [ ] Students can select the Stage thumbnail in the sprite pane.
    • [ ] Students can open the Backdrop Library and navigate theme filters (Sports, Outdoors, Indoors, Space, Underwater, Fantasy, Music).
    • [ ] Students can successfully assign backdrops like Basketball 2 to the project.
  • [ ] Audio Architecture (Sound Blocks):
    • [ ] Students understand the operational difference between start sound [Meow] (asynchronous/non-blocking) and play sound [Meow] until done (synchronous/blocking).
    • [ ] Students know how to halt all audio channels using stop all sounds.
  • [ ] Extension Architecture & Procedural Graphics (Pen Blocks):
    • [ ] Students understand that the Pen block is not present by default and can load it using the Add Extension button.
    • [ ] Students know the specific functional role of erase all, stamp, pen down, pen up, set pen color to, change pen color by, set pen size to, and change pen size by.
    • [ ] Students can build a manual shape-drawing script using pen down, change pen color by 10, move 80 steps, and turn clockwise 90 degrees.
  • [ ] Program Flow & Control Structures:
    • [ ] Students can differentiate between Hat blocks (6 in Events, curved top, execution triggers) and Stack blocks (2 in Events, rectangular connectors).
    • [ ] Students can implement the repeat block from the Control category to replace redundant manual block clicking.
    • [ ] Students can calculate or assign correct parameters for geometric shapes (e.g., Repeat: 4, Turn: 90° for a square; 360 iterations for circles).
    • [ ] Students can program timed synchronization between multiple sprites using interleaved say [ ] for [ ] seconds and wait [ ] seconds blocks.

6. Ready-Reckoner Student Revision Notes

1. Scratch Fundamentals & History

  • Origin: The first desktop-only version of Scratch was created in 2003 by Mitchel Resnick, Brian Silverman, and Paula Bonta.
  • Core Purpose: Scratch is a block-based visual programming language designed to build interactive stories, animations, games, music, and art.
  • Default Actor: Whenever you open a brand-new Scratch project, the default sprite on the stage is an orange cat called Sprite1.

2. Managing Sprites and Stages

  • Adding a Sprite: Click the Choose a Sprite option in the sprite info pane to open the library. The library contains many sprites categorized into themes like People.
  • Deleting a Sprite: Select the sprite thumbnail in the sprites pane and click the Delete button (trash can).
  • Changing Sprite Direction: Open the sprite info button, click the direction dial, and rotate the angle indicator so your sprite faces the desired heading (e.g., turning Devin toward Abby).
  • Adding a Stage Backdrop: A backdrop is the background of the stage. To change it, click the Stage thumbnail in the sprite pane, select the Backdrop tab, click the Choose a Backdrop icon, browse the Backdrop Library, and click the backdrop you want (e.g., Basketball 2, Baseball 1).

3. Costumes & Multi-Frame Animation

  • Accessing Costumes: Click the Costumes tab in the middle pane to switch from the code editor to the Costumes pane.
  • Switching Costumes: Click on alternative costume thumbnails on the left list to instantly alter how the sprite looks.
  • Duplicating Costumes: Right-click any costume thumbnail and click Duplicate to make a clone for custom editing or multi-frame movement scripts.

4. Sound Blocks Reference Summary

  • The Sound block category controls everything related to audio playback:
    • start sound [Meow]: Plays the sound immediately without pausing the rest of the script.
    • play sound [Meow] until done: Plays the chosen sound completely and pauses the script until the audio finishes.
    • stop all sounds: Immediately cuts off and silences all sounds currently playing across the stage.

5. Pen Extension Blocks Reference Summary

  • The Pen block is an extension; it does not appear by default in the Block palette and must be loaded by clicking the Add Extension button at the bottom-left corner of the interface.
  • Key Pen commands:
    • erase all: Deletes all drawing lines and stamped images from the stage.
    • stamp: Leaves an exact duplicate copy of the sprite stamped onto the stage canvas.
    • pen down: Lowers the pen so it begins drawing lines as the sprite moves.
    • pen up: Lifts the pen up so the sprite can move without drawing lines.
    • set pen color to [ ]: Sets the pen line color to a specific chosen shade.
    • change pen color by: Shifts the pen color value incrementally across the spectrum.
    • set pen size to: Sets the exact line thickness.
    • change pen size by: Changes pen thickness by typing a new number.

6. Events & Control Blocks (Loops & Timing)

  • Events Block: Triggers the execution of scripts. It contains 6 Hat blocks (blocks with curved tops that initiate code) and 2 Stack blocks.
    • when green flag clicked: The most common Hat block used to run programs upon clicking the Green Flag button.
  • Control Block: Manages and controls program flow.
    • repeat [ ]: Executes nested commands for a designated number of cycles, eliminating the need to click or type redundant commands.
    • forever: Loops enclosed code continuously until the project stop button is pressed.
    • wait [ ] seconds: Pauses execution for a specified duration, vital for syncing conversations between multiple sprites.

7. Core Geometric Algorithms

  • Manual Square Algorithm:
    • Stack: pen down \(\rightarrow\) change pen color by 10 \(\rightarrow\) move 80 steps \(\rightarrow\) turn clockwise 90 degrees.
    • Action: Click the stack manually 4 times to complete the 4 edges of the square.
  • Automated Square Algorithm (Using Loops):
    • Stack: when green flag clicked pen down set pen size to 1 change pen color by 10 repeat 4 move 50 steps (or 60 steps) turn clockwise 90 degrees (Draws a complete four-sided square automatically in a single execution click).

7. Activities (Experimental, Interactive & Lab Projects)

Textbook Lab Projects & Practice Exercises

  1. Choose Your Favorite Sprite: Open Scratch, browse the sprite library, delete the cat, and add a sprite of your choice.
  2. Two Friends Chatting (Devin & Abby Dialogue):
    • Load the Devin and Abby sprites from the People category.
    • Flip Devin’s direction to face Abby.
    • Assemble the conversational scripts using when green flag clicked, interleaved with say [ ] for 3 seconds and wait 2 seconds / wait 3 seconds blocks so they take turns speaking about their semester syllabus revisions without overlapping.
  3. Costume Dance & Walk:
    • Open the Costumes pane, delete the default cat, create/duplicate 3 costume frames, and script the sprite to move 20 steps while switching costumes one by one using the next costume block.
  4. Manual Rainbow Square:
    • Combine pen down, change pen color by 10, move 80 steps, and turn clockwise 90 degrees.
    • Click the code block 4 times to watch a square form side-by-side.
  5. Sprite Trail Stamping:
    • Snap stamp to move 10 steps (or move 25 steps).
    • Click the stack repeatedly to produce a frozen chain of cloned sprite footprints across the stage.
  6. Sports Backdrop Assignment:
    • Open the Backdrop Library, navigate to the Sports category, and select and apply the Basketball 2 backdrop to the stage.
  7. Automated Square with Loop:
    • Build the complete automated script: when green flag clicked \(\rightarrow\) pen down \(\rightarrow\) set pen size to 1 \(\rightarrow\) change pen color by 10 \(\rightarrow\) repeat 4 [move 50 steps, turn clockwise 90 degrees].
  8. Drawing a Circle (Textbook Practice Time):
    • Use the repeat block to draw a circle: set the sprite to repeat a small displacement and turning angle (e.g., repeat 360 [walk 5 steps, turn 1 degree] or repeat 72 [move 5 steps, turn 5 degrees]).
  9. Blinking Fairy Magic (Tech Zone Project 1):
    • Add the Fairy sprite to the stage.
    • Program the sprite inside a forever loop to appear, wait, change costume using next costume, disappear, and reappear at intervals of 5 seconds until the red Stop button is clicked.
  10. Interactive Storytelling Presentation (Tech Zone Project 2):
    • Select a custom backdrop and two or more interacting sprites.
    • Script a full narrative dialogue with costume shifts and sound effects, and present the code blocks to the class.

Innovative Extension Activities (Experiential Learning Beyond the Book)

  1. The Chameleon Polygon Lab (Geometry & Math Link):
    • Challenge students to modify the repeat count and turning angles to draw other regular polygons:
      • Equilateral Triangle: repeat 3 \(\rightarrow\) move 80 steps, turn clockwise 120 degrees.
      • Hexagon (Somesh’s Problem): repeat 6 \(\rightarrow\) change pen color by 20, move 60 steps, turn clockwise 60 degrees to give every side a distinct vibrant color.
  2. Animated Soundboard (Interactive Audio Mixer):
    • Import four different musical or animal sprites onto the stage.
    • Attach an Event trigger to each sprite (such as clicking the sprite) to trigger play sound [ ] until done paired with a costume change reaction, creating a responsive musical soundboard.
  3. Sprite Clone Race Track:
    • Set a sports backdrop like Baseball 1 or Basketball 1.
    • Use the stamp block inside a repeat 10 loop with move 30 steps and change pen color by 15 to see which student can create the most creative motion-blur trail across the court.

8. Flow Charts & Diagrams (With Detailed Label Explanations)

Diagram 1: Scratch Interface Architecture & Navigation Flow

+---------------------------------------------------------------------------------------+
|                                    SCRATCH WINDOW                                     |
+---------------------------------------------------------------------------------------+
|  [TABS HEADER]                |                   STAGE & SPRITE PANES                |
|  - Code Tab                   |  +-------------------------------------------------+  |
|  - Costumes Tab  <----------+ |  |                      STAGE                      |  |
|  - Sounds Tab               | |  |  (Visual display area where Sprites act & draw) |  |
+-----------------------------|-|  |                                                 |  |
|      BLOCK PALETTE          | |  |    [Green Flag] [Stop]        [Full Screen]     |  |
|  - Motion (Blue)            | |  +-------------------------------------------------+  |
|  - Looks (Purple)           | |  +-------------------------------------------------+  |
|  - Sound (Magenta)          | |  |              SPRITE INFO PANE                   |  |
|  - Events (Yellow Hat)      | |  |  - Sprite Name   - X / Y Position               |  |
|  - Control (Gold/Amber)     | |  |  - Size (100)    - Direction (Rotate dial)      |  |
|  - Pen (Extension - Cyan)   | |  +-------------------------------------------------+  |
+-----------------------------|-+-------------------------------------------------------+
|      SCRIPT AREA            | |             SPRITES & STAGE SELECTOR                  |
|  (Workspace where blocks    | |  +-------------------------+  +--------------------+  |
|   are dragged, snapped,     | |  |     SPRITES PANE        |  |  STAGE THUMBNAIL   |  |
|   and executed in order)    | |  | [Sprite1] [Devin] [Abby]|  |  (Backdrop Tab)    |  |
|                             | |  |                         |  |                    |  |
|                             | |  | [Choose a Sprite Tool]  |  | [Choose a Backdrop]|  |
|                             | |  | [Delete Tool (Trash)]   |  |                    |  |
|                             | |  +-------------------------+  +--------------------+  |
+-----------------------------+---------------------------------------------------------+
| [+] Add Extension Button (Loads Pen block palette at bottom-left corner)             |
+---------------------------------------------------------------------------------------+
  • Explanation of Labels:
    • Tabs Header: Located at the top of the middle pane; clicking the Costumes tab switches the workspace from coding blocks to sprite costume editing.
    • Block Palette: Displays categories of colored puzzle pieces (Motion, Looks, Sound, Events, Control, Pen).
    • Script Area: The central blank assembly space where code blocks are dropped to build scripts.
    • Stage: The presentation screen where animated characters interact and shapes are drawn.
    • Sprite Info Pane: Displays and edits sprite attributes like Name, Coordinates, Size, and Direction.
    • Sprites Pane: Contains thumbnails of all project sprites, the Delete button, and the Choose a Sprite tool.
    • Stage Thumbnail: The button to select stage backdrops and open the Backdrop Library.
    • Add Extension: The button at the bottom-left that adds the Pen block.

Flowchart 2: Two-Sprite Synchronized Dialogue Execution (Devin & Abby)

      [START: Green Flag Clicked]
                   |
         +---------+---------+
         |                   |
         v                   v
   [DEVIN SCRIPT]      [ABBY SCRIPT]
         |                   |
   Wait 2 Seconds      Wait 3 Seconds
         |                   |
   Say "Hello Abby"          |
     for 3 Sec               |
         |                   |
         |             Say "Hi Devin! How are you?"
         |               for 3 Sec
         |                   |
   Wait 3 Seconds            |
         |             Wait 3 Seconds
   Say "I am fine..."        |
     for 3 Sec               |
         |             Say "I am fine. How are..."
         |               for 3 Sec
   Wait 3 Seconds            |
         |             Wait 3 Seconds
   Say "I am halfway..."     |
     for 3 Sec               |
         |             Say "I am a little behind..."
         |               for 3 Sec
   Wait 3 Seconds            |
         |             Wait 3 Seconds
   Say "How about we..."     |
     for 3 Sec               |
         |             Say "That's great plan..."
         |               for 3 Sec
   Wait 3 Seconds            |
         |             Wait 3 Seconds
   Say "Okay! Bye"           |
     for 3 Sec         Say "See you later. Bye!"
         |               for 3 Sec
         v                   v
     [END DEVIN]         [END ABBY]
  • Explanation of Labels:
    • Concurrent Trigger: The single event (when green flag clicked) simultaneously launches both execution pipelines.
    • Interleaved Timing Pipeline: While Devin executes a 3-second say block, Abby waits using a 3-second wait block, ensuring only one character speaks at a time.
    • Dialogue Sequence: Five distinct alternating exchanges take place between Devin and Abby before both parallel scripts complete.

Flowchart 3: Algorithmic Logic of Square Drawing (Repeat Loop vs. Sequential)

                  [START: Green Flag Clicked]
                               |
                               v
                     [Execute: pen down]
                               |
                               v
                  [Execute: set pen size to 1]
                               |
                               v
              [Execute: change pen color by 10]
                               |
                               v
                  [Initialize Loop: Counter = 0]
                               |
            +----------------->+
            |                  |
            |                  v
            |         / Is Counter < 4? \ ----- (NO: Finished) ----> [STOP]
            |         \                 /
            |                  | (YES)
            |                  v
            |       [Step 1: move 50 steps]
            |                  |
            |                  v
            |    [Step 2: turn clockwise 90 deg]
            |                  |
            |                  v
            |      [Counter = Counter + 1]
            |                  |
            +------------------+
  • Explanation of Labels:
    • Initialization Blocks: pen down, set pen size to 1, and change pen color by 10 configure the pen before drawing starts.
    • Loop Condition (repeat 4): The loop tests if the 4 edges of the square are complete.
    • Body of Loop: In each pass, the sprite moves forward 50 steps (drawing an edge) and turns 90 degrees clockwise (setting up the next corner).
    • Loop Increment & Exit: The counter increments until all 4 sides are drawn, after which the script terminates.

Flowchart 4: Sound Playback Execution Logic (start sound vs. play until done)

             [SCRIPT CALL: Audio Command]
                          |
           +--------------+--------------+
           |                             |
           v                             v
  [start sound [Meow]]         [play sound [Meow] until done]
           |                             |
           v                             v
[Trigger Audio Channel]       [Trigger Audio Channel]
           |                             |
           |                             v
           |                   / Has Audio Finished? \ <----+
           |                   \                     /      |
           |                             | (NO)             |
           |                             +------------------+
           |                             | (YES)
           v                             v
[Immediately Execute Next]     [Release Script Lock &]
   [Line of Code]              [Execute Next Line of Code]
  • Explanation of Labels:
    • start sound Meow (Asynchronous / Non-Blocking): Audio begins playing in the background while the code execution pointer advances immediately to the next block.
    • play sound Meow until done (Synchronous / Blocking): Audio begins playing and locks script progress; the next block runs only after the sound finishes completely.

QUESTIONS :

CHAPTER 6: CODING MAGIC – SCRATCH


SECTION 1: THE “HIDDEN” IN-TEXT QUESTIONS (MID-CHAPTER EXTRACTION)

Major Heading: Introduction & Adding a Sprite

Q1. Which two blocks did students learn in the previous class before moving on to the advanced features of Scratch in Chapter 6?

Q2. What is the default visual character that appears on the Scratch stage upon opening a new project, and what is its default name in the interface?

Q3. In which specific pane of the Scratch window is the ‘Choose a Sprite’ option located?

Q4. What is the name of the window that opens when a user clicks the magnifying glass ‘Choose a Sprite’ icon?

Major Heading: Working with Multiple Sprites (Experiential Learning)

Q5. Which specific interface tool must be clicked in the sprites pane to remove the default orange cat from the workspace?

Q6. Under which specific category in the ‘Choose a Sprite’ window are the Devin and Abby sprites located?

Q7. After adding Devin and Abby to the stage, which specific sprite parameter inside Devin’s sprite info pane must be modified to make him turn around and face Abby?

Q8. In the two-sprite conversation project, how many seconds is Devin scripted to wait right after the Green Flag is clicked before he delivers his opening line?

Q9. In the dialogue script between Devin and Abby, what exact sentence does Devin utter right after Abby asks, “How are your preparations coming along for the semester”?

Q10. How many seconds does each speech bubble display on screen during the conversation between Devin and Abby using the say [ ] for [ ] seconds block?

Q11. Which interface button must be clicked in Step 10 of the multi-sprite project to maximize the display of the stage before running the conversation?

Major Heading: Change the Costume of the Sprite

Q12. Which tab header in the top-middle pane must be clicked to transform the script area into the Costumes pane?

Q13. What three actions can a user perform on costumes inside the Costumes pane according to Step 1 of the instructions?

Q14. According to the experiential learning hint, what exact mouse action and contextual menu option are used to create duplicate copies of an existing costume?

Q15. In the Costume pane Practice Time task, how many steps is the sprite instructed to move before changing costumes one by one?

Major Heading: Sound Block

Q16. What is the functional operational difference between the start sound [Meow] block and the play sound [Meow] until done block regarding script progression?

Q17. What are the two audio options available in the drop-down list of the start sound [Meow] block?

Q18. Which dedicated pane must a user navigate to if they want to add brand-new audio clips into the drop-down list of the play sound [Meow] until done block?

Q19. Which specific block from the Sound category terminates all active audio tracks playing across the entire project?

Major Heading: Pen Block (Extension Architecture)

Q20. Why is the Pen block category not visible in the Block palette when Scratch is launched for the first time?

Q21. Which specific interface button located at the bottom-left corner of the Scratch window must be clicked to load the Pen block palette?

Q22. What is the functional difference between the pen down block and the pen up block when a sprite is moving across the stage?

Q23. Which Pen block command completely deletes all lines, geometric shapes, and stamped impressions from the stage surface?

Q24. What happens on the stage when the stamp block is executed?

Q25. How does the user specify a new stroke thickness when using the change pen size by 1 block?

Major Heading: A Scratch Program to Draw a Square & Sidebar

Q26. Which three computer scientists together developed the very first desktop-only version of Scratch, and in what exact year was it launched?

Q27. In the manual square-drawing script, what original numerical value in the move 10 steps block is replaced, and what is the new value?

Q28. In the manual square-drawing script, what original rotational degree value in the turn clockwise degrees block is replaced, and what is the new angle?

Q29. Exactly how many times must the programmer click the first block of the manual square script to complete a full four-sided square on the stage?

Major Heading: Making a Duplicate Copy of a Sprite

Q30. In the stamping practice script, which Motion block is attached directly beneath the stamp block to reveal the stamped duplicate copy?

Q31. In the experiential learning activity for stamping, what two step values are used in the two separate script examples?

Major Heading: Changing the Backdrop of the Stage

Q32. What is the textbook definition of a “backdrop” in Scratch?

Q33. Which interface thumbnail in the sprites pane must be clicked before the Backdrop tab header will appear in the top-middle pane?

Q34. Name all eight thematic category filters listed across the top bar of the Backdrop Library.

Q35. Name the four sports-themed backdrops visible in the Backdrop Library screenshot in the chapter.

Major Heading: Repeating a Block & Loops

Q36. What is the primary role of the Control block category as defined in the chapter?

Q37. Exactly how many Hat blocks and how many Stack blocks are contained within the Events block category?

Q38. What is the structural classification of the when green flag clicked block, and what is its specific role in a program?

Q39. What is the advantage of using a repeat block to draw a square instead of manually clicking code blocks multiple times?

Q40. What mathematical hint does the textbook provide in the Practice Time section for drawing a complete circle using the repeat block?


SECTION 2: THE TEXTBOOK EXERCISE INTEGRATION (BACK-OF-CHAPTER)

A. Multiple Choice Questions

Q1. The ______ pane displays all the costumes available for any sprite.

A) Sounds B) Costumes C) Scripts D) Motion

Q2. ______ block has the blocks that allow you to draw objects on the stage.

A) Motion B) Pen C) Looks D) Events

Q3. How many sprites are there in the Scratch library?

A) 2 B) 4 C) Many D) 10

Q4. What is the output of: change pen size by -> move 80 steps -> turn 90 degrees?

A) Pen size changes, moves forward 80 steps and turns 90 degrees. B) Pen size changes, moves forward by drawing lines 80 steps and turns 90 degrees. C) Makes a colourful square. D) Erases the stage.

B. Fill in the blanks.

(Word Bank provided in text: Events, Hat, Costumes pane, sprite)

Q5. ______ block is used to start the execution of the block.

Q6. To change the costume, click on the alternative costumes available in the ______.

Q7. In Scratch, you make duplicate copy of a ______.

Q8. To repeat a block, use ______ block.

C. Write T for true and F for false statements.

Q9. Whirl is a colour effect in Scratch. (If False, correct the statement)

Q10. You can not add more than one sprite on the stage. (If False, correct the statement)

Q11. Sound block is used to make the sprite. (If False, correct the statement)

Q12. The repeat block is used to make the sprite speak. (If False, correct the statement)

Q13. Sprite can change more than 2 costumes. (If False, correct the statement)

D. Quiz

Q14. Name two blocks that control or manage the flow of the program.

Q15. Where do you find ‘Choose a Sprite’ option?

E. Answer the following.

Q16. Define start sound Meow blocks.

Q17. What is play sound Meow until done block?

Q18. What is Repeat block? Write one advantage of Repeat block.

Q19. Write the steps to add a sprite.

F. Computer In Everyday Life (Application-based Question)

Q20. Somesh is drawing a hexagon using Scratch. He wants a different colour for each of the sides of the hexagon, but he is unable to change the colour of the pen. Help him change the colour of the pen.

Tech Zone: Section A (Name the block that help you perform the following actions)

Q21. To change the size of a sprite

Q22. To change the costume of a sprite

Q23. To make a sprite speak ‘Hello’

Q24. To repeat a block

Tech Zone: Section B (Projects)

Q25. Project 1: (a) Make the first sprite appear and disappear after every second until Stop button is clicked. (b) Add Fairy sprite in this activity. (c) Make Fairy sprite appear and disappear at the interval of 5 seconds and change costume everytime. (Hint: Use forever block and next costume block.)

Q26. Project 2: Create an interactive story using different background and sprites. Present your idea among your classmates and discuss which blocks they have used.


SECTION 3: EXHAUSTIVE OBJECTIVE BANK (THE FACTUAL BASELINE)

Multiple-Choice Questions (MCQs)

Q1. In which year was the first desktop-only version of Scratch developed?

A) 1995 B) 2003 C) 2008 D) 2013

Q2. Who among the following co-developed the first desktop-only version of Scratch alongside Mitchel Resnick and Brian Silverman?

A) Ada Lovelace B) Paula Bonta C) Grace Hopper D) Margaret Hamilton

Q3. What is the default sprite provided automatically when a new Scratch project workspace opens?

A) A blue butterfly B) A yellow dog C) An orange cat D) A green frog

Q4. Which icon represents the tool used to delete a sprite from the sprites pane?

A) Scissors B) Trash can C) Cross mark D) Eraser

Q5. Which category in the ‘Choose a Sprite’ library contains both the Devin and Abby sprites?

A) Fantasy B) Sports C) People D) Dance

Q6. What tool inside the sprite info pane is clicked and rotated to make a sprite face a different direction?

A) Size dial B) Direction indicator C) Show/Hide toggle D) X-Y coordinate box

Q7. In the Devin and Abby conversation project, which block category provides the wait [ ] seconds block?

A) Events B) Motion C) Control D) Sensing

Q8. In the synchronized dialogue project, what is the very first line spoken by Abby?

A) Hello Abby B) Hi Devin! How are you? C) Okay! Bye D) See you later. Bye!

Q9. How long does Abby pause at the start of the script before saying her first greeting?

A) 1 second B) 2 seconds C) 3 seconds D) 5 seconds

Q10. What happens to the central script area when a user clicks the Costumes tab in the middle pane?

A) It opens the Sound Editor B) It turns into the Costumes pane C) It displays the Backdrop Library D) It launches full-screen mode

Q11. Which contextual menu option must be selected after right-clicking a costume thumbnail to clone it?

A) Copy B) Clone C) Duplicate D) Save

Q12. What does the start sound [Meow] block do when executed within a script?

A) It plays the sound and pauses the script until the sound ends. B) It plays the sound without pausing the script. C) It mutes all sounds on the stage. D) It deletes the meow sound from the library.

Q13. Where can a user add new audio tracks so they appear in the drop-down list of the sound blocks?

A) Block palette B) Sounds pane C) Backdrop tab D) Sprite info pane

Q14. How is the Pen block category added to the Block palette in Scratch?

A) By clicking the Costumes tab B) By clicking the Add Extension button C) By clicking File -> Import Pen D) It is present by default

Q15. Which Pen block command leaves a static visual copy of the sprite on the stage canvas at its current location?

A) pen down B) stamp C) erase all D) duplicate

Q16. Which block is used to lift the virtual drawing tool so no line is drawn when the sprite moves?

A) erase all B) pen up C) stop all sounds D) pen down

Q17. In the manual square-drawing script, what value was entered into the turn clockwise degrees block to make right angles?

A) 45 degrees B) 60 degrees C) 90 degrees D) 180 degrees

Q18. How many total Hat blocks are present in the Events block category?

A) 2 B) 4 C) 6 D) 8

Q19. How many total Stack blocks are present in the Events block category?

A) 2 B) 4 C) 6 D) 8

Q20. Which loop block is used to execute a group of nested commands a specific number of times?

A) forever B) repeat C) wait D) when green flag clicked

Q21. What happens when the erase all block is clicked?

A) It deletes the active sprite. B) It resets all code in the script area. C) It deletes all pen marks from the stage. D) It removes the backdrop from the stage.

Q22. Which sports-themed backdrop is explicitly chosen in the Chapter 6 Backdrop Practice Time exercise?

A) Baseball 1 B) Basketball 1 C) Basketball 2 D) Beach Malibu

Q23. In the automated square project, what value is typed into the repeat block?

A) 2 B) 4 C) 10 D) 90

Q24. In the automated square project, what value was entered into the set pen size to block?

A) 1 B) 10 C) 50 D) 80

Fill-in-the-Blanks

Q25. Mitchel Resnick, Brian Silverman, and Paula Bonta together developed the first desktop-only version of Scratch in ______.

Q26. The default sprite in the Scratch window is an orange cat named ______.

Q27. To delete a sprite, you must click the ______ tool in the sprites pane.

Q28. The Devin and Abby sprites are located within the ______ category of the Sprite Library.

Q29. To make two sprites face each other, you must open the sprite info button and adjust the ______ setting.

Q30. The say [ ] for [ ] seconds block belongs to the ______ block category.

Q31. Clicking the ______ tab from the middle pane converts the script area into the Costumes pane.

Q32. To duplicate an existing costume, you must right-click on the costume thumbnail and select ______.

Q33. The ______ sound Meow until done block plays the selected sound and pauses the script until the sound completes.

Q34. The ______ block stops all sounds that are currently playing across all scripts.

Q35. The Pen block category is not present by default and must be added using the ______ button.

Q36. The ______ block is used to clear every pen line and drawing mark from the stage.

Q37. The ______ block makes a duplicate stamp impression of the sprite on the stage.

Q38. A ______ is defined as the background image of the stage in Scratch.

Q39. The Events category contains 6 ______ blocks and 2 Stack blocks.

True/False Questions (If False, correct the statement)

Q40. The first desktop-only version of Scratch was released in 2013. (If False, correct the statement)

Q41. You cannot add more than one sprite on the stage in Scratch. (If False, correct the statement)

Q42. The start sound Meow block halts the progression of the script until the audio finishes playing. (If False, correct the statement)

Q43. The Pen block category is available in the Block palette by default when opening Scratch. (If False, correct the statement)

Q44. Executing the pen up block causes the sprite to draw dark lines as it moves. (If False, correct the statement)

Q45. The stamp block creates an exact duplicate visual copy of the sprite on the stage. (If False, correct the statement)

Q46. A backdrop refers to the sound playing in the background of the stage. (If False, correct the statement)

Q47. The Events category contains 6 Hat blocks and 2 Stack blocks. (If False, correct the statement)

Q48. The repeat block belongs to the Looks category. (If False, correct the statement)

Q49. A sprite can have and switch between more than two costumes. (If False, correct the statement)


SECTION 4: SUBJECTIVE & COMPETENCY BANK (HIGHER-ORDER THINKING)

Short-Answer Questions

Q1. Why is the wait [ ] seconds block critical when programming a multi-sprite conversation such as the dialogue between Devin and Abby?

Q2. How does the execution flow of start sound [Meow] differ from play sound [Meow] until done?

Q3. Explain the step-by-step procedure required to load the Pen block category into the Scratch Block palette.

Q4. Why must a programmer use the pen down block before executing Motion blocks if their goal is to draw a shape?

Q5. How does the stamp block differ from the pen down block in terms of visual stage output?

Q6. Explain the function and structural shape of Hat blocks within the Events block category.

Q7. Why is using a repeat 4 loop more advantageous than manually clicking a code block four times when drawing a square?

Q8. How does a programmer access and select a new stage backdrop from the Backdrop Library?

Q9. Explain how a student can duplicate an existing costume inside the Costumes pane to create a multi-frame animation.

Q10. Why did Devin need his direction angle rotated in the sprite info pane before beginning his conversation with Abby?

Scenario-Based / Competency Questions

Q11. Somesh is drawing a hexagon using Scratch and wants a distinct colour for each side, but his pen keeps drawing in a single continuous shade; which block must he insert into his drawing loop to fix this?

Q12. Ananya wrote a dialogue script for two sprites, but when she clicks the Green Flag, both sprites speak at the exact same moment, causing their speech bubbles to overlap; how can she fix this program?

Q13. Kabir wants his sprite to draw a square on the stage, but after snapping move 80 steps and turn 90 degrees into a loop, the sprite moves without leaving any visible line on the stage; which command did he omit?

Q14. Priya is designing a dancing animation and needs her sprite to switch appearances continuously while moving across the stage; which tab must she use to inspect the poses, and which block must she put in her script?

Q15. Aryan ran a drawing script that filled his stage with unwanted lines, and now he cannot see his sprites clearly; which single block can he click to instantly clean the entire stage surface?

Long-Answer / Essay Questions

Q16. Describe the complete step-by-step procedure to create a synchronized, timed conversation between two sprites (Devin and Abby), including sprite selection, direction adjustment, and code logic.

Q17. Compare and contrast the manual square-drawing script with the automated loop square-drawing script, detailing block categories, parameter values, and execution efficiency.

Q18. Provide an exhaustive technical breakdown of the Pen block extension, explaining the distinct operational function of every block listed in the textbook table.

Q19. Explain the architecture of the Scratch interface elements covered in Chapter 6, detailing the roles of the Stage, Sprite Info Pane, Costumes Pane, Block Palette, and Backdrop Library.

Q20. Detail the operational principles of program flow control in Scratch, contrasting Hat blocks with Stack blocks and analyzing how repeat and forever loops automate sequential commands.


SECTION 5: THE MASTER ANSWER KEY & MARKING RUBRIC

Section 1: In-Text Questions Answer Key

  • Q1: Motion blocks and Looks blocks.
  • Q2: An orange cat named Sprite1.
  • Q3: In the sprite info pane (located below the stage).
  • Q4: ‘Choose a Sprite’ window.
  • Q5: The Delete tool (trash can icon on the sprite thumbnail).
  • Q6: The ‘People’ category.
  • Q7: The ‘direction’ button/dial.
  • Q8: 2 seconds.
  • Q9: “I am halfway done with the syllabus. What about you?”
  • Q10: 3 seconds.
  • Q11: The ‘View Full Screen’ button.
  • Q12: The Costumes tab.
  • Q13: Edit already available costumes, change costumes, or create a new one.
  • Q14: Right-click on the costume thumbnail and click on ‘Duplicate’.
  • Q15: 20 steps.
  • Q16: start sound [Meow] plays the sound without pausing the script; play sound [Meow] until done plays the sound and pauses the script until the audio finishes.
  • Q17: ‘meow’ or ‘recorded sound’.
  • Q18: The Sounds pane.
  • Q19: stop all sounds block.
  • Q20: Because it is an extension that is not included by default in the standard Block palette.
  • Q21: The ‘Add Extension’ button.
  • Q22: pen down lowers the pen to draw lines while the sprite moves; pen up lifts the pen so no lines are drawn while moving.
  • Q23: erase all block.
  • Q24: It leaves an exact duplicate stamp image of the sprite on the stage canvas.
  • Q25: By typing a new number in the number area.
  • Q26: Mitchel Resnick, Brian Silverman, and Paula Bonta in 2003.
  • Q27: The value of steps is changed from 10 to 80.
  • Q28: The rotational value is changed from 15 degrees to 90 degrees.
  • Q29: Exactly 4 times.
  • Q30: The move 10 steps block.
  • Q31: move 10 steps and move 25 steps.
  • Q32: A backdrop is the background of the stage.
  • Q33: The stage thumbnail in the sprite’s pane.
  • Q34: All, Fantasy, Music, Sports, Outdoors, Indoors, Space, Underwater.
  • Q35: Baseball 1, Baseball 2, Basketball 1, Basketball 2.
  • Q36: It controls or manages the flow of the program.
  • Q37: 6 Hat blocks and 2 Stack blocks.
  • Q38: It is a Hat block; it is used to start a program’s execution when the Green Flag is clicked.
  • Q39: It automates execution so the user does not have to click the script manually 4 times.
  • Q40: Walk 5 steps and take a degree turn inside a repeat block.

Section 2: Textbook Exercise Integration Answer Key

  • Q1 (MCQ 1): B) Costumes
  • Q2 (MCQ 2): B) Pen
  • Q3 (MCQ 3): C) Many
  • Q4 (MCQ 4): A) Pen size changes, moves forward 80 steps and turns 90 degrees. (Note: Because pen down is absent, it moves without drawing lines).
  • Q5 (Fill 1): Events
  • Q6 (Fill 2): Costumes pane
  • Q7 (Fill 3): sprite
  • Q8 (Fill 4): Repeat
  • Q9 (T/F 1): False. (Correct: Whirl is a graphic/distortion effect in Scratch, not a colour effect; or Color is an effect in Scratch).
  • Q10 (T/F 2): False. (Correct: You can add multiple sprites on the stage).
  • Q11 (T/F 3): False. (Correct: Sound block is used to control the sprite’s sound, not to make the sprite).
  • Q12 (T/F 4): False. (Correct: The say block from Looks is used to make the sprite speak; the repeat block is used to repeat commands).
  • Q13 (T/F 5): True.
  • Q14 (Quiz 1): Repeat block and Forever block (or Wait block / Control blocks).
  • Q15 (Quiz 2): In the sprite info pane (at the bottom right of the Scratch window).
  • Q16 (Ans 1): The start sound Meow block plays the sound without pausing the script. Sound options include meow or recorded sound.
  • Q17 (Ans 2): The play sound Meow until done block plays the selected sound from the drop-down list and pauses script progression until the audio completes.
  • Q18 (Ans 3): The Repeat block is a Control block used to repeat a set of commands a given number of times. Advantage: It eliminates repetitive manual clicking and makes scripts shorter and more efficient.
  • Q19 (Ans 4): Step 1: Click the ‘Choose a Sprite’ option in the sprite info pane. Step 2: ‘Choose a Sprite’ window appears; choose any sprite from the categories and click on it to add it to the stage.
  • Q20 (Everyday Life): Somesh must add the change pen color by [ ] block (or set pen color to [ ]) inside his drawing loop before each side is drawn.
  • Q21 (Tech Zone A1): set size to [ ] % or change size by [ ] (Looks block / Sprite Info Size).
  • Q22 (Tech Zone A2): next costume or switch costume to [ ] (Looks block / Costumes pane).
  • Q23 (Tech Zone A3): say [Hello] for [ ] seconds (Looks block).
  • Q24 (Tech Zone A4): repeat [ ] block (Control block).
  • Q25 (Project 1): Program Fairy sprite with when green flag clicked -> forever -> [show/hide/next costume, wait 5 seconds].
  • Q26 (Project 2): Interactive multi-sprite story setup using custom backdrop and dialogue blocks.

Section 3: Objective Bank Answer Key

MCQs
  • Q1: B) 2003
  • Q2: B) Paula Bonta
  • Q3: C) An orange cat
  • Q4: B) Trash can
  • Q5: C) People
  • Q6: B) Direction indicator
  • Q7: C) Control
  • Q8: B) Hi Devin! How are you?
  • Q9: C) 3 seconds
  • Q10: B) It turns into the Costumes pane
  • Q11: C) Duplicate
  • Q12: B) It plays the sound without pausing the script.
  • Q13: B) Sounds pane
  • Q14: B) By clicking the Add Extension button
  • Q15: B) stamp
  • Q16: B) pen up
  • Q17: C) 90 degrees
  • Q18: C) 6
  • Q19: A) 2
  • Q20: B) repeat
  • Q21: C) It deletes all pen marks from the stage.
  • Q22: C) Basketball 2
  • Q23: B) 4
  • Q24: A) 1
Fill-in-the-Blanks
  • Q25: 2003
  • Q26: Sprite1
  • Q27: Delete (trash can)
  • Q28: People
  • Q29: direction
  • Q30: Looks
  • Q31: Costumes
  • Q32: Duplicate
  • Q33: play
  • Q34: stop all sounds
  • Q35: Add Extension
  • Q36: erase all
  • Q37: stamp
  • Q38: backdrop
  • Q39: Hat
True/False (With Corrections)
  • Q40: False. Correct statement: The first desktop-only version of Scratch was released in 2003.
  • Q41: False. Correct statement: You can add multiple sprites to the stage in Scratch.
  • Q42: False. Correct statement: The start sound Meow block plays audio without pausing the script.
  • Q43: False. Correct statement: The Pen block is an extension and is not present by default in the Block palette.
  • Q44: False. Correct statement: Executing the pen up block lifts the pen so no lines are drawn while moving.
  • Q45: True.
  • Q46: False. Correct statement: A backdrop is the background image of the stage.
  • Q47: True.
  • Q48: False. Correct statement: The repeat block belongs to the Control block category.
  • Q49: True.

Section 4: Subjective Marking Rubrics

Short-Answer Questions Rubric (Q1 – Q10)
  • Q1 (Why wait block is critical in conversation):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for stating that it establishes synchronization and prevents sprites from speaking simultaneously.
      • Award 1 mark for mentioning that one sprite must wait while the other completes its 3-second speech bubble.
      • Source Section: “Working with Multiple Sprites” (pp. 56–57).
  • Q2 (Execution flow: start sound vs play until done):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for explaining that start sound is non-blocking (plays audio while script immediately proceeds).
      • Award 1 mark for explaining that play sound until done is blocking (pauses script execution until audio finishes).
      • Source Section: “Sound Block” table (p. 58).
  • Q3 (Procedure to load Pen extension):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for identifying the ‘Add Extension’ button located at the bottom-left of the Scratch window.
      • Award 1 mark for stating that selecting the ‘Pen’ extension imports the Pen blocks into the Block palette.
      • Source Section: “Pen Block” (pp. 58–59).
  • Q4 (Why pen down is required before drawing):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for explaining that sprites do not draw lines by default when moving.
      • Award 1 mark for stating that pen down lowers the virtual drawing instrument onto the stage canvas.
      • Source Section: “Pen Block” table (p. 58).
  • Q5 (Stamp block vs pen down block):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for explaining that stamp produces an image copy/footprint of the sprite itself.
      • Award 1 mark for explaining that pen down draws a continuous vector line stroke following sprite movement.
      • Source Section: “Pen Block” & “Making a Duplicate Copy of a Sprite” (pp. 58, 60).
  • Q6 (Hat blocks function and shape):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for stating that Hat blocks have curved tops and sit at the top of scripts to initiate execution.
      • Award 1 mark for noting they detect events (e.g., when green flag clicked) and that Events has 6 Hat blocks.
      • Source Section: “Repeating a Block” (p. 61).
  • Q7 (Advantage of repeat 4 loop):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for stating that it automates repetitive commands into a single execution click.
      • Award 1 mark for explaining code conciseness (avoids manual clicking 4 times or stacking duplicate blocks).
      • Source Section: “Repeating a Block” (pp. 61–62).
  • Q8 (How to select backdrop from library):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for clicking the stage thumbnail in the sprite pane, then selecting the Backdrop tab.
      • Award 1 mark for clicking the ‘Choose a Backdrop’ icon, browsing categories, and clicking the chosen backdrop.
      • Source Section: “Changing the Backdrop of the Stage” (p. 60).
  • Q9 (Duplicating costume for animation):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for opening the Costumes tab to access the Costumes pane.
      • Award 1 mark for right-clicking an existing costume thumbnail and selecting ‘Duplicate’.
      • Source Section: “Change the Costume of the Sprite” (p. 58).
  • Q10 (Why Devin direction rotated):
    • Marking Rubric (Full Marks: 2):
      • Award 1 mark for stating that sprites face right by default.
      • Award 1 mark for explaining that rotating direction makes Devin face left toward Abby for realistic conversation.
      • Source Section: “Working with Multiple Sprites” (Step 8, p. 57).
Scenario-Based / Competency Questions Rubric (Q11 – Q15)
  • Q11 (Somesh’s hexagon pen colour):
    • Marking Rubric (Full Marks: 3):
      • Award 1.5 marks for identifying the change pen color by [ ] block (or set pen color to).
      • Award 1.5 marks for explaining that placing this block inside the repeat loop before/after turning shifts the colour per side.
      • Source Section: “Computer In Everyday Life” & “Pen Block” (pp. 58, 63).
  • Q12 (Ananya’s overlapping speech bubbles):
    • Marking Rubric (Full Marks: 3):
      • Award 1.5 marks for identifying missing or incorrect wait [ ] seconds blocks from the Control category.
      • Award 1.5 marks for prescribing alternating wait intervals equal to speech durations (e.g., wait 3 seconds while other speaks).
      • Source Section: “Working with Multiple Sprites” (pp. 56–57).
  • Q13 (Kabir’s missing drawing command):
    • Marking Rubric (Full Marks: 3):
      • Award 1.5 marks for identifying that the pen down block was omitted.
      • Award 1.5 marks for explaining that without pen down, sprite movement does not render visible ink trails.
      • Source Section: “A Scratch Program To Draw A Square” (p. 59).
  • Q14 (Priya’s costume animation):
    • Marking Rubric (Full Marks: 3):
      • Award 1.5 marks for identifying the Costumes tab/pane to inspect costumes.
      • Award 1.5 marks for prescribing the next costume block combined with move inside a loop.
      • Source Section: “Change the Costume of the Sprite” & Tech Zone (pp. 58, 64).
  • Q15 (Aryan’s stage cleanup):
    • Marking Rubric (Full Marks: 3):
      • Award 1.5 marks for identifying the erase all command from the Pen block extension.
      • Award 1.5 marks for explaining that executing erase all removes all pen drawings and stamps without deleting sprites.
      • Source Section: “Pen Block” table (p. 58).
Long-Answer / Essay Questions Rubric (Q16 – Q20)
  • Q16 (Two-sprite dialogue project breakdown):
    • Marking Rubric (Full Marks: 5):
      • Setup (1 Mark): Delete cat using Delete tool; import Devin and Abby from People category in ‘Choose a Sprite’.
      • Orientation (1 Mark): Open Devin’s sprite info and adjust direction dial to face Abby.
      • Devin’s Script (1 Mark): when green flag clicked, wait 2 secs, say [Hello Abby] for 3 secs, alternating with 3-sec waits and lines.
      • Abby’s Script (1 Mark): when green flag clicked, wait 3 secs, say [Hi Devin! How are you?] for 3 secs, interleaved with 3-sec waits.
      • Execution (1 Mark): Click View Full Screen and start with Green Flag.
      • Source Section: “Working with Multiple Sprites” (pp. 56–57).
  • Q17 (Manual vs loop square drawing):
    • Marking Rubric (Full Marks: 5):
      • Manual Script Composition (1.5 Marks): Detail stack: pen down, change pen color by 10, move 80 steps, turn clockwise 90 degrees.
      • Manual Execution Limitation (1 Mark): User must click the stack manually 4 times.
      • Loop Script Composition (1.5 Marks): Detail stack: when green flag clicked, pen down, set pen size to 1, change pen color by 10, repeat 4 [move 50/60 steps, turn 90 degrees].
      • Comparative Evaluation (1 Mark): Highlight code efficiency, single-click automation, and structure.
      • Source Section: “A Scratch Program To Draw A Square” & “Repeating a Block” (pp. 59, 61–62).
  • Q18 (Comprehensive Pen block breakdown):
    • Marking Rubric (Full Marks: 5):
      • Award 0.5 marks for extension requirement (Add Extension button).
      • Award 4.5 marks (0.75 marks each) for defining the 6 primary Pen commands:
        1. erase all: Clears all pen marks from stage.
        2. stamp: Leaves duplicate visual footprint of sprite on stage.
        3. pen down: Moves pen down to draw lines as sprite moves.
        4. pen up: Lifts pen so no lines are drawn during movement.
        5. set pen color to: Locks pen color to user-selected hue.
        6. change pen size by 1 / set pen size to: Adjusts line thickness by typing values.
      • Source Section: “Pen Block” table (p. 58).
  • Q19 (Scratch interface architecture breakdown):
    • Marking Rubric (Full Marks: 5):
      • Award 1 mark for Stage definition (visual canvas where sprites act, move, and draw).
      • Award 1 mark for Sprite Info Pane (displays name, x-y coordinates, size, direction, and Choose a Sprite tool).
      • Award 1 mark for Costumes Pane (opened via Costumes tab to edit, duplicate, or switch sprite poses).
      • Award 1 mark for Block Palette (houses categorized color-coded blocks and Add Extension button).
      • Award 1 mark for Backdrop Library (repository accessed via Stage thumbnail with category filters like Sports, Space).
      • Source Section: “Introduction”, “Adding a Sprite”, “Costumes”, “Backdrop” (pp. 56, 58, 60).
  • Q20 (Program flow control: Hat blocks, Stack blocks, Loops):
    • Marking Rubric (Full Marks: 5):
      • Block Morphology (1.5 Marks): Hat blocks have curved tops, cannot have blocks above them, trigger execution (6 in Events); Stack blocks have top notches and bottom bumps for sequential assembly (2 in Events).
      • Repeat Loop Analysis (1.5 Marks): Control category repeat [ ] loop runs nested blocks for a fixed counter value, preventing redundant code.
      • Forever Loop Analysis (1 Mark): Indefinite execution loop that runs until Stop button is clicked (used in Fairy project).
      • Timing Synchronization (1 Mark): Role of wait [ ] seconds in pausing execution pipelines to control timing.
      • Source Section: “Repeating a Block” & Tech Zone (pp. 61–62, 64).

Leave a Comment