JNTU
JNTU B.Tech III OPERATING SYSTEMS Previous Question Paper (September - 2021 - R16)
Answer any five questions. All questions carry equal marks.
Main
Summarize the different functions of operating systems.
Answer
An operating system acts as an intermediary between the computer user and the computer hardware. Its primary functions include:
- Process Management: Creating, deleting, suspending, and resuming processes, and providing mechanisms for process synchronization and communication.
- Memory Management: Tracking which parts of memory are currently in use, deciding which processes to load into memory, and allocating/deallocating memory space.
- File Management: Managing files and directories, including creating, deleting, and manipulating files, as well as mapping files onto secondary storage.
- I/O System Management: Managing the buffer-caching system, providing general device-driver interfaces, and controlling specific hardware devices.
- Secondary Storage Management: Managing free space, allocating storage, and scheduling disk access.
- Protection and Security: Controlling access to system resources and ensuring that only authorized users can access files or execute processes.
- Command Interpreter System: Providing an interface for users to issue commands to the operating system.
Describe the different computing environments.
Answer
Computing environments have evolved to meet diverse user needs. Key environments include:
- Personal Computing: Systems designed for single-user interaction, such as PCs and laptops, focusing on ease of use and responsiveness.
- Time-Sharing/Multiprogramming: Environments where multiple users share a single CPU, allowing concurrent execution of tasks to maximize resource utilization.
- Distributed Systems: A collection of physically separate, heterogeneous computer systems networked together to appear as a single system to the user, providing increased reliability and resource sharing.
- Client-Server Systems: A model where client machines request services (like database access) from a central server, which processes and returns the results.
- Cloud Computing: An extension of distributed systems that delivers computing services—including servers, storage, and databases—over the internet on a pay-per-use basis.
- Real-Time Systems: Specialized systems where processing must occur within strict time constraints, often used in industrial control or medical equipment.
- Embedded Systems: Computing systems integrated into larger devices (e.g., washing machines, automobiles) with limited resources and specific, dedicated tasks.
What is an operating system? Draw the structure of the operating systems.
Answer
Sign in to view the complete answer paper.
Describe about operating system interface and system calls.
Answer
Sign in to view the complete answer paper.
Compare the terms: Process and Thread. State the significance of PCB.
Answer
Sign in to view the complete answer paper.
State the different process states and describe the different scheduling queues.
Answer
Sign in to view the complete answer paper.
Describe the dinning philosopher problem and how do we solve using semaphores.
Answer
Sign in to view the complete answer paper.
Write a program to demonstrate the fork() system call.
Answer
Sign in to view the complete answer paper.
What is paging technique? Summarize the different structures of page tables.
Answer
Sign in to view the complete answer paper.
Explain why the “principle of locality” is crucial to the use of virtual memory? What is accomplished using page buffering?
Answer
Sign in to view the complete answer paper.
Explain the performance of demand paging with suitable example.
Answer
Sign in to view the complete answer paper.
Consider three page frames which are initially empty. If the page reference string is 1, 2, 5, 6, 3, 1, 2, 4, 5, 2, 6 and calculate number of page faults using FIFO page Replacement algorithm.
Answer
Sign in to view the complete answer paper.
Describe about different disk scheduling algorithms.
Answer
Sign in to view the complete answer paper.
Explain about swap space management and why it is used?
Answer
Sign in to view the complete answer paper.
Explain the Bankers algorithm for dead lock avoidance.
Answer
Sign in to view the complete answer paper.
Describe the access matrix and how do we implement access matrix.
Answer
Sign in to view the complete answer paper.