Which of the four options matches the following description:
Checks to see if the age is less than or the same as to 18
N4 SDD - Code understanding quiz 1
Quiz
•
Computers
•
10th - 12th Grade
•
Medium
G Alexander-Doyle
Used 6+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the four options matches the following description:
Checks to see if the age is less than or the same as to 18
if age > 18:
if age < 18:
if age >= 18:
if age <= 18:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the four options matches the following description:
Checks to see if the age is the same as 18
if age > 18:
if age < 18:
if age >= 18:
if age = 18:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the four options matches the following description:
Checks to see if SavedPassword is different to UserPassword
if SavedPassword != UserPassword:
if SavedPassword == UserPassword:
if SavedPassword / UserPassword:
if SavedPassword * UserPassword:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the four options matches the following description:
Checks to see if score is less than 50
if score > 50
if score < 50:
if score >= 50
if score <= 50
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the four options matches the following description:
Checks to see if score is more than or the same as 75
if score > 75
if score < 75:
if score >= 75
if score <= 75
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the four options matches the following description:
Checks to see if score is more than 45
if score > 45:
if score < 45:
if score >= 45:
if score <= 45:
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which message would be output to the screen if the user entered the score of 15 in this program:
if score > 15:
print ("You got a high score, great job!")
else:
print ("You didn't get a high score this time, sorry!")
You got a high score, great job!
You didn't get a high score this time, sorry!
20 questions
OCR GCSE CS MCQs 2.3 Defensive Design
Quiz
•
10th - 11th Grade
15 questions
BTEC Digital Information Technology: Component 2 - Learning Aim A
Quiz
•
9th - 11th Grade
20 questions
Javascript Conditional Statements
Quiz
•
9th - 12th Grade
10 questions
SQL SELECT
Quiz
•
8th - 10th Grade
10 questions
Cyber Security
Quiz
•
8th - 12th Grade
13 questions
Thunkable Intro!
Quiz
•
9th - 12th Grade
15 questions
3.1 Data Types
Quiz
•
8th - 10th Grade
20 questions
National 5 Programming
Quiz
•
10th - 12th Grade
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
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