N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Vocabulary of Computer

Vocabulary of Computer

12th Grade

15 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Q1 M 2 - TOPIC 2 / Check your understanding

Q1 M 2 - TOPIC 2 / Check your understanding

10th Grade

10 Qs

Informatika

Informatika

10th Grade

20 Qs

From Binary To Denary Conversion - IGCSE

From Binary To Denary Conversion - IGCSE

7th Grade - Professional Development

20 Qs

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Cell Phone Vocabulary

Cell Phone Vocabulary

9th - 12th Grade

12 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?

Discover more resources for Computers