SOFTWARE ENGINEERING

SOFTWARE TESTING

TEST PLAN AND TEST CASE DEVELOPMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A ____ is a program point at which the control flow can diverge
A
Decision
B
Case Statement
C
Junction
D
None
Explanation: 

Detailed explanation-1: -A decision is a program point at which the control flow can diverge. Machine language conditional branch and conditional skip instructions are examples of decisions. Most of the decisions are two-way but some are three way branches in control flow.

Detailed explanation-2: -In computer science, a control-flow graph (CFG) is a representation, using graph notation, of all paths that might be traversed through a program during its execution. The control-flow graph was discovered by Frances E. Allen, who noted that Reese T. Prosser used boolean connectivity matrices for flow analysis before.

Detailed explanation-3: -Control flow testing is a form of white-box testing where the implementation of the code is known to the tester. The development team often performs control flow testing. This process determines and observes the execution paths of a program in a structured way. We use this technique to develop the test cases.

Detailed explanation-4: -A junction is a point in the program where the control flow can merge. Examples of junctions are, the target of a jump or skip instruction in ALP a label that is a target of GOTO.

There is 1 question to complete.