Y8 - SUM2 - Intro to Python (No Iteration)

Y8 - SUM2 - Intro to Python (No Iteration)

8th Grade

21 Qs

quiz-placeholder

Similar activities

Python Basics (CodeHS)

Python Basics (CodeHS)

7th - 12th Grade

20 Qs

Recuperacion final parte 1

Recuperacion final parte 1

8th Grade - University

20 Qs

RWMS Coding Basics Semester Exam Review

RWMS Coding Basics Semester Exam Review

7th - 8th Grade

20 Qs

Phyton

Phyton

8th Grade

20 Qs

Python basics

Python basics

7th - 10th Grade

18 Qs

Python Gaddis

Python Gaddis

8th Grade

25 Qs

ICT Programming & Logic Lessons 1 & 2

ICT Programming & Logic Lessons 1 & 2

6th - 8th Grade

21 Qs

8th Grade (Programming B)

8th Grade (Programming B)

8th - 12th 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?