You are on page 1of 9

Timestamp Email address Score student name

9/28/2020 12:19:27 hello@gmail.com 18 / 60


10/3/2020 15:19:18 harindersinghharry111@ 58 / 60 Harinder Singh
10/3/2020 16:23:19 rajinderkaurmann123@g 42 / 60 Rajinder kaur
10/3/2020 16:55:13 sagguarshdeep87@gmai 18 / 60 Arshdeep kaur
10/3/2020 16:58:11 raazkaur1623@gmail.co 32 / 60 Rajwinder kaur
roll number 1. Which is the correct o 6. Operators with the s 2. Which one of these is f
b) X**y b) Right to Left b) //
193012009 b) X**y a) Left to Right b) //
193012012 b) X**y a) Left to Right b) //
193012003 b) X**y a) Left to Right a) /
193012013 b) X**y b) Right to Left c) %
3. What is the order of 4. What is the answer to 5. Mathematical operatio7. What is the output of
ii) Exponential b) 0 1 b) 9
i) Parentheses b) 0 0 c) 3
a) i,ii,iii,iv,v,vi d)7 0 c) 3
a) i,ii,iii,iv,v,vi b) 0 1 d) 1
i) Parentheses b) 0 0 a) 27
8. Which one of the foll 9. The expression Int(x) i10. Which one of the fol 11. What will be the outp
a) Addition and Subtract a) True d) Parentheses b) 1
a) Addition and Subtract a) True d) Parentheses d) 4
a) Addition and Subtract b) False d) Parentheses d) 4
c) Multiplication, Divisio a) True b) Addition c) 2
c) Multiplication, Divisio a) True d) Parentheses d) 4
12. What will be the outp13. What will be the value14. What will be the outp15. To find the decimal v
b) ‘0b11101’ b) 4 b) 11 b) int(‘1111’,10)
b) ‘0b11101’ a) 8 a) 1011 d) int(‘1111’,2)
b) ‘0b11101’ c) 2 c) 13 d) int(‘1111’,2)
d) ‘0b11011’ b) 4 a) 1011 a) int(1111,10)
b) ‘0b11101’ a) 8 a) 1011 b) int(‘1111’,10)
16. What will be the outp17. Which of the followin20. What will be the outp18. Which of the followi
b) 0b1101 b) int(‘1011’,23) b) 116 b) ^
c) 12 c) int(1011,2) c) 117 b) ^
d) 1101 c) int(1011,2) d) 118 b) ^
d) 1101 d) int(‘1011’) a) 115 b) ^
a) b1101 d) int(‘1011’) b) 116 b) ^
19. What is the value of 21. What is the output of 22. Which of the followi 23. What is the type of in
b) 8 b) False b) k = complex(2, 3) b) Integer
d) ‘0b1000’ b) False c) k = 2 + 3l c) Float
d) ‘0b1000’ b) False c) k = 2 + 3l c) Float
b) 8 a) True b) k = complex(2, 3) b) Integer
d) ‘0b1000’ c) Machine dependent c) k = 2 + 3l c) Float
24. What does ~4 evalua25. What does ~~~~~~5 26.
e Which of the following27. What is the result of
b) -4 b) -11 b) x = 0x4f5 b) 0
a) -5 a) +5 d) x = 03964 a) 1
a) -5 d) -5 d) x = 03964 d) False
b) -4 d) -5 b) x = 0x4f5 b) 0
a) -5 a) +5 b) x = 0x4f5 d) False
28. Which of the following29. What is the result of 30. What does 3 ^ 4 evaluate to?
b) float(‘nan’) b) 2.0 b) 12
d) float(’12+34′) d) Value depends on Pytd) 7
b) float(‘nan’) d) Value depends on Pytd) 7
d) float(’12+34′) c) 0.0 d) 7
d) float(’12+34′) a) 1.0 a) 81

You might also like