Basic concepts of Software Testing - MCQs

Basic concepts of Software Testing - MCQs


1.Tester should not provide much attention to typographical defects.

a) True
b) False

View Answer / Hide Answer

ANSWER: b) False

Comment: Sometimes typographical errors can have significant impact like if company website shows wrong phone number because of typing mistake it can harm their business.




2.All defects result in failure. True or false

a) True
b) False

View Answer / Hide Answer

ANSWER: b) False

Comment: Some defects might remain dormant for longer time. E.g. Y2K problem remained dormant in system for longer period.




3. Errors, defects,failures are synonymous. True or false.

a) True
b) False

View Answer / Hide Answer

ANSWER: b) False

Comment:
Errors-Human action causing incorrect action
Defect -Flaw in system (that might or might not be noticed).
Failure- Difference between expected and actual result.




4. Testing helps to

a) Fix defect
b) Improve quality
c) Measure quality
d) All of the above.

View Answer / Hide Answer

ANSWER: c) Measure quality

Comment: Testing helps us to measure quality of product by finding defects in product. As soon as defects are fixed by developer quality of the is improved.




5. Software quality is measured by functional as well as non functional attributes.

a) True
b) False

View Answer / Hide Answer

ANSWER: a) True

Comment: E.g. Showing correct weather information by weather analysis software is functional attribute and showing it quickly enough is non functional attribute.




6. Quality is conformance to requirements. True or false.

a) True
b) False

View Answer / Hide Answer

ANSWER: a) True

Comment: When a particular product meets that requirement, it has achieved quality, provided that the requirement accurately specifies what customer actually need.




7. When Testing should be stopped?

a) When manager asks to stop
b) When time runs out
c) When enough money are spend on testing
d) It depends on risk associated with that project.

View Answer / Hide Answer

ANSWER: d) It depends on risk associated with that project.

Comment: If the risks associated with the project is high then testing should be done rigorously and it must be effective and efficient.




8. When can customer says quality of the product is too good?

a) Software meets its defined specification
b) Software is technically excellent
c) Software has few bugs
d) Software fulfills expectations of customer.

View Answer / Hide Answer

ANSWER: d) Software fulfills expectations of customer.

Comment: There are two different viewpoints of quality. The first three options views quality from developer's and tester's perspective but they may not provide quality solution for customer.




9. The difference between producer's viewpoint and customer's needs is called as Quality gap.
True or false.


a) True
b) False

View Answer / Hide Answer

ANSWER: a) True

Comment: There are two different viewpoints of quality. The first three options views quality from developer's and tester's perspective but they may not provide quality solution for customer.




10. Testing is only a phase in development life cycle activity. True or false.

a) True
b) False

View Answer / Hide Answer

ANSWER: b) False

Comment: Testing is process rather than single activity. Early testing helps to fix defect in cost effective manner so testing must be done at end of each life cycle activity.




11. When expected results should be specified, so they will be beneficial for execution?

a) When specified in advance
b) When specified during execution
c) When specified after execution
d) All of the above

View Answer / Hide Answer

ANSWER: a) When specified in advance

Comment: Defect is difference between actual and expected result so if we have expected result already specified depending upon them tester can easily say if particular test is pass or fail.




12. To make testing effective, software tester focuses more only on code. True or false.

a) True
b) False

View Answer / Hide Answer

ANSWER: a) True

Comment: Software tester does not focus only on code as software definition includes component of software like design document , requirement specification, user manual etc. Tester must test software products as well as related work products for effective testing.




13. Which of the following are objective of software testing?

a) Determines that software product satisfy specified requirements
b) Demonstrate that software products are fit for use
c) Detect defects
d) All the above

View Answer / Hide Answer

ANSWER: d) All the above




14. Which of the following is not an objective of testing?

a) Finding defects
b) Preventing defects
c) Gaining confidence in and providing information about level of quality
d) Fixing defects
e) All of the above

View Answer / Hide Answer

ANSWER: d) Fixing defects

Comment: Fixing a defect largely depends upon severity and priority of the defect.




15.Debugging and testing are same activities. True or False.

a) True
b) False

View Answer / Hide Answer

ANSWER: b) False

Comment: Debugging is done by developer to find the cause of defect and remove it while testing is done by tester to check if defects are fixed.




16. Building the software does not require a different mindset from testing the software. True or False.

a) True
b) False

View Answer / Hide Answer

ANSWER: b) False

Comment: Positive attitude is required for development of software while tester is looking for defects thus are critical of it.




17. Bug is same name of

a) Error
b) Incident
c) Mistake
d) Defect

View Answer / Hide Answer

ANSWER: d) Defect

Comment: Bug is synonym of defect




18. In which of the following situation defects arise?

a) No knowledge of system
b) System is used in wrong way
c) May have coded wrongly
d) Incorrect setup of testing environment
e) All the above

View Answer / Hide Answer

ANSWER: e) All the above




19. In which of the following situations can we say “there is a defect”?

a) A requirement is not implemented
b) A requirement is wrongly implemented
c) Something extra is implemented which is not specified in URS
d) All of the above

View Answer / Hide Answer

ANSWER: d) All of the above




20. Which of the following is largest bug producer?

a) Code
b) Design
c) Specification
d) other

View Answer / Hide Answer

ANSWER: c) Specification

Comment: Due to several reasons large no. of bugs are found in specification like miscommunication with customer,specification are not in written format, specifications are changing constantly.




21 . Which of the following are characteristics of good testing?

1. Testers should involve early in project development.
2. Every development activity corresponds with some testing activity.
3. Testing should instantly start once code is delivered to tester.
4. All test cases should be prepared before even code is written
5. All test basis should be reviewed.

a) 1,2,4
b) 1,3,4,5
c) 1,2,4,5
d) All of the above

View Answer / Hide Answer

ANSWER: c) 1,2,4,5




22.Which tasks should be performed before programmer starts writing first line of a code?

a) Build architect
b) Build design
c) Schedule the work
d) All of the above

View Answer / Hide Answer

ANSWER: d) All of the above




23. here testers can not find incidents?

a) requirements
b) Design
c) test cases
d) improvements suggested by users
e) user manual

View Answer / Hide Answer

ANSWER: d) improvements suggested by users


Post your comment