wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Intro to Python

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does print("hello) display?

a)

hello

b)

gives you an error

c)

"hello"

d)

"hello

2.

Which is NOT true about the programming language Python?

a)

works on a variety of platforms

b)

designed to be closer to human languages

c)

contains same advanced features as other languages

d)

its creator named the language after a pet snake

3.

What will get printed to the console when this command is executed:


print("Hello")

a)

("Hello")

b)

"Hello"

c)

Hello

d)

*** ERROR MESSAGE ***

4.

Which is the correct command to print the text "Good bye!" to the console?

a)

print(Good bye!)

b)

print("Good bye!")

c)

print("Good bye!)

d)

print "Good bye!"

5.
What is python?
a)
a programming language 
b)
DTP software 
c)
Spreadsheet software
d)
Computer 
6.

What is the most recent version of Python?

a)

Python 2.0

b)

Python forever

c)

Python 3

d)

Python 1.1

7.

Python has a simple syntax similar to the English language.

a)

True

b)

False

8.

Who created Python?

a)

Dr. Greg Baker

b)

Bill Gates

c)

Your mom

d)

Guido van Rossum

9.

Python uses semicolons or parentheses to complete a command, as opposed to other programming languages which often use new lines.

a)

True

b)

False

10.

Python is used for:

a)

Server Side Web Development

b)

Software Development

c)

Mathematics

d)

All of the above