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!
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Module 04 - If Statements

Quiz
•
10th Grade
10 questions
Comp Sci Unit 2 #8

Quiz
•
11th Grade
14 questions
Understanding Python Identifiers and Operators

Quiz
•
11th Grade - University
10 questions
AP CSP Boolean Logic 3

Quiz
•
9th - 12th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
11 questions
Variables in Scratch

Quiz
•
2nd Grade - University
11 questions
Programming basics

Quiz
•
10th - 11th Grade
15 questions
Input Commands Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade