
Understanding Loops and Functions Quiz

Quiz
•
Science
•
5th Grade
•
Medium
Standards-aligned
Jennifer Stewart
Used 18+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
DNA Introduction

Quiz
•
5th - 7th Grade
15 questions
Roller Coasters

Quiz
•
4th Grade - University
14 questions
Water Cycle Review

Quiz
•
5th Grade
15 questions
PLTW Modeling & Simulation Vocabulary Part 2

Quiz
•
5th Grade - University
10 questions
Fingerprint Evidence: Classifying Fingerprints

Quiz
•
5th Grade
13 questions
Forces practice 2

Quiz
•
5th Grade
10 questions
Block Codings

Quiz
•
4th - 5th Grade
10 questions
Coding Block

Quiz
•
4th - 5th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade