
Sem 1 Final Review Computer Programming
Authored by TRACY RIDEY
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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)
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?