Software Testing Questions

Q:

What is "bug leakage?" and what is "bug release?"

Answer

A bug leakage results when a bug is detected which should have been detected in earlier builds/versions of the application.


A defect which exists during testing yet unfound by the tester which is eventually found by the tester/end-user is also called bug leakage.


A bug release is when a particular version of s/w is released with a set of known bug(s)/defect(s). These bugs are usually low severity and/or low priority bugs. It is done when the company can afford the existence of bug in the released s/w rather than the time/cost for fixing it in that particular version. These bugs are usually mentioned in the Release Notes.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

5 2237
Q:

Which is the simplest file structure?

A) Sequential B) Indexed
C) Random D) None
 
Answer & Explanation Answer: A) Sequential

Explanation:

Sequential is the simplest file structure

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Software Testing

2 2095
Q:

main()

{

float me = 1.1;

double you = 1.1;

if(me==you)

printf("yes");

else

printf("No");

}

A) Yes B) No
C) Both D) Compilation error
 
Answer & Explanation Answer: B) No

Explanation:

For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Software Testing
Job Role: Software Architect

2 656
Q:

Explain a.) Quality Assurance b.) Quality Control c.) Test Case d.) Test Condition e.) Test Script f.) Test Data g.) Test Bed

Answer

a.) Quality Assurance


Quality assurance is an activity that establishes and evaluates the processes that produce products. Quality assurance would measure processes to identify weaknesses and then correct them to continually improve the process: Eg. Code review.


b.) Quality Control


Quality control is a process in which the product's quality is compared with standards and corrective actions taken if required. Quality control activities focus on identifying defects in the actual products produced. Eg. Testing.


c.) Test Case


A test case is a unit level document describing the inputs, steps of execution and the expected result of each test condition for every requirement from the BRD. Testers determine whether the application is working correctly or not based on the test case that is being executed. A test case is marked as "Pass" if the application works as expected and is marked as "Fail" if otherwise. Test cases also aide in generating test status metrics.


d.) Test Condition


Test condition is the condition on which the test execution evaluates to pass or fail. Eg of a test condition: Set Password field should accept a mix of Alphanumeric and Special characters on mandatory basis and throw error message otherwise.


e.) Test Script


Test script is the set of instructions performed on the application to verify its functions.


f.) Test Data


Test data is the input data used to test a particular functionality. Eg: Username and password to test a login screen.


g.) Test Bed


Test bed is the environment on which the testing is done and includes the software and hardware set up that is required for testing the application.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 619
Q:

Of the following tree structure, which is, efficient considering space and time complexities?

A) Incomplete Binary Tree B) Complete Binary Tree
C) Full Binary Tree D) None
 
Answer & Explanation Answer: B) Complete Binary Tree

Explanation:

Full binary tree loses its nature when operations of insertions and deletions are done. For incomplete binary trees, extra storage is required and overhead of NULL node checking takes place. So complete binary tree is the better one since the property of complete binary tree is maintained even after operations like additions and deletions are done on it.

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Software Testing

0 594