CS1501A - OS Updated QB
CS1501A - OS Updated QB
ENGINEERING COLLEGE
(An Autonomous Institution, Affiliated to Anna University)
QUESTION BANK
ODD SEMESTER, 2024-2025
B.E. Computer Science and Engineering
(Common to B.Tech. IT)
Operating system overview-objectives and functions, Evolution of Operating System - Computer System
Organization-Virtualization-Operating System Structure and Operations- System Calls, OS Generations,
Process Concept, Threads- Overview, Multithreading Models, Threading issues
PART-A
COMPETENC
S.NO QUESTIONS CO BT
E
1. Define an operating system and list its functions. CO1 BTL-1 Remember
2. What is dual mode operation and what is the need of it? CO1 BTL-2 Understand
PART-B
PART-A
S.N COMPETE
QUESTIONS CO BT
O NCE
1. List out the data fields associated with Process Control Blocks. CO2 BTL-1 Remember
2. What is a semaphore? CO2 BTL-1 Remember
3. What is the difference between preemptive and non-preemptive CO2 BTL-2 Understand
scheduling?
4. What can the operating system do to recover from deadlock? CO2 BTL-2 Understand
5. What are the four necessary conditions that are needed for a deadlock CO2 BTL-2 Understand
can occur?
6. What are the various scheduling criteria for CPU scheduling? CO2 BTL-1 Remember
7. Define Mutual Exclusion. CO2 BTL-1 Remember
8. What are Mutex locks? CO2 BTL-1 Remember
9. How will you calculate turn-around time? CO2 BTL-1 Understand
10 Name some classic problem of synchronization. CO2 BTL-1 Remember
.
PART-B
Discuss the concept of interacting processes and explore two distinct CO2 BTL-3 Apply
1. methodologies for implementing interaction between processes.
Allocation Maximum
R1 R2 R3 R1 R2 R3
6 P0 2 2 3 3 6 8 CO2 BTL-4 Analyze
P1 2 0 3 4 3 3
P2 1 2 4 3 4 4
Main Memory-Non Contiguous Memory Allocation - Contiguous Memory Allocation, Paging, Segmentation,
Examples; Virtual Memory- Demand Paging, Page Placement and Replacement policies - FIFO Page
Replacement, Optimal Page Replacement, LRU Page Replacement, Allocation, Thrashing
PART-A
S.N
QUESTIONS CO BT COMPETENCE
O
1. Mention any two differences between logical and physical BTL-2 Understand
CO3
addresses.
2. Differentiate internal fragmentation from external CO3 BTL-2 Understand
fragmentation.
3. What is the purpose of paging the page tables? CO3 BTL-1 Remember
4. How the problem of external fragmentation can be solved? CO3 BTL-2 Understand
5. What are the different methods of allocating frames to a CO3 BTL-1 Remember
process?
6. When does a page fault occur? Brief various page replacement CO3 BTL-2 Understand
algorithms.
7. Define demand paging in memory management. CO3 BTL-1 Remember
8. Compare and contrast paging and segmentation. CO3 BTL-2 Understand
8. What is thrashing? How to resolve this problem? CO3 BTL-2 Understand
9. Outline about TLB. CO3 BTL-1 Remember
10 What is pure demand paging? CO3 BTL-1 Remember
.
PART-B
Consider the page reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, CO3 BTL-4 Analyze
3, 2, 1, 2, 0, 1, 7, 0, 1. How many page faults would occur for
the following replacement algorithm, assuming one, two, three,
1. four page frames? Remember that all frames are initially empty,
so your first unique pages will all cost one fault each.
(i) FIFO (ii) LRU (iii) OPTIMAL
Discuss the following memory management techniques with CO3 BTL-3 Apply
diagrams.
2 (i) Partition Allocation Methods. (07)
(ii) Paging and Translation Look-aside Buffer. (06)
Mass Storage system – Overview of Mass Storage Structure, Disk Structure, Disk Scheduling and
Management; swap space management; File concept, Access methods, Directory Structure, File Sharing
and Protection, File System Structure, Directory Implementation, Allocation Methods, Free-Space
Management, I/O Systems - I/O Hardware, Application I/O interface, Kernel I/O subsystem, Streams,
Performance.
PART-A
S.N COMPET
QUESTIONS CO BT
O ENCE
1. What is Directory? CO4 BTL-1 Remember
2. Identify the differences between UFD and MFD. CO4 BTL-2 Understand
3. Define C-SCAN scheduling. CO4 BTL-1 Remember
4. What are the allocation methods of a disk space? CO4 BTL-1 Remember
5. What is the use of boot block? CO4 BTL-2 Understand
6. Define typical bad sector transaction. CO4 BTL-1 Remember
7. What are the operations performed in a Directory? CO4 BTL-1 Remember
8. What are the different methods for allocation in a File System? CO4 BTL-1 Remember
9. What are the most common schemes for defining the logical CO4 BTL-2 Understand
structure of a directory?
10 Define buffering. CO4 BTL-1 Remember
. 11 Define Free Space Management. CO4 BTL-1 Remember
.
PART-B
Analyze and compare different directory structures in detail. CO4 BTL-4 Analyze
1.
What are the different allocation methods in disk storage? CO4 BTL-3 Apply
2. Explain with a neat sketch.
Suppose that a disk drive has 5000 cylinders, numbered 0 CO4 BTL-4 Analyze
through 4999. The disk is serving a request at cylinder 143. The
queue of pending requests in, FIFO order is 86, 1470, 913, 1774,
948, 1509, 1022, 1750, 130.
3. (i) Starting from the head position what is the total distance (in
cylinders) that the disk arm moves to satisfy all the pending
requests for each of the following disk-scheduling algorithms?
FCFS, SSTF, SCAN, LOOK, C-SCAN, C-LOOK.
(ii) Explain the pros and cons of all disk scheduling algorithms.
Examine the Kernel I/O subsystem and elucidate the process of CO4 BTL-3 Apply
4. translating I/O operations into hardware-level actions.
Linux System - Design Principles, Kernel Modules, Process Management, Scheduling, Memory
Management, Input-Output Management, File System, Inter-process Communication; Mobile OS - iOS
and Android - Architecture and SDK Framework, Media Layer, Services Layer, Core OS Layer, File
System.
PART-A
S.N COMPET
QUESTIONS CO BT
O ENCE
1. What are the features of Linux file system? CO5 BTL-1 Remember
2. What is the use of kernel modules in Linux? CO5 BTL-1 Remember
3. Define the components of LINUX system. CO5 BTL-1 Remember
4. List some of the Linux Network services. CO5 BTL-1 Remember
5. What is the responsibility of kernel in LINUX operating CO5 BTL-2 Understand
system?
6. What are the components of kernel module? CO5 BTL-1 Remember
7. Differentiate iOS from Android OS. CO5 BTL-2 Understand
8. CO5 BTL-1 Remember
Define LINUX Virtualization.
9. List the features of UIKit Framework. CO5 BTL-1 Remember
10 Define Core Video Framework. CO5 BTL-1 Remember
.
PART-B
Explain the design principles and components of Linux system CO5 BTL-3 Apply
1. in detail.
2. Examine the concepts of process and memory management CO5 BTL-3 Apply
within Linux.
Elaborate on the intricacies of the Linux file system. CO5 BTL-3 Apply
3
Examine the architecture and SDK Framework of the Android CO5 BTL-3 Apply
4 OS extensively.
Analyze the architecture of iOS, focusing on its media and CO5 BTL-4 Analyze
5 service layers.