Y8 - SUM2 - Intro to Python (No Iteration)

Y8 - SUM2 - Intro to Python (No Iteration)

8th Grade

21 Qs

quiz-placeholder

Similar activities

Grade 8

Grade 8

8th Grade

17 Qs

VECTOR GRAPHIC

VECTOR GRAPHIC

5th - 8th Grade

20 Qs

Search Engines

Search Engines

8th - 10th Grade

24 Qs

Social Media and the Internet Safety

Social Media and the Internet Safety

1st - 11th Grade

21 Qs

Database-I

Database-I

7th - 8th Grade

20 Qs

3D Printing-Tinker/Brain Pop

3D Printing-Tinker/Brain Pop

6th - 8th Grade

20 Qs

Design your website

Design your website

7th - 12th Grade

20 Qs

Artificial Intelligence and SketchUp

Artificial Intelligence and SketchUp

8th - 10th Grade

20 Qs

Y8 - SUM2 - Intro to Python (No Iteration)

Y8 - SUM2 - Intro to Python (No Iteration)

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

O Moore

Used 97+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?