JNTU
JNTU B.Tech III OPERATING SYSTEMS Previous Question Paper (February - 2022 - R16)
Answer any five questions
All questions carry equal marks
Main
What are the various components of operating system structure? Explain the simple and layered approach of operating system in brief.
Answer
An operating system is a complex software system composed of several key components: the Process Management, Memory Management, File Management, I/O System Management, Secondary Storage Management, Networking, Protection System, and the Command Interpreter System.
The Simple Structure is often used in small, limited systems (like MS-DOS or early UNIX). It lacks well-defined boundaries; the interfaces and levels of functionality are not clearly separated, allowing application programs to access hardware directly, which makes the system vulnerable to crashes and difficult to maintain.
The Layered Approach organizes the operating system into a hierarchy of layers, numbered 0 to N. Layer 0 is the hardware, and layer N is the user interface. Each layer is constructed using only the functions and services of the lower-level layers. This modularity simplifies debugging and verification, as each layer can be tested independently. However, it is challenging to define the layers correctly, and it can be less efficient than a monolithic structure due to the overhead of passing requests through multiple layers.
Explain the concept of virtual machines. Bring out its advantages.
Answer
A Virtual Machine (VM) abstracts the hardware of a single physical computer into several different execution environments. By using a software layer called a Virtual Machine Monitor (VMM) or hypervisor, the system provides each guest operating system with the illusion that it has its own dedicated processor, memory, and I/O devices.
The primary advantages of virtual machines include:
- Resource Sharing and Consolidation: Multiple operating systems can run concurrently on the same physical hardware, improving utilization.
- Isolation: Each VM is completely isolated from others; a crash or security breach in one guest OS does not affect the host or other guests.
- Compatibility: It allows running legacy software or applications designed for different operating systems on a single machine.
- Development and Testing: Developers can test software across multiple environments without needing separate physical hardware for each configuration.
What are the functions of process and memory management? Discuss.
Answer
Sign in to view the complete answer paper.
Discuss about different categories of the system calls.
Answer
Sign in to view the complete answer paper.
Discuss about Scheduling Queues and Schedulers in process scheduling.
Answer
Sign in to view the complete answer paper.
How synchronization is done in Linux and Windows? Discuss.
Answer
Sign in to view the complete answer paper.
Explain the System calls - fork(), exec(), wait(), exit().
Answer
Sign in to view the complete answer paper.
Discuss in brief about Critical Section Problem.
Answer
Sign in to view the complete answer paper.
What is a Virtual Memory? What are the benefits of virtual memory technique? Explain.
Answer
Sign in to view the complete answer paper.
Write about various page table structures and explain their merits and demerits.
Answer
Sign in to view the complete answer paper.
Discuss the procedure for handling the page fault in demand paging.
Answer
Sign in to view the complete answer paper.
What is fragmentation? Explain different fragmentation types and their disadvantages.
Answer
Sign in to view the complete answer paper.
Write and explain the sequence of system calls for copying a file to another (new) file.
Answer
Sign in to view the complete answer paper.
What is file system mounting? Explain how file sharing and protection is done.
Answer
Sign in to view the complete answer paper.
Explain Banker’s algorithm with an example.
Answer
Sign in to view the complete answer paper.
What is Access Control? Explain how to revoke access rights? Discuss.
Answer
Sign in to view the complete answer paper.