Skip to content
EndsemFeb 20262024 patternFE

Programming and Problem Solving (PPS) SPPU Endsem Question Paper Feb 2026

All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.

Pattern
2024 pattern
Exam
Endsem
Session
Feb 2026
Max. marks
70
Semester
I/II
Paper code
[6581]-2402

Instructions to the candidates

  1. Attempt Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8, Q9 or Q10.
  2. Neat diagrams must be drawn wherever necessary.
  3. Figures to the right indicate full marks.
  4. Assume suitable data, if necessary and clearly state.

Questions

  1. Q1

    1. a)

      Explain the importance of algorithms and programs in computer problem solving.

      [3]
    2. b)

      List different problem solving strategies. Explain any one with an example.

      [3]
    3. c)

      Write any four features of the python programming language.

      Also asked:Oct 2025 ·Apr 2025 ·Mar 2025 ·Mar 2024 ·Oct 2022

      [4]
    4. d)

      Illustrate top-down design using a suitable example.

      Also asked:Oct 2025 ·Mar 2025 ·Mar 2024

      [4]
  2. Q2

    1. a)

      Write a pseudo code for swapping two numbers.

      Also asked:Oct 2023

      [3]
    2. b)

      What is problem solving? List down the difficulties for the problem solving.

      Also asked:Mar 2026 ·Apr 2025 ·Oct 2023

      [3]
    3. c)

      What is object oriented programming? List down its features with suitable examples.

      Also asked:Apr 2025 ·May 2023

      [4]
    4. d)

      Explain any four python programming language applications in details.

      Also asked:Apr 2025

      [4]
  3. Q3

    1. a)

      What is dictionary? Mention any two dictionary operations.

      [3]
    2. b)

      Explain Loop with flow chart.

      Also asked:Oct 2025 ·Sep 2024 ·Oct 2022

      [3]
    3. c)

      What is difference between 'break' and 'continue' statement in python?

      Also asked:Mar 2026 ·Oct 2023

      [4]
    4. d)

      Write a program to test whether a number entered by user is positive, negative or zero.

      Also asked:Apr 2025 ·Sep 2024

      [4]
  4. Q4

    1. a)

      Explain use of range() function in for loop with suitable example.

      Also asked:Oct 2023

      [3]
    2. b)

      Evaluate the importance of decision control statements in program execution. [3] SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Programming and Problem Solving Page 1 of 3

    3. c)

      Differentiate between if-else and if-elif-else statement.

      Also asked:Oct 2025 ·Mar 2025 ·Mar 2024 ·Oct 2023 ·Oct 2022

      [4]
    4. d)

      Demonstrate the use of tuple data type with a suitable python program.

      [4]
  5. Q5

    1. a)

      Write a Lambda function to check whether a number is positive or negative.

      [4]
    2. b)

      Explain string immutability with an example.

      [5]
    3. c)

      Explain slice operation in strings with an example.

      [5]
  6. Q6

    1. a)

      Define the chr() function. How is it different from ord()?

      Also asked:Nov 2025 ·May 2025 ·Nov 2023 ·May 2023 ·May 2022

      [4]
    2. b)

      Develop a python program that counts the number of vowels and consonants in a given string using iteration.

      [5]
    3. c)

      Define function, explain function definition and function call with suitable example.

      [5]
  7. Q7

    1. a)

      How can you check the current file position in a file.

      [4]
    2. b)

      What is file path? Differentiate between absolute path and relative path.

      Also asked:May 2025 ·Nov 2024 ·May 2024 ·Nov 2023 ·May 2023 ·May 2022

      [5]
    3. c)

      Discuss file handling. List down the handling operations with examples.

      [5]
  8. Q8

    1. a)

      What does the flush() method do in file handling.

      [4]
    2. b)

      Explain the difference between read() and readlines() methods.

      [5]
    3. c)

      Discuss the purpose of file manipulation operations like renaming and deleting.

      [5]
  9. Q9

    1. a)

      Describe the concept of data abstraction and encapsulation in object oriented programming.

      [4]
    2. b)

      How do the __init__() and __del__() methods help in creating and cleaning up objects in python?

      [5]
    3. c)

      Differentiate between class & object with example.

      [5]
  10. Q10

    1. a)

      What is polymorphism? Give two types of polymorphism in object oriented programming.

      [4]
    2. b)

      Discuss garbage collection in python. How does it manage memory for objects?

      [5]
    3. c)

      Differentiate between public and private members with example. [5] SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Programming and Problem Solving Page 2 of 3 SPPU QUESTION PAPER www.mysppu.in Page 3 MySPPU · Programming and Problem Solving Page 3 of 3