The Need Matrix is calculated as:
Need = Max - Allocation
| Process | R1 | R2 | R3 |
|---|---|---|---|
| P1 | 4 | 5 | 2 |
| P2 | 1 | 0 | 1 |
| P3 | 6 | 0 | 0 |
| P4 | 0 | 1 | 0 |
The Available resources at the start are:
Result: Sequence (A) is valid.
Result: Sequence (B) is valid.
Result: Sequence (C) is valid.
Result: Sequence (D) is invalid.
Safe Sequences: (A), (B), (C)
Invalid Sequence: (D)
| List - I (Algorithms) | List - II (Complexity) |
| (A) Bellman - Ford algorithm (with adjacencylist representation) | (I) $O(|V|^2)$ |
| (B) Dijkstra Algorithm | (II) O((V+E) logV) |
| (C) Prim’s Algorithm | (III) O(mn) |
| (D) Topological sorting (with adjacency list representation) | (IV) O(m+n) |
Match the following:
| Column A | Column B |
|---|---|
| Decoder | I. Select input and output of many |
| Multiplexer | II. convert binary input into 2n output |
| Encoder | III. convert 2n input into binary output |
| Demultiplexer | IV. route one input to several output |
Options:
| (a) | Decoder – II, Multiplexer – I, Encoder – III, Demultiplexer – IV |
| (b) | Decoder – III, Multiplexer – I, Encoder – II, Demultiplexer – IV |
| (c) | Decoder – II, Multiplexer – III, Encoder – I, Demultiplexer – IV |
| (d) | Decoder – III, Multiplexer – IV, Encoder – II, Demultiplexer – I |
Half adder has
(a) two input two output
(b) one input two output
(c) two input one output
(d) one input one output
A Half Adder is a combinational circuit used to add two binary bits.
Inputs: A, B → 2 inputs
Outputs: Sum (S) and Carry (C) → 2 outputs
Sum = A ⊕ B
Carry = A · B
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.