JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2021 OPERATING SYSTEMS Previous Question Paper (February - 2021 - R17)
Answer any five questions. All questions carry equal marks.
Main
What are the different services offered by the operating system? Explain in detail.
Answer
An operating system provides an environment for the execution of programs and offers a variety of services to both users and system processes. These services are designed to make the programming task easier and to ensure efficient system operation.
The primary services include:
- Program Execution: The system must be able to load a program into memory and run it. The OS handles the allocation of resources and the termination of the process, whether normal or abnormal.
- I/O Operations: Since user programs cannot directly access I/O devices, the OS provides a uniform interface to handle device-specific drivers, buffering, and caching to manage input and output operations efficiently.
- File System Manipulation: The OS manages the creation, deletion, reading, writing, and searching of files and directories. It also enforces permissions to control access to these files.
- Communications: Processes often need to exchange information. This can occur between processes on the same computer via shared memory or message passing, or between processes on different computer systems via a network.
- Error Detection: The OS constantly monitors the system for potential errors in the CPU, memory, I/O devices, or user programs. It takes appropriate action to ensure consistent and correct computing.
- Resource Allocation: When multiple users or jobs run concurrently, the OS must allocate resources such as CPU cycles, main memory, and file storage to each process to ensure optimal system performance.
- Accounting: The OS keeps track of which users use how much and what kinds of computer resources. This data is useful for performance tuning and billing purposes.
- Protection and Security: The OS ensures that all access to system resources is controlled. Protection involves ensuring that all access to system resources is controlled, while security involves defending the system against internal and external threats like unauthorized access or malware.
Briefly explain typical functions of an Operating-System Kernel.
Answer
The Kernel is the core component of an operating system that resides in memory at all times and acts as the bridge between software applications and hardware. Its primary functions include:
- Process Management: The kernel creates, schedules, and terminates processes, manages context switching, and handles inter-process communication (IPC) and synchronization.
- Memory Management: It tracks which parts of memory are in use and by whom, allocates memory when requested, and manages virtual memory and swapping between RAM and secondary storage.
- Device Management: The kernel manages hardware devices through device drivers, handling interrupts and providing a uniform interface for applications to interact with hardware.
- File System Management: It organizes data into files and directories, manages disk space allocation, and enforces access control permissions.
- System Call Interface: It provides a set of system calls that allow user-level applications to request services from the kernel in a secure and controlled manner.
What are the different types of operating systems? Explain them in detail.
Answer
Sign in to view the complete answer paper.
What is unsafe state? Differentiate between unsafe state and deadlock state.
Answer
Sign in to view the complete answer paper.
Explain recovery procedures from deadlocks.
Answer
Sign in to view the complete answer paper.
Explain the following:
Scheduling Criteria.
Answer
Sign in to view the complete answer paper.
Cooperating Processes.
Answer
Sign in to view the complete answer paper.
Explain about message queues and shared memory.
Answer
Sign in to view the complete answer paper.
Explain about demand paging.
Answer
Sign in to view the complete answer paper.
Differentiate between paging and segmentation.
Answer
Sign in to view the complete answer paper.
Describe file system mounting.
Answer
Sign in to view the complete answer paper.
Explain the concept and techniques of free space management.
Answer
Sign in to view the complete answer paper.
Write short notes on:
unix file structure
Answer
Sign in to view the complete answer paper.
system calls in unix.
Answer
Sign in to view the complete answer paper.