Getting Started with Python - Class 11
Most Probable Questions for Exams
1. What is Python? State any 4 features of Python.
2. Differentiate between an interpreter and a compiler.
3. What is the difference between interactive mode and script mode in Python?
4. What are identifiers? Write rules for naming identifiers in Python.
5. What are keywords in Python? Give any 5 examples.
6. Differentiate between a variable and a constant.
7. What is the purpose of indentation in Python?
8. What are data types in Python? Name the basic numeric data types.
9. Write short notes on type casting (implicit and explicit conversion).
10. What is the significance of comments in Python? Difference between single-line and multi-line
comments.
Code-Based Questions:
11. Predict the output:
x = 5; y = 2; print(x // y, x / y, x % y)
12. Find errors and correct:
2name = "Amit"
print("Hello", name)
13. Programs:
- Swap two numbers using a temporary variable.
- Area of a circle (use pi = 3.14).
- Convert Celsius to Fahrenheit.
14. Predict output:
a = 10; b = 5; a, b = b, a + b; print(a, b)
15. Input your name, age, and marks, and display them.
Short Programs:
- Find square and cube of a number.
- Check if a number is even or odd.
- Calculate simple interest.
- Find average of three numbers.
- Convert seconds into hours, minutes, and seconds.
Exam Pattern:
- Output questions: 2-3 marks
- Error correction: 1-2 marks
- Short programs: 3-4 marks
- Theory: 1 mark each