Want to play a game?

Challenge yourself by answering these five questions.

Question 1

The following error message is supposed to target non-technical users:

  • You entered a bad age (32.6)

If you were reviewing this error message, which replacement error message would you recommend instead?

The specified age, 32.6, is a floating-point number instead of an integer.
The specified age, 32.6, contains a decimal point. Enter an age that doesn't contain a decimal point. For example: 32
You entered an age, 32.6, that our software can't process.

Question 2

Which one of the following error messages would be best for application programmers?

You forgot to open my_input_stream.
The call read_file(my_input_stream) failed because my_input_stream does not exist. To open a stream for reading, call the open_file function. For example: my_input_stream = open_file("~/.bashrc").
my_input_stream doesn't exist. Open my_input_stream before calling read_file.

Question 3

What problem do you see in the following error message:

  • The file you are attempting to upload is too big (12 MB). Please pick a smaller file and try again.
The error message doesn't provide a solution to the problem.
The problem statement is missing the maximum allowable file size.
The error message contains a double negative.

Question 4

What problem do you see in the following error message:

  • The specified file ('camelia.txt') does not exist. Pick a different datastore and try again.
The error message is overly apologetic.
The error message doesn't specify the problem.
The first sentence and second sentence use different terms for the same kind of object.
The error message blames the user.

Question 5

Consider the following error message displayed for a consumer appliance:

  • Error: Bad checksum. Change the battery in this device.

What error message would be more appropriate for a consumer appliance?

Your device has reported a bad checksum. Change the battery in this device.
The battery is starting to fail. Replace the battery as soon as possible by following these directions: <URL of battery replacement documentation>
The battery is starting to fail. Replace the battery as soon as possible by following these directions:
    1. Turn off the device by moving the switch from 1 to 0.
    2. Unlatch the battery case located in the rear of this device.
    ...
    10. Turn the device back on by moving the switch from 0 to 1.
The error message is fine as is.

Next unit: Summary