Python First Steps Homework Quiz

Python First Steps Homework Quiz

7th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

g7 python

g7 python

7th Grade - University

19 Qs

Python Next Steps Homework Quiz

Python Next Steps Homework Quiz

8th - 10th Grade

20 Qs

Y9 - T2 - L6 - HOMEWORK

Y9 - T2 - L6 - HOMEWORK

9th Grade

20 Qs

Introduction to Python

Introduction to Python

8th Grade

25 Qs

KS3 Data Types

KS3 Data Types

8th Grade

16 Qs

Python

Python

9th - 12th Grade

15 Qs

FOR and WHILE loop in Python

FOR and WHILE loop in Python

9th - 12th Grade

18 Qs

Programming Quiz

Programming Quiz

7th Grade

22 Qs

Python First Steps Homework Quiz

Python First Steps Homework Quiz

Assessment

Quiz

Computers

7th - 9th Grade

Hard

Created by

Tracy Mayhead

Used 132+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A set of precise instructions that is meant to solve a problem is .......................

a computer

an algorithm

a program

an interpreter

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?

plus +

forward slash /

equals =

asterisk *

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Read the Python program:


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.

"I live in", location

"I live in", "Leeds"

I live in location

I live in Leeds

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Read the Python program:


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.

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.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature of programming involves a decision, but does not involve repeats?

Sequence

Selection

Iteration

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Read the Python program below:


1. answer = 3 + 13 * 3

2. print("The Answer is", answer)


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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code you use to receive an input from the keyboard

enter()

receive()

add()

input()

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?