Class 10 Exam  >  Class 10 Notes  >  Computer Application: Class 10  >  Assignment: Scratch Programming

Assignment: Scratch Programming | Computer Application: Class 10 PDF Download

Multiple Choice Questions

Q1. Which of the following types, does repeat block belong to?
(a) Conditional
(b) Iteration
(c) Data
(d) Operator

Ans. (b) Iteration
Repeat block belongs to iteration category.

Q2. Which of the following types, does if...else block belong to?
(a) Conditional
(b) Iteration
(c) Data
(d) Operator

Ans.  (a) Conditional
if...else block belongs to conditional category.

Q3. Which of the following command blocks enables you to control a sprite?
(a) Point in direction
(b) Wait_secs
(c) When_key is pressed
(d) Pen down

Ans.  (c) When_key is pressed
'When_key is pressed' block enables us to control a sprite.

Q4. Which of the following are conditional blocks?
(a) Repeat
(b) if
(c) Forever
(d) if-else

Ans. if and if-else
if and if-else blocks perform a certain function if a particular condition is true or false. Hence, they are conditional blocks.

Q5. A Scratch script/program begins with
(a) An ask block
(b) A Say block
(c) An event block
(d) A control block

Ans. An event block
In Scratch, the event blocks are used to start the execution of a script when a specific event occurs. Common event blocks include, "When Green Flag Clicked", "When Key Pressed", "When Sprite Clicked".

Theoretical Questions

Q1. True or False.

(a) In Scratch, the Ask block stores the user's response in "question" variable.

Ans. (a) False.
In Scratch, the Ask block stores the user's response in "answer" variable.

(b) In Scratch, movement of a sprite draws on stage only if pen is down.

Ans. (b) True.
When the pen is down, the sprite draws as it moves on the stage.

(c) Multiple sprites can receive a message.

Ans. (c) True.
Scratch provides a broadcast block from Events category that will send the specified message to all the sprites.

(d) A variable can be thought of as a container or placeholder in memory holding different values over time.

Ans. (d) True.
A variable is a placeholder that can store a value as long as the script runs.

(e) An answer variable must be created before using Ask block.

Ans. (e) False.
The Ask block stores the user's response in a default variable named 'answer'. It may not be created by the user beforehand.

Q2. What limits define the X, Y coordinate system of Scratch ?

Ans. The value of X coordinate ranges from -240 to 240 and the value of Y coordinate ranges from -180 to 180.

Q3. Which block will you use to place a sprite at a specific XY position on screen ?

Ans. The go to x:__ y:__ block is used to place a sprite at a specific XY position on screen.

Q4. What are events in Scratch ? How are these useful ?

Ans. An event refers to occurrence of some action recognized by computer. For example, when a key is pressed on the keyboard or when we click a mouse button.
Using events blocks, we can create programs defining actions to be performed in case a specific event occurs. For example, with the help of events, we can rotate our sprite by 15° when the user presses a space key.

Q5. Which block(s) will you use to play sounds in a script ?

Ans. We will use the following blocks to play sounds in a script:
play sound ___
play sound ___ until done
play drum ___ for ___ beats
play note ___ for ___ beats

Q6. Which predefined variables of sound can you use to control the loudness and play-speed of sound, respectively ?

Ans. We can use the volume and tempo to control the loudness and play-speed of sound, respectively.

Q7. What all can you do through Data category of blocks ?

Ans. Data blocks let us create and manipulate data in our animations and games. We can create two types of data: variables and lists. These can be used with sprites and with the stage.
When we specify the name of a variable, we can also specify if the variable is a local variable or a global variable. Once the variable is created, it is available through the Data block and the commands used to manipulate the variable are also available in the Data block.

Q8. What is the difference between repeat and repeat until blocks ?

Ans. Repeat block iterates a specified number of times whereas repeat until block repeats as long as the given condition is false.

Q9. What is the difference between repeat and forever blocks ?

Ans. Repeat block is a finite iteration block i.e., it iterates a specified number of times whereas forever block is an infinite iteration block i.e., it keeps repeating the commands inside it over and over again.

Q10. What is the difference between if and if-else blocks ?

Ans. The if block is used when we have to take action depending on a certain condition being true whereas the if-else block is used when we have to take different courses of action depending upon whether the condition is true or false.

Q11. What is the difference between say and ask blocks ?

Ans. The differences between say and ask blocks are:

  1. Say block is used to represent speech by sprites whereas ask block is used to prompt something to user asking for a value or response.
  2. Say block displays a specific speech block in the speech bubble which appears on the screen for a specified amount of time whereas ask block provides a place for the message to be displayed and waits for the response.
  3. Say block doesn't prompt the user for any response whereas ask block provides an input box where the user can type his response.
  4. Say block is available under looks category whereas ask block is available under sensing category.

Q12. To send a message to all the sprites in the program, which block will you use ?

Ans. We will use broadcast<message> block from Events category to send a message to all the sprites in the program.

Q13. To respond to a received message, which block can be used by a sprite ?

Ans. We will use When I receive <message> block from Events category to respond to a received message.

Q14. Name the tab and category of blocks that should be selected to do the following :
(i) Ask the user's name
(ii) Add a variable to store points of the game

Ans.

(i) The Ask block under Sensing category

(ii) Make a variable block under Data category

The document Assignment: Scratch Programming | Computer Application: Class 10 is a part of the Class 10 Course Computer Application: Class 10.
All you need of Class 10 at this link: Class 10
10 videos|97 docs|18 tests

FAQs on Assignment: Scratch Programming - Computer Application: Class 10

1. What is Scratch programming and why is it important for Class 10 students?
Ans.Scratch programming is a visual programming language designed to introduce coding concepts to beginners, particularly children and young adults. It allows users to create interactive stories, games, and animations by dragging and dropping code blocks. For Class 10 students, learning Scratch is important as it fosters logical thinking, creativity, and problem-solving skills, which are essential in today’s technology-driven world.
2. How does Scratch programming support learning in other subjects?
Ans.Scratch programming supports learning across various subjects by integrating concepts from mathematics, science, and art. For example, students can use Scratch to create animations that demonstrate mathematical concepts like patterns and symmetry. Additionally, programming in Scratch can help students understand scientific processes through simulations and interactive experiments, thus making learning more engaging and interdisciplinary.
3. What are the basic components of a Scratch project?
Ans.The basic components of a Scratch project include Sprites, Backdrops, Scripts, and Sounds. Sprites are the characters or objects that perform actions, Backdrops set the scene, Scripts are the instructions that control the behavior of Sprites, and Sounds add audio elements to enhance the project's interactivity. Understanding these components is crucial for students to effectively create and manage their projects in Scratch.
4. Can Scratch programming be used for advanced projects, and if so, how?
Ans.Yes, Scratch programming can be used for advanced projects by incorporating complex algorithms and collaborative features. Students can create multi-level games, simulations, and interactive stories that involve variables, loops, and conditionals. Additionally, Scratch supports extensions that allow integration with hardware such as robots and sensors, enabling students to explore robotics and real-world applications of programming.
5. What skills can students develop by learning Scratch programming?
Ans.Students can develop a range of skills by learning Scratch programming, including computational thinking, creativity, collaboration, and communication. They learn to break down problems into manageable parts, design and test their projects, and work together on group assignments. These skills are not only beneficial for programming but also applicable in various fields and future academic pursuits.
Related Searches

pdf

,

Assignment: Scratch Programming | Computer Application: Class 10

,

ppt

,

Viva Questions

,

Important questions

,

Assignment: Scratch Programming | Computer Application: Class 10

,

Free

,

Previous Year Questions with Solutions

,

shortcuts and tricks

,

Extra Questions

,

MCQs

,

video lectures

,

Objective type Questions

,

Assignment: Scratch Programming | Computer Application: Class 10

,

Summary

,

Semester Notes

,

mock tests for examination

,

practice quizzes

,

Exam

,

past year papers

,

Sample Paper

,

study material

;