Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
304 views18 pages

Chapter2 Python 100 MCQs With Answers

This document contains a final practice test with 100 multiple-choice questions focused on Python programming concepts for Class 11 Computer Science. Each question has four options, and an answer key is provided at the end for reference. Topics covered include data types, functions, loops, and keywords in Python.

Uploaded by

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

Chapter2 Python 100 MCQs With Answers

This document contains a final practice test with 100 multiple-choice questions focused on Python programming concepts for Class 11 Computer Science. Each question has four options, and an answer key is provided at the end for reference. Topics covered include data types, functions, loops, and keywords in Python.

Uploaded by

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

Class 11 Computer Science – Chapter 2:

Python Programming
📊 100 MCQs – Final Practice Test
Instructions: Choose the correct option. Answer key is provided at
the end.

1. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

2. What is the type of range(5)?


A. list
B. int
C. range
D. dict

3. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

4. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

5. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

6. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

7. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

8. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

9. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

10. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

11. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

12. What is the type of range(5)?


A. list
B. int
C. range
D. dict

13. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error
14. Which one is not a Python keyword?
A. eval
B. lambda
C. raise
D. def

15. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

16. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

17. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

18. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

19. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

20. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

21. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

22. What is the type of range(5)?


A. list
B. int
C. range
D. dict

23. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

24. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

25. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

26. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

27. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

28. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set
29. Which of these is not a valid data type in Python?
A. string
B. real
C. int
D. float

30. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

31. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

32. What is the type of range(5)?


A. list
B. int
C. range
D. dict

33. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

34. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

35. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

36. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

37. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

38. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

39. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

40. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

41. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

42. What is the type of range(5)?


A. list
B. int
C. range
D. dict

43. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error
44. Which one is not a Python keyword?
A. eval
B. lambda
C. raise
D. def

45. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

46. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

47. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

48. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

49. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

50. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

51. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

52. What is the type of range(5)?


A. list
B. int
C. range
D. dict

53. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

54. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

55. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

56. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

57. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

58. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set
59. Which of these is not a valid data type in Python?
A. string
B. real
C. int
D. float

60. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

61. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

62. What is the type of range(5)?


A. list
B. int
C. range
D. dict

63. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

64. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

65. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

66. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

67. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

68. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

69. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

70. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

71. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

72. What is the type of range(5)?


A. list
B. int
C. range
D. dict

73. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error
74. Which one is not a Python keyword?
A. eval
B. lambda
C. raise
D. def

75. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

76. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

77. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

78. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

79. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

80. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

81. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

82. What is the type of range(5)?


A. list
B. int
C. range
D. dict

83. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

84. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

85. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

86. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

87. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

88. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set
89. Which of these is not a valid data type in Python?
A. string
B. real
C. int
D. float

90. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()

91. What is the output of print(3 * 1 ** 3)?


A. 3
B. 9
C. 1
D. Error

92. What is the type of range(5)?


A. list
B. int
C. range
D. dict

93. What does len('Hello') return?


A. 4
B. 5
C. 6
D. Error

94. Which one is not a Python keyword?


A. eval
B. lambda
C. raise
D. def

95. Which symbol is used for comments in Python?


A. //
B. <!--
C. #
D. **

96. Which of the following is immutable?


A. list
B. set
C. tuple
D. dict

97. Which loop checks the condition before executing?


A. for
B. while
C. do-while
D. foreach

98. What will print(type({})) return?


A. list
B. dict
C. tuple
D. set

99. Which of these is not a valid data type in Python?


A. string
B. real
C. int
D. float

100. Which function converts string to integer?


A. str()
B. input()
C. int()
D. float()
✅ Answer Key
1. A

2. C

3. B

4. A

5. C

6. C

7. B

8. B

9. B

10. C

11. A

12. C

13. B

14. A

15. C

16. C

17. B

18. B

19. B

20. C

21. A

22. C

23. B

24. A
25. C

26. C

27. B

28. B

29. B

30. C

31. A

32. C

33. B

34. A

35. C

36. C

37. B

38. B

39. B

40. C

41. A

42. C

43. B

44. A

45. C

46. C

47. B

48. B

49. B

50. C
51. A

52. C

53. B

54. A

55. C

56. C

57. B

58. B

59. B

60. C

61. A

62. C

63. B

64. A

65. C

66. C

67. B

68. B

69. B

70. C

71. A

72. C

73. B

74. A

75. C

76. C
77. B

78. B

79. B

80. C

81. A

82. C

83. B

84. A

85. C

86. C

87. B

88. B

89. B

90. C

91. A

92. C

93. B

94. A

95. C

96. C

97. B

98. B

99. B

100. C

You might also like