wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python Test -1A

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

Who developed Python Programming Language?

a)

Wick van Rossum

b)

Rasmus Lerdorf

c)

Guido van Rossum

d)

Niene Stom

2.

Which type of Programming does Python support?

a)

object-oriented programming

b)

structured programming

c)

functional programming

d)

all of the mentioned

3.

Is Python case sensitive when dealing with identifiers?

a)

no

b)

yes

c)

machine dependent

d)

none of the mentioned

4.

Is Python code compiled or interpreted?

a)

Python code is both compiled and interpreted

b)

Python code is neither compiled nor interpreted

c)

Python code is only compiled

d)

Python code is only interpreted

5.

All keywords in Python are in _________

a)

Capitalized

b)

lower case

c)

UPPER CASE

d)

None of the mentioned

6.

Which of the following is used to define a block of code in Python language?

a)

Indentation

b)

Key

c)

Brackets

d)

All of the mentioned

7.

Which of the following character is used to give single-line comments in Python?

a)

//

b)

#

c)

!

d)

/*

8.

Which of the following functions can help us to find the version of python that we are currently working on?

a)

sys.version(1)

b)

sys.version(0)

c)

sys.version()

d)

sys.version

9.

What is the order of precedence in python?

a)

Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

b)

Exponential, Parentheses, Division, Multiplication, Addition, Subtraction

c)

Parentheses, Exponential, Multiplication, Division, Subtraction, Addition

d)

Parentheses, Exponential, Multiplication, Division, Addition, Subtraction

10.

What does pip stand for python?

a)

unlimited length

b)

all private members must have leading and trailing underscores

c)

Preferred Installer Program

d)

none of the mentioned