Class 6 Computer & AI Chapter 6: Coding with Blocks — practice questions with answers
Free practice for Class 6 Computer & AI, Chapter 6: Coding with Blocks. Try the solved questions below, then take a free test with instant marking and explanations.
25 questions7 easy, 9 medium, 9 hardNCERT · CBSE · State boards
Sample questions with solutions
Q1. In Scratch, what are the characters or objects that you program called?
- Sprites
- Slides
- Cells
- Folders
Show answer
Answer: A. Sprites
Why: Scratch programs control sprites on a stage. [NAL syllabus, Class 6 Unit 6]
Why: Scratch programs control sprites on a stage. [NAL syllabus, Class 6 Unit 6]
Q2. Which Scratch block group starts a script, like ‘when green flag clicked’?
- Events
- Looks
- Sound
- Operators
Show answer
Answer: A. Events
Why: Event blocks start scripts when something happens. [NAL syllabus, Class 6 Unit 6]
Why: Event blocks start scripts when something happens. [NAL syllabus, Class 6 Unit 6]
Q3. A sprite runs ‘repeat 10 [move 5 steps]’. How many steps does it move in all?
Show answer
Answer: 50 (± 0)
Why: 10 × 5 = 50 steps. [NAL syllabus, Class 6 Unit 6]
Why: 10 × 5 = 50 steps. [NAL syllabus, Class 6 Unit 6]
Q4. What does a ‘forever’ block do?
- Repeats the blocks inside without stopping
- Runs the blocks once
- Stops the program
- Deletes the sprite
Show answer
Answer: A. Repeats the blocks inside without stopping
Why: A forever loop keeps repeating until the program is stopped. [NAL syllabus, Class 6 Unit 6]
Why: A forever loop keeps repeating until the program is stopped. [NAL syllabus, Class 6 Unit 6]
Q5. A named container that stores a value which can change, like ‘score’, is called a ______.
Show answer
Answer: variable
Why: Variables store values such as score or lives. [NAL syllabus, Class 6 Unit 6]
Why: Variables store values such as score or lives. [NAL syllabus, Class 6 Unit 6]
Q6. Finding and fixing mistakes in a program is called ______.
- debugging
- downloading
- formatting
- browsing
Show answer
Answer: A. debugging
Why: Errors in programs are bugs; fixing them is debugging. [NAL syllabus, Class 6 Unit 6]
Why: Errors in programs are bugs; fixing them is debugging. [NAL syllabus, Class 6 Unit 6]
Practise all 25 questions free
Timed test, marked instantly, with the correct answer and explanation for every question and a chapter-wise report.
Start the free testFrequently asked questions
How many practice questions are there for Class 6 Computer & AI Chapter 6: Coding with Blocks?
25 questions (7 easy, 9 medium, 9 hard). A few are solved on this page; the free test shows the answer and explanation for every question after you submit.
Is this chapter from the NCERT book?
Yes — it follows the NCERT Class 6 Computer & AI syllabus, used by CBSE and many state boards.