TPSC Prelims previous year questions questions with answers
772 multiple-choice questions. Open any question for its answer and explanation.
- In a hardwired control unit, the control signals are generated byAsked in TPSC Junior System Engineer 2026
- What is the primary disadvantage of instruction pipelining ?Asked in TPSC Junior System Engineer 2026
- Which memory technology offers the fastest access time ?Asked in TPSC Junior System Engineer 2026
- The 2's complement representation of-45 in an 8-bit system isAsked in TPSC Junior System Engineer 2026
- In which addressing mode does the effective address equal the operand field of the instruction itself ?Asked in TPSC Junior System Engineer 2026
- A set-associative cache with 4 ways and 256 sets stores 16-byte blocks. What is the total cache size ?Asked in TPSC Junior System Engineer 2026
- Which of the following is NOT a data hazard type in pipelining ?Asked in TPSC Junior System Engineer 2026
- What is the worst-case time complexity of searching in a balanced Binary Search Tree with n nodes ?Asked in TPSC Junior System Engineer 2026
- In a B+ tree of order m, what is the minimum number of ke's in anv non-root internal node ?Asked in TPSC Junior System Engineer 2026
- Which sorting algorithm achieves O(n) time complexity in the best case and is stable ?Asked in TPSC Junior System Engineer 2026
- In a doubly linked list, deleting a node given only a pointer to that node (not to its predecessor) has time complexityAsked in TPSC Junior System Engineer 2026
- The nost-order traversal of a Binavr Search Tree having keys. 10, 20, 5, 15, 1 (inserted in this order) yields which sequence ?Asked in TPSC Junior System Engineer 2026
- Which of the following graph representations is most efficient for a sparse graph with V vertices and E edges where E << V^2 ?Asked in TPSC Junior System Engineer 2026
- A min-heap contains n elements. What is the time complexity of extracting all elements in sorted order (heap sort) ?Asked in TPSC Junior System Engineer 2026
- Which hashing technique handles collisions by computing a second hash function to find the next probe position ?Asked in TPSC Junior System Engineer 2026
- In Quick Sort, choosing the pivot as the median-of-three reduces the probability of O(n²) worst-case. Under what input condition does Quick Sort still degrade to O(n²) ?Asked in TPSC Junior System Engineer 2026
- Which of the following data structures is best suited for implementing a priority queue with O(log n) insert and O(log n) delete-min ?Asked in TPSC Junior System Engineer 2026
- If a stack supports push and pop operations, and we push 1, 2, 3, 4, 5 in order and intermix pops, which sequence is NOT a valid pop sequence ?Asked in TPSC Junior System Engineer 2026
- What is the height of an AVL tree with n nodes in the worst case ?Asked in TPSC Junior System Engineer 2026
- In Object-Oriented Design, which principle states that a class should have only one reason to change ?Asked in TPSC Junior System Engineer 2026
- Which OOP concept allows a subclass object to be used wherever a superclass object is expected, without altering program correctness ?Asked in TPSC Junior System Engineer 2026
- In C++, what is the output of the following code ? int x = 5; int& ref = x; ref = 10 cout << x;Asked in TPSC Junior System Engineer 2026
- Which of the following correctly describes ‘Abstract Class’ in OOP ?Asked in TPSC Junior System Engineer 2026
- In OMT (Object Modeling Technique) methodology, which of the following models captures system behavior over time ?Asked in TPSC Junior System Engineer 2026
- What is the key difference between OOA (Object-Oriented Analysis) and OOD (Object-Oriented Design) ?Asked in TPSC Junior System Engineer 2026