Testing and documenting solutions test questions

1

One purpose of testing is to ensure that software is fit for purpose. Which of these terms is the correct explanation of the term ‘fit for purpose’?

2

Which testing technique is carried out by the programmer manually and does not involve the use of software to test the value of variables?

3

What is comprehensive testing?

4

Identify the error on line four?

Line 1 SET total TO 0Line 2 SET all_heights TO [1.87, 1.48, 1.57, 1.91, 2.01]Line 3 FOR EACH height FROM all_heights DOLine 4 IF height ˂=1.57 AND height ˂= 1.91 THENLine 5 SET total TO + 1Line 6 END IFLine 7 END FOR EACH

5

If a trace table were created, what would the values of the variables maximum and height be after the third iteration of the loop?

Line 1 SET all_heights TO [1.87, 1.48, 1.57, 1.91, 2.01]Line 2 SET maximm to all_heights (0)Line 3 FOR EACH height FROM all_heights DOLine 4 IF height ˃ maximum THENLine 5 SET maximum TO heightLine 6 END IFLine 7 END FOR EACH

6

What should happen if exceptional data is entered by a user when asked for an integer value?

7

What is extreme data?

8

A test plan can be informed by the outcome of discussion between the client and developers at which stage of the development process?

9

Identify a suitable set of normal test data for the value of a test percentage score.

10

This stage of the development process would result in source code being edited or created afresh. This would result in more testing. What is this stage of the process called?