Question 28 (2 points) Which one is an Asynchronous event? Question 28 options:
ID: 3849821 • Letter: Q
Question
Question 28 (2 points)
Which one is an Asynchronous event?
Question 28 options:
illegal operation code
divided by zero
keyboard stroking
emulated instructions
Question 29 (2 points)
Consider the following program:
100 ADD
101 NAND
102 LW
103 NAND
104 BEQ
Handler:
200 LW
201 SUB
...
an interrupt occurs when the processor is executing NAND instruction.
What is the PC value that needs to be preserved to resume this program after the interrupt?
Question 29 options:
100
104
102
101
Question 30 (2 points)
Consider the following program:
100 ADD
101 NAND
102 LW
103 NAND
104 BEQ
Handler:
1000 Save $k0
1001 Enable Interrupts
1002 Save processor Registers
...
1020 execute device code
....
1102 Restore processor registers
....
1120 restore $k0
1121 return to original program
an interrupt occurs when the processor is executing NAND instruction.
Assume that a second interrupt occurs at the instruction "restore $k0" (PC = 1120).
What is the memory address stored in $k0?
Question 30 options:
102
1120
1121
1001
Question 31 (2 points)
The role of ____________ is to balance the mix of processes in memory to avoid thrashing.
Question 31 options:
Loader
dispatcher
medium term scheduler
short term scheduler
illegal operation code
divided by zero
keyboard stroking
emulated instructions
Explanation / Answer
Question 28
And: keyboard striking.
Asynchronous events occurs independent of program.
Question 29
Ans: 104
Question 30:
Ans: 1001
Question 31:
Ans: dispatcher
Dispatcher is uses to balance process ellocation and avoids collision.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.