SlideShare a Scribd company logo
DCS5058 OPERATING SYSTEM 2013/2014
RMY/YHY/CMJ/KHW/NAN Page 1
REVISION QUESTION SEM 3, 2013/2014
1) Describe the differences between Symmetric Multiprocessing and Asymmetric
Multiprocessing. (6M)
2) List and explain TWO (2) problems of serial processing. (4M)
3) Draw and explain in detailed the TWO (2) I/O methods. (7M)
4) Describe the caching process in storage hierarchy. (2M)
5) With the aid of diagram, explain the THREE (3) measures used to organize the storage
system hierarchy. (4M)
6) Process Control Block (PCB) holds the information of all processes and keeps track
of all the processes. Briefly explain SEVEN (7) elements in a PCB. (7M)
7) List and explain THREE (3) benefits of microkernel organization. (6M)
8) Based on the table below, answer the following questions.
Process Burst Time (ms) Priority Arrival Time (ms)
P1 24 3 3
P2 8 2 0
P3 3 1 7
P4 7 4 6
i. Draw TWO (2) Gantt Charts illustrating the execution of processes using the following
scheduling algorithms:
a. First-Come First-Served (2 M)
b. Round Robin (Quantum = 3) (3 M)
ii. Calculate the waiting time of each process and average waiting time for all processes in
each of the scheduling algorithms. (6 M)
DCS5058 OPERATING SYSTEM 2013/2014
RMY/YHY/CMJ/KHW/NAN Page 2
9) Based on the table below, answer the following question.
Process Burst Time
(ms)
Priority Arrival Time
(ms)
P1 10 3 2
P2 13 1 0
P3 7 3 2
P4 17 4 4
P5 5 2 6
Draw the Gantt chart for each of the following scheduling algorithms. Calculate the waiting time
for each of the process as well as the average waiting time.
i. First-Come First-Served (5M)
ii. Non-preemptive Shortest-Job-First (5M)
iii. Preemptive Shortest-Job-First (5M)
iv. Non-preemptive Priority (5M)
v. Preemptive Priority (5M)
ivv. Round-Robin (Quantum = 3) (5M)
DCS5058 OPERATING SYSTEM 2013/2014
RMY/YHY/CMJ/KHW/NAN Page 3
10) Consider a system with four processes P1, P2, P3 and P4 and resource types scanner, printer
and magnetic disk having the following requirements and current allocations for these resources:
Scanner Printer Magnetic Disk
Max Allocation Max Allocation Max Allocation
P1 8 1 2 1 0 0
P2 6 1 1 0 1 0
P3 7 3 7 4 3 3
P4 4 2 5 3 6 3
Available
Scanner Printer Disk
3 3 3
i. Given the available resources as shown above, calculate the total instances of resource
type scanner, printer and magnetic disk. (1.5 M)
ii. Determine the content of the matrix Need. (3 M)
iii. Determine if the above system is in a safe state. (4.5 M)
11) Given a heap of memory management scheme with the following free list where U: Used
and H: Hole:
U H U U H H U H U H U H H H
The following process requests will be received in order:
Process number Size in Kilobytes
1 55
2 20
3 15
4 47
5 30
Show how the memory requests above are allocated using each of the allocation schemes:
i. Worst Fit (WF) [5 M]
ii. Best Fit (BF) [5 M]
0K 30K 48K 60K 100K 120K 160K 200K 256K 310K 330K 400K 425K 460K 580K
DCS5058 OPERATING SYSTEM 2013/2014
RMY/YHY/CMJ/KHW/NAN Page 4
12) Given a heap of memory management scheme with the following free list:
U U H H U H U U H H U H U H H H
The following process requests will be received in order:
Process Number Size in Kilobytes
1 25
2 56
3 89
4 63
5 41
Show how the memory requests above are allocated using the following memory allocation
schemes.
i. Best Fit (BF) (3 M)
ii. First Fit (FF) (3 M)
13) Consider the following page reference string:
3,4,2,1,4,7,2,5,3,6,1,3,5,7
Assuming a paging scheme with FOUR (4) frames is initially empty. Trace the allocation
of pages to frames and find out page fault occur using the following page replacement
algorithms:
i. First in First Out (FIFO) [7.5 M]
ii. Optimal [7.5 M]
0 K 34K 60K 80K 119K 130K 166K 190K 215K 244K 286K 298K 340K 455K 638K 688K 808K
* U - Used
* H - Hole
DCS5058 OPERATING SYSTEM 2013/2014
RMY/YHY/CMJ/KHW/NAN Page 5
14) Consider the following page reference string:
a b, c, d, a, e, c, f, a, b, a, c, e, b, d
Assume that a paging scheme with FOUR (4) frames is initially empty. Trace the allocation
of pages to frames and determine page faults occur using the following page replacement
algorithms:
i. Least Recently Used (LRU) algorithm (5 M)
ii. First In First Out (FIFO) algorithm (5 M)
15) Explain how create operations works in file system. [2m]
16) List FOUR (4) disadvantages of single-level directory structure. [4m]

More Related Content

PDF
OS ASSIGNMENT 3
DOCX
Flexible dsp accelerator architecture exploiting carry save arithmetic
PPTX
Tscd pweb
PDF
mechanicalPart
PPT
Computer Vision Pertemuan 05
PDF
poster_revised
PDF
Java program-to-calculate-area-and-circumference-of-circle
PDF
IITB Poster. Benchmarking GPU-based Acceleration of Spark in ML Workload usin...
OS ASSIGNMENT 3
Flexible dsp accelerator architecture exploiting carry save arithmetic
Tscd pweb
mechanicalPart
Computer Vision Pertemuan 05
poster_revised
Java program-to-calculate-area-and-circumference-of-circle
IITB Poster. Benchmarking GPU-based Acceleration of Spark in ML Workload usin...

What's hot (20)

PPTX
A Novel Approach of Caching Direct Mapping using Cubic Approach
PDF
Area Efficient and Reduced Pin Count Multipliers
PDF
Faster Practical Block Compression for Rank/Select Dictionaries
PDF
SPAA11
PDF
An Efficient Pipelined VLSI Architecture for Lifting-Based 2D-Discrete Wavele...
PDF
Basic use of xcms
PDF
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
PDF
Drawing Fonts
PPT
Chenchu
PDF
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
PDF
Pt 3 xii cs final
PPT
Memory allocation (4)
PPTX
IOEfficientParalleMatrixMultiplication_present
PPT
3rd 3DDRESD: Floorplacer
DOCX
DAT31W_CH8.2_NOTES
PDF
B010430814
PDF
Bf36342346
PDF
Fast Wavelet Tree Construction in Practice
PDF
PPT
Craig-Bampton Method
A Novel Approach of Caching Direct Mapping using Cubic Approach
Area Efficient and Reduced Pin Count Multipliers
Faster Practical Block Compression for Rank/Select Dictionaries
SPAA11
An Efficient Pipelined VLSI Architecture for Lifting-Based 2D-Discrete Wavele...
Basic use of xcms
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
Drawing Fonts
Chenchu
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Pt 3 xii cs final
Memory allocation (4)
IOEfficientParalleMatrixMultiplication_present
3rd 3DDRESD: Floorplacer
DAT31W_CH8.2_NOTES
B010430814
Bf36342346
Fast Wavelet Tree Construction in Practice
Craig-Bampton Method
Ad

Viewers also liked (6)

DOCX
PPTX
Aulas virtuales
PPT
Behaviorism theory
PDF
Community profile-eritrea
PPTX
Silicon Valley BLN Launch Presentation
PDF
Supreme Flour World Wheat 2012
Aulas virtuales
Behaviorism theory
Community profile-eritrea
Silicon Valley BLN Launch Presentation
Supreme Flour World Wheat 2012
Ad

Similar to Os revision ques (20)

PDF
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
PDF
cloud compute
PDF
2009 Punjab Technical University B.C.A OPERATING SYSTEM Question paper
PPTX
MaPU-HPCA2016
PPT
Introduction to MIPS Computer Architecture
PDF
Operating system and unix code 303205 bca 2nd semester exam. ...
PDF
Performance of metaheuristic methods for loop
DOCX
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
PPT
Multiprocessor Systems
PDF
171905 2171903-cam
DOCX
Mcs 041 assignment solution (2020-21)
PDF
Design and Implementation of Repair-aware Test Flow for Multi-Memory
PDF
Operating%20 system iii_201
DOCX
CS6401 Operating systems - Solved Examples
PPT
6_2 Flexible MFG Performance.ppt
PPTX
Operating systems question bank
PDF
J045075661
PPTX
Unit 4 _MMC_SEM3_AY2023-knoinononknmoknmko24 PPT.pptx
PDF
Operating System Multiple Choice Questions
PDF
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
cloud compute
2009 Punjab Technical University B.C.A OPERATING SYSTEM Question paper
MaPU-HPCA2016
Introduction to MIPS Computer Architecture
Operating system and unix code 303205 bca 2nd semester exam. ...
Performance of metaheuristic methods for loop
IFSM 310 Software and Hardware Infrastructure ConceptsComputer.docx
Multiprocessor Systems
171905 2171903-cam
Mcs 041 assignment solution (2020-21)
Design and Implementation of Repair-aware Test Flow for Multi-Memory
Operating%20 system iii_201
CS6401 Operating systems - Solved Examples
6_2 Flexible MFG Performance.ppt
Operating systems question bank
J045075661
Unit 4 _MMC_SEM3_AY2023-knoinononknmoknmko24 PPT.pptx
Operating System Multiple Choice Questions

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Hybrid model detection and classification of lung cancer
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
August Patch Tuesday
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Getting Started with Data Integration: FME Form 101
A comparative study of natural language inference in Swahili using monolingua...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Hybrid model detection and classification of lung cancer
SOPHOS-XG Firewall Administrator PPT.pptx
Programs and apps: productivity, graphics, security and other tools
Enhancing emotion recognition model for a student engagement use case through...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Hindi spoken digit analysis for native and non-native speakers
August Patch Tuesday
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
WOOl fibre morphology and structure.pdf for textiles
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Unlocking AI with Model Context Protocol (MCP)
Encapsulation_ Review paper, used for researhc scholars

Os revision ques

  • 1. DCS5058 OPERATING SYSTEM 2013/2014 RMY/YHY/CMJ/KHW/NAN Page 1 REVISION QUESTION SEM 3, 2013/2014 1) Describe the differences between Symmetric Multiprocessing and Asymmetric Multiprocessing. (6M) 2) List and explain TWO (2) problems of serial processing. (4M) 3) Draw and explain in detailed the TWO (2) I/O methods. (7M) 4) Describe the caching process in storage hierarchy. (2M) 5) With the aid of diagram, explain the THREE (3) measures used to organize the storage system hierarchy. (4M) 6) Process Control Block (PCB) holds the information of all processes and keeps track of all the processes. Briefly explain SEVEN (7) elements in a PCB. (7M) 7) List and explain THREE (3) benefits of microkernel organization. (6M) 8) Based on the table below, answer the following questions. Process Burst Time (ms) Priority Arrival Time (ms) P1 24 3 3 P2 8 2 0 P3 3 1 7 P4 7 4 6 i. Draw TWO (2) Gantt Charts illustrating the execution of processes using the following scheduling algorithms: a. First-Come First-Served (2 M) b. Round Robin (Quantum = 3) (3 M) ii. Calculate the waiting time of each process and average waiting time for all processes in each of the scheduling algorithms. (6 M)
  • 2. DCS5058 OPERATING SYSTEM 2013/2014 RMY/YHY/CMJ/KHW/NAN Page 2 9) Based on the table below, answer the following question. Process Burst Time (ms) Priority Arrival Time (ms) P1 10 3 2 P2 13 1 0 P3 7 3 2 P4 17 4 4 P5 5 2 6 Draw the Gantt chart for each of the following scheduling algorithms. Calculate the waiting time for each of the process as well as the average waiting time. i. First-Come First-Served (5M) ii. Non-preemptive Shortest-Job-First (5M) iii. Preemptive Shortest-Job-First (5M) iv. Non-preemptive Priority (5M) v. Preemptive Priority (5M) ivv. Round-Robin (Quantum = 3) (5M)
  • 3. DCS5058 OPERATING SYSTEM 2013/2014 RMY/YHY/CMJ/KHW/NAN Page 3 10) Consider a system with four processes P1, P2, P3 and P4 and resource types scanner, printer and magnetic disk having the following requirements and current allocations for these resources: Scanner Printer Magnetic Disk Max Allocation Max Allocation Max Allocation P1 8 1 2 1 0 0 P2 6 1 1 0 1 0 P3 7 3 7 4 3 3 P4 4 2 5 3 6 3 Available Scanner Printer Disk 3 3 3 i. Given the available resources as shown above, calculate the total instances of resource type scanner, printer and magnetic disk. (1.5 M) ii. Determine the content of the matrix Need. (3 M) iii. Determine if the above system is in a safe state. (4.5 M) 11) Given a heap of memory management scheme with the following free list where U: Used and H: Hole: U H U U H H U H U H U H H H The following process requests will be received in order: Process number Size in Kilobytes 1 55 2 20 3 15 4 47 5 30 Show how the memory requests above are allocated using each of the allocation schemes: i. Worst Fit (WF) [5 M] ii. Best Fit (BF) [5 M] 0K 30K 48K 60K 100K 120K 160K 200K 256K 310K 330K 400K 425K 460K 580K
  • 4. DCS5058 OPERATING SYSTEM 2013/2014 RMY/YHY/CMJ/KHW/NAN Page 4 12) Given a heap of memory management scheme with the following free list: U U H H U H U U H H U H U H H H The following process requests will be received in order: Process Number Size in Kilobytes 1 25 2 56 3 89 4 63 5 41 Show how the memory requests above are allocated using the following memory allocation schemes. i. Best Fit (BF) (3 M) ii. First Fit (FF) (3 M) 13) Consider the following page reference string: 3,4,2,1,4,7,2,5,3,6,1,3,5,7 Assuming a paging scheme with FOUR (4) frames is initially empty. Trace the allocation of pages to frames and find out page fault occur using the following page replacement algorithms: i. First in First Out (FIFO) [7.5 M] ii. Optimal [7.5 M] 0 K 34K 60K 80K 119K 130K 166K 190K 215K 244K 286K 298K 340K 455K 638K 688K 808K * U - Used * H - Hole
  • 5. DCS5058 OPERATING SYSTEM 2013/2014 RMY/YHY/CMJ/KHW/NAN Page 5 14) Consider the following page reference string: a b, c, d, a, e, c, f, a, b, a, c, e, b, d Assume that a paging scheme with FOUR (4) frames is initially empty. Trace the allocation of pages to frames and determine page faults occur using the following page replacement algorithms: i. Least Recently Used (LRU) algorithm (5 M) ii. First In First Out (FIFO) algorithm (5 M) 15) Explain how create operations works in file system. [2m] 16) List FOUR (4) disadvantages of single-level directory structure. [4m]