Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GPYC Topic 6 Question 65 Discussion

Actual exam question for GIAC's GPYC exam
Question #: 65
Topic #: 6
[All GPYC Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Shawna
6 days ago
Casting? Really? I think that's more for converting data types, not handling user errors. Option B is the clear winner.
upvoted 0 times
...
Yun
7 days ago
Exception handling is definitely the way to go here. It allows you to catch and handle those unexpected inputs gracefully.
upvoted 0 times
...
Rebbecca
17 days ago
I'm not sure, but I think dictionaries could also be used to present an understandable error message.
upvoted 0 times
...
Maynard
18 days ago
I agree with Ria. Exception handling can help provide a clear error message.
upvoted 0 times
...
Ria
19 days ago
I think the programmer should use exception handling.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77