Questions from Operating Systems


Q: In a number of early computers, an interrupt caused the register

In a number of early computers, an interrupt caused the register values to be stored in fixed locations associated with the given interrupt signal. Under what circumstances is this a practical techniq...

See Answer

Q: What are three objectives of an OS design?

What are three objectives of an OS design?

See Answer

Q: In Section 3.4 , it was stated that UNIX is

In Section 3.4 , it was stated that UNIX is unsuitable for real-time applications because a process executing in kernel mode may not be preempted. Elaborate.

See Answer

Q: You have executed the following C program: /

You have executed the following C program: What are the possible outputs, assuming the fork succeeded?

See Answer

Q: Assume at time 5, no system resources are being used except

Assume at time 5, no system resources are being used except for the processor and memory. Now consider the following events: At time 5: P1 executes a command to read from disk unit 3. At time 15: P5’s...

See Answer

Q: Figure 3.9b contains seven states. In principle, one

Figure 3.9b contains seven states. In principle, one could draw a transition between any two states, for a total of 42 different transitions. a. List all of the possible transitions and give an exampl...

See Answer

Q: For the seven-state process model of Figure 3.9b

For the seven-state process model of Figure 3.9b, draw a queuing diagram similar to that of Figure 3.8b. Figure 3.9b: Figure 3.8b:

See Answer

Q: Consider the state transition diagram of Figure 3.9b. Suppose

Consider the state transition diagram of Figure 3.9b. Suppose it is time for the OS to dispatch a process and there are processes in both the Ready state and the Ready/Suspend state, and at least one...

See Answer

Q: Table 3.13 shows the process states for the VAX/

Table 3.13 shows the process states for the VAX/VMS operating system. Table 3.13: a. Can you provide a justification for the existence of so many distinct wait states? b. Why do the following states...

See Answer

Q: The VAX/VMS operating system makes use of four processor access

The VAX/VMS operating system makes use of four processor access modes to facilitate the protection and sharing of system resources among processes. The access mode determines: Instruction execution pr...

See Answer