What is the primary purpose of selection in algorithms?
Highlands Computing: Y9 W02 Homework

Interactive Video
•
Computers
•
8th Grade
•
Hard
T Herring
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To store data
To perform calculations
To make decisions or ask questions
To display output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which instructions are commonly used to represent selection in algorithms?
Add and Subtract
For and While
Print and Scan
If, Then, and Else
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a part of an if-then-else statement?
Else
Then
Loop
If
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'if' part of an if-then statement do?
It repeats a block of code
It stores a value
It stops the algorithm
It causes one path to be followed if the condition is true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main function of the 'then' part in an if-then statement?
To repeat a block of code
To display output
To store data
To execute a block of code if the condition is true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which part of an if-then-else statement is executed if the condition is true?
None of the above
If
Then
Else
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the condition in an 'if' statement is false?
The 'else' part is executed
The condition is ignored
The algorithm stops
The 'if' part is executed again
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In what scenario would the 'else' part of an if-then-else statement be executed?
When the condition is true
When the algorithm starts
When the condition is false
When the algorithm ends
Similar Resources on Quizizz
12 questions
Ch-8 Iterative statements in Python

Quiz
•
8th Grade
12 questions
Coding Vocabulary Words

Quiz
•
8th Grade
13 questions
Programming Concepts Quiz

Quiz
•
6th Grade - University
14 questions
Python L1

Quiz
•
8th Grade - University
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
10 questions
Coding: Conditionals

Quiz
•
6th - 8th Grade
10 questions
Computational Thinking

Quiz
•
8th - 12th Grade
11 questions
Computer Programming Basics

Quiz
•
8th 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
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade