UNIT I — INTRODUCTION TO PYTHON & COMPUTATIONAL PROBLEM SOLVING
🔹 2-Mark Questions
1. What is computational problem solving?
2. What are the limits of computational problem solving?
3. Define an algorithm.
4. What is the role of computer hardware in problem solving?
5. What is the role of computer software in computational problem solving?
6. What are literals in Python?
7. Define variables and identifiers.
8. What are the rules for naming identifiers in Python?
9. List any four basic data types in Python.
10. What is the use of the input() and print() functions?
11. What are operators? Give examples.
12. Define an expression in Python.
13. What is the difference between integer and floating-point division in Python?
14. What is type conversion?
15. What is meant by dynamic typing in Python?
🔹 5-Mark Questions
1. Explain the essence and limits of computational problem solving.
2. Explain the role of computer algorithms in computational problem solving.
3. Describe the structure of a Python program with an example.
4. Explain literals, variables, and identifiers with examples.
5. Explain different types of operators in Python.
6. Write short notes on expressions and data types in Python.
7. Explain the input and output operations in Python.
🔹 10-Mark Questions
1. Explain in detail the process of computational problem solving.
2. Explain the architecture of a computer system and its role in problem solving.
3. Discuss Python data types, variables, operators, and expressions with examples.
4. Explain Python’s input and output operations with suitable programs.
5. Write a Python program to perform basic arithmetic and demonstrate different operators.
UNIT II — CONTROL STRUCTURES & DATA SEQUENCES
🔹 2-Mark Questions
1. What is a Boolean expression?
2. What is the purpose of indentation in Python?
3. Write the syntax of an if statement.
4. What is a multi-way selection?
5. Differentiate between definite and indefinite loops.
6. What is a Boolean flag?
7. What is an infinite loop?
8. What is the difference between while and for loops?
9. What is a list in Python?
10. What is a string in Python?
11. What is a dictionary in Python?
12. What is a range object?
13. What is indexing and slicing in Python?
14. How are elements added to a list?
15. What is the use of break and continue statements?
🔹 5-Mark Questions
1. Explain the use of selection statements (if, if-else, if-elif-else) with examples.
2. Explain different looping structures in Python with examples.
3. Discuss the difference between definite and indefinite loops with examples.
4. Write short notes on Boolean expressions and flags.
5. Explain string manipulation operations in Python.
6. Explain the use of lists and their basic operations.
7. Explain the concept of ranges and how they are used in loops.
🔹 10-Mark Questions
1. Explain in detail the control structures in Python with suitable examples.
2. Discuss iteration and selection control structures in Python.
3. Explain string, list, and dictionary manipulations in Python with examples.
4. Write a Python program using loops and conditional statements to perform a specific task (like factorial,
prime number, etc.).
5. Explain ranges and their importance in iteration with examples.
UNIT III — FUNCTIONS & RECURSION
🔹 2-Mark Questions
1. What is a function?
2. What is the difference between a value-returning and a non-value-returning function?
3. What is the purpose of the return statement?
4. Define parameter and argument.
5. What are keyword arguments in Python?
6. What are default arguments?
7. What is variable scope?
8. Define recursion.
9. What is a recursive function?
10. Give one example of a recursive problem.
11. What is the purpose of function modularization?
12. What is a local variable?
13. What is a global variable?
14. Define parameter passing.
15. What is meant by calling a function?
🔹 5-Mark Questions
1. Explain the concept of defining and calling functions in Python.
2. Explain parameter passing techniques with examples.
3. Discuss keyword and default arguments in Python with examples.
4. Explain variable scope and lifetime with examples.
5. Explain recursive functions with examples.
6. Write a program to demonstrate recursion.
🔹 10-Mark Questions
1. Explain functions in Python — definition, invocation, parameters, and return values with examples.
2. Explain recursion in detail with examples and advantages.
3. Write a Python program using recursive function to find factorial or Fibonacci sequence.
4. Discuss variable scope and parameter passing mechanisms in detail.
5. Explain the types of arguments supported in Python with suitable examples.
UNIT IV — OBJECTS, MODULES & FILE HANDLING
🔹 2-Mark Questions
1. What is an object in Python?
2. What are software objects?
3. What is turtle graphics?
4. Name any two turtle graphics methods.
5. What is modular design?
6. What is a Python module?
7. What is the difference between a module and a package?
8. How do you import a module in Python?
9. What is the purpose of a text file?
10. What are file modes in Python?
11. What is exception handling?
12. What is the use of the try and except statements?
13. What is the use of the finally block?
14. What is an exception object?
15. What is top-down design?
🔹 5-Mark Questions
1. Explain the concept of modular design and its advantages.
2. Explain the turtle graphics module with an example.
3. Write short notes on Python modules and how they are imported.
4. Explain the process of opening, reading, and writing text files in Python.
5. Explain exception handling with try, except, and finally blocks.
6. Write a short program to handle division by zero exception.
🔹 10-Mark Questions
1. Explain the concept of modular design in Python and the use of modules.
2. Discuss file handling in Python with examples for reading and writing text files.
3. Explain exception handling in Python in detail with syntax and examples.
4. Explain turtle graphics and its attributes with examples.
5. Explain top-down design and modularity using examples.
UNIT V — DICTIONARIES, SETS & OOP IN PYTHON
🔹 2-Mark Questions
1. What is a dictionary in Python?
2. What are keys and values in a dictionary?
3. What is a set in Python?
4. How are sets different from lists?
5. What is encapsulation?
6. Define inheritance.
7. Define polymorphism.
8. What is the use of the super() function?
9. What is the purpose of the __init__ method?
10. What are Python packages?
11. What is NumPy used for?
12. What is pandas used for?
13. What is matplotlib used for?
14. What is the difference between a module and a package?
15. What is method overriding?
🔹 5-Mark Questions
1. Explain the dictionary data type in Python with examples.
2. Explain set operations (union, intersection, difference) with examples.
3. Explain the concept of encapsulation in OOP.
4. Explain inheritance with an example.
5. Explain polymorphism in Python.
6. Write short notes on NumPy, pandas, and matplotlib packages.
🔹 10-Mark Questions
1. Explain Object-Oriented Programming in Python — encapsulation, inheritance, and polymorphism with
examples.
2. Explain dictionary and set data types in detail with operations and examples.
3. Explain Python packages and their applications with examples of matplotlib, NumPy, and pandas.
4. Write programs using NumPy arrays and matplotlib for data visualization.
5. Explain method overriding and multiple inheritance with examples.