Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

part c no:2 For the program given below: Draw the Control Flow Graph (CFG) Find its Complexity (CC). How many test cases are required for

part c no:2 image text in transcribed
For the program given below: Draw the Control Flow Graph (CFG) Find its Complexity (CC). How many test cases are required for each of: Statement testing Branch testing Path testing. Exhaustive testing assuming that the maximum number of records is 5. (Justify your answers). Give an example set for test cases of the branch testing. Program Q_4 A= 0; B =0; Read new_rec; {read a new record (X, Y)} Repeat While A> = 0 OR B> = 0 Do If (A 0 Then Print A, X Else Print B, Y End If Read new_rec; Until End - of -File End

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago