GeekInterview.com
Series: Subject: Topic:

Whitebox Testing Interview Questions

Showing Questions 1 - 20 of 47 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

What is data flow testing present in whitebox testing?

Asked By: timmy | Asked On: Mar 30th, 2007

Answered by: Sandhya.Kishan on: Mar 9th, 2012

Data flow testing is a White-box test design technique.The testing is based on selecting paths through the programs control flow in order to find the sequence of events related to the status of data objects.It uses control graph to find the anomalies.

How is whitebox testing used with integration testing?

Asked By: Robert | Asked On: Mar 31st, 2007

Answered by: Sandhya.Kishan on: Mar 9th, 2012

Integration testing looks at how all components of an application interact. White box integration tests specifically look at the interfaces between the components.

What are the analysis a tester should perform before carrying out whitebox testing?

Asked By: SriramKrishna | Asked On: Mar 31st, 2007

Answered by: Sandhya.Kishan on: Mar 9th, 2012

White box testing provides the testers with complete knowledge of the infrastructure to be tested, often including network diagrams, source code, and IP addressing information. It can be performed to...

What is equivalence partitioning (ep) and boundary value analysis (bva) in whitebox testing?

Asked By: JohnMathew | Asked On: Mar 31st, 2007

Answered by: mfsi_chinmayb on: Feb 24th, 2012

Equivalence partitioning , a Black box Technique , is done mostly on Data inputs derived from the requirement specification.It is done rarely on Output data. >The set of input datum are divided into...

Answered by: bhanuprakashjanumpally on: Jul 15th, 2008

Equivalence partitioning (EP) will decides the type of value where as boundary value analysis (BVA) will decides the boundary of that valueex:write a name? it should be having minimum 3 aharacters and...

What is cyclomatic complexity?

Asked By: raghuramsuravarapu | Asked On: Jun 20th, 2006

Answered by: mfsi_chinmayb on: Feb 17th, 2012

Cyclomatic complexcity is a methodology to measure the complexity at a certain area of code.In other words it an another way to reach at defect clustering. Cyclomatic complexity is to measure the nu...

Answered by: rameshn3 on: Jun 10th, 2008

Cyclomatic Complexity is software metric that provides a quantitative measure of the logical complexity of a program. Cyclomatic complexity defines the number for independent paths in the basis set of...

How to calculate branch and statement coverage for these?

Asked By: hereforquestions | Asked On: Jul 16th, 2008

Switch pc onstart “outlook”if outlook appears thensend an emailclose outlooka) 1 test for statement coverage, 1 for branch coverageb) 1 test for statement coverage, 2 for branch coveragec) 1 test for statement coverage. 3 for branch coveraged) 2 tests for statement coverage, 2 for branch coveragee) 2...

Answered by: Nishant jain on: Jan 24th, 2012

For both the questions Option B is correct.

Answered by: Chanchal on: Sep 16th, 2011

For 1st question: Answer is a.
For 2nd question: Answer is b.

What are coverage techniques?

Asked By: wankhederan | Asked On: Jan 20th, 2008

What are coverage techniques? Type of coverage? Please explain me with example.Thanks in advance.

Answered by: mfsi_chinmayb on: Dec 21st, 2011

Hi
Coverage is the measurement of how much the test case is being exercised.

It includes :

Statement Coverage
Branch coverage/Decision coverage
Condition coverage
Path coverage

These all are part of static test techniques which are done before execution of the code

Answered by: ekta_28bhatia on: Jan 27th, 2010

I believe, you meant to ask 'Coverage Measurement Techniques'. We use diff matrices to measure that....diff coverage types are Path coverage, statement coverage,branch coverage etc.

Statement and decision coverage

Asked By: lukaM2i3 | Asked On: Feb 14th, 2011

Considering the following pseudo-code, calculate the minimum number of test cases for statement coverage, and the minimum number of test cases for decision coverage respectively.Read aread bread cif c>a thenif c>b thenprint "c must be smaller than at least one number"elseprint "proceed to next stage"endifelseprint...

Answered by: mfsi_chinmayb on: Dec 21st, 2011

Hi
The Ans is A. 3,3

Answered by: b177y on: Feb 17th, 2011

The answer is A we need minimum 3 statement and 3 decision to meet full coverage

Code compliance testing

Asked By: mathan_vel | Asked On: Oct 23rd, 2009

What to you mean by code compliance testing? What are the areas to be check in SQL server code compliance testing?

Answered by: mfsi_chinmayb on: Nov 9th, 2011

Hi Compliance testing can be described as a process of checking whether the product is meeting with certain predefined standards prescribed as per certain organization. Compliance testing is done by...

Answered by: ekta_28bhatia on: Jan 27th, 2010

I believe, Code Compliance Testing means to test whether the code is following the set of coding standards set prior to coding.

What is meant by API testing? Explain the API testing process.

Asked By: Harish | Asked On: Jul 9th, 2007

Answered by: amit on: Aug 29th, 2011

During testing, a test harness-an application that links the API and methodically exercises its functionality-is constructed to simulate the use of the API by end-user applications. The interesting pr...

Answered by: mathan_vel on: Nov 18th, 2009

During testing, a test harness-an application that links the API and methodically exercises its functionality-is constructed to simulate the use of the API by end-user applications. The interesting pr...

100% path and decision coverage

Asked By: shruti.girdhar | Asked On: Jun 25th, 2008

How many test cases are needed to have 100% path coverage and decision coverage in the following code. if (conditiona){ c=c+1}if(conditionb)d=d-1elsee++consider condition a and condition b are independent.

Answered by: cnukala on: Dec 5th, 2010

2 + 1 = 3.

3 is the right answer.

Answered by: anjali.puretrainings on: Aug 13th, 2009

Path coverage = 2
Decision coverage = 4

What are the tables in testplans and testcases?  this concept is related to whitebox testing in SQL.

Asked By: Interview Candidate | Asked On: Sep 2nd, 2005

Answered by: syedbaji56 on: Mar 17th, 2010

Validation Table and User Requirements Testcase

Answered by: pushpaseenu on: Jul 21st, 2008

A test case may be the smallest unit of testing. Consists of Testing steps, testing requirements, pre-conditions, post-conditions,Boundary value analysis.

A Test plan has an approach, tools to be used, who is the tester, schedule, risk analysis.

1.Why white box testing is also known by the following names? A) GLass box testing b) clear box testing c) open box testing d) structural testing 2. Which of the following testing is least expensive...

Asked By: Sandeep Koul | Asked On: Feb 1st, 2007

Answered by: amoke on: Nov 20th, 2009

b) Clear Box Testing

Answered by: G.Nagasrikanth on: Nov 20th, 2007

White box: if one performs testing on structural part of application then that method testing is know as white box testing. Usually developers are white box testers performing testing

Why does a user perform whitebox testing, when black box testing is available?

Asked By: christia | Asked On: Mar 31st, 2007

Answered by: mathan_vel on: Nov 18th, 2009

We cant run the whole application with the BVA, EP, Decision table, Error Guessing with Black box Testing techniques. To ensure the test is covered with Branch, statement, Path condition with test dat...

Answered by: Sumi C Aeranat on: Apr 7th, 2007

Though white box  method of test design can uncover an overwhelming number of test cases, it might not detect unimplemented parts of the specification or missing requirements. But you can be sure that all paths through the test object are executed

What are the other names of whitebox testing?

Asked By: janelyn | Asked On: Mar 30th, 2007

Answered by: mathan_vel on: Nov 18th, 2009

Clear Box Testing
Glass Box Testing
Transparent Box Testing
Translucent Box Testing or Structural Testing

Answered by: parul on: Oct 10th, 2007

glass box testing, clear box testing ,structural testing, open box testing

Unit test case

Asked By: mathan_vel | Asked On: Sep 25th, 2009

Why unit test case is much important in coding phase? Who will prepare and execute the unit level test cases? What are the documents needed for unit test case?

Answered by: deepti08 on: Nov 18th, 2009

Unit Test Case are written by development team or we can say component testers. Unit test cases are important during coding because we can test our new code with these test cases. Documents required is test cases list what we are executing fot unit test cases.

What is the difference between path coverge and cyclomatic complexity?

Asked By: krishan | Asked On: Mar 9th, 2007

Answered by: karpagam. on: Oct 24th, 2009

Cyclomatic complexity gives the number of independent paths in the program, which should be tested.We can find the cyclomatic complexity by representing the program as flowgraph notation or writing ...

Given the following code, which is true about the minimum number of test casesrequired for full statement and branch coverageread pread qif p+q > 100 thenprint "large"endifif p > 50 thenprint "p large"endIFA)...

Asked By: durga_geek | Asked On: Jan 3rd, 2007

Answered by: mathan_vel on: Sep 25th, 2009

Answer: B) 1 test for statement coverage, 2 for branch coverage

Answered by: helloworld08 on: Sep 13th, 2008

option - b) is the correct answer. 1) if p = 51, Q= 50 it will cover all the statements. so, one test for statement coverage.2) for branch coverage:a)  P+Q> 100 AND P>50 (True)b)  P+Q ...

What are all the tools available for white box testing?

Asked By: raajsundaar | Asked On: Jul 14th, 2008

Answered by: maguschen on: Jul 2nd, 2009

IBM Rational Purify
Pex, Automated White box Testing for .NET

Answered by: ekta_28bhatia on: Jan 7th, 2009

Few tools are :
Source Code Analyzers, Debugger and Fault Injectors.

What are dirty test cases?

Asked By: JohnMathew | Asked On: Mar 31st, 2007

Answered by: mathan_vel on: Apr 16th, 2009

The Test Case is known as Dirty Test Cases

*Which is not meaningfull
*Not understandable by others.
*not covered according to the fuctionality
*not be the part in the Traceability Matrix
*Steps are not meaningfull

Answered by: ekta_28bhatia on: Jan 7th, 2009

They are also know as Abuse Cases in context of white box testing.

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".