Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The next step is to develop a decision table. The decision table reflects the rules and the graph and shows the effects for all possible
The next step is to develop a decision table.
The decision table reflects the rules and the graph and shows the effects for all possible combinations of causes.
Columns list each combination of causes, and each column represents a test case.
A decision table will have a row for each cause and each effect.
A decision table for our simple example where
C C represent the causes,
E E E the effects,
columns T T T the test cases.
Entries in the table can be represented by
a for a cause or effect that is
present,
a represents the absence of a cause
or effect,
a indicates a dont care value
The input conditions or causes are:
C: Positive integer from to
C: Character to search for in the string
The output conditions or effects are:
E: Integer out of range
E: Position of character in the string
E: Character not found
The rules or relationships can be
described as follows:
If C and C then E
If C and not C then E
If not C then E
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started