Question: no previous data Use any programming language for writing the code. A student is eligible for scholarships if he satisfies the below conditions: A. Student

Use any programming language for writing the code. A student is eligible for scholarships if he satisfies the below conditions: A. Student is between the age 18 and 24 (boundary value included) B. Student has lived in California for last 2 years, if he fails this criterion, check if satisfies D. C. Has worked part time for at least for 6 months in the relevant field of study, if he fails this criterion, check if satisfies E. D. Parents of the student have paid California state tax for at least 1 year in their lifetime. E. Has volunteered for a cause and has a valid proof of it. F. Has household income less than 5000$ per annum then one need not satisfy criteria C, he will be redirected to "Dean for consideration" 1. Write code for the above scenario with output as if whether a student is eligible for the scholarship or not (1,0, "Dean for consideration") 2. Draw a control flow diagram 3. Write test cases to cover "Branch coverage" and "Statement coverage". 4. Include a table showing Branch & Statement Coverages (as discussed in class)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
