SampleQuestionsTT1[1]
SampleQuestionsTT1[1]
VIDYAVIHAR
K J Somaiya Institute of Technology
An Autonomous Institute Permanently Affiliated to the University of Mumbai
SEM: IV
Chapter 1
Fundamentals of Operating System
1. Describe characteristics of Modern Operating System.
Ans: A modern operating system (OS) is designed to efficiently manage hardware resources, provide a
user-friendly interface, and support various applications. It incorporates advanced features to enhance
performance, security, and usability. Below are the key characteristics:
1. Multi-User Capability
2. Multitasking
3. Multiprocessing
5. Memory Management
Ans: A System Call is a mechanism that allows user-level processes to request services from the
operating system (OS), particularly from the kernel. It acts as an interface between user applications and
the OS to perform privileged operations like file management, process control, and communication.
5. Differentiate between Multiprogramming and Multiprocessing system?
Ans:
1. File Management
The OS is responsible for handling files stored on storage devices. The major activities include:
b. Directory Management
Provides a structured way to store, organize, and access files using directories and subdirectories.
Supports operations like creating, renaming, and deleting directories.
Implements user authentication and permissions (Read, Write, Execute) to protect files from
unauthorized access.
Supports encryption and backup mechanisms.
Manages disk space allocation using techniques like contiguous, linked, and indexed allocation.
Tracks free space and ensures efficient storage utilization.
Supports different file systems like NTFS, FAT32, ext4 for efficient file organization.
Handles mounting and unmounting of file systems.
2. Memory Management
Memory management ensures optimal use of RAM by allocating and deallocating memory to processes.
The major activities include:
Ans: A kernel is the core component of an operating system (OS) that manages hardware and software
interactions. Different kernel architectures define how the kernel handles system functions like memory
management, process control, and device communication. The main types of kernel architectures are:
1. Monolithic Kernel
Description:
Disadvantages:
Examples:
2. Microkernel
Description:
The kernel contains only essential functions like process management, memory management, and
inter-process communication (IPC).
Other services (device drivers, file systems) run in user mode as separate processes.
Advantages:
Disadvantages:
✖ Slower due to frequent message passing between kernel and user-space services.
✖ More complex design and debugging.
Examples:
3. Hybrid Kernel
Description:
Disadvantages:
Examples:
4. Exokernel
Description:
A lightweight and minimalistic kernel that provides direct access to hardware with minimal abstraction.
Instead of managing system resources, it allows applications to control them directly.
Advantages:
Disadvantages:
Examples:
5. Nanokernel
Description:
Advantages:
✔ Extremely small and lightweight, useful for embedded systems.
Disadvantages:
✖ Limited functionality.
Examples:
11. What is Context-Switch? Describe the actions taken by a kernel to context switch between
processes?
Ans:
Chapter 2
Process Management
13. Explain various states of process with the help of State Transition diagram.
14. Use following Scheduling algorithm to calculate ATAT &AWT for the following process:
a) FCFS
b) Pre-emptive and Non-Pre-emptive SJF
c) Round Robin
d) Pre-emptive Priority
15. What is thread? Explain User level threads and Kernel level threads?
16. Explain the Multithreading Models in detail.
17. Write a short note on Inter Process Communication (IPC).
18. Compare Pre-emptive and Non-Pre-emptive Scheduling?
19. What is Scheduling? Give different scheduling Policies and their comparison?
20. Explain with an example, which of the following algorithms could result in starvation.
a) FCFS
b) SJF
c) Round Robin
d) Priority
21. Consider the following set of processes, with the length of CPU burst given in milliseconds.
The processes are assumed to arrive in order P1, P2, P3, P4, and P5 all at time 0.
Chapter 3
Process Coordination