Professional Documents
Culture Documents
Question and Answers
Question and Answers
محصــــــــــالنوچارو معاونیت
د ازموینو عمومې کمېټه
Lecturer Name: khalid Shinwari Faculty: Computer Science Department: IT & SE
Semester: 6th Subject Name: Operating System Paper Total Marks:80 Date: 1402/08/10 Time: 2 Hours
Part One: Concise descriptive questions, with each individual question being assigned a value of five (3) marks. Total Marks:15
Part Two: Comprehensive descriptive queries, with each individual question being assigned a value of five (5) marks. Total Marks:25
Q2: What are the necessary conditions which can lead to a deadlock situation in a system?
Deadlock situations occur when four conditions occur simultaneously in a system: Mutual
exclusion; Hold and Wait; No preemption; and Circular wait.
Logical address refers to the address that is generated by the CPU. On the other hand,
physical address refers to the address that is seen by the memory unit.
Part Three: Multiple Choice questions, with each individual question being assigned a value of five (2) marks. Total marks:20
Q4 Which one of the following errors will be handled by the operating system?
a) lack of paper in printer b) connection failure in the network
c) power failure d) all of the mentioned
Q7: When a process is in a “Blocked” state waiting for some I/O service. When the service is
completed, it goes to the __________
a) Terminated state b) Suspended state c) Running state d) Ready state
1. C 2. C 3. C 4. D 5. D
6. D 7. A 8. A 9. A 10 . A
Part Four: Midterm exam question, with each individual question being assigned a value of five (5) marks. Total mark:20
Paging is a memory management scheme that permits the physical address space of a
process to be noncontiguous. It avoids the considerable problem of having to fit varied-sized
memory chunks onto the backing store.
Fragmentation is memory wasted. It can be internal if we are dealing with systems that have
fixed-sized allocation units, or external if we are dealing with systems that have variable-sized
allocation units.