- With Intel architecture, to write 4000 bytes to a disk,
what is the minimum number of OUT instructions required? ________
- With zSeries architecture, to write 4000 bytes to a disk,
what is the minimum number of SSCH instructions required? _________
- What is the main advantage of using channels?
__________________________________________________
- How large is a disk with 20000 cylinders with 2 tracks/cylinder with
1000 sectors of 512 bytes on each track?
______________________________________________________
- Because my system uses SPOOLing, if my physical printer is turned off
when I tell my browser to print a page, what happens?
______________________________________________________
______________________________________________________
- Your personal computer spends a lot of time with the CPU in
"wait state". What causes it to exit wait state?
______________________________________________
- What would happen if the CPU was placed into a wait state while
all interrupts were masked?
_______________________________________________________
- Which of these events causes an interrupt? Mark the ones which do.
- ___ Execution of a valid branch instruction (if statement)
- ___ Disk controller finishes a seek operation to move the disk arm to
a certain cylinder.
- ___ Operating system setting the time for 100 ms.
- ___ The timer counting down to zero.
- ___ Instruction executed whose operation code is not a valid
instruction.
- ___ Program does a "call" via a branch to a library function.
- ___ Program does an SVC (or Intel INT) instruction.
- When a hardware interrupt occurs, it is critical that a certain
piece of code in the operating system is executed. Explain how
the hardware knows which piece of code to run.
_________________________________________________
_________________________________________________
_________________________________________________
- What is the name of the hardware which has the address of
the instruction currently executing?
INTEL _______
Mainframe _________