Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Microsoft MakeCode Programming Environment Quiz

Total questions: 25

Worksheet time: 14mins

Name
Class
Date
1.

What is the first action to take when creating code for the LED grid?

a)

Use the plot x y block

b)

Begin with an on start block

c)

Save the project

d)

Delete the existing code

2.

What drawer do you use to add blocks for button presses?

a)

Basic drawer

b)

Input drawer

c)

Plot X/Y drawer

d)

Clear screen drawer

3.

What is the main component being programmed in these tests?

a)

Arduino

b)

Raspberry Pi

c)

micro:bit

d)

Circuit Playground

4.

What is the visual representation shown in Figure 3?

a)

A Raspberry Pi

b)

A micro:bit

c)

An Arduino

d)

A Circuit Playground

5.

What is the function of the Plot X/Y blocks?

a)

To clear the screen.

b)

To plot points on the LED grid.

c)

To download the program.

d)

To duplicate the block.

6.

What is the purpose of a pressure sensor in a circuit?

a)
To measure pressure and convert it into an electrical signal for monitoring and control.
b)
To detect humidity levels and adjust the circuit accordingly.
c)
To control the flow of electricity in the circuit.
d)
To measure temperature and convert it into a visual display.
7.

What value range does an analog input device like a pressure sensor typically read?

a)
100 to 200 psi
b)
0 to 100 psi or 0 to 1000 psi, depending on the sensor.
c)
0 to 5000 psi
d)
0 to 50 psi
8.

What logic code block is used to determine whether a value is higher or lower than a threshold?

a)
while loop
b)
if-else statement
c)
for loop
d)
switch statement
9.

When using a photocell resistor, what happens when it is covered?

a)
The photocell resistor stops functioning entirely when covered.
b)
The resistance increases, causing the connected circuit to activate.
c)
The resistance decreases, causing the connected circuit to deactivate.
d)
The resistance remains the same, having no effect on the circuit.
10.

What is an algorithm?

a)
A recipe for cooking a meal.
b)
A random guess about a problem.
c)
An algorithm is a step-by-step procedure for solving a problem.
d)
A collection of data points without a process.
11.

Which symbol is used to represent the start or end of a flowchart?

a)
Rectangle
b)
Diamond
c)
Circle
d)
Oval
12.

What does a diamond symbol in a flowchart represent?

a)
A decision point.
b)
A starting point.
c)
An end point.
d)
A process step.
13.

When converting an algorithm into a flowchart, what should you include?

a)
Only the processes involved
b)
Start and end points, decision points, processes, inputs and outputs, and flow of control.
c)
Only the start point and end point
d)
Just the decision points
14.

 What is the purpose of a process symbol in a flowchart?

a)
To show a decision point in a process.
b)
To represent a step or action in a process.
c)
To represent the end of a process.
d)
To indicate the start of a flowchart.
15.

Which is an example of an algorithm?

a)
A set of instructions for assembling furniture
b)
A list of steps to solve a math problem
c)
A description of a computer program's features
d)
A recipe for baking a cake
16.

These blocks are known as

a)

inputs

b)

event handlers

c)

variables

17.

In the Microsoft MakeCode environment, what are the blocks of code grouped in?

a)

Drawers

b)

Menus

c)

Tabs

d)

Folders

18.

 What is the primary goal of debugging in programming?

a)
To identify and fix errors in the code.
b)
To optimize the performance of the code.
c)
To write new features for the application.
d)
To document the code for future reference.
19.

Which of the following tools can help you debug a program in the Microsoft MakeCode programming environment?

a)
The built-in debugger in Microsoft MakeCode.
b)
A command line interface for Python.
c)
An online forum for programming discussions.
d)
A third-party plugin for Microsoft Word.
20.

 What problem did Dr. Grace Hopper encounter while working on the Mark II computer?

a)
A software bug in the Mark II computer.
b)
A power outage affecting the Mark II computer.
c)
A hardware failure in the Mark II computer.
d)
A moth causing a malfunction in the Mark II computer.
21.

What steps should you follow to debug a program?

a)
Change the program's language to fix the issue
b)
Only test the program without debugging
c)
Ignore the error and continue coding
d)
Reproduce the error, review code, use debugging tools, analyze output, isolate the issue, fix it, and test.
22.

In the Make Code platform, what type of programming approach is employed?

a)
  • Python-based programming

b)
  • Java-based programming

c)
  • Block-based programming

d)
  • C++ programming

23.

 Why is using comments in your code important?

a)
Comments can slow down the execution of the code.
b)
Comments are used to replace code entirely.
c)
Comments are only necessary for large projects.
d)
Using comments in your code is important for improving readability and maintainability.
24.

What is the purpose of code tracing in debugging?

a)
To compile the code into machine language for execution.
b)
To enhance the user interface of the application during runtime.
c)
To optimize the program's performance by removing unnecessary code.
d)
The purpose of code tracing in debugging is to identify and understand errors by following the program's execution flow.
25.

What historical event is credited with popularizing the terms “bug” and “debugging”?

a)
The incident involving Grace Hopper and the Mark II computer in 1947.
b)
The invention of the first computer in the 1940s.
c)
The launch of the Apollo 11 mission in 1969.
d)
The development of the first programming language in the 1950s.