ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Testing >> Manual Testing
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions (5196)
 Manual Testing interview questions  Manual Testing Interview Questions (6474)
 QA Concepts interview questions  QA Concepts Interview Questions (655)
 Mobile Testing interview questions  Mobile Testing Interview Questions (111)
 Test Cases interview questions  Test Cases Interview Questions (469)
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions (58)
 Testing AllOther interview questions  Testing AllOther Interview Questions (608)
Question
Explain the difference between decision coverage and
condition coverage ? If possible provide few examples.
 Question Submitted By :: Manual-Testing
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Decision coverage - It checks whether every edge of the
program is covered or not i.e. each edge of every control
structure(i.e. IF and CASE statements)are covered or not.

Condition coverage - It checks whether every conditional
statements are covered or not. It evaluates for only true
and false condition for each conditional statement not every
edge of those conditional statement.
 
Is This Answer Correct ?    9 Yes 2 No
Mfsi_satyakamm
 
Answer
# 2
100% decision coverage is 100% statement coverage.but 100%
statement coverage is not 100% decision coverage.This is
because decision contains both true and false part.So 100%
statement coverage can not cover both true as well as
false.and if decision is covered that means automatically
the statement will be covered.
 
Is This Answer Correct ?    6 Yes 1 No
Priyanka Agrawal
 
 
 
Answer
# 3
Decision Coverage
-----------------
1.Generally it says The test inputs to cover all
decisions(for ex:IF) will be in such a way that,those test
inputs can be able to make that decision block both true and
false.
for ex:
if(a>b)
print a;
endif
if (b>c)
print c;
else
print b;
endif
so here we should make test inputs in such a way that it
should able to make first if true and false although there
is no else condition.same for the second if block.
condition coverage
------------------
Here condition refers to the all possible conditions
existing in the program that we can traverse.
for ex:
if((a>b) && (b>c))

here inside the decision block there are conditions which we
should traverse.
 
Is This Answer Correct ?    4 Yes 0 No
Mfsi_krushnas
 

 
 
 
Other Manual Testing Interview Questions
 
  Question Asked @ Answers
 
How to write a test case for Email and web address PAS-Technologies 3
Any body give me sample test plan?   1
I say “End user can also be involved during system testing?” Do you agree with me? if Yes or No….Why ?   4
What is PBX Testing & What is Test coverage?   3
wht is bug, deffect,issue,error   5
FTP is a application program to upload files to server write a test cases to check the system after successfull uploading we get the message files uploaded successfully? QualSoft 1
What is negative testing.   8
i have worked in 11 month duration project. interviewed person asked me for wat purpose you worked in that project and wat you worked. you worked for a long time in one project. its loss for the company you worked. CTS 4
Can any one give answer for this question. Suppose im having employee table with fields, eno, ename, dept, address1, address2, address3. In address field employee can fill only address1 or address2 or address3... at a time he can fill three address fields. now i want all employee names who filled only one address field.. Plz its urjent can any one give querry.. Thanks in advance. JPMorgan-Chase 2
what you consider in security testing particularly in web applications? CybAge 5
diff b/w test case and test script? IBM 3
How to Test Web Application Without a Formal Test Plan....? Infosys 1
 
For more Manual Testing Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com