National 5 Computing Revision Quiz

National 5 Computing Revision Quiz

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

LPTM OPEN DAY

LPTM OPEN DAY

10th - 12th Grade

10 Qs

Quiz Sharing Session

Quiz Sharing Session

KG - Professional Development

11 Qs

Javascript Comparison

Javascript Comparison

10th Grade - University

7 Qs

Python Basics

Python Basics

KG - University

10 Qs

Propiedades del Agua

Propiedades del Agua

9th Grade

14 Qs

Algoritmo BSI - Univem

Algoritmo BSI - Univem

1st - 10th Grade

10 Qs

Chick-Fil-A

Chick-Fil-A

12th Grade - Professional Development

10 Qs

Sample Quiz

Sample Quiz

10th Grade

6 Qs

National 5 Computing Revision Quiz

National 5 Computing Revision Quiz

Assessment

Quiz

Professional Development

9th - 12th Grade

Hard

Created by

Ryan Trainer

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator is used to assign a value to a variable in Python?

==

-

=

+

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you add integers 4 and 5 in Python?

9

45

4 + 5

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which arithmetic operator is used to subtract one value from another?

+

-

*

/

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the Python expression (50 - 32) * 5/9?

20

10.0

18

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what does the exponent operator look like?

^

**

%

//

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type will Python treat input from the keyboard if not specified?

float

integer

string

boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to use brackets in Python arithmetic?

All of the above

5 * 2 + 3

(5 * 2) + 3

5 * (2 + 3)

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct Python code to convert Fahrenheit to Celsius?

celsius = (fahr*9/5) + 32

celsius = (fahr+32) * 5/9

celsius = (fahr-32) * 9/5

celsius = (fahr-32) * 5/9

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a standard arithmetic operator?

Add

Subtract

Divide

Concatenate