GPYC Exam QuestionsBrowse all questions from this exam

GPYC Exam - Question 4


A user enters unexpected data into program. Which functionality can the programmer use to present an understandable error message to the user?

Show Answer
Correct Answer: B

A programmer can use exception handling to present an understandable error message to the user when unexpected data is entered. Exception handling allows the programmer to detect errors during program execution and respond with appropriate and user-friendly error messages, improving the program's robustness and user experience.

Discussion

1 comment
Sign in to comment
VenudharOption: B
Nov 18, 2023

The option isB