(Grade IX) Chapter 3- Block Programming ---> Book Exercise Pg no. 114
1.
Write the full forms.
a.
MIT – Massachusetts Institute of Technology
b.
LED – Light Emitting Diode
c.
USB – Universal Serial Bus
d.
IoT – Internet of Things
e.
STEM – Science, Technology, Engineering and Mathematics
f.
UNO – Universal Microcontroller Coding
g.
EEPROM – Electrically Erasable Programmable Read-Only Memory
h.
IDE – Integrated Development Environment
2.
Multiple Choice Questions (MCQs)
a.
Scratch was developed by:
i.
Microsoft
ii.
Apple
iii.
Google
iv.
MIT's Media Lab✓
b.
The rectangular area which is present on the right side of the interface and
acts as a background for any project is:
i.
Stage✓
ii.
Block Palette
iii.
Sprite Header
iv.
Variable
c.
Which button is used to run all scripts of the project?
i.
Red button
ii.
Black button
iii.
Green flag button✓
iv.
Blue flag button
d.
Which button is used to stop the script?
i.
Green flag button
ii.
White flag button
iii.
Yellow flag button
iv.
Red button✓
e.
Which block is used to control the movement of sprites?
i.
Looks block
ii.
Control block
iii.
Motion block✓
iv.
Sensing block
f.
Which block allows the user to control how the characters appear on the stage?
i.
Looks block✓
ii.
Variable block
iii.
Pen block
iv.
Sensing block
g.
The background image in the stage area is called:
i.
Background
ii.
Wallpaper
iii.
Backdrop✓
iv.
Design
h.
"Ask What's your name? and wait" is an example of ........ block.
i.
Sensing✓
ii.
Control
iii.
Operator
iv.
Looks
i.
Which is the default sprite of Scratch?
i.
Dog
ii.
Cat✓
iii.
Mouse
iv.
Bird
j.
Which block is used to make a sprite say something in Scratch?
i.
Show
ii.
Speak
iii.
Tell
iv.
Say✓
k.
How do you delete a block from a script in Scratch?
i.
Drag it to the trash bin
ii.
Right-click and select "Delete"✓
iii.
Press the Delete key on the keyboard
iv.
All of the above
l.
What does the "if" block in Scratch do?
i.
Repeats a set of actions forever
ii.
Allows sprites to communicate with each other
iii.
Checks a condition and performs an action based on the result✓
iv.
Sets the background image of the project
m.
What is the purpose of a "variable" in Scratch?
i.
To display messages on the screen
ii.
To change the appearance of a sprite
iii.
To store and manipulate data in a project✓
iv.
To repeat a set of actions indefinitely
n.
What is the event that occurs when the green flag is clicked in Scratch?
i.
Start✓
ii.
Go
iii.
Begin
iv.
End
o.
What are devices like Micro:bit and Arduino used for?
i.
Physical computing
ii.
Combining programming with physical devices
iii.
Creating interactive projects
iv.
All of the above✓
p.
Which of the following is an open-source programming tool developed by
arduino.cc?
i.
Scratch 1
ii.
Arduino IDE✓
iii.
Python
iv.
Arduino PDF
3.
Write the technical terms for the following phrases.
i.
The background area for any project on Scratch.
Answer:
Stage
ii.
The platform where the scripts or blocks are assembled.
Answer:
Scripts Area (Code Area)
iii.
The blocks that are used to create interactive programs that respond to user
input or other events.
Answer:
Event Blocks
iv.
A graphic object that can be programmed to move and interact in Scratch.
Answer:
Sprite
v.
The name given to the memory location which is used to store value.
Answer:
Variable
vi.
A small, programmable computer embedded on a single integrated circuit.
Answer:
Microcontroller
vii.
The port used to load a program that is written in Arduino IDE onto the Arduino
board.
Answer:
USB Port
4.
Short Answer Questions
a.
What is block programming? Write about any two advantages.
Block
programming is a type of programming in which programs are created by joining
graphical blocks instead of writing text-based codes.
Advantages:
· It is easy to
learn and understand because it uses graphical blocks.
· It reduces
syntax errors because users do not need to type programming codes.
b.
What is Scratch?
Scratch
is a free, visual block-based programming language developed by MIT's Media
Lab. It is used to create animations, games, stories and interactive projects
by joining programming blocks.
c.
What is a sprite? What is the default sprite of Scratch?
A
sprite is a graphic object or character in Scratch that can be programmed to
move and perform different actions.
The
default sprite of Scratch is the Scratch Cat.
d.
List any four script blocks of Scratch.
The
four types of script blocks in Scratch are:
Motion
Blocks
Looks
Blocks
Sound
Blocks
Control
Blocks
e.
Write the function of Green Flag button and Red button in Scratch.
Green
Flag Button: It is used to start or run the scripts of a Scratch project.
Red
Button (Stop): It is used to stop all running scripts in a Scratch project.
f.
Write any four blocks that are available in Motion Block.
Move
10 steps
Turn
clockwise 15 degrees
Turn
counterclockwise 15 degrees
Go
to x: y:
g.
Write the use of Event Block in Scratch.
Event
blocks are used to start scripts when a particular event occurs. They help a
program respond to user actions or other events.
Examples:
When
Green Flag clicked
When
Space key pressed
When
this sprite clicked
h.
What is a Micro:bit? Give any two applications of Micro:bit.
Micro:bit
is a small, programmable microcomputer designed for learning programming and
physical computing.
Applications:
It
is used to create simple games and animations.
It
is used to make electronic projects such as automatic lights and temperature
monitoring systems.
i.
What is Arduino IDE?
Arduino
IDE (Integrated Development Environment) is an open-source software tool used
to write, edit, compile and upload programs to Arduino boards.
5.
Long Answer Questions
a.
Write any four advantages of block programming.
The
advantages of block programming are:
· Easy to Learn:
It is easy for beginners to understand because it uses graphical blocks.
· Reduces Errors:
It reduces syntax errors because users do not need to type codes.
· Improves
Creativity: It helps students create games, animations and interactive stories.
· Saves Time:
Programs can be created quickly by dragging and joining blocks.
b.
Explain any three features of Scratch.
The
main features of Scratch are:
1.
Block-Based Programming: Scratch uses graphical blocks that can be joined
together to create programs without typing codes.
2.
Sprite and Backdrop: It allows users to add and customize sprites (characters)
and backdrops (backgrounds) in their projects.
3.
Create Interactive Projects: It helps users create games, animations, stories
and interactive projects using programming blocks.
c.
Differentiate between block programming and text-based programming.
|
Block
Programming |
Text-Based
Programming |
|
1.
It uses graphical blocks to create programs. |
1.
It uses written programming codes. |
|
2.
Blocks are joined by dragging and dropping. |
2.
Codes are typed using a keyboard. |
|
3.
It is easy for beginners to learn. |
3.
It requires knowledge of programming syntax. |
|
4.
It has fewer syntax errors. |
4.
It may have syntax errors due to typing mistakes. |
|
5.
Example: Scratch. |
5.
Example: Python, C and Java. |
d.
What is the use of Looks Block in Scratch? List any four blocks in Looks Block.
Looks
blocks are used to control the appearance of sprites and backdrops in Scratch.
They help to change costumes, display messages, change size and show or hide
sprites.
Any
four blocks of Looks are:
· Say Hello! for 2
seconds
· Think Hmm... for
2 seconds
· Change size by
10
· Hide
e.
List any four blocks of Control Block and explain any two of them.
Any
four blocks of Control Block are:
· Wait 1 seconds
· Repeat 10
· Forever
· If ... then
Explanation
of any two:
1.
Forever Block: This block repeats the instructions inside it continuously until
the program is stopped.
2.
If ... Then Block: This block checks a condition. If the condition is true, the
instructions inside the block are executed.
f.
Explain any four components of Micro:bit.
The
main components of Micro:bit are:
1.
LED Display: It contains 25 LEDs arranged in a 5 × 5 grid. It is used to
display letters, numbers and symbols.
2.
Buttons: It has two main buttons, A and B. They are used to give input to the
Micro:bit.
3.
USB Port: It is used to connect Micro:bit to a computer for uploading programs
and supplying power.
4.
Sensors: It contains sensors such as an accelerometer and compass. They are
used to detect movement, direction and other environmental information.
g.
Explain any three application areas of Arduino Uno.
Arduino
Uno is a microcontroller board used to create electronic and physical computing
projects.
Its
application areas are:
1.
Robotics: Arduino Uno is used to control robots, robotic arms and automatic
moving vehicles.
2.
Home Automation: It is used to control home appliances such as lights, fans and
doors automatically.
3.
Sensor-Based Projects: It is used to develop projects such as temperature
monitoring, automatic watering systems and security alarms using sensors.
h.
You are given a task to move the Cat sprite randomly and bounce if it strikes
on edges saying "I am hurt" for infinite times. List and explain the
block components used in this program.
Answer:
The
following Scratch blocks are used to perform this task:
Block
components and their functions:
1.
When Green Flag Clicked: It starts the program when the green flag button is
clicked.
2.
Forever Block: It repeats the instructions continuously for an infinite number
of times.
3.
Pick Random Block: It generates a random number to make the Cat sprite move in
different directions.
4.
Motion Block: It moves the Cat sprite according to the given direction and
steps.
5.
If on Edge, Bounce Block: It makes the Cat sprite bounce back when it touches
the edge of the stage.
6.
Say Block: It displays the message "I am hurt" when the Cat sprite
touches the edge.
Program
structure (Scratch block sequence):
When
Green Flag Clicked
Forever
Point
in direction (pick random 1 to 360)
Move
10 steps
If
on edge, bounce
If
(touching edge?) then
Say
"I am hurt"
Result:
When the green flag is clicked, the Cat sprite moves in random directions.
Whenever it touches the edge of the stage, it bounces back and displays the
message "I am hurt". The process repeats continuously.