AKB - 2023 Answers
AKB - 2023 Answers
1. Synchronization:
○ Communication can be blocking (synchronous) or
non-blocking (asynchronous). Blocking ensures delivery but
may cause delays, while non-blocking is faster but more
complex to manage.
2. Reliability:
○ Ensuring messages are not lost due to system failures.
Mechanisms like acknowledgments, retransmissions, and
timeouts are used.
3. Message Ordering:
○ Messages should be received in the same order they were
sent, which can be challenging in distributed systems.
4. Performance:
○ Managing overhead caused by message creation,
transmission, and processing, especially with large or
frequent messages.
5. Security:
○ Protecting messages from unauthorized access and
tampering using encryption and authentication.
Ans:
An Operating System (OS) is a system software that acts as an
intermediary between the user and the computer hardware. It manages
computer hardware resources and provides services for application
software. The OS enables users to interact with the computer without
needing to understand the hardware details.
Ans:
Ans:
1. Mutual Exclusion:
○ At least one resource must be held in a non-shareable
mode, meaning only one process can use it at a time.
○ Example: A printer can only be used by one process at
a time.
2. Hold and Wait:
○ A process must hold at least one resource and wait for
others that are held by other processes.
○ Example: A process holding a printer waits for a
scanner.
3. No Preemption:
○ Resources cannot be forcibly taken from processes.
They must be released voluntarily.
○ Example: The operating system cannot take away a
printer from a process holding it.
4. Circular Wait:
○ A cycle must exist where each process is waiting for a
resource held by the next process.
○ Example: Process A waits for a resource held by B, B
waits for C, and C waits for A.
5(b) Ans:
6(a)Ans:
● Process:
● Solutions: