
Understanding Loops and Functions Quiz
Authored by Jennifer Stewart
Science
5th Grade
DOK Level 2: Skill/Concept covered
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop in computer science?
A sequence of instructions that is executed once
A sequence of instructions that is repeated until a certain condition is met
A function that calls itself
A conditional statement
Tags
DOK Level 2: Skill/Concept
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a conditional statement?
for loop
if-else statement
function call
variable declaration
Tags
DOK Level 2: Skill/Concept
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in computer science?
A block of code that performs a specific task and can be reused
A type of loop
A variable that stores data
A conditional statement
Tags
DOK Level 2: Skill/Concept
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes an algorithm?
A random set of instructions
A step-by-step procedure to solve a problem
A type of data structure
A programming language
Tags
DOK Level 2: Skill/Concept
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a sequence in programming?
A loop that runs indefinitely
An ordered set of instructions that are executed one after another
A function that returns a value
A conditional statement
Tags
DOK Level 2: Skill/Concept
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of a loop?
It executes a block of code only once
It repeats a block of code multiple times
It always returns a value
It is used to declare variables
Tags
DOK Level 2: Skill/Concept
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a conditional statement in programming?
To repeat a block of code
To make decisions based on certain conditions
To store data
To define a function
Tags
DOK Level 2: Skill/Concept
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?