wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Cfa Block coding

Total questions: 21

Worksheet time: 19mins

Name
Class
Date
1.

What is block coding?

a)

A form of traditional dance

b)

A programming language that uses visual blocks to represent code.

c)

A method of encrypting data

d)

A type of construction material used in building

2.

Explain the concept of functions in block coding.

a)

Functions in block coding are only used for debugging purposes.

b)

Functions in block coding are used to divide the code into sections for better organization.

c)

Functions in block coding are reusable blocks of code that perform a specific task.

d)

Functions in block coding are decorative elements used for visual appeal.

3.

What is debugging in block coding and why is it important?

a)

Debugging is only important in text-based coding

b)

Debugging is a waste of time in block coding

c)

Debugging is not important in block coding

d)

Debugging is important in block coding because it helps ensure that the program runs smoothly and as intended.

4.

What is the purpose of using blocks in block coding?

a)

To confuse the programmer

b)

To organize and structure the code

c)

To make the code more disorganized

d)

To slow down the coding process

5.

How can you create a custom function in block coding?

a)

By writing the function name in the code editor

b)

By using voice command to create the function

c)

By dragging and dropping function blocks from the coding palette and customizing it with specific code blocks.

d)

By shaking the device to generate the function

6.

Which code will get Angry Bird jumping ON the pig?

a)
b)
7.

Which code will get Angry Bird jumping ON the pig?

The REPEAT does what's in the gap "however many times". In this case, 3!

a)
b)
8.
What is an error in a program that prevents the program from running as expected?
a)
Algorithm
b)
Program
c)
Bug
d)
Code
9.

Which code will get Angry Bird jumping ON the pig?

The REPEAT does what's in the gap "however many times". In this case, 3!

a)
b)
c)
10.
a)
b)
c)
11.

What is defined as a set of instructions for solving a problem.

a)

Algorithm

b)

Problem

c)

Data

d)

Program

12.

What is the action or process of writing computer programs.

a)

Programming

b)

Data

c)

Algorithm

d)

Program

13.

What is a collection of instruction that performs a specific task when executed by a computer.

a)

Programming

b)

Data

c)

Algorithm

d)

Problem

14.

What is this relational operator: >

a)

Less than

b)

Greater than

c)

Equal to

d)

Not equal to

15.

What is this relational operator: <

a)

Less than

b)

Greater than

c)

Equal to

d)

Not equal to

16.

What is this relational operator: <=

a)

Less than or equal to

b)

Greater than or equal to

c)

Equal to

d)

Not equal to

17.

What is this relational operator: >=

a)

Less than or equal to

b)

Greater than or equal to

c)

Equal to

d)

Not equal to

18.

Coding can be used to...

a)

Tell computers what to do

b)

Create games, websites, and apps

c)

Program Robots

d)

All of the above

19.

Working through your code to find out why it is not working is called

a)

looping

b)

Boolean scripting

c)

pseudocode

d)

debugging

20.

list a couple industries that can use block coding

4 lines
21.

Define what an algorithm is and its relation to block coding

4 lines