Question
A.In general, current state will be saved in a predefined location and execution will switch to a predefined handler.
B. From the processing point of view, hardware interrupts are similar to resume able anomalies, although they are usually not related to the current program flow.
C. Depending on the situation, the handler may later resume the execution at the original location, using the saved information to restore the original state.
D. Anomalies are normally recommended to be used only for signaling error (exceptional) conditions.
E. For example, an anomaly which will usually be resumed is a page fault, while a division by zero usually cannot be resolved transparently.
B. From the processing point of view, hardware interrupts are similar to resume able anomalies, although they are usually not related to the current program flow.
C. Depending on the situation, the handler may later resume the execution at the original location, using the saved information to restore the original state.
D. Anomalies are normally recommended to be used only for signaling error (exceptional) conditions.
E. For example, an anomaly which will usually be resumed is a page fault, while a division by zero usually cannot be resolved transparently.
Answer: Option B
:
B
This kind of question may be difficult without background knowledge of the subject. However, it's best to be ready for all situations.
The two options for starting the paragraph are statements D and B.
Considering the choices for B, either statement E or statement C can follow. Neither of the sequences BCE or BCD makes sense, since the statements are discussing disconnected ideas. Hence, options C and D are eliminated.
Consider option A: Statement D does not fit in between statements A and C, since A talks of handler, and the current state being saved, while C talks of handler resuming, and the original state are being reverted to. Also, while BE seems plausible, EA is not a strong link at all. Hence, eliminate option A.
We are now left to choose between option B and option E. The DC link is weak in the option, as also the CA link. Hence, we choose option B over option E.
Analyzing the statement AB initio to validate our choice, note that there is a CE link because statement C states a specific point (resume), and statement E provides an example for that point. Also, there is an AC link because of ''...will switch to a predefined handler'', and ''...the handler may''.
Hence, the correct answer is option B.
Was this answer helpful ?
:
B
This kind of question may be difficult without background knowledge of the subject. However, it's best to be ready for all situations.
The two options for starting the paragraph are statements D and B.
Considering the choices for B, either statement E or statement C can follow. Neither of the sequences BCE or BCD makes sense, since the statements are discussing disconnected ideas. Hence, options C and D are eliminated.
Consider option A: Statement D does not fit in between statements A and C, since A talks of handler, and the current state being saved, while C talks of handler resuming, and the original state are being reverted to. Also, while BE seems plausible, EA is not a strong link at all. Hence, eliminate option A.
We are now left to choose between option B and option E. The DC link is weak in the option, as also the CA link. Hence, we choose option B over option E.
Analyzing the statement AB initio to validate our choice, note that there is a CE link because statement C states a specific point (resume), and statement E provides an example for that point. Also, there is an AC link because of ''...will switch to a predefined handler'', and ''...the handler may''.
Hence, the correct answer is option B.
Was this answer helpful ?
Submit Solution