Give a set of four test cases for the algorithm of Exercise R5.11 that covers all

Question:

Give a set of four test cases for the algorithm of Exercise •• R5.11 that covers all branches.

Data from Exercise R5.11

Each square on a chess board can be described by a letter and number, such as g5 in the example at right. The following pseudocode describes an algorithm that determines whether a square with a given letter and number is dark (black) or light (white).

image text in transcribed

Using the procedure in Programming Tip 5.5 , trace this pseudocode with input g5.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: