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
40 questions
Module 7 FundIT

Quiz
•
10th Grade
30 questions
Grade 12 Computers Quiz

Quiz
•
12th Grade
34 questions
CFU 5.1 - Algorithms & Programming Language

Quiz
•
9th - 12th Grade
38 questions
Unit 2 Learning Aim C Revision Quizz

Quiz
•
12th Grade
30 questions
kelompok1 pwpb kelas 12 smk 6 kendari

Quiz
•
9th - 12th Grade
30 questions
ASSESSMENT Term 3 - Y9 U9 Creating an app

Quiz
•
7th - 12th Grade
30 questions
AP CSP Programming Basics

Quiz
•
10th - 12th Grade
35 questions
CIE As A level Chpt_20: Object-Oriented Programming

Quiz
•
11th Grade - University
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
30 questions
Linear Inequalities

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

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