wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PyQuiz

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

Most imporent advanage of pyhon

a)

Easy to use

b)

Easy to read

c)

Easy to get libraries

d)

All of hese

2.
What will the output be from the following code?
print("Hello world!\nHello world!")
a)
Hello world! Hello world!
b)
Hello world!
Hello world!
c)
SyntaxError
d)
Hello world!
3.
What will the output be from the following code?
print("Hello world!\nHello world!")
a)
Hello world! Hello world!
b)
Hello world!
Hello world!
c)
SyntaxError
d)
Hello world!
4.
What is python named after
a)
The snake
b)
Television show called Monty Python
5.
What does the term 'debug' mean?
a)
Identify errors and fix them.
b)
Making a calculation
c)
A set of instructions
d)
Looking at code
6.
Python is an example of a....
a)
Text-based programming language
b)
Object orientated programming language
c)
language written in java script
d)
Visual-based programming language
7.

What is the file extension of python ?

a)

.py

b)

.pyth

c)

.pth

d)

.pthon

8.

A symbol which work on operands is called (a)