wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Abstraction in Computational Thinking

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What is an abstraction in the computational thinking process?

a)

A detailed step-by-step analysis of a process

b)

Focusing on the important parts and not getting bogged down in the details

c)

A method to solve computational problems quickly

d)

A way to increase the complexity of a process

2.

Which of the following is an example of an abstraction?

a)

Memorizing the periodic table

b)

Tying your shoes without thinking about every step

c)

Calculating the digits of pi

d)

Writing a detailed report

3.

What is an example of an abstraction in programming according to the text?

a)

A variable

b)

A block

c)

A loop

d)

An array

4.

In other programming platforms, what are abstractions commonly referred to as?

a)

Objects

b)

Classes

c)

Methods, functions, or procedures

d)

Libraries

5.

Why is abstraction useful in programming as per the given text?

a)

It allows you to stress over the details of the block

b)

It helps in tying your shoes

c)

It eliminates the need to reference specific steps after creating a block

d)

It reduces the need to stress over the details of the block once it is created

6.

What can you select under each palette in Snap! to display a toolbar for creating a block?

a)

Select a command

b)

Make a block

c)

Choose a color

d)

Name a block

7.

What can you do to better organize your program in Snap!?

a)

Change the background color

b)

Select different sprites

c)

Display different colors for different palettes

d)

Use only one type of block

8.

What are the three types of blocks you can select when making a block in Snap!?

a)

Command, Reporter, Predicate

b)

Function, Variable, List

c)

Loop, Condition, Operator

d)

Array, Object, String

9.

Can you name your block when creating it in Snap!?

a)

No, the name is auto-generated

b)

Yes, but only with numbers

c)

Yes, you can name your block

d)

No, blocks do not have names

10.

What is a Command Block?

a)

A type of function that returns a specific value.

b)

A specific type of reporter that reports only True or False values.

c)

A type of function that performs a specific command or task.

d)

A block that combines multiple commands into one.

11.

What does a Reporter Block do?

a)

Executes a list of commands in sequence.

b)

Returns or reports a specific value that the program might use.

c)

Changes the appearance of the sprites.

d)

Controls the flow of the program with conditional statements.

12.

What is unique about a Predicate Block?

a)

It can perform any command or task.

b)

It reports a value that can be either a number or text.

c)

It only reports a True or False value.

d)

It allows for user input to decide its function.

13.

What does selecting "for all sprites" mean when creating a block in Scratch?

a)

It means the block is private and cannot be used by other sprites.

b)

It means the block is a function that any sprite can reference, referred to as global.

c)

It means the block can only be used in the current project.

d)

It means the block will only appear in the sprite's costume list.

14.

What does selecting "for this sprite only" mean when creating a block in Scratch?

a)

It means the block is a function that any sprite can reference.

b)

It means the block is a default script that cannot be edited.

c)

It means that only the selected sprite may reference this block, referred to as local.

d)

It means the block will be deleted after the project is closed.

15.

What type of block should be used to create a block that draws a small square?

a)

Predicate block

b)

Reporter block

c)

Command block

d)

Modulus block

16.

What is the purpose of using a modulus (mod) block in creating a block?

a)

To determine if a number is larger than 50

b)

To draw a small square

c)

To compute the remainder when dividing two numbers

d)

To call the block after an event

17.

Which block should be used to create a block that returns whether a number is larger than 50?

a)

Command block

b)

Reporter block

c)

Predicate block

d)

Modulus block

18.

What is the purpose of functions according to the text?

a)

To perform a single operation

b)

To be used multiple times with ease

c)

To store data permanently

d)

To create complex code structures

19.

What can be added to functions to use them with different values?

a)

Additional blocks

b)

Parameters (also called arguments or attributes)

c)

New functions

d)

Static variables

20.

What is a parameter in the context of functions?

a)

A fixed value within a function

b)

A special kind of variable used in a block

c)

A type of function name

d)

An error in the function code

21.

What can you do by selecting the "+" symbol next to the name of a function in Snap!?

a)

Delete the function

b)

Add parameters to the function

c)

Duplicate the function

d)

Change the function's color

22.

What is the purpose of adding parameters like num1 and num2 to a function in Snap!?

a)

To make the function run faster

b)

To allow the function to be called with various values

c)

To change the appearance of the function block

d)

To create a new function

23.

What is the result of the function call remainderExist 5 4 in Snap!?

a)

No remainder exists

b)

1

c)

An error message

d)

remainderExist

24.

At what age does the ticket price increase to $30 for the youth group members?

a)

9 years old

b)

10 years old

c)

11 years old

d)

12 years old

25.

When designing a block in the abstraction task planning, what might you need to consider including?

a)

A parameter for your block

b)

A catchy name for your program

c)

A list of all possible programming languages

d)

A detailed user manual