Y8 - SUM2 - Intro to Python (No Iteration)

Y8 - SUM2 - Intro to Python (No Iteration)

8th Grade

21 Qs

quiz-placeholder

Similar activities

Python Gaddis

Python Gaddis

8th Grade

25 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Python review 1

Python review 1

8th Grade

18 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Intro to Python Programming - Year 8

Intro to Python Programming - Year 8

8th Grade - University

20 Qs

Python Basics Recap

Python Basics Recap

8th - 11th Grade

23 Qs

Python First Steps Homework Quiz

Python First Steps Homework Quiz

7th - 9th Grade

20 Qs

Introduction to Python Programming

Introduction to Python Programming

8th Grade

25 Qs

Y8 - SUM2 - Intro to Python (No Iteration)

Y8 - SUM2 - Intro to Python (No Iteration)

Assessment

Quiz

Computers

8th Grade

Hard

Created by

O Moore

Used 96+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be displayed on the screen when the Python program is executed?

"I live in", location

"I live in", "Manchester"

I live in location

I live in Manchester

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the output of this Python program be if the user types their answer as London?

I have never been to London

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

30 sec • 1 pt

Media Image

What is the output of the Python program?

The answer is 42

The answer is 48

The answer is 39

The answer is 16

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When the Python 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

30 sec • 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.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

13 42

13 13

42 13

42 42

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

13 1

13 14

14 13

14 14

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?