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?
- a=0 and b=-1
- a=-1 and b=2
- a=-2 and b=2
- None of the Above
2. Which of the following can a variable store?
- Number
- String and Number
- String, Number and Boolean
- List and object
- All of the above
3. What is the output of the following program?
var x = 90;
var x = x+1;
console.log(x);
- 91
- 90
- It will show error
- None of the above
4.What is the output of the following program?
a. 12
b. 11
c.14
d. None of the above
5. Refer to the JavaScript code below and answer the following questions
What is the output of the above program?
- Error
- 11
- 111
- 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