Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Style: Stop | ABlocks the bad entry completely. The user must fix it or cancel before moving on. | |
| 2Style: Warning | BThe message is not helpful. It does not say what is wrong or what the user should type instead. | |
| 3An input message guides the user BEFORE they type, so they know what is allowed | CInformation alerts only tell the user something and still allow the bad data. Stop should be used to block it. | |
| 4A helpful error message explains what went wrong and how to fix it | DTells the user the entry looks wrong but lets them choose to keep it anyway. | |
| 5Error message: Bad! | EError message: Pick a year level from 7 to 8 | |
| 6Style: Information (to block negative ages) | FInput message: Enter an age from 11 to 14 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Error alert — A message that pops up when someone enters data that breaks a validation rule. It can Stop the entry, Warn about it, or give Information, and a good message explains how to fix it.Rule: Whole number between 1 and 100
Error alert style: Stop
Message: Enter a whole number from 1 to 100.Rule: Whole number between 1 and 100
Error alert style: Warning
Message: Age should be 1 to 100. Keep it?Rule: Whole number between 1 and 100
Error alert style: Information
Message: Only 1 to 100 is expected.Input message: Type a mark from 0 to 100
Shows when the cell is selectedRule: List of Yes,No
Error alert style: Stop
Error alert message: Choose Yes or No.