Testing+Exercises+1


 * Testing: Identify the design stage errors**

From the list of design stage errors shown below, identify which of the design stage errors they apply to.

Design Stage Errors
 * Incorrect interpretation of the specification
 * Incomplete logic
 * Not thought of all special cases
 * Poor error handling
 * Bad time planning

1. Edinsoft are developing a computer program to manage employee pay. When they first agreed the contract with the client, the project was due for completion in August 2009. By January 2010 the program had still not been completed.

2. Yammo Ltd have recently produced a program for their client, Long Haul Transport. The client uses the program to log the distances which their lorry drivers travel each day. Long Haul Transport asked for the program to produce these distances in miles and kilometres, but the final program only produces the distances in kilometres.

3. Nu-International Computers are writing a program which takes in as input a range of information about a user's film interests, and then offers some new film recommendations. Nu-International's design team have developed the following pseudocode design. IF year_of_birth < 1900 THEN Display "????" END IF

4. A program is being designed to help companies decide who the best candidates for a job are. The program takes as input the candidate's age, candidate's current salary and the candidate's experience. The pseudocode to get the best candidates was designed as follows: IF candidate_age is close to required_age AND candidate_salary is close to job_salary THEN add candidate to interview list END IF