Class 11-Mid Term I
Class 11-Mid Term I
_______________________________________________________________________________________
3. Arrange the following measurement units of memory in ascending order as per their storage capacity?
BYTE, MB, GB, KB
7. Which of the following option is not a core data type in the python language?
a) Dictionary b) Lists c) Class d) All of above
12. A___________gate gives the output as 1 only if all the inputs signals are 1.
14. When we convert 10010 binary numbers to decimals. Then the solution is :
a) 20 b) 18 c) 14 d) 16
a) 20 b) 18 c) 14 d) 81
16. Which out of the following binary number is equivalent to decimal number 24.
a) 18 b) 14 c) 15 d) 16
18. The result after converting the binary number (100011)2 to decimal will be
a) 46 b) 36 c) 26 d) 34
22. The result after converting the binary number (11011)2 to decimal will be
c) 3 + 7 d) ‘PythonMcq’ + “21”
x, y=y,"class12"
print(x, y)
list1=[10,100,150]
list1[0]=50
print(list1)
a) [10,50,100,50] b) [50,100,150] c) [50,10,100,150] d) TypeError
str1="computer"
str1[1]="a"
print(str[0])
m=40%6
n=m**2
r=m//n
m+=m+n+r
n+=m+n+r
r-=m+n+r
print(m,n,r)
a) 24 53 80 b) 24 56 -80 c) 24 53 -80 d) 24 56 80
12%5*3+(2*6)/4
a) 9 b) 9.0 c) 12 d)12.0
val=67
val+=5
val=3
val**=2
print(val)
a) 72 b) 72 9 c) 9 d) Error
a="Computer Science"
print(a*2)