What are the two possible results of evaluating a logical expression?
Basic Flow Control Quiz

Quiz
•
Computers
•
10th Grade
•
Medium
Adolfo Canon
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Yes or no
Pro or con
true or false
0 or 1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the initialization statement do in a “for” loop?
Defines the loop’s test condition
Sets the loop’s index variable to a starting value
Defines the loop’s exit condition
None of these are true
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a compound logical expression?
Two or more logical expressions joined by a logical operator
Two or more logical expressions joined by a mathematical operator
A logical expression using the <= or >= operators
A logical expression using the ++ or -- operators
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an “if” statement used for in a program?
To execute a block of code if a condition is false
To execute a block of code in a loop
To ask the user a question
To execute a block of code if a condition is true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of loop never stops executing?
Recursive loop
While() loop
Infinite loop
For() loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of “while” loop will always be executed at least once?
while
do-while
Both of these will be executed at least once
Neither of these is guaranteed to execute at least once
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a relational operator?
>
<
+
<=
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Quiz 2 in programming

Quiz
•
10th Grade
10 questions
Latihan ICT Part 2

Quiz
•
10th Grade
10 questions
KEIRO PROGRAMMING

Quiz
•
4th - 12th Grade
15 questions
Computer System Grade 9

Quiz
•
9th - 10th Grade
10 questions
C# Operators

Quiz
•
10th Grade
10 questions
AP Computer Science-Quiz 2(G10)

Quiz
•
9th - 12th Grade
10 questions
Programming Quiz

Quiz
•
9th - 12th Grade
10 questions
Basic Programming Terminology Quiz

Quiz
•
10th 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
17 questions
Chapter 12 - Doing the Right Thing

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

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University