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
15 questions
PCEP Section 2a: Make decisions with if instruction

Quiz
•
12th Grade
19 questions
Python Loops Review

Quiz
•
9th - 12th Grade
15 questions
Representing Images

Quiz
•
8th - 10th Grade
20 questions
Intro to JavaScript

Quiz
•
9th - 12th Grade
19 questions
JavaScript 101 Review

Quiz
•
12th Grade
10 questions
Comp Sci Quiz #6

Quiz
•
11th Grade
10 questions
Computer Grade 10 FTQuiz 1 - Visual Basic 2019 Quiz

Quiz
•
10th Grade
10 questions
Programming - Arrays

Quiz
•
2nd - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade