wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Basic level 1

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

In Data Structure, Stack is working under the principle of ______

a)

LIFO

b)

FIFO

c)

FOFO

d)

LOFO

2.

In Stack, Deletion operation is called (a)  

3.

In Data Structure, Queue is working under the principle of ______

a)

LOFO

b)

FIFO

c)

LIFO

d)

FILO

4.

Addition Operation in the Queue is called_____

a)

Dequeue

b)

Enqueue

c)

addqueue

d)

deletequeue

5.

Who developed the Python language?

a)
  1. Guido van Rossum

b)

Dennish

c)
  1. Wick van Rossum

d)

Bill gates

6.

In which year was the Python language developed?

a)

2000

b)

1977

c)

1989

d)

1999

7.

In which language is Python written?

a)

PHP

b)

C++

c)

Java

d)

C

8.

Which one of the following is the correct extension of the Python file?

a)

.py

b)

.python

c)

.p

d)

.pyt

9.

In which year was the Python 3.0 version developed?

a)

2007

b)

2008

c)

2009

d)

2010

10.

Which character is used in Python to make a single line comment?

a)

_

b)

$

c)

#

d)

//