Search Header Logo

Year 8 Intro to Python Programming Quiz (NCCE Unit)

Authored by Miss Mahmood

Computers

7th Grade

Selection covered

Used 22+ times

Year 8 Intro to Python Programming Quiz (NCCE Unit)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q1: Read the Python program below:

When this program is executed, what will be displayed on the screen?

Note: There may be errors in the program and/or it may not behave as expected.

A. "I live in", location

B. "I live in", "Leeds"

C. I live in location

D. I live in Leeds

Tags

Sequence

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q2: When this program is executed, what will be displayed on the screen, as a result of executing line 3?

Note: There may be errors in the program and/or it may not behave as expected.

A.           I’ve never been to and whatever the user has typed at the keyboard

B. I’ve never been to location

C. I’ve never been to input()

D. It is not possible to know the output without executing the program.

Tags

Sequence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q3: Read the Python program below:

When this program is executed, what will be displayed on the screen?

Note: There may be errors in the program and/or it may not behave as expected.

The Answer is 3 + 13 * 3

The Answer is 42

The Answer is 48

The Answer is answer

Tags

Sequence

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q4. Read the Python program below:

A. 13 42

B. 42 13

C. a b

D. There is an error in the program because variables a and b are not assigned values in the right order.

Tags

Sequence

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q5. Read the Python program below:

A. 13 42

B. 42 13

C. There is an error in the program because variables a and b are not assigned values in the right order.

D. There is an error in the program because when line 1 is executed, variables a and b have not been assigned values.

Tags

Sequence

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q6. Read the Python program below:

A. 13

B. 42

C. 13 42

D. There is an error in the program because variable a cannot hold two values at the same time.

Tags

Sequence

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q7. Read the Python program below:

A. 13 42

B. 13 13

C. 42 13

D. 42 42

E. There is an error in the program because when line 4 is executed, variable b no longer has a value.

Tags

Sequence

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?