Unit 1 QB Python
Unit 1 QB Python
2 Marks:
1. Define python. Who developed it?
2. How to accept user input? Give example.
3. How to declare single & multiline comments in python?
4. State any two differences between type & list.
5. Define variable. State rules for defining a variable.
6. State the significance of range () in python.
7. Name data types in python with examples.
8. Define variable. Give example.
9. What is range ().
10. Define IDEs of python.
11. List applications of python.
12. Define identifier. List rules for defining an identifier.
13. What are reserved words? Give example.
14. Define statement & expression.
15. Define operator. List operators in python.
16. Mention logical & relation operators.
17. Define operator Precedence and Association.
18. What are comments? Mention single line and multiline comments.
19. What are built-in functions? Mention few.
20. Give the syntax of print () and input ().
21. What is type conversion? Give syntax.
22. What is python library? List popular libraries of python.
23. How do you import library? Give example.
5 Marks:
1. Explain the features of python. [APR2021/ MAR22/ SEP22/ MAR21]
2. Explain various conditional statements with syntax and example. (SEP 2022)
3. Explain if and if-else statement in python. (Mar 2021)
4. Explain branching in python.
5. Explain iteration. Give program example.
6. List and explain data types in python.
7. Explain while and for loop in python.
8. Define identifier. List rules for defining an identifier.
9. What are statements? Explain.
10. Define operator. List & explain operators in python.
11. List and explain logical and comparison operators.
12. What are built-in functions? List and explain.
13. Explain print () & input () function.
14. Explain break & continue.