You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. If width > length then biggest_dimension = width else biggest_dimension = length end_if the following has been added to the bottom of the code fragment above. Print 'biggest dimension is ' &biggest_dimensionprint 'width: ' & width print 'length: ' & length how many more test cases are required?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Test Cases Interview Questions

How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?

0 Answers  


Please give me some example of the test cases to test the Google map search

3 Answers   CTS,


I have register form there is first name field.what will be the steps to execute test case???

2 Answers  


Can anybody help me out to write test cases for booking train ticket online???

0 Answers  


If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ; A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,






14. How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : - ………… if (Condition 1) then statement 1 else statement 2 fi if (Condition 2) www.istqb.guru then statement 3 a. 2 Test Cases b. 3 Test Cases c. 4 Test Cases d. Not achievable Please explain this how to solve?

1 Answers   ISTQB,


write a test case for employee income caculation it is awindows aplication when window is opened all options should be disabled except empno when user enter 3 charcters empname,empdes,basic should be displayed but they should be inactive,HRA,DA are active enter these two gross is displayed,enter tax then net income is displayed.all inputs must be integers and min is 1 and max is 4 charcters for all text boxes.gross =basic+HRA+DA and netincome= gross- tax

1 Answers  


Smoke Test Checklist for Gmail please someone help!

2 Answers   Microsoft,


how to write test cases for "Browse" button.

6 Answers   Accenture,


How can we write a good test case?

0 Answers  


Below is a user story where Dave, a dispatcher, wants to use a console system to talk to Fred, a person in the field. Create a list of test cases to verify these requirements have been properly met. User Story 3004 - Dave wishes to call Fred using a phone. Dave needs the ability to dial digits for an outbound call to Fred. The dial pad will have a display area for the digits being dialed. The dial pad will have the following functionality: Recall Dial Tone, Recall Last Number, Backspace Current Digit, and Phonebook (Contacts) Access. The dial pad must be touchable and the “Dial” button will be used to initiate the call. A prototype version of the dial pad is attached below. The dial pad will have the following configurable properties: Display Color, Display Font, Foreground Color, Location and Size.

0 Answers  


Explain the component testing?

0 Answers  


Categories