Skip to content

Programming and Problem Solving (PPS) important questionsMost repeated in SPPU papers

These 52 questions appeared in more than one SPPU Programming and Problem Solving paper we have: 16 papers, from May 2022 to Mar 2026. The most-asked come first. Each one links to the papers it was asked in.

Repeated questions

Endsem questions (30)

  1. 7×asked

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

    Feb 2026 ·May 2025 ·Nov 2024 ·May 2024 ·Nov 2023 ·May 2023 ·May 2022

  2. 6×asked

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

    Feb 2026 ·Nov 2025 ·May 2025 ·Nov 2023 ·May 2023 ·May 2022

  3. 6×asked

    Explain the following programming paradigm i) Monolithic Programming ii) Structured Programming

    Nov 2025 ·May 2025 ·Nov 2024 ·May 2024 ·Nov 2023 ·May 2023

  4. 6×asked

    Explain the following with an example i) Keywords arguments ii) Default arguments

    Nov 2025 ·May 2025 ·May 2024 ·Nov 2023 ·May 2023 ·May 2022

  5. 5×asked

    What are i) Local Variables ii) Global Variables. Explain with an example

    Nov 2025 ·May 2025 ·Nov 2023 ·May 2023 ·May 2022

  6. 5×asked

    Explain the following concepts with example. i) Object variable ii) Class variable

    May 2025 ·Apr 2025 ·May 2024 ·Nov 2023 ·May 2022

  7. 4×asked

    What is a problem? List down steps in problem solving.

    Mar 2026 ·Feb 2026 ·Apr 2025 ·Oct 2023

  8. 4×asked

    Differentiate between text and binary files

    Nov 2025 ·May 2025 ·Nov 2023 ·May 2023

  9. 4×asked

    Explain the following file handling methods. i) read(n) ii) readlines() iii) close()

    May 2025 ·Nov 2024 ·May 2024 ·Nov 2023

  10. 4×asked

    What are the modules and packages in python? Explain user defined module with suitable example.

    May 2025 ·Nov 2024 ·May 2024 ·Nov 2023

  11. 4×asked

    What is a file? Explain different Access Modes.

    Nov 2024 ·May 2024 ·May 2023 ·May 2022

  12. 3×asked

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

    Feb 2026 ·Apr 2025 ·May 2023

  13. 3×asked

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

    Feb 2026 ·Apr 2025 ·Sep 2024

  14. 3×asked

    Write a program to create a class Book with two attributes Name and Author. Create 3 objects and display the information.

    Nov 2025 ·May 2025 ·Nov 2023

  15. 3×asked

    Write a program to display a string and count characters in the string using a loop.

    May 2025 ·Nov 2023 ·May 2023

  16. 3×asked

    Write a program to find square of a number using lambda function.

    May 2025 ·Nov 2023 ·May 2023

  17. 3×asked

    Explain the following string operations with examples. i) concatenation ii) slicing iii) String multiplication

    Nov 2024 ·May 2024 ·May 2022

  18. 2×asked

    Explain any four python programming language applications in details.

    Feb 2026 ·Apr 2025

  19. 2×asked

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

    Feb 2026 ·Oct 2023

  20. 2×asked

    Write a pseudo code for swapping two numbers.

    Feb 2026 ·Oct 2023

  21. 2×asked

    What is the output of the following statement for the given string (i to vi)? S = “Programming and Problem Solving” i) print(S[16:]) ii) print(S[:28:2]) iii) print(S[:19:1]) iv) print (“and” in S) v) print(S[::2]) vi) print(S[::-1])

    Nov 2025 ·May 2023

  22. 2×asked

    Write a program to calculate the area of a square and rectangle using a class. 3

    Nov 2025 ·May 2024

  23. 2×asked

    Explain class method and self-object with suitable example.

    May 2025 ·Nov 2023

  24. 2×asked

    Explain the following features : i) Containership ii) Inheritance iii) Data Abstraction

    May 2025 ·Nov 2024

  25. 2×asked

    Write a python program to create a class Employee with the attributes Name, emp_id, and salary and display data of 4 employees.

    May 2025 ·Nov 2023

  26. 2×asked

    What are the good programming practices in python? Explain any six.

    Nov 2024 ·May 2022

  27. 2×asked

    Write a program to calculate area of triangle using a class.

    Nov 2024 ·May 2023

  28. 2×asked

    Write a program to check whether a number is Armstrong number or not using a function.

    May 2024 ·May 2023

  29. 2×asked

    Explain string indexing and slicing with suitable example.

    Nov 2023 ·May 2022

  30. 2×asked

    Explain different directory methods with example.

    May 2023 ·May 2022

Insem questions (22)

  1. 6×asked

    Explain Different Logical Operators in python?

    Mar 2026 ·Oct 2025 ·Apr 2025 ·Mar 2025 ·Mar 2024 ·Oct 2023

  2. 6×asked

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

    Feb 2026 ·Oct 2025 ·Mar 2025 ·Mar 2024 ·Oct 2023 ·Oct 2022

  3. 6×asked

    Write any four features of the python programming language.

    Feb 2026 ·Oct 2025 ·Apr 2025 ·Mar 2025 ·Mar 2024 ·Oct 2022

  4. 5×asked

    Write a program to swap two numbers.

    Mar 2026 ·Nov 2025 ·Oct 2025 ·Sep 2024 ·May 2022

  5. 4×asked

    Explain Loop with flow chart.

    Feb 2026 ·Oct 2025 ·Sep 2024 ·Oct 2022

  6. 4×asked

    Illustrate top-down design using a suitable example.

    Feb 2026 ·Oct 2025 ·Mar 2025 ·Mar 2024

  7. 4×asked

    What is the dictionary data type? Explain any 3 operations of the dictionary data type.

    Apr 2025 ·Mar 2025 ·Mar 2024 ·Oct 2023

  8. 3×asked

    Explain brief history of python programming language and list different software developed in python.

    Mar 2026 ·Apr 2025 ·Oct 2022

  9. 3×asked

    What is difference between ‘break’ and ‘continue’ statement in Python? Explain with example.

    Mar 2026 ·Feb 2026 ·Oct 2023

  10. 3×asked

    Explain the use of continue statement in a loop with suitable example.

    Oct 2025 ·Mar 2025 ·Mar 2024

  11. 3×asked

    Describe the following terms with examples (any three): i) break ii) continue iii) pass iv) range

    Apr 2025 ·Sep 2024 ·Oct 2022

  12. 3×asked

    What are different types of problems? Explain in brief.

    Mar 2025 ·Sep 2024 ·Mar 2024

  13. 2×asked

    Explain algorithm and flow-chart with example.

    Mar 2026 ·Sep 2024

  14. 2×asked

    Explain any five categories of operators in python with examples.

    Mar 2026 ·Oct 2022

  15. 2×asked

    Explain the following conditional branching Statements with examples. i) If ii) if else iii) if elif else

    Oct 2025 ·Oct 2022

  16. 2×asked

    What are the different collection literals in Python?

    Oct 2025 ·Oct 2022

  17. 2×asked

    What do you mean by flow-chart? Explain different flowchart symbols.

    Oct 2025 ·Oct 2022

  18. 2×asked

    Write a program to generate a Fibonacci series of 'n' numbers. ♣♣♣

    Oct 2025 ·Sep 2024

  19. 2×asked

    Differentiate between list and tuple data type.

    Mar 2025 ·Mar 2024

  20. 2×asked

    Explain different data types in Python.

    Mar 2025 ·Mar 2024

  21. 2×asked

    Write a program to find factorial of a number. 

    Mar 2025 ·Oct 2023

  22. 2×asked

    Write a program to find largest of three numbers

    Mar 2025 ·Mar 2024

Questions count as repeated when their wording matches closely across papers. Numericals that depend on a figure are left out, since the figure changes from paper to paper.