0% found this document useful (0 votes)
31 views29 pages

Random Python MCQs 100

Python MCQs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views29 pages

Random Python MCQs 100

Python MCQs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Random Python MCQs - 100 Questions

Q1. What is the output of the following Python code snippet?

print(2 + 8)

A. 14

B. 10

C. 13

D. 9

Answer: B

Q2. What is the output of the following Python code snippet?

print(7 + 8)

A. 15

B. 13

C. 18

D. 20

Answer: A

Q3. What is the output of the following Python code snippet?

print(1 + 9)

A. 7

B. 10

C. 13

D. 16

Answer: B

Q4. What is the output of the following Python code snippet?

print(1 + 8)

A. 9
B. 6

C. 10

D. 14

Answer: A

Q5. What is the output of the following Python code snippet?

print(1 + 6)

A. 8

B. 7

C. 4

D. 13

Answer: B

Q6. What is the output of the following Python code snippet?

print(1 + 4)

A. 3

B. 6

C. 5

D. 11

Answer: C

Q7. What is the output of the following Python code snippet?

print(6 + 6)

A. 14

B. 9

C. 18

D. 12

Answer: D
Q8. What is the output of the following Python code snippet?

print(10 + 10)

A. 19

B. 20

C. 22

D. 25

Answer: B

Q9. What is the output of the following Python code snippet?

print(5 + 2)

A. 7

B. 11

C. 10

D. 4

Answer: A

Q10. What is the output of the following Python code snippet?

print(9 + 1)

A. 10

B. 11

C. 8

D. 16

Answer: A

Q11. What is the output of the following Python code snippet?

print(10 + 7)

A. 22

B. 14
C. 17

D. 18

Answer: C

Q12. What is the output of the following Python code snippet?

print(5 + 8)

A. 18

B. 15

C. 10

D. 13

Answer: D

Q13. What is the output of the following Python code snippet?

print(5 + 8)

A. 19

B. 14

C. 13

D. 11

Answer: C

Q14. What is the output of the following Python code snippet?

print(3 + 2)

A. 3

B. 9

C. 5

D. 8

Answer: C

Q15. What is the output of the following Python code snippet?


print(4 + 9)

A. 13

B. 11

C. 16

D. 17

Answer: A

Q16. What is the output of the following Python code snippet?

print(10 + 5)

A. 13

B. 15

C. 18

D. 20

Answer: B

Q17. What is the output of the following Python code snippet?

print(7 + 10)

A. 14

B. 21

C. 20

D. 17

Answer: D

Q18. What is the output of the following Python code snippet?

print(7 + 4)

A. 15

B. 14

C. 9
D. 11

Answer: D

Q19. What is the output of the following Python code snippet?

print(5 + 4)

A. 12

B. 15

C. 9

D. 6

Answer: C

Q20. What is the output of the following Python code snippet?

print(9 + 2)

A. 10

B. 16

C. 11

D. 13

Answer: C

Q21. What is the output of the following Python code snippet?

print(7 + 1)

A. 8

B. 11

C. 14

D. 6

Answer: A

Q22. What is the output of the following Python code snippet?

print(8 + 4)
A. 15

B. 9

C. 12

D. 17

Answer: C

Q23. What is the output of the following Python code snippet?

print(1 + 2)

A. 8

B. 0

C. 6

D. 3

Answer: D

Q24. What is the output of the following Python code snippet?

print(3 + 8)

A. 12

B. 15

C. 11

D. 10

Answer: C

Q25. What is the output of the following Python code snippet?

print(9 + 5)

A. 12

B. 18

C. 14

D. 15
Answer: C

Q26. What is the output of the following Python code snippet?

print(8 + 5)

A. 12

B. 13

C. 18

D. 15

Answer: B

Q27. What is the output of the following Python code snippet?

print(3 + 4)

A. 6

B. 7

C. 9

D. 11

Answer: B

Q28. What is the output of the following Python code snippet?

print(6 + 5)

A. 17

B. 13

C. 10

D. 11

Answer: D

Q29. What is the output of the following Python code snippet?

print(4 + 8)

A. 17
B. 13

C. 9

D. 12

Answer: D

Q30. What is the output of the following Python code snippet?

print(8 + 8)

A. 17

B. 20

C. 13

D. 16

Answer: D

Q31. What is the output of the following Python code snippet?

print(6 + 8)

A. 20

B. 16

C. 14

D. 11

Answer: C

Q32. What is the output of the following Python code snippet?

print(2 + 3)

A. 2

B. 10

C. 7

D. 5

Answer: D
Q33. What is the output of the following Python code snippet?

print(1 + 5)

A. 6

B. 12

C. 5

D. 7

Answer: A

Q34. What is the output of the following Python code snippet?

print(7 + 5)

A. 10

B. 15

C. 16

D. 12

Answer: D

Q35. What is the output of the following Python code snippet?

print(10 + 1)

A. 10

B. 11

C. 14

D. 17

Answer: B

Q36. What is the output of the following Python code snippet?

print(7 + 9)

A. 16

B. 15
C. 17

D. 21

Answer: A

Q37. What is the output of the following Python code snippet?

print(2 + 4)

A. 5

B. 6

C. 12

D. 9

Answer: B

Q38. What is the output of the following Python code snippet?

print(5 + 6)

A. 11

B. 9

C. 16

D. 13

Answer: A

Q39. What is the output of the following Python code snippet?

print(7 + 3)

A. 10

B. 8

C. 12

D. 16

Answer: A

Q40. What is the output of the following Python code snippet?


print(7 + 10)

A. 17

B. 15

C. 22

D. 19

Answer: A

Q41. What is the output of the following Python code snippet?

print(4 + 4)

A. 6

B. 10

C. 8

D. 14

Answer: C

Q42. What is the output of the following Python code snippet?

print(1 + 8)

A. 7

B. 13

C. 9

D. 12

Answer: C

Q43. What is the output of the following Python code snippet?

print(4 + 3)

A. 10

B. 7

C. 6
D. 12

Answer: B

Q44. What is the output of the following Python code snippet?

print(7 + 7)

A. 15

B. 13

C. 18

D. 14

Answer: D

Q45. What is the output of the following Python code snippet?

print(8 + 8)

A. 14

B. 16

C. 17

D. 20

Answer: B

Q46. What is the output of the following Python code snippet?

print(8 + 1)

A. 7

B. 10

C. 9

D. 15

Answer: C

Q47. What is the output of the following Python code snippet?

print(10 + 6)
A. 21

B. 18

C. 15

D. 16

Answer: D

Q48. What is the output of the following Python code snippet?

print(7 + 1)

A. 13

B. 5

C. 11

D. 8

Answer: D

Q49. What is the output of the following Python code snippet?

print(8 + 1)

A. 7

B. 12

C. 13

D. 9

Answer: D

Q50. What is the output of the following Python code snippet?

print(5 + 6)

A. 16

B. 11

C. 14

D. 8
Answer: B

Q51. What is the output of the following Python code snippet?

print(9 + 9)

A. 16

B. 21

C. 18

D. 23

Answer: C

Q52. What is the output of the following Python code snippet?

print(2 + 8)

A. 9

B. 10

C. 13

D. 15

Answer: B

Q53. What is the output of the following Python code snippet?

print(8 + 2)

A. 8

B. 12

C. 16

D. 10

Answer: D

Q54. What is the output of the following Python code snippet?

print(8 + 6)

A. 17
B. 14

C. 19

D. 13

Answer: B

Q55. What is the output of the following Python code snippet?

print(9 + 3)

A. 13

B. 11

C. 12

D. 17

Answer: C

Q56. What is the output of the following Python code snippet?

print(6 + 3)

A. 9

B. 10

C. 7

D. 13

Answer: A

Q57. What is the output of the following Python code snippet?

print(5 + 5)

A. 10

B. 16

C. 9

D. 12

Answer: A
Q58. What is the output of the following Python code snippet?

print(6 + 8)

A. 18

B. 14

C. 16

D. 13

Answer: B

Q59. What is the output of the following Python code snippet?

print(2 + 8)

A. 11

B. 7

C. 15

D. 10

Answer: D

Q60. What is the output of the following Python code snippet?

print(2 + 8)

A. 11

B. 10

C. 7

D. 14

Answer: B

Q61. What is the output of the following Python code snippet?

print(6 + 6)

A. 15

B. 11
C. 12

D. 16

Answer: C

Q62. What is the output of the following Python code snippet?

print(8 + 2)

A. 8

B. 12

C. 16

D. 10

Answer: D

Q63. What is the output of the following Python code snippet?

print(2 + 10)

A. 13

B. 17

C. 12

D. 11

Answer: C

Q64. What is the output of the following Python code snippet?

print(7 + 9)

A. 15

B. 19

C. 20

D. 16

Answer: D

Q65. What is the output of the following Python code snippet?


print(6 + 7)

A. 13

B. 12

C. 19

D. 16

Answer: A

Q66. What is the output of the following Python code snippet?

print(10 + 3)

A. 17

B. 16

C. 13

D. 10

Answer: C

Q67. What is the output of the following Python code snippet?

print(4 + 10)

A. 14

B. 17

C. 11

D. 19

Answer: A

Q68. What is the output of the following Python code snippet?

print(3 + 6)

A. 6

B. 9

C. 11
D. 13

Answer: B

Q69. What is the output of the following Python code snippet?

print(9 + 5)

A. 18

B. 13

C. 17

D. 14

Answer: D

Q70. What is the output of the following Python code snippet?

print(1 + 4)

A. 5

B. 2

C. 9

D. 6

Answer: A

Q71. What is the output of the following Python code snippet?

print(5 + 1)

A. 9

B. 6

C. 3

D. 10

Answer: B

Q72. What is the output of the following Python code snippet?

print(5 + 6)
A. 16

B. 14

C. 11

D. 10

Answer: C

Q73. What is the output of the following Python code snippet?

print(8 + 2)

A. 16

B. 10

C. 8

D. 13

Answer: B

Q74. What is the output of the following Python code snippet?

print(9 + 9)

A. 23

B. 18

C. 20

D. 17

Answer: B

Q75. What is the output of the following Python code snippet?

print(1 + 8)

A. 15

B. 7

C. 10

D. 9
Answer: D

Q76. What is the output of the following Python code snippet?

print(2 + 8)

A. 8

B. 16

C. 11

D. 10

Answer: D

Q77. What is the output of the following Python code snippet?

print(6 + 2)

A. 9

B. 12

C. 8

D. 7

Answer: C

Q78. What is the output of the following Python code snippet?

print(8 + 8)

A. 17

B. 13

C. 22

D. 16

Answer: D

Q79. What is the output of the following Python code snippet?

print(2 + 5)

A. 12
B. 7

C. 9

D. 5

Answer: B

Q80. What is the output of the following Python code snippet?

print(9 + 1)

A. 12

B. 14

C. 10

D. 9

Answer: C

Q81. What is the output of the following Python code snippet?

print(4 + 3)

A. 7

B. 9

C. 12

D. 6

Answer: A

Q82. What is the output of the following Python code snippet?

print(1 + 10)

A. 14

B. 11

C. 10

D. 15

Answer: B
Q83. What is the output of the following Python code snippet?

print(3 + 8)

A. 14

B. 15

C. 11

D. 9

Answer: C

Q84. What is the output of the following Python code snippet?

print(2 + 10)

A. 17

B. 15

C. 11

D. 12

Answer: D

Q85. What is the output of the following Python code snippet?

print(3 + 7)

A. 13

B. 10

C. 15

D. 7

Answer: B

Q86. What is the output of the following Python code snippet?

print(1 + 7)

A. 7

B. 9
C. 8

D. 13

Answer: C

Q87. What is the output of the following Python code snippet?

print(10 + 7)

A. 15

B. 17

C. 21

D. 18

Answer: B

Q88. What is the output of the following Python code snippet?

print(10 + 7)

A. 21

B. 17

C. 15

D. 18

Answer: B

Q89. What is the output of the following Python code snippet?

print(8 + 4)

A. 12

B. 14

C. 18

D. 10

Answer: A

Q90. What is the output of the following Python code snippet?


print(3 + 2)

A. 10

B. 4

C. 5

D. 8

Answer: C

Q91. What is the output of the following Python code snippet?

print(9 + 6)

A. 14

B. 21

C. 18

D. 15

Answer: D

Q92. What is the output of the following Python code snippet?

print(7 + 5)

A. 9

B. 18

C. 12

D. 15

Answer: C

Q93. What is the output of the following Python code snippet?

print(1 + 5)

A. 6

B. 3

C. 12
D. 9

Answer: A

Q94. What is the output of the following Python code snippet?

print(9 + 7)

A. 14

B. 21

C. 16

D. 19

Answer: C

Q95. What is the output of the following Python code snippet?

print(6 + 9)

A. 15

B. 18

C. 19

D. 14

Answer: A

Q96. What is the output of the following Python code snippet?

print(3 + 5)

A. 8

B. 11

C. 5

D. 13

Answer: A

Q97. What is the output of the following Python code snippet?

print(7 + 4)
A. 17

B. 11

C. 10

D. 12

Answer: B

Q98. What is the output of the following Python code snippet?

print(2 + 7)

A. 12

B. 14

C. 9

D. 7

Answer: C

Q99. What is the output of the following Python code snippet?

print(7 + 1)

A. 8

B. 9

C. 6

D. 13

Answer: A

Q100. What is the output of the following Python code snippet?

print(9 + 2)

A. 15

B. 10

C. 12

D. 11
Answer: D

You might also like