M3) Crane wind limits
A construction site limits crane work by the wind speed measured at the top of the crane. Table 1 gives the action for each wind speed w in meters per second.
Wind speed w (m/s) |
Action |
|---|---|
w < 10 |
Normal |
10 ≤ w < 15 |
Caution |
15 ≤ w < 20 |
Stop lifting |
w ≥ 20 |
Secure crane |
An engineer wrote the pseudocode in Listing 1 for the rule.
The engineer traces the pseudocode for every wind speed in a test set and compares each output with Table 1. With which test set do all tests pass, even though the pseudocode is defective?
- {4, 9.9, 12}
- {5, 16}
- {22}
- {9.9, 10, 14.9, 15}