UnicMinds

Block-based Coding Quiz

Block Coding Quiz for Kids

Block coding programs help children learn the logic and reasoning of programming without getting burdened by the syntax of a programming language. Children can focus on the important aspects such as the flow of logic and the basic tenets of programming such as variables, loops, events, and conditional statements.

Below is a simple block coding quiz in the Multiple Choice Question (MCQ) style.

The test starts below.

1. What is the output of the following program?

Block Coding Quiz Question
  1. a=0 and b=-1
  2. a=-1 and b=2
  3. a=-2 and b=2
  4. None of the Above

2. Which of the following can a variable store?

  1. Number
  2. String and Number
  3. String, Number and Boolean
  4. List and object
  5. All of the above

3. What is the output of the following program?

var x = 90;

var x = x+1;

console.log(x);

  1. 91
  2. 90
  3. It will show error
  4. None of the above

4.What is the output of the following program? 

Block coding quiz

a. 12

b. 11

c.14

d. None of the above

5. Refer to the JavaScript code below and answer the following questions

Block-based coding test

What is the output of the above program?

  1. Error
  2. 11
  3. 111
  4. None of the above

Hope this is useful, thank you.

You may like to read: Block Programming for Kids, Making Scrolling Backdrop in Scratch, & Vedic Math Tricks

BOOK A FREE TRIAL