Which of the following is used to compare two values and determine whether the condition of an if statement is true or false? (3 points)
Sem 1 Final Review Computer Programming

Quiz
•
Computers
•
9th - 12th Grade
•
Easy

TRACY RIDEY
Used 4+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Logic
Order of Operations
Relational Operators (<,>,=)
Variables
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of statement tells the computer to execute a block of code when a certain condition is true? (3 points)
if
input
else
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens in a program if an if statement is false? (3 points)
An error message is returned, and the program crashes
The block of code will be executed
The block of code is skipped over, and the program is continued
The user is prompted for a different type of statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the relational operator " > " mean?
Equal to
Less than
Greater than
Not equal to
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following if statements uses a Boolean condition to test: "If you are 18 or older, you can vote"?
if(age <= 18):
if(age >= 18):
if(age == 18):
if(age != 18):
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the following statement:
if(x >= 2 and x < 5):
Which values of x make the if condition true?
1,2,3,4
1,2,3,4,5
2,3,4
2,3,4,5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the following statement:
A word that is a noun AND starts with a vowel, but does NOT end in a consonant.
Which of the following meets all the conditions?
Apply
Emma
Involve
Oliver
Create a free account and access millions of resources
Similar Resources on Quizizz
35 questions
PTS PPL XI RPL

Quiz
•
11th Grade
34 questions
code.org Unit 3 Review

Quiz
•
9th - 12th Grade
30 questions
Unit 3 IT Class X DBMS

Quiz
•
10th Grade
35 questions
Unit 1 Exam

Quiz
•
12th Grade
34 questions
OCR J277 2.5 Programming Languages and IDEs

Quiz
•
11th Grade
30 questions
CT 10 Q2

Quiz
•
10th Grade
40 questions
Computer Programming Quiz

Quiz
•
12th Grade
34 questions
Databases & Big Data

Quiz
•
11th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

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

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

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

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade