## Python Quiz-V | Python Quiz on Data Handling

Preview
You must first complete Introduction to Python | Basic Python Components before viewing this Lesson

0%

Python Quiz- V (Data Handling)

1 / 22

Variable sname contains "Amit".  What will be the  the output of  print(sname is yourname)

if yourname=input('Enter your name:') contains Amit

if value of yourname is entered as Amit

2 / 22

What will be the output of :

10%3 == 10%3.0

3 / 22

Identify the data type of  ['a','b','c']

4 / 22

What are errors in following code

1. a=input('Enter a value')

2. b=a/2

3. print(a,b)

5 / 22

What will be the output of: len(10) or 10

6 / 22

Which of the following is immutable?

7 / 22

What will be the output of bool(0.0)?

8 / 22

What will be the output of following

number=10

print(number!=10)

9 / 22

What will be the data type of 2+3.5

10 / 22

What will be the output of following:

print('Hello',end='')

print('Bye')

11 / 22

What is the error in following code:

1. x=4

2. y=2

3. x="ABC"

4. print(x/y)

12 / 22

What will be the output of following?

3+5/2

13 / 22

Identify the data type of  3j

14 / 22

Identify the data type of  "2+3j"

15 / 22

What will be the output of 6<6 or 20

16 / 22

What line in following code contains error ?

1. x=4

2.  z=x/0

3. print(z)

17 / 22

What will be the output of bool(str(0))

18 / 22

What will be the output of bool(0j)?

19 / 22

Write the output of print(len(str(10//3))).

20 / 22

What will be the output of int(4+3/2)?

21 / 22

What will be the output of 2**2**3

22 / 22

What will be the output of following:

x,y=4,8

z=x/y*y

print(z)

Lesson tags: python quiz for class 11, python quiz for class 12, Python quiz on data handling
Back to: CBSE class 11 Computer Science Notes