Read the following specification. The character in column 1 should be either A or B and in the column 2 should be a digit. If both columns contain appropriate values then update is made. If the input of column 1 is incorrect, i.e. neither A nor B, then message X will be displayed. If the input in column 2 is incorrect, i.e. input is not a digit, then message Y will be displayed.   A file must be updated, if the character in the first column is either "A" or "B" and in the second column it should be a digit. If the value in the first column is incorrect (the character is neither A nor B) then massage X will be displayed. If the value in the second column is incorrect (the character is not a digit) then massage Y will be displayed.   Draw a Cause-Effect graph for the above situation and generate test cases through the corresponding decision table.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section8.3: Random File Access
Problem 6E
icon
Related questions
Question

Read the following specification.

The character in column 1 should be either A or B and in the column 2 should be a digit. If both columns contain appropriate values then update is made. If the input of column 1 is incorrect, i.e. neither A nor B, then message X will be displayed. If the input in column 2 is incorrect, i.e. input is not a digit, then message Y will be displayed.

 

A file must be updated, if the character in the first column is either "A" or "B" and in the second column it should be a digit.

If the value in the first column is incorrect (the character is neither A nor B) then massage X will be displayed.

If the value in the second column is incorrect (the character is not a digit) then massage Y will be displayed.

 

Draw a Cause-Effect graph for the above situation and generate test cases through the corresponding decision table.

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Header Files
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr