N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

CodeHS Canvas and Graphics

CodeHS Canvas and Graphics

9th - 12th Grade

15 Qs

Final/Midterm Review

Final/Midterm Review

9th - 12th Grade

15 Qs

Evaluación Parcial Laboratorio 4to. BACO

Evaluación Parcial Laboratorio 4to. BACO

10th Grade

20 Qs

Y7 Python Mid Point

Y7 Python Mid Point

7th - 12th Grade

15 Qs

C_หน่วย 3

C_หน่วย 3

12th Grade

10 Qs

AP Review 8/19/22

AP Review 8/19/22

10th - 12th Grade

10 Qs

S3 Python 1

S3 Python 1

8th - 10th Grade

12 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?