0% found this document useful (0 votes)
28 views

Ch- 8. Scratux Programming

Source Code IT class 5th

Uploaded by

Harmandeep Kaur
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Ch- 8. Scratux Programming

Source Code IT class 5th

Uploaded by

Harmandeep Kaur
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Ch- 8.

Scratux Programming
EXERCISE:

A. Tick [] the correct answer.


1. a 3. b 5. a
2. b 4. a
B. Write 'T' for True and 'F' for False statements.
1. F 3. T 5. T
2. F 4. T
C. Fill in the blanks.
1. parentheses 2. Sensing 3. Sequential
4. repeat 5. Broadcast
D. Differentiate between the following.
1. If-then Block: This block checks a condition. If it's
true, the code inside runs. If it's false, the code is
ignored.
If-then-else Block: This block also checks a
condition. If it's true, the first code runs; if false, the
second code runs.
2. Repeat Block: This block runs a set number of
times. Use it when you know how many times to run
something.
Nested Repeat Block: This is when you put one
Repeat block inside another Repeat block.
E. Answer the following questions
1. What is a variable?
Ans. A variable is a name we give to a place in the
computer's memory to store information.
2. What is a conditional statement?
Ans. A conditional statement tells the program
what to do based on whether a condition is true or
false.
3. What is the use of broadcast in Scratux?
Ans. A broadcast is a message sent to tell scripts
that something has happened. It helps sprites and
scripts talk to each other.
F. Application-based Question.
Ans. Operator block

You might also like