System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q1171: Floating-point exceptions are handled using which control function?
- A: managefp
- B: controlfp
- C: fpEnable
- D: fpCatch
View Answer
B
Q1172: The handler function deals differently with each exception using _______.
- A: a loop
- B: statement filter
- C: filter function
- D: error count
View Answer
C
Q1173: The exception handling in the program is implemented using a:
- A: class
- B: macro
- C: control structure
- D: filter function
View Answer
D
Q1174: The switch-case structure allows selection based on _______ values.
- A: function
- B: case
- C: variable
- D: exception
View Answer
D
Q1175: The final block executes regardless of how the program is _______.
- A: started
- B: saved
- C: run
- D: terminated
View Answer
D
Q1176: eCategory helps in distinguishing between types of exceptions using _______.
- A: reference values
- B: control blocks
- C: filtering masks
- D: masked bits
View Answer
D
Q1177: The try block is used to _______.
- A: handle exceptions
- B: define handlers
- C: raise exceptions
- D: monitor exceptions
View Answer
D
Q1178: The program uses a switch structure to handle multiple _______.
- A: variables
- B: inputs
- C: exceptions
- D: conditions
View Answer
C
Q1179: Exception information is obtained using:
- A: GetExceptionData()
- B: GetInfo()
- C: GetExceptionInformation()
- D: GetExceptionType()
View Answer
C
Q1180: The final block is mainly used to restore _______ values.
- A: initial
- B: temporary
- C: original
- D: floating-point mask
View Answer
D