Professional Documents
Culture Documents
MULTI-PROGRAMMING
6. What is an interrupt.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
7. How multiple interrupts are dealt with?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
8. What is a cache?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
9. What is the difference between multi-processor and multi-core system.
MULTI-PROCESSOR SYSTEM
10.
MULTI-CORE SYSTEM
11.
12.
A computer has a cache, main memory, and a disk used for virtual
access it. If it is in main memory but not in the cache, 60 ns are needed
to load it into the cache (this includes the time to originally check the
cache), and then the reference is started again. If the word is not in main
memory, 12 ms are required to fetch the word from disk, followed by 60
ns to copy it to the cache, and then the reference is started again. The
cache hit ratio is 0.9 and the main-memory hit ratio is 0.6.What is the
average time in ns required to access a referenced word on this system?
13.
Define a process.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
14.
List all the possible states of a process.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
15.
What are the elements of PCB?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
16.
are valid between the three states, and describe an event that might
cause such a transition.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
17.
What is the function of the ready queue?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
18.
What is the relationship between threads and processes?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
19.
DISADVANTAGES
21.
What is the function of dispatcher?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
22.
What is swapping and what is its purpose?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
23.
Why do we need two modes (user and kernel)?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
24.
What are the steps performed by an OS to create a process?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
25.
What is the difference between interrupt and trap?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
26.
List mechanisms for interrupting an execution of a process.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
27.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
28.
What is a thread?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
29.
state.
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
30.
What are the key benefits of threads compared to process:
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
31.
Define ULT advantage over and KLT
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________