GE3151 Problem Solving and Python Programming Previous Year Question Papers - Anna University
Explore the Previous Year Anna University Question Papers of GE3151 Problem Solving and Python Programming.
2024
-
2024 - GENERAL-AM-2024-GE 3151-Problem Solving and Python Programming-843182274-51225.pdf
2023
-
2023 - SH-AM-2023-GE 3151-Problem Solving and Python Programming-843035503-20230926191457 (2).pdf
-
2023 - SH-ND-2023-GE 3151-Problem Solving and Python Programming-122298649-21184.pdf
2022
-
2022 - GENERAL-AM-2022-GE 3151-Problem Solving and Python Programming-289488130-GE 3151.pdf
-
2022 - SH-ND-2022-GE 3151-Problem Solving and Python Programming-832279259-ND22SH (2).pdf
Important Questions - GE3151 Problem Solving and Python Programming
UNIT 1
Theory
- Explain steps in problem solving methodology.
- What is an algorithm? Write characteristics of a good algorithm.
- Define flowchart. Explain standard symbols with diagram.
- Compare algorithm vs flowchart.
- Explain top-down approach with example.
Programs / Problem Solving
- Write algorithm & flowchart for: Finding largest of three numbers, Factorial of a number, Sum of n numbers.
- Solve Tower of Hanoi problem (logic + steps).
- Trace given algorithm and find output.
UNIT 2
Theory
- Explain data types in Python.
- Define operators and explain types (arithmetic, relational, logical).
- Explain operator precedence and associativity.
- What is type casting?
- Explain input and output functions in Python.
Programs
- Write program for: Arithmetic operations using input, Swap two numbers (with & without temp), Simple interest / area calculations.
- Evaluate given expressions based on precedence.
- Predict output of Python expressions.
UNIT 3 (VERY IMPORTANT – Mixed Theory + Coding)
Theory
- Explain conditional statements (if, if-else, elif) with syntax.
- Explain nested if statement with example.
- Define iterative statements. Explain: for loop, while loop.
- Differentiate for vs while loop.
- Explain break, continue, pass statements.
- What is an infinite loop?
Programs
- Write program to: Find largest of 3 numbers using if-else, Check even/odd / prime number, Generate multiplication table, Find sum of digits, Reverse a number.
- Loop-based programs: Factorial using loop, Fibonacci series, Pattern printing.
- Predict output for loop + condition based code.
UNIT 4 (VERY HIGH WEIGHTAGE)
Theory
- Explain list in Python and its characteristics.
- Explain list functions: append(), insert(), remove(), pop(), sort().
- Compare list vs tuple vs dictionary.
- Explain dictionary and its operations.
- Explain tuple properties and uses.
Programs
- Write program to: Perform list operations (add, delete, sort), Find sum / max / min in list, Sort list in ascending/descending.
- Dictionary programs: Store and display student data, Count frequency of elements.
- Programs using tuple.
- Predict output of list/dictionary operations.
UNIT 5
Theory
- Define exception handling.
- Explain try, except, finally blocks.
- Types of errors in Python.
- Explain file handling concepts.
- List different file opening modes.
Programs
- Write program using: try-except for division error, multiple exception handling.
- File programs: Read and write file, Count words / lines in file, Append data to file.
- Predict output of exception handling code.
PART C (COMPULSORY – VERY IMPORTANT)
Case study → Write: Algorithm, Python program, Output OR Write a complete program combining: Condition + loop + list/dictionary + file handling.
Additional Resources
How to Use These Question Papers
- Unit-Wise Preparation: Complete Unit 1-2 for theory foundation, dedicate 40% of time to Units 3-4 (most frequent in exams).
- Code Practice: Write all Python programs from scratch; don't just read—compile and run them locally to understand execution.
- Algorithm & Flowchart: Practice drawing flowcharts for each program to strengthen problem-solving methodology.
- Predict Output Questions: These appear frequently—solve 10-15 such problems per week to build pattern recognition.
- Time Management: Allocate 60-90 minutes per program; practice Part C case studies under timed conditions (150 minutes).