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 / chakkaravarthi
answer is B
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What is middle ware testing?? what are the companies using this tech?
Hello testers I am an Bsc Hotel mgmt Degree holders but now am doin my software testin programme, side by MCA Master degree an have 6 months exp i testing in company.. i want to change my CV according IT based. so can anyone help me with sendin any sample CV of urs.. do me this favour it wil be very helpful for me prepare CV for interviews....
how many modules in ur bank project? what functionalities r there?how did u check? could u plz expalin ur banking project?
What are quality assurance and quality control?
How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }
What is the negative testing and example
What is the difference between Functional testing and Unit Functionality testing?
What is a code walk through?
Upps..., sorry my email id is this : preet405p@yahoo.com Thanks in advanced.
Hi, this is not a tech question, i have 4 yrs of experience in Mainframe systems, presently as a mainframe tester in pune, i just want to step towards south locatios(preferable hyd), suggest me the best way to get calls from hyd.
Which was the most interesting bug you found.
what is fusion testing and impact analysis???
Why you are selected software testing as career ?
What does entry and exit criteria mean in a project?
aplitue questions will be based on wich type ?