AL MAJD INTERNATIONAL SCHOOL
Practice worksheet – Answer Key
Computer Science - First term
Grade: 7
Write whether the following statements are True or False?
1) Random numbers generated by a computer are true random numbers. ______False________
2) You cannot edit a background in the same way as a sprite. ______False_____
3) You can change how long it takes for a sprite to glide on the stage. ______True_____
Choose the correct option.
1) There is a variable called Points whose value is currently 50. What will be the output of the following If
block?
____________________The output will be “ Keep going on …” ___________________________
2) You need to validate data in a scratch prgram, which of the following data entered for age is
unreasonable.
a) -4
b) 10
c) 33
d) 54
Unit- 1 Computer Studies – Pg. 1 2023-24
AL MAJD INTERNATIONAL SCHOOL
Identify which type of test data are the following.
Scenario Test Data Test Data Type
Colour Name Red Normal Data
Colour Name 7 Erroneous/Abnormal Data
Even Number 6 Normal Data
Day of a week April Erroneous/Abnormal Data
Temperature in Celsius (73 to 100 Extreme Data
100)
Year 2024 Normal Data
Age between 4 and 100 4 Extreme Data
Create a plan for the following game.
• The user controls a snake that can move through the maze.
• The snake starts in a box called start and ends at Finish.
• If the snake touches the side of the maze, the snake moves back to the start
position.
• The number of times the snake dies is displayed on the stage in a variable called
Chances.
• When the snake reaches Finish a winning message is displayed.
Step 1: Identify inputs
Movement of the snake by pressing arrow keys.
Step 2: Identify outputs
Snake, maze, box, Finish, Variable Chances, winning message displayed on screen.
Step 3: Identify processes
Movement of snake. If snake touches maze, it goes back to starting position and Chances
increased by 1. When snake touches Finish, a winning message is displayed.
Unit- 1 Computer Studies – Pg. 2 2023-24
AL MAJD INTERNATIONAL SCHOOL
Step 4: Create a flowchart by using the inputs, outputs and processes you have identified.
Start
Snake moves Snake goes back to
start box
If Snake Yes
touches maze Chances
Start increased by 1
No
No If Snake
touches Finish
Yes
Wining message is
displayed
Stop
Unit- 1 Computer Studies – Pg. 3 2023-24