Search Header Logo

Introduction to Python Programming

Authored by Tom Spackman

Computers

7th Grade

Used 7+ times

Introduction to Python Programming
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

5 mins • 1 pt

Media Image

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

"I live in", location

"I live in", "Leeds"

I live in location

I live in Leeds

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

I've never been to and whatever the user has typed at the keyboard

I've never been to location

I've never been to input()

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

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

The Answer is 3 + 13 * 3

The Answer is 42

The Answer is 48

The Answer is answer

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

13 42

42 13

a b

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

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

13 42

42 13

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

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

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

13

42

13 42

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

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

13 42

13 13

42 13

42 42

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