0% found this document useful (0 votes)
22 views2 pages

Pract7 PW

This document outlines test cases for controls and decision making statements. It includes 5 test cases with test case IDs, objectives, preconditions, steps, input data, expected data, actual data, and status. The test cases are designed to test an if statement with a number less than or equal to 10, an else statement with a number greater than or equal to 10, a for loop with a number less than or equal to 10, a do-while loop with a number less than or equal to 10, and a switch case with a number from 1 to 3.

Uploaded by

Om More
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

Pract7 PW

This document outlines test cases for controls and decision making statements. It includes 5 test cases with test case IDs, objectives, preconditions, steps, input data, expected data, actual data, and status. The test cases are designed to test an if statement with a number less than or equal to 10, an else statement with a number greater than or equal to 10, a for loop with a number less than or equal to 10, a do-while loop with a number less than or equal to 10, and a switch case with a number from 1 to 3.

Uploaded by

Om More
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Practical Number : 7

Design test case for controls and decision making state

Sr. NO Test Case_Id Test Case Objective Pre condition Step

1 TC_1 If Enter number <=10

2 TC_2 Else Enter number>=10

3 TC_3 For Enter number <=10

4 TC_4 Do_while Enter number<=10

5 TC_5 Switch_case Enter number 1-3


ctical Number : 7
ntrols and decision making statements
Student Name: Mayuri Fulpagare
Batch : A
Roll No: 19

Input Data Expected Data Actual Data Status

number should be
5 Accepting pass
accepted

20 Go in else part shifting in else part pass

5 Print 1 to 5 Printing 1 to 5 pass

5 Print 1 to 5 Printing 1 to 5 pass

2 Two Two pass

You might also like