Computer Science - Informatics Practices Class XI/XII Python Module Solved Test Part 1

Computer Science - Informatics Practices Class XI/XII Python Module Solved Test  Part 1

Q1. What do you mean by module in python?

Q2. Approach of breaking a large program into smaller modules is 
       called ______________.

Q3. A library in python refers to the collection of ____________.

Q4. Extension of module is ________________.

Q5. What do you mean by main module?

Q6. __________ statement can be used to import module.

Q7. Write a statement to import a module named 'calc'.

Q8. Methods in a module can be accessed by syntax __________.

Q9. Name a function which is used to display all objects of module.

Q10. There is a module named 'calc' which includes three 
         sub-modules.
  • calc_1()
  • calc_2()
  • calc_3()
Write three ways to import module calc or a sub-module calc_2()

No comments:

Post a Comment

Most Recently Published

File Handling Test 6

 File Handling Test 6 Q1 . Do we need to use the close() function when we use 'with' statement to open a file? Q2. Which mode you wi...

CS - IP Assignment/Worksheet