JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II Year OPERATING SYSTEMS Previous Question Paper (August/September - 2022 - R16)
Answer any five questions. All questions carry equal marks.
Main
Explore operating system in users view point as well as system view point.
Answer
From a user's view, the operating system is designed primarily for ease of use, performance, and security. The user is concerned with the convenience of the interface, the responsiveness of applications, and the efficient management of their own files and resources. The OS acts as an abstraction layer, hiding the complex hardware details and providing a user-friendly environment through command-line interfaces or graphical user interfaces (GUIs), allowing users to focus on task execution rather than hardware management.
From a system view, the operating system is viewed as a resource allocator and a control program. It acts as the manager of all system resources, including CPU time, memory space, file storage, and I/O devices. The OS must resolve conflicting requests for resources to ensure efficient and fair operation. Furthermore, as a control program, it manages the execution of user programs to prevent errors and improper use of the computer, ensuring system stability and security through mechanisms like process scheduling and memory protection.
What is a multi processor system? Discuss its advantages.
Answer
A multiprocessor system, also known as a parallel system or tightly coupled system, consists of two or more processors in close communication, sharing the computer bus, clock, and sometimes memory and peripheral devices. These systems are designed to execute multiple tasks simultaneously, significantly increasing the computational power of the machine.
The primary advantages include:
- Increased Throughput: By having multiple processors working in parallel, the system can complete more work in a given time period.
- Economy of Scale: Multiprocessor systems can be cheaper than multiple single-processor systems because they share peripherals, mass storage, and power supplies.
- Increased Reliability: If one processor fails, the system can continue to function, albeit at a reduced speed, because the workload can be distributed among the remaining functional processors (graceful degradation).
- Parallel Processing: Complex tasks can be broken down into smaller sub-tasks that are executed concurrently, leading to faster completion times for compute-intensive applications.
Illustrate the operations of operating system.
Answer
Sign in to view the complete answer paper.
Discuss briefly the types of system calls provided by an operating system.
Answer
Sign in to view the complete answer paper.
Define process. Explain process state transition diagram.
Answer
Sign in to view the complete answer paper.
Illustrate process creation on windows systems.
Answer
Sign in to view the complete answer paper.
Describe the Round Robin scheduling algorithm. Illustrate with an example.
Answer
Sign in to view the complete answer paper.
Provide a solution to Dining Philosopher’s problem using semaphores.
Answer
Sign in to view the complete answer paper.
Compare paging and segmentation of IA-32.
Answer
Sign in to view the complete answer paper.
Demonstrate first-fit, best-fit and worst-fit for storage allocation.
Answer
Sign in to view the complete answer paper.
Describe paging hardware with translation look-aside buffer.
Answer
Sign in to view the complete answer paper.
Illustrate Least recently used page replacement algorithm with an example.
Answer
Sign in to view the complete answer paper.
Explain mounting in network file system.
Answer
Sign in to view the complete answer paper.
Make a comparison of C-SCAN and C-LOOK algorithms for disk scheduling.
Answer
Sign in to view the complete answer paper.
Demonstrate Banker’s algorithm for deadlocks.
Answer
Sign in to view the complete answer paper.
What is an access matrix? Explain implementation of an access matrix.
Answer
Sign in to view the complete answer paper.