Python First Steps Homework Quiz

Python First Steps Homework Quiz

7th - 9th Grade

20 Qs

quiz-placeholder

Similar activities

Python programming

Python programming

6th - 12th Grade

16 Qs

Grade 7 Python

Grade 7 Python

7th Grade

20 Qs

Python Basics

Python Basics

6th - 7th Grade

15 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python - Test Revision

Python - Test Revision

8th Grade

20 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?