0% found this document useful (0 votes)
8 views1 page

Question 2

The document outlines a series of questions related to operating systems, covering topics such as OS definitions, memory management, process management, CPU scheduling, and advanced OS scenarios. Each question is structured to assess understanding of key concepts, functions, and techniques associated with operating systems. The questions require explanations, calculations, and diagrammatic representations to demonstrate comprehension of the material.

Uploaded by

richynguepipu26
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Question 2

The document outlines a series of questions related to operating systems, covering topics such as OS definitions, memory management, process management, CPU scheduling, and advanced OS scenarios. Each question is structured to assess understanding of key concepts, functions, and techniques associated with operating systems. The questions require explanations, calculations, and diagrammatic representations to demonstrate comprehension of the material.

Uploaded by

richynguepipu26
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Question 1 : OS Concepts and Structure (6 marks)

a) Define an operating system. (2 marks)


b) Explain two functions of an operating system. (2 marks)
c) Name and briefly explain three types of OS structures. (2 marks)
(Monolithic, Layered, Microkernel, Modular)
Question 2 : Memory Management (6 marks)
a) Explain main memory (RAM) management in an OS. (2 marks)
b) Differentiate between paging and segmentation. (2 marks)
c) A computer has 16 MB RAM and uses 4 KB page size.
Calculate the number of pages. (2 marks)
Question 3 : Process Management (6 marks)
a) Define a process and a process state. (2 marks)
b) Draw and label a simple process state diagram. (2 marks)
c) Explain two reasons why process management is essential in an OS. (2 marks)
Question 4 : CPU Scheduling (6 marks)
a) Define CPU scheduling and state its objective. (2 marks)
b) A CPU scheduler uses First-Come, First-Served (FCFS).
Given processes with arrival times and burst times :
Process Arrival Time Burst Time
P1 0 4
P2 1 3
P3 2 1
i) Draw a Gantt chart. (2 marks)
ii) Calculate average waiting time. (2 marks)
Question 5 : Advanced OS Scenario (6 marks)
A small company uses a multitasking OS. They notice the system slows down when several
programs run simultaneously.
a) Suggest two OS strategies to optimize CPU usage. (2 marks)
b) Explain two memory management techniques the OS can use to handle multiple processes
efficiently. (2 marks)
c) State two benefits of using preemptive scheduling in this scenario. (2 marks)

You might also like