0% found this document useful (0 votes)
42 views2 pages

SPE 2102 Operating System I Year I Semester I

Uploaded by

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

SPE 2102 Operating System I Year I Semester I

Uploaded by

nyakundip11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

UNIVERSITY EXAMINATION 2021/2022

YEAR I SEMESTER I EXAMINATION FOR THE DEGREE OF


BACHELOR OF SCIENCE IN SOFTWARE ENGINEERING
SPE 2102: Operating System I Year I Semester I

Date: Thursday, 3rd February 2022 Time: 11.00am – 1.00pm


INSTRUCTIONS
Answer question one (compulsory) and any other two
QUESTION ONE (30 MARKS)
a) Define the following terminologies as used in operating systems. (4 marks)
i. Program
ii. Thread
iii. Memory fragmentation
iv. Scheduling.
b) Operating systems exists from the first computer generation and they keep
evolving withtime. Discuss at least FOUR of the important types of operating
systems which are most commonly used. (6 marks)
c) An operating system provides services both to the users and to the programs.
Explain Six common services provided by an OS. (6 marks)
d) Described THREE different principles which must be considered while
selecting schedule Algorithm (6 marks)
e) Security refers to providing a protection system resource. Discuss at least
THREE security concepts provided by operating systems citing example of
each. (6 marks)
f) Explain context switch as used in operating systems. (2marks)
QUESTION TWO (20 MARKS)
a) With an aid of a diagram explain scheduling queue. (8 marks)
b) Based on the factor of wasting time, draw a comparison between round robin and
priority scheduling. (4 marks)
c) What is the difference between external and internal fragmentation in memory?
(4 marks)
d) List example of operating system used in computers including microcomputer.
(4 marks)
QUESTION THREE (20 MARKS)
a) Explain different states that exist in regard to process management. (6marks)
b) File access mechanism refers to the manner in which the records of a file may be
accessed. Explain the three ways to access files. (6 marks)
c) Deadlock is the phenomenon that arises when a number of concurrent processes
all become blocked waiting for another thread to make available resources, but it
can only be released by a thread that is till blocked. Discuss four conditions
required for deadlock and four strategies for testing with deadlock. (8 marks)
QUESTION FOUR (20 MARKS)
a) A process to be assigned to the CPU based on particular scheduling algorithms,
explain popular process scheduling algorithms. (10 marks)
b) Discuss FIVE important functions of an operating system. (10 marks)

QUESTION FIVE (20 MARKS)


a) Resource allocation is one of the main functions of an operating system. Explain the
two techniques to achieve this. (4marks)
b) Using a diagram, illustrate the condition of a deadlock (6marks)
c) Explain the salient attributes of a process in relation to operating system(4marks)
d) A process undergoes through a number of stages during its execution. With an aid
of diagram, discuss these states. (6marks

Page 2 of 2

You might also like