Can u any 1 please explain the below question and answer?
Given the following code, which statement is true about the
minimum number of test cases required for full statement and
branch coverage?
Read p
Read q
IF p q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
a) 1 test for statement coverage, 3 for branch coverage
b) 1 test for statement coverage, 2 for branch coverage
c) 1 test for statement coverage, 1 for branch coverage
d) 2 tests for statement coverage, 2 for branch coverage
Answer Posted / dhruv
if p=55 and q=40 then?
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
I am having 2 years of experience in Manual Testing, 2marrow I have an interview with a Company. Which type of questions they will ask me?How should I prepare for interview?Please guide me so that I will clear the interview.
What is ecp (equivalence class partition)?
What is checkpoint? How can you handle the checkpoints?
Explain severity with example and expalin each example?
How do you know the code has met specifications?
what are the responsibilities for QA tester to test application on UNIX environment??? what skills required for unix???
Scenario-based testing Option 1 concentrates on actor and software interaction Option 2 misses errors in specifications Option 3 misses errors in subsystem interactions Option 4 Both 1 abd 2
Please explain me v-model clearly i want to know how it works and want to know how it use in real time on a project please tell me its urgent and important for me understand .Please tell me my mail id is Chiku_69@yahoo.in Thank u
What are the benefits of creating multiple actions within any virtual user script?
What is severity and priority of bug? Give some example.
What r all the security problems u r facing & the measures taken to solve.
i heard that mainframe testing is diff from other environments & has lot of keyboard input????pl clarify my doubt & let me know in what way its diff??
Information about Automated Software Installer
Unit Testing can be done by using Nunit?
What is the procedure of manual testing?