CompTIA
JK0-018 · Question #81
Which of the following pseudocodes can be used to handle program exceptions?
The correct answer is C. If program module crashes, then restart program module. See the full explanation below for the reasoning.
Question
Which of the following pseudocodes can be used to handle program exceptions?
Options
- AIf program detects another instance of itself, then kill program instance.
- BIf user enters invalid input, then restart program.
- CIf program module crashes, then restart program module.
- DIf user's input exceeds buffer length, then truncate the input.
How the community answered
(22 responses)- A5% (1)
- B5% (1)
- C77% (17)
- D14% (3)
Community Discussion
No community discussion yet for this question.