MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SOFTWARE ENGINEERING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Decision-Table is a way ____
A
Of representing multiple conditions
B
Of representing the information flow
C
To get an accurate picture of the system
D
All of these
Explanation: 

Detailed explanation-1: -A decision table is used to represent conditional logic by creating a list of tasks depicting business level rules. Decision tables can be used when there is a consistent number of conditions that must be evaluated and assigned a specific set of actions to be used when the conditions are finally met.

Detailed explanation-2: -In a decision table, conditions are usually expressed as true (T) or false (F). Each column in the table corresponds to a rule in the business logic that describes the unique combination of circumstances that will result in the actions.

Detailed explanation-3: -Decision tables are also known as cause and effect tables. To create a decision table, all possible conditions and their corresponding actions are listed down. Each condition is assigned a true or false value to test all possible combinations and to decide which action to take.

Detailed explanation-4: -Decision tables are very much helpful in test design technique. It helps testers to search the effects of combinations of different inputs and other software states that implement business rules. It provides a regular way of stating complex business rules which benefits the developers as well as the testers.

Detailed explanation-5: -In which two situations do decision tables work best? Decision tables are useful when complex combinations of conditions, actions, and rules are found or you require a method that effectively avoids impossible situations, redundancies, and contradictions.

There is 1 question to complete.