Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python First Steps Lesson 1

Total questions: 6

Worksheet time: 3mins

Name
Class
Date
1.

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

a)

a computer

b)

an algorithm

c)

a program

d)

an interpreter

2.

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

a)

plus +

b)

forward slash /

c)

equals =

d)

asterisk *

3.

What is the word (command) used to display numbers and text on the screen?

a)

print

b)

output

c)

input

d)

command

4.

What will be the output?

1. name = "Dave"

2. print (name)

a)

"Dave"

b)

name

c)

(name)

d)

Dave

5.

What will the output be from the following code?

Print("Hello world!")

a)

Hello world!

b)

"Hello world"

c)

NameError

d)

Print(Hello world!)

6.
What is the name of the programming language we are learning?
a)
Scratch
b)
Python
c)
Pie thin
d)
Scribble