Question: int limit = 1 0 ; inputy: Input x ; for ( inti = 1 ; iclimit;i + H ) ; ( : y =

int limit =10;
inputy:
Input x;
for (inti=1; iclimit;i+H)
;
(:y=y+i2}
print (")=(3;
Draw a Control Flow Groph to compute the Cyclomatic complexity of the above program. (3 marks)
Q7: Consider the following scenario: (3.5 marks)
Consider e function implemer ting the following policy for awarding merit cum means scholarship to the students No students would be considered for the scholarship if he is in receipt of any other scholarship or if he is haviag a backlog in any subject. Further, the parental income must be less than 100K per year and the student's current CGPA must be at least 7. However, a student with parental income upto 200K may be awarded the scholarship if his/her cument CGPA is at least B. At least how many test cases are required for conditionai testing? (You may necd to create a decision table for answering the above scenerio|
 int limit =10; inputy: Input x; for (inti=1; iclimit;i+H) ; (:y=y+i2}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!