wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.

(a)   is an interpreted high-level general-purpose programming language.

2.

What is the other term for Python?

(a)  

3.

A _________ is a sequence of instructions written so that a computer can perform certain tasks.

a)

Program

b)

Script

c)

Code

d)

Machine language

4.

A ________ is nothing but a type of programming language in which we can write code to control

another software application.

a)

Program

b)

Script

c)

Code

d)

Machine Language

5.

Who invented Python?

(a)  

6.

In what year did they start implementing Python as a programming language?

a)

1980

b)

1989

c)

1990

d)

1889

7.

The programming language Python was named after a famous TV show in the Netherlands name (a)   ?

8.

Why do people use Python? What are the primary factors that were cited by these users?

a)

It's object-oriented

b)

It's free

c)

It's powerful

d)

It's portable

e)

It's cheap

9.

What is the source code extension for Python?

(a)  

10.

It is a Python data type that is sequences of Unicode characters.

a)

Tuples

b)

Booleans

c)

Sets

d)

Strings

11.

It is a Python data type that can be integers (1 and 2), floats (1.1 and 1.2), fractions (1/2 and 2/3), or even complex numbers.

a)

Booleans

b)

Tuples

c)

Numbers

d)

Strings

12.

It is a Python data type that is either True or False.

a)

Booleans

b)

Tuples

c)

Strings

d)

Numbers

13.

The _______ is the most versatile Data type available in Python which can be written as a list of comma-separated values (items) between square brackets.

a)

Booleans

b)

List

c)

Tuples

d)

Strings

14.

A ______ is a sequence of immutable Python objects.

a)

Booleans

b)

Tuple

c)

List

d)

Strings

15.

Which of the following is not a loop type in Python?

a)

Do While

b)

While

c)

For

d)

If

e)

Else if