TPSC Prelims previous year questions
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state

TPSC Prelims previous year questions questions with answers

772 multiple-choice questions. Open any question for its answer and explanation.

  1. In a linked list, each node containsAsked in TPSC Senior Technical Assistant 2026
  2. Which sorting algorithm has worst-case time complexity of O(n²) ?Asked in TPSC Senior Technical Assistant 2026
  3. A complete binary tree with 4 levels has a maximum of how many nodes ?Asked in TPSC Senior Technical Assistant 2026
  4. Which file organization allows fastest direct access ?Asked in TPSC Senior Technical Assistant 2026
  5. In a directed graph with n vertices and no self-loops, maximum number of edgesAsked in TPSC Senior Technical Assistant 2026
  6. What is the postfix (Reverse Polish Notation) form of A+B*C ?Asked in TPSC Senior Technical Assistant 2026
  7. Recursion must have a ______ to stop infinite calls.Asked in TPSC Senior Technical Assistant 2026
  8. Which symbol is used for single-line comments in C ?Asked in TPSC Senior Technical Assistant 2026
  9. What is the output of printf ("%d", 5 > 3 + 2) ?Asked in TPSC Senior Technical Assistant 2026
  10. What will happen if a value is returned from a function declared with void return type in C ?Asked in TPSC Senior Technical Assistant 2026
  11. What is the correct way to declare an integer variable in C ?Asked in TPSC Senior Technical Assistant 2026
  12. Which loop is guaranteed to execute at least once ?Asked in TPSC Senior Technical Assistant 2026
  13. In scanf, what is the primary role of format specifiers like %d and %f ?Asked in TPSC Senior Technical Assistant 2026
  14. Which operator is used to access a structure member through a pointer ?Asked in TPSC Senior Technical Assistant 2026
  15. What is the size of int in C on a 32-bit system ?Asked in TPSC Senior Technical Assistant 2026
  16. What will be the output of int x=5; printf("%d", x++);Asked in TPSC Senior Technical Assistant 2026
  17. If int *p points to arr[2], then (p+1) points toAsked in TPSC Senior Technical Assistant 2026
  18. Which statement about Polymorphism is FALSE ?Asked in TPSC Senior Technical Assistant 2026
  19. In C++, what happens if a base class destructor is NOT declared virtual and a derived object is deleted via base pointer ?Asked in TPSC Senior Technical Assistant 2026
  20. In C++, which function has the same name as the class and is called automatically when an object is created ?Asked in TPSC Senior Technical Assistant 2026
  21. Which keyword is used to create an object in Java ?Asked in TPSC Senior Technical Assistant 2026
  22. Which OOP concept hides internal data from outside access ?Asked in TPSC Senior Technical Assistant 2026
  23. Which access specifier in C++ allows access only within the class ?Asked in TPSC Senior Technical Assistant 2026
  24. Which of the following would successfully overload the method void calculate(int a, double b) ?Asked in TPSC Senior Technical Assistant 2026
  25. In Java, which keyword prevents a class from being inherited ?Asked in TPSC Senior Technical Assistant 2026