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