N4 SDD - Code understanding quiz 1
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
G Alexander-Doyle
Used 8+ times
FREE Resource
Enhance your content in a minute
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!
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
10 questions
สอบย่อย ครั้งที่ 1 (BC.2/2)
Quiz
•
11th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
11 questions
BTEC DIT C3 B1 - Threats to Data
Quiz
•
11th Grade
15 questions
Ethical and Social Issues in ICT
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
