Questions from Operating Systems


Q: The program execution of Figure 1.4 is described in the

The program execution of Figure 1.4 is described in the text using six steps. Expand this description to show the use of the MAR and MBR. Figure 1.4:

See Answer

Q: Consider a hypothetical 32-bit microprocessor having 32-bit instructions

Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of two fields. The first byte contains the opcode, and the remainder an immediate operand or an operand address. a. Wh...

See Answer

Q: Consider a hypothetical microprocessor generating a 16-bit address (e

Consider a hypothetical microprocessor generating a 16-bit address (e.g., assume the program counter and the address registers are 16 bits wide) and having a 16-bit data bus. a. What is the maximum...

See Answer

Q: Consider a 32-bit microprocessor, with a 16-bit

Consider a 32-bit microprocessor, with a 16-bit external data bus, driven by an 8-MHz input clock. Assume this microprocessor has a bus cycle whose minimum duration equals four input clock cycles. Wha...

See Answer

Q: What is multiprogramming?

What is multiprogramming?

See Answer

Q: Suppose we have a multiprogrammed computer in which each job has identical

Suppose we have a multiprogrammed computer in which each job has identical characteristics. In one computation period, T, for a job, half the time is spent in I/O, and the other half in processor acti...

See Answer

Q: In the discussion of ULTs versus KLTs, it was pointed out

In the discussion of ULTs versus KLTs, it was pointed out that a disadvantage of ULTs is that when a ULT executes a system call, not only is that thread blocked, but also all of the threads within the...

See Answer

Q: Consider the following code: / a. Give

Consider the following code: a. Give one example of the spatial locality in the code. b. Give one example of the temporal locality in the code.

See Answer

Q: Suppose the hypothetical processor of Figure 1.3 also has two

Suppose the hypothetical processor of Figure 1.3 also has two I/O instructions: 0011=Load AC from I/O0111 =Store AC to I/O. In these cases, the 12-bit address identifies a particular external device....

See Answer

Q: Consider a memory system with the following parameters: Tc=

Consider a memory system with the following parameters: Tc=100 ns Cc=0.01 cents/bitTm=1,200 ns Cm=0.001 cents/bit a. What is the cost of 1 MByte of main memory? b. What is the cost of 1 MByte of main...

See Answer