Using Python Libraries Class 12 MCQ

Teachers and Examiners (CBSESkillEduction) collaborated to create the Using Python Libraries Class 12 MCQ. All the important Information are taken from the NCERT Textbook Computer Science (083) class 12.

Using Python Libraries Class 12 MCQ

1. __________ is a collection of modules and packages are used for a specific type of applications or requirements.
a. Library 
b. String
c. List
d. None of the above

Show Answer ⟶
a. Library

2. __________ library provides some advance math functionalities along wiht tools to create and manipulate numeric arrays.
a. NumPy library 
b. SciPy library
c. Malpolotlib library
d. None of the above

Show Answer ⟶
a. NumPy library

Using Python Libraries Class 12 MCQ

3. ___________ library offers algorithmic and mathematical tools for scientific calculations.
a. NumPy library
b. SciPy library 
c. Malpolotlib library
d. None of the above

Show Answer ⟶
b. SciPy library

4. _________ library provides traditional Python user interface toolkit and helps you to create user-friendly GUI interface for different types of applications.
a. NumPy library
b. Tkinter library 
c. Malpolotlib library
d. None of the above

Show Answer ⟶
b. Tkinter library

Using Python Libraries Class 12 MCQ

5. ___________ library offers many functions and tools to produce quality output in variety of formats such as plots, charts, graphs etc.
a. NumPy library
b. SciPy library
c. Malpolotlib library 
d. None of the above

Show Answer ⟶
c. Malpolotlib library

6. The act of partitioning a program into individual components is called ___________.
a. Module 
b. String
c. Function
d. None of the above

Show Answer ⟶
a. Module

Using Python Libraries Class 12 MCQ

7. In Python you can create __________ module.
a. Your own module
b. Predefined module
c. Both a) and b) 
d. None of the above

Show Answer ⟶
c. Both a) and b)

8. ___________ command is used to import entire module.
a. <module> import
b. import <module> 
c. import <module> import
d. None of the above

Show Answer ⟶
b. import <module>

9. ___________ command is used to import selected objects from a module.
a. <module> import <module>
b. <module> import <object> 
c. import <module> import
d. None of the above

Show Answer ⟶
b. <module> import <object>

Using Python Libraries Class 12 MCQ

10. If in a module there is another import statement importing an already imported module then Python will ___________.
a. Ignore that import statement 
b. Rewrite that import statement
c. Both a) and b)
d. None of the above

Show Answer ⟶
a. Ignore that import statement

11. ___________ truncates the fractional part of given number and returns only the integer or whole part.
a. round(<number>)
b. number(<number>)
c. int(<number>) 
d. None of the above

Show Answer ⟶
c. int(<number>)

12. __________ function joins a string or character after each member of the string.
a. <str>.split(<string /char>)
b. <str>.join(<string iterable>) 
c. <str>.replace(<word to be replaced>, <replace word>)
d. None of the above

Show Answer ⟶
b. <str>.join(<string iterable>)

13. ___________ function splits a string on given string or character and returns a list containing split string as memeber.
a. <str>.split(<string /char>) 
b. <str>.join(<string iterable>)
c. <str>.replace(<word to be replaced>, <replace word>)
d. None of the above

Show Answer ⟶
a. <str>.split(<string /char>)

14. ___________ function replace a word or part of the string with another in the given string.
a. <str>.split(<string /char>)
b. <str>.join(<string iterable>)
c. <str>.replace(<word to be replaced>, <replace word>) 
d. None of the above

Show Answer ⟶
c. <str>.replace(<word to be replaced>, <replace word>)

Using Python Libraries Class 12 MCQ

15. Python has a module namely __________ that provided random number generator.
a. random()
b. randint(a,b)
c. Both a) and b) 
d. None of the above

Show Answer ⟶
c. Both a) and b)

16. The urllib module is a collection of sub-modules like _________.
a. Request
b. Error
c. Parse
d. All of the above 

Show Answer ⟶
d. All of the above

Computer Science Class 12 Notes

  1. Python Revision tour – 1 Class 12 Notes
  2. Python Revision tour – 2 Class 12 Notes Notes
  3. Working with Functions Class 12 Notes
  4. Using Python Libraries Class 12 Notes
  5. File Handling Class 12 Notes
  6. Recursion Class 12 Notes
  7. Idea of Algorithmic Efficiency Class 12 Notes
  8. Data Visualization using Pyplot Class 12 Notes
  9. Data Structure Class 12 Notes
  10. Computer Network Class 12 Notes
  11. More on MySQL Class 12 Notes

MCQ for Class 12 Computer Science Python

  1. Python Revision tour – 1 Class 12 MCQs
  2. Python Revision tour – 2 Class 12 MCQs
  3. Working with Functions Class 12 MCQs
  4. Using Python Libraries Class 12 MCQs
  5. File Handling Class 12 MCQs
  6. Recursion Class 12 MCQs
  7. Data Visualization using Pyplot Class 12 MCQs
  8. Data Structure Class 12 MCQs
  9. Computer Network Class 12 MCQs
  10. More on MySQL Class 12 MCQs

Computer Science Class 12 Questions and Answers

  1. Python Revision tour – 1 Class 12 Questions and Answers
  2. Working with Functions Class 12 Questions and Answers
  3. Using Python Libraries Class 12 Questions and Answers
  4. File Handling Class 12 Questions and Answers
  5. Recursion Class 12 Questions and Answers
  6. Idea of Algorithmic Efficiency Class 12 Questions and Answers
  7. Data Structure Class 12 Questions and Answers
  8. More on MySQL Class 12 Questions and Answers
  9. Computer Network Class 12 Questions and Answers
  10. More on MySQL Class 12 Questions and Answers 
error: Content is protected !!