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

OS Practise Questions

past exam practise

Uploaded by

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

OS Practise Questions

past exam practise

Uploaded by

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

Operating Systems

Answer all questions

1. . Draw the state diagram of a process from its creation to termination, including all
Transitions, and briefly elaborate every state and every transition. [10]

2. What are the differences between traps and interrupts? What is the use of each? [10]

3. What is a process? What information does an operating system generally need to keep about
running processes in order to execute them? [10]

4. Memory management is important in operating systems. Discuss the main problems that can
occur if memory is managed poorly. [10]

5. What are the five major activities of an operating system in regard to file management? Why
is the file interface used in many modern systems to interact with devices as well as files? [10]

6. User-level threads are threads that are scheduled directly by the process they are part of rather
than by the kernel - the kernel schedules the processes, and any process that has threads
schedules them however it wants within its time slice. Describe briefly how such a scheme
would work. Describe any problems with such an implementation? [10]

7. a) What are interrupts? How are they handled by the operating system? [5]

b) What are the differences between user level and kernel supported threads [5]

c). Describe the contents of a Process Control Block (PCB). [5]

d) What is an operating system? List the typical functions of operating systems [5]

8. Gridlock is a term describing a traffic situation in which there are so many cars in the streets
and the intersections that essentially no car can move any direction because other cars are in the
way. Explain how this is the same as deadlock in an operating system by showing how each of
the four conditions for deadlock hold in this situation. [10]

9. Define the terms logical address and physical address. Explain the difference between logical
and physical addresses. [10]

You might also like