N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Online Safety and Using the Computers

Online Safety and Using the Computers

6th - 12th Grade

20 Qs

Cyber Security

Cyber Security

8th - 12th Grade

10 Qs

Thunkable Intro!

Thunkable Intro!

9th - 12th Grade

13 Qs

3.1 Data Types

3.1 Data Types

8th - 10th Grade

15 Qs

Maths - ICT Quiz Battle

Maths - ICT Quiz Battle

10th Grade

18 Qs

National 5 Programming

National 5 Programming

10th - 12th Grade

20 Qs

OCR GCSE CS MCQs 2.3 Defensive Design

OCR GCSE CS MCQs 2.3 Defensive Design

10th - 11th Grade

20 Qs

SQL SELECT

SQL SELECT

8th - 10th Grade

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