Data Handling Worksheet Class 11 Computer Science
Data Handling Worksheet Class 11 Computer Science
Q.1: Which Python built-in function returns the unique number assigned to an object?
a) Identity()
b) Id()
c) Refnum()
d) Ref()
Q.2: The operator used to check if both the operands reference the same object memory, is the ………. operator.
a) In
b) Id
c) Is
d) ==
Q.3: Python operator always yields the result of ………. datatype.
a) Integer
b) Floating type
c) Complex
d) All of these
Q.4: What is the value of the expression 100 // 25 ?
a) 4
b) 0
c) 5
d) None of these
Q.5: In the Python statement x = a + 5 – b : a and b are
a) Operands
b) Expression
c) Operator
d) Equation
Q.6: Which of the following operators has the lowest precedence ?
a) Not
b) %
c) And
d) +
Q.7: Which of the following is not an immutable type in Python ?
a) String
b) Tuples
c) Set
d) List
Q.8: Which of the following is the truncation division operator in Python?
a) \
b) |
c) //
d) %
Q.9:What is the value of the expression 10+ 3**3*2?
a) 28
b) 739
c) 829
d) 64
Q.10: In Python , a variable must be declared before it is assigned a value .
a) True
b) False
c) Only in function
d) Only in modules
Q.11: The explicit conversion of an operand to a specific type is called …………… .
Q.12:Identifiers , literals,strings,list , tuples, sets are all ……………. .
Q.13: Write the output of the following :
a =5
b=-3
c=25
d=-10
a+b+c > a+c-b*d
str(a+b+c > a+c-b*d) ==str(true)
len(str(a+b+c > a+c-b*d)) == len(str(true))
Q.14: What is the output of the following :
a = 3+ 5/8
b =3 + float(5)/8
c = 3 + 5/8.0
Q.15: What do you understand by term ‘immutable’?
Q.16: Why is Boolean considered a subtype of integer ?
Q.17 : Which data types of Python handle number ?
Q.18: What are augmented assignment operators? How are they useful?
Q.19 : What is the difference between implicit type conversion and explicit type conversion ?
Q.20: How does the // operator differ from the / operator?
Solution for Data Handling Worksheet Class 11 Computer Science given below: