wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Lesson 1 - Python introduction,variable & datatypes

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is data ?

a)

internet data

b)

some of the information

c)

every information

d)

nothing

2.

Which symbol is used to write comment into the python file ?

a)

#

b)

//

c)

"

d)

'

3.

Which operator is used to storing the data into the variable ?

a)

==

b)

=

c)

is

d)

keep

4.

List the two Boolean data’s ?

a)

0 and 1

b)

True and 0

c)

1 and False

d)

True and False

5.

Which function is used to display the content on the screen from the variable ?

a)

show()

b)

display

c)

print()

d)

none

6.

What is the output of the following statement. ?

9_ah = “akash”

Print(9_ah)

a)

akash

b)

9_ah

c)

Error

d)

none

7.

What do you mean by case sensitive means ?

a)

A and a is same

b)

A and a is not same

c)

A and B is same

d)

A and b is same

8.

Which of the following are not the strings in python ?

1) “ “ 2) “akansha” 3) “””rohima””” 4) sakshi 5) ‘sarvan” 6) ‘6’

a)

1 and 3

b)

4 and 5

c)

2 and 4

d)

4 and 6

9.

In python real numbers are termed as ?

a)

real

b)

fraction

c)

float

d)

none

10.

What happens when we assign a different data into the previously declared variable ?

a)

New data removed

b)

previous data removed

c)

new and previous data removed

d)

nothing