N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

FNaF1

FNaF1

4th - 12th Grade

19 Qs

Chapter 8 Week 1

Chapter 8 Week 1

9th - 12th Grade

11 Qs

ICT

ICT

1st Grade - University

20 Qs

Debugging Challenge 2

Debugging Challenge 2

7th - 12th Grade

15 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Created by

G Alexander-Doyle

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?