9
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:   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.

Q:

What methodologies have you used to develop test cases?

Answer

 I have used following 4 types of Methodologies: 


 


1. Boundary value analysis   


2. Equivalence partitioning   


3. Error guessing   


4. Cause effect graphing

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2368
Q:

What is the difference in writing the test cases for Integration testing and system testing?

Answer

Integration testing is done at module level when various modules are integrated with each other to form a system or sub-system. Its main purpose is to ensure that interfaces between various modules are working properly; i.e. modules which are working individually are also working correctly together.


System testing is done on a complete, integrated system to evaluate the system’s compliance with its specified requirements. It validates that the system meets its functional and non-functional requirements.


From these definitions, it is clear that the purpose of Integration and purpose of System Testing are different. Therefore, Integration test cases focus more on the interfaces between modules (interface integrity) - the data transfer and their interaction with each other. System test cases focus on testing the product as a whole; i.e. whether the functional, non-functional requirements of the System are met or not. Since System Testing is the final phase before delivery of the product, System test cases should pinpoint configuration related errors along with testing for performance, security, reliability etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

1 1773
Q:

What are the roles of glass-box and black-box testing tools?

Answer

Glass Box (or white box) testing is the process of giving i/p to the system and checking how the system processes i/p to generate o/p


Black Box testing is the process of giving i/p to the system and checking if the system is giving correct o/p without bothering how the o/p is generated.


As we can see from the definitions, the role of black box testing is to ensure that the o/p generated is correct. And role of white box testing is to ensure that methods used to generate the o/p are correct.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 1839
Q:

What are the key challenges of software testing?

Answer

Key Challenges of s/w testing:


1. Testing considered late in project


2. Requirements not testable


3. Integration is done after all components have been developed: This might result into full testing not being covered.


4. Complete testing is not possible

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2794
Q:

What is the value of a testing group? How do you justify your work and budget?

Answer

Testing is a process used for revealing defects in s/w and for establishing that the s/w has attained a specific degree of quality.


The s/w testing group’s main objective is to ensure that the s/w is doing what it is supposed to do as well as the s/w is not doing what it is not supposed to do. With this objective, it is clear that it is necessary to have a separate group for testing the s/w other than the group which developed it.


Also, bugs in the s/w can cause severe monetary as well as other loss to the organization. So it is important to allocate some budget for the testing group.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

1 2040
Q:

Benefits of Software Quality Assurance to the organization

Answer

The main task of Software Quality Assurance Group is to examine the overall s/w development process and to create and enforce standards and methods to improve it with the goal of preventing bugs from ever occurring. With this definition, it is imperative that the QA helps an organization in continuous performance improvement and strive for perfection.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 1915
Q:

What is the role of QA in a project development?

Answer

The word assurance means ‘guarantee’. So the Quality Assurance Group’s role is to guarantee that the product is of high quality. They examine the overall s/w development process and their responsibility is to create and enforce standards and methods to improve it with the goal of preventing bugs from ever occurring.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2423
Q:

What are the parameters of Quality cost?

Answer

The parameters of Quality Cost are:


Speed
Accuracy
Efficiency
Performance
Customer Satisfaction

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

2 1791