| Column A | Column B | |
|---|---|---|
| (A) FCFS | I. Give CPU according to highest priority | |
| (B) SJF | II. Gives a CPU to process which come first | |
| (C) Priority Scheduling | III. Gives CPU to process with shortest burst time | |
| (D) RR | IV. Time sharing |
Options:
(a) (A)-II, (B)-III, (C)-I, (D)-IV
(b) (A)-I, (B)-II, (C)-III, (D)-IV
(c) (A)-II, (B)-I, (C)-III, (D)-IV
(d) (A)-IV, (B)-III, (C)-II, (D)-I
FCFS → process which comes first → II
SJF → shortest burst time → III
Priority Scheduling → highest priority → I
Round Robin (RR) → time sharing → IV
Assertion: Binary search tree property allow to print all keys in binary search tree in sorted order by simple recursive algorithm called inorder tree walk.
Reason: The inorder tree walk algorithm print the key root of subtree between printing value in its left subtree and printing those in its right subtree.
Options:
(a) Assertion is true, Reason is true, and Reason is the correct explanation of the Assertion.
(b) Assertion is true, Reason is true, but Reason is not the correct explanation of the Assertion.
(c) Assertion is true, but Reason is false.
(d) Assertion is false, but Reason is true.
In a Binary Search Tree (BST), all keys in the left subtree are smaller than the root and all keys in the right subtree are larger than the root.
Inorder traversal follows the order:
Left Subtree → Root → Right Subtree
Because of the BST property, this traversal prints the elements in sorted order.
The reason correctly explains the inorder traversal process where the root is printed between its left and right subtree.
Correct Answer: (a) Assertion is true, Reason is true, and Reason is the correct explanation of the Assertion.
Given: 4 calls to fork().
Formula: Total processes created = 2^n
Calculation:
2^4 = 1616 - 1 = 15
Arrange the following steps of retrieving data from memory unit.
(A) Memory Address Register send address to memory chip
(B) The address is placed on address bus
(C) The control unit sends signal
(D) Data is retrieved and place into the Memory Data Register
Options:
(a) D, C, A, B
(b) A, B, C, D
(c) A, C, D, B
(d) B, D, A, C
1. Memory Address Register (MAR) sends the address → (A)
2. Address is placed on the address bus → (B)
3. Control unit sends the read signal → (C)
4. Data is fetched and stored in Memory Data Register (MDR) → (D)
Correct Order: A → B → C → D
Correct Answer: (b) A, B, C, D
| Column A | Column B | |
|---|---|---|
| (A) Minimum Spanning Tree | I. Height balanced | |
| (B) Topological Sort | II. Stack | |
| (C) Recursion | III. Kruskal's algorithm | |
| (D) AVL Tree | IV. DFS |
Options:
(a) (A)-I, (B)-II, (C)-III, (D)-IV
(b) (A)-II, (B)-I, (C)-III, (D)-IV
(c) (A)-IV, (B)-III, (C)-II, (D)-I
(d) (A)-III, (B)-IV, (C)-II, (D)-I
Minimum Spanning Tree → Kruskal's algorithm → III
Topological Sort → DFS based algorithm → IV
Recursion → uses stack → II
AVL Tree → height balanced tree → I
Correct Answer: (d) (A)-III, (B)-IV, (C)-II, (D)-I
| List - I | List - II |
| (A) Critical Region | (I) Circular Wait |
| (B) Working Set | (II) Condition variable |
| (C) Deadlock | (III) Principle of locality |
| (D) Wait/Signal | (IV) Mutual Exclusion |
Matching List-I with List-II:
| List - I | List - II | Explanation |
|---|---|---|
| Critical Region | Mutual Exclusion (IV) | The critical region ensures mutual exclusion, allowing only one process to access a shared resource at a time. |
| Working Set | Principle of Locality (III) | The working set is a concept used in memory management, based on the principle of locality to predict the set of pages a process is likely to use. |
| Deadlock | Circular Wait (I) | One of the necessary conditions for a deadlock is circular wait, where processes are waiting for resources held by one another in a circular chain. |
| Wait/Signal | Condition Variable (II) | The wait and signal operations are synchronization mechanisms associated with condition variables in multi-threaded environments. |
(A) → (IV), (B) → (III), (C) → (I), (D) → (II)
A. Deletion from Queue
B. Worst case search in binary search tree
C. Insertion in stack
D. Quick sort worst case
Options:
(a) C, D
(b) A, C
(c) A, B
(d) B, C
Deletion from Queue → O(1)
Worst case search in Binary Search Tree → O(n)
Insertion in Stack → O(1)
Quick Sort worst case → O(n2)
Same order complexity:
Deletion from Queue and Insertion in Stack → O(1)
Correct Answer: (b) A, C
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.