WorksheetsCodify: Code Explorers (Roll: 21-30)
Total questions: 5
Worksheet time: 50mins
Name
Class
Date
1.
The following Scratch code makes a sprite move forward:
When [green flag] clicked
Move 10 steps
Turn 15 degrees
Repeat 4 times
Question: What will the sprite do after this code runs?
a)
Move forward and turn in a circle
b)
Move backward and stop
c)
Spin forever in the same spot
d)
Do nothing
2.
Ali is creating a Scratch game where the sprite keeps moving until it hits the edge of the screen. Which block should he use?
a)
Repeat
b)
Forever
c)
Move
d)
Turn
3.
Convert a binary number to decimal.
Input: 1011011
Hint: Explain how binary works (2^3 + 2^1 + 2^0).
Write Output Only.
4 lines
4.
Write algorithm to decide if a number is even or odd.
Output: For 5, it should print: Odd.
4 lines
5.
Draw a flowchart that takes 4 numbers from user, add them and show output.

100 %
