Search Header Logo

National 5 Computing Revision Quiz

Authored by Ryan Trainer

Professional Development

9th - 12th Grade

National 5 Computing Revision Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

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?