WorksheetsAbstraction in Computational Thinking
Total questions: 25
Worksheet time: 13mins
What is an abstraction in the computational thinking process?
A detailed step-by-step analysis of a process
Focusing on the important parts and not getting bogged down in the details
A method to solve computational problems quickly
A way to increase the complexity of a process
Which of the following is an example of an abstraction?
Memorizing the periodic table
Tying your shoes without thinking about every step
Calculating the digits of pi
Writing a detailed report
What is an example of an abstraction in programming according to the text?
A variable
A block
A loop
An array
In other programming platforms, what are abstractions commonly referred to as?
Objects
Classes
Methods, functions, or procedures
Libraries
Why is abstraction useful in programming as per the given text?
It allows you to stress over the details of the block
It helps in tying your shoes
It eliminates the need to reference specific steps after creating a block
It reduces the need to stress over the details of the block once it is created
What can you select under each palette in Snap! to display a toolbar for creating a block?
Select a command
Make a block
Choose a color
Name a block
What can you do to better organize your program in Snap!?
Change the background color
Select different sprites
Display different colors for different palettes
Use only one type of block
What are the three types of blocks you can select when making a block in Snap!?
Command, Reporter, Predicate
Function, Variable, List
Loop, Condition, Operator
Array, Object, String
Can you name your block when creating it in Snap!?
No, the name is auto-generated
Yes, but only with numbers
Yes, you can name your block
No, blocks do not have names
What is a Command Block?
A type of function that returns a specific value.
A specific type of reporter that reports only True or False values.
A type of function that performs a specific command or task.
A block that combines multiple commands into one.
What does a Reporter Block do?
Executes a list of commands in sequence.
Returns or reports a specific value that the program might use.
Changes the appearance of the sprites.
Controls the flow of the program with conditional statements.
What is unique about a Predicate Block?
It can perform any command or task.
It reports a value that can be either a number or text.
It only reports a True or False value.
It allows for user input to decide its function.
What does selecting "for all sprites" mean when creating a block in Scratch?
It means the block is private and cannot be used by other sprites.
It means the block is a function that any sprite can reference, referred to as global.
It means the block can only be used in the current project.
It means the block will only appear in the sprite's costume list.
What does selecting "for this sprite only" mean when creating a block in Scratch?
It means the block is a function that any sprite can reference.
It means the block is a default script that cannot be edited.
It means that only the selected sprite may reference this block, referred to as local.
It means the block will be deleted after the project is closed.
What type of block should be used to create a block that draws a small square?
Predicate block
Reporter block
Command block
Modulus block
What is the purpose of using a modulus (mod) block in creating a block?
To determine if a number is larger than 50
To draw a small square
To compute the remainder when dividing two numbers
To call the block after an event
Which block should be used to create a block that returns whether a number is larger than 50?
Command block
Reporter block
Predicate block
Modulus block
What is the purpose of functions according to the text?
To perform a single operation
To be used multiple times with ease
To store data permanently
To create complex code structures
What can be added to functions to use them with different values?
Additional blocks
Parameters (also called arguments or attributes)
New functions
Static variables
What is a parameter in the context of functions?
A fixed value within a function
A special kind of variable used in a block
A type of function name
An error in the function code
What can you do by selecting the "+" symbol next to the name of a function in Snap!?
Delete the function
Add parameters to the function
Duplicate the function
Change the function's color
What is the purpose of adding parameters like num1 and num2 to a function in Snap!?
To make the function run faster
To allow the function to be called with various values
To change the appearance of the function block
To create a new function
What is the result of the function call remainderExist 5 4 in Snap!?
No remainder exists
1
An error message
remainderExist
At what age does the ticket price increase to $30 for the youth group members?
9 years old
10 years old
11 years old
12 years old
When designing a block in the abstraction task planning, what might you need to consider including?
A parameter for your block
A catchy name for your program
A list of all possible programming languages
A detailed user manual
