We need to arrange memories from fastest to slowest in terms of access speed:
Registers (D): Fastest (located inside CPU).
Cache Memory (B): Next fastest (very close to CPU, faster than RAM).
RAM (C): Slower than cache.
Hard Disk Drive (A): Slowest (secondary storage).
So the correct order is:
BST Procedure Time Complexities (MathJax):
Since \(O(h)\) differs from \( \Theta(n) \) and INORDER-WALK always visits all \(n\) nodes,
\[ \boxed{\text{Distinct running time: INORDER-WALK (Option 3)}} \]
| LIST I | LIST II |
| A. (x+y)' | I. 1 |
| B. x+1 | II. x'+y' |
| C. (xy)' | III. x'.y' |
| D. x+0 | IV. x |
Explanation:
SSTF (Shortest Seek Time First): Always serves the request that requires the minimum head movement from the current head position.
LOOK/SCAN: Move in one direction (like elevators), serving requests along the way.
FCFS: Serve requests in the order they arrive.
✅ Hence, SSTF is the correct choice.
| List-I | List-II |
| (Algorithm/ Application) | (Data Structure Used) |
| (A). BFS | (1). Stack |
| (B). DFS | (II). B Trees |
| (C). Heap sort | (III). Priority Queue |
| (D). Storage on secondary storages devices | (IV). Queue |
Match the pairs:
(A) BFS → Queue (IV)
(B) DFS → Stack (I)
(C) Heap Sort → Priority Queue (III)
(D) Storage on secondary storage devices → B-Trees (II)
| List-1 | List-II |
| JK Flip Flop inputs | Next State |
| (A). 0 0 | (I). Toggle |
| (B). 0 1 | (II). Set |
| (C). 1 0 | (III). Reset |
| (D). 1 1 | (IV). No Change |
✅ Correct Answer: Option 2
The general structure of a process with critical section is:
Entry section → request entry into the critical section.
Critical section → perform the critical task.
Exit section → leave and update status.
Remainder section → execute non-critical code.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.