In MS-DOS, the layering from innermost to outermost is:
ROM BIOS Device Drivers (lowest-level hardware interaction)
MS-DOS Device Drivers (software drivers loaded by OS)
Resident System Program (command.com, kernel parts)
Application Program (user programs)
To implement an \(n:1\) multiplexer using only \(2:1\) multiplexers, the minimum number required is:
\[ \text{Number of 2:1 MUX} = n - 1 \]
For \(n = 16\):
\[ 16 - 1 = 15 \]
✅ Therefore, the minimum number of \(2:1\) multiplexers required to design a \(16:1\) multiplexer is: \[ \boxed{15} \]
| List - I | List - II |
|---|---|
| (CPU Scheduling Algorithm) | (Feature) |
| (A) FCFS | (I) FCFS + preemption |
| (B) Round Robin | (II) Allows the processes to move between queues |
| (C) Multi-level queue scheduling | (III) Often long average waiting time |
| (D) Multi-level Feedback Queue | (IV) Permanent assignment of processes to one specific queue |
List-I (Algorithms) and their correct features:
(A) FCFS (First Come First Serve) → It is non-preemptive and can cause long average waiting time if a long job arrives first.
⇒ Matches with (III).
(B) Round Robin → It is essentially FCFS with preemption (time quantum).
⇒ Matches with (I).
(C) Multi-level queue scheduling → Each process is permanently assigned to a fixed queue (like system, interactive, batch).
⇒ Matches with (IV).
(D) Multi-level feedback queue → Allows processes to move between queues depending on behavior/CPU burst.
⇒ Matches with (II).
Correct Matching:
BFS (Breadth First Search) on an unweighted graph always explores level by level.
⇒ BFS always finds the shortest path. → (A) True
DFS (Depth First Search) explores deeply before backtracking. It can find a path, but not necessarily the shortest one.
⇒ DFS does not guarantee shortest path. → (C) True
(B) “DFS always finds the shortest path” → ❌ False.
(D) “BFS does not guarantee shortest path” → ❌ False.
✅ Correct Answer:
In a binary heap (array representation):
Parent(i) = \(\left\lfloor \tfrac{i}{2} \right\rfloor\), Left(i) = \(2i\), Right(i) = \(2i+1\)
All three can be computed directly from the index i.
But the heap size depends on the total number of elements \((n)\), which cannot be determined from i alone.
\(\therefore\) Correct Answer: (2) Heap size
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.