VET Institute of Arts and Science
(Co-education) College
(An Institution Run by Vellalar Educational Trust)
(Affiliated to Bharathiar University)
Thindal, Erode – 638 012.
Semester : V: IIISubject : Software Testing
Semester Subject : Java Programming
Subject incharge: Dr. D. Karthika
Multiple Choice Questions:
1. In the analysis phase the development of the_______occurs,
which is a clear statement of the goals and objective of the
project.
a) Documentation b) Flow chart
c) Program Specification d) Design
2. Scenario based testing is ____________
a) concentrates on actor and software interaction
b) misses error in specification
c) misses errors in subsystem interaction
d) Both a and b
3. The testing technique that requires devising test causes to
demonstrate that each program function is operational is
called __________
a) Black-box Testing b) Glass-box Testing
c) Gray-box Testing d) White-box Testing
4. Which is non-functional software testing?
a) Unit b) Black box
c) Performance d) Regression
5. Acceptance testing is known as ___________
a) Beta Testing b) Gray-box Testing
c) Test Automation d) White-box Testing
SCHOOL OF COMPUTER SCIENCE –III CS Page 1
6. System testing involves ______ kinds of activities
a) 1 b) 2
c) 3 d) 4
7. Regression testing conducted manually using ________
a) Re-executing the subset b) capture tool
c) playback tool d) All the above
8. Defect management process does not include __________
a) Defect prevention b) Deliverable base-lining
c) Management reporting d) Quality assurance
9. A metric is used to measure the characteristic of documentation and
code called as _________
a) Process metrics b) Product metrics
c) Test metrics d) defect database
[Link] inputs of developing test plan are taken from ____
a) Project plan b) Business plan
c) Support plan d) Document plan
11. Testing helps us to __________ of product by finding defects in
product.
a. Fix defect b. Improve quality
c. Measure quality d. All of the above
12. Which of the following is not an objective of testing?
a. Finding defects b. Preventing defect
c. Gaining confidence in and providing information about level of
quality d. Fixing defects
13. Black box testing is only functional testing.
a. True b. False
14. Which technique is applied for usability testing?
a. White box b. Black box
c. Grey box d. Combination of all
SCHOOL OF COMPUTER SCIENCE –III CS Page 2
15. Which testing is concerned with behaviour of whole product
as per specified requirements?
a. Acceptance testing b. Component testing
c. System testing d. Integration testing
16. System testing only deals with functional requirements.
a. True b. False
17. What is the main purpose of integration testing?
a. Design errors b. Interface errors
c. Procedure errors d. None of the above
18. Which of the following is the main advantage of Top Down
Integration Testing?
a. Major decision points are tested early.
b. Modules are not tested by team again and again.
c. No stubs need to be written
d. None of the above.
19. What is Pesticide Paradox?
a. If the same tests are repeated over and over again ,
eventually the same set of test cases will no longer find
any new bugs.
b. A small number of modules contain most of the defects.
c. Testing can show that defects are present , but can not
prove that there are no defects.
d. Finding and fixing defects does not help if the system built
is unusable and does not fulfill the users need and
expectations.
20. ________ is an indication of the relative interdependence
among modules.
a. Cohesion
b. Coupling
c. Modularity
d. Cohesion and coupling.
SCHOOL OF COMPUTER SCIENCE –III CS Page 3
21. Which of the following are types of code review?
a. Code walkthrough b. Code inspection
c. Both a & b d. None of these
22. Which methodology is used to performed Maintenance testing?
a. Breadth test and depth test b. Confirmation testing
c. Retesting d. Sanity testing
23. Which of the following is not part of the Test document?
a. Test Case b. Requirements Traceability Matrix [RTM]
c. Test strategy d. Project Initiation Note [PIN]
24. Which term is used to define testing?
a. Evaluating deliverable to find errors b. Finding broken code
c. A stage of all projects d. None of the above
25. Which of the following is not a valid phase of SDLC (Software
Development Life Cycle)?
a. Testing Phase b. Requirement Phase
c. Deployment phase d. Testing closure
26. Which of the following testing is also known as white-box
testing?
a. Structural testing b. Error guessing technique
c. Design based testing d. None of the above
27. Which of the following testing is related to the boundary value
analysis?
a. White box and black box testing b. White-box testing
c. Black box testing d. None of the above
28. Functional testing is a ______
a. Test design technique b. Test level
c. SDLC Model d. Test type
SCHOOL OF COMPUTER SCIENCE –III CS Page 4
29. What are the different levels of Testing?
a. Integration testing b. Unit testing
c. System testing d. All of the above
30. Which of the following is not a part of STLC (Software
Testing Life Cycle)?
a. Testing Planning b. Requirement Gathering
c. Test Design d. Testing closure
31. Sanity testing is a _______
a. Test type b. Test Execution Level
c. Test Level d. Test design technique
32. White box testing techniques are?
a. Statement coverage testing b. Decision coverage testing
c. Data flow testing d. All of the above
33. In which environment we can performed the Alpha testing?
a. User's end b. Developer's end
c. User's and developer's end d. None of the above
34. Which of the below is not a part of the Test Plan?
a. Schedule b. Risk
c. Incident reports d. Entry and exit criteria
35. Exploratory testing is a _______
a. Experience-based Test Design Technique
b. White Box Test Design Technique
c. Black Box Test Design Technique
d. Grey Box Test Design Technique
36. What is the best time to perform Regression testing?
a. After the software has been modified
b. As frequently as possible
c. When the environment has been modified
d. Both option a & c
SCHOOL OF COMPUTER SCIENCE –III CS Page 5
37. Does the customer get a 100% bug-free product?
a. Product is old b. Developers are super
c. The testing team is not good d. All of the above
38. Cyclomatic complexity is?
a. White-box testing b. Black box testing
c. Grey box testing d. All of the above
39. Which of the following is not part of the Test type?
a. Function testing b. System testing
c. Statement testing d. Database testing
40. Which Test Document is used to define the Exit Criteria of Testing?
a. Defect Report b. Test Summary Report
c. Test Case d. Test Plan
41. Impact analysis helps us to decide which of the following testing?
a. Exit Criteria
b. How much regression testing should be done?
c. Different Tools to perform Regression Testing
d. How many more test cases need to write?
42. Which testing technique is used for usability testing?
a. White-box testing b. Grey box testing
c. Black Box testing c. Combination of all
43. Which is not the right approach of Incremental testing approach?
a. Big bang approach b. Top-down approach
c. Functional incrimination d. Bottom-up approach
44. In which environment we can performed the Beta testing?
a. User's and developer's end b. Developer's end
c. User's end d. None of the above
SCHOOL OF COMPUTER SCIENCE –III CS Page 6
45. What is error guessing in software testing?
a. Test control management techniques
b. Test verification techniques
c. Test execution techniques
d. Test case design/ data management techniques
46. After which phase, we can proceed to the white box testing?
a. After the coding phase b. After designing phase
c. After SRS creation d. After the installation phase
47. The test levels are performed in which of the following order?
a. Unit, Integration, System, Acceptance
b. It is based on the nature of the project
c. Unit, Integration, Acceptance, System
d. Unit, System, Integration, Acceptance
48. "V" model is?
a. Test type b. Test Level c. Test design technique
d. Software development testing (SDLC) model
49. Which of the below testing is executed without documentation
and planning is known as?
a. Regression Testing b. Adhoc Testing
c. Unit Testing d. None of the above
50. Which of the below testing is related to Non-functional
testing?
a. Unit Testing b. Black-box Testing
c. Performance Testing d. None of the above
51. The Regression test case is not a ________
a. Tests that focus on the software components, which have
been modified.
b. Low-level components are combined into clusters,
which perform a specific software sub-function.
SCHOOL OF COMPUTER SCIENCE –III CS Page 7
c. Additional tests that emphasize software functions, which are
likely to be affected by the change.
d. A representative sample of tests, which will exercise all software
functions.
52. Generally, which testing is used when shrink-wrapped software
products are being established and part of an integration testing?
a. Integration Testing b. Validation testing
c. Regression Testing d. Smoke testing
53. Which of the following statement is used to discover errors in
the test case?
a. Incorrect logical operators or precedence
b. Non-existent loop termination
c. Comparison of different data types
d. All of the above
54. The Decision table testing is a ________
a. White box Test Design Technique
b. Black Box Test Design Technique
c. Experience-based Test Design Technique
d. Grey Box Test Design Technique
55. When we have to stop the testing?
a. The faults have been fixed b. All the tests run
c. The time completed d. The risk is resolved
56. _____ are those software mistakes that occurred during the
coding phase?
a. Defects b. Failures c. Errors d. Bugs
57. Which of the following is not a valid software testing technique?
a. Inspections b. Data flow analysis c. Error guessing
d. Walkthrough
SCHOOL OF COMPUTER SCIENCE –III CS Page 8
58. Define the term verification in V and V model?
a. Checking that we are building the system right
b. Making sure that it is what the user wants
c. Performed by an independent test team
d. Checking that we are building the right system
59. ITG stands for _______
a. Integration Testing Group b. Instantaneous Test Group
c. Independent Test Group d. Individual Testing Group
60. Which of the following testing is refers to as a fault-based
testing technique?
a. Stress testing b. Mutation testing
c. Beta testing d. Unit testing
61. Which of the following testing tool does not supported by
Database Testing?
a. Unified Functional Testing [UFT]
b. Selenium
c. Rational Functional Tester [RFT]
d. Application Lifecycle Management [ALM]
62. _______ is one of the reputed testing standards.
a. Microsoft b. ISO c. QAI d. M Bridge awards
63. -------- is not used in evaluating the size of the software.
a. Function points b. KLOC
c. Size of module d. None of the above
64. Which of the following tool is not an open-source tool?
a. Cucumber b. Selenium c. Bugzilla d. BugHost
65. A logical collection of test cases which naturally work
together is called as _______ .
a. Test log b. Test procedure c. Test data d. Test suite
SCHOOL OF COMPUTER SCIENCE –III CS Page 9
66. The correct sequence of software testing phases is:
a. Integration -> Acceptance -> Unit -> System
b. Unit -> Integration -> System -> Acceptance
c. System -> Unit -> Integration-> Acceptance
67. Alpha testing is ____
a. Type of acceptance testing done by end-users in the live
environment
b. Type of unit testing done by the developer during the initial
phase
c. Type of acceptance testing done by the client in the client's
environment
68. The Requirement Tracebility Matrix a.k.a RTM is _____
a. A tool to make sure all the requirements are mentioned on the
storyboard
b. The mapping of requirement IDs and Test case IDs to make
sure all the requirements are tracked and validated
c. A design document, prepared by the business analyst to make
sure all the functional requirements are finalized
69. Select the correct statement for Sanity Testing
a. It is performed to make sure the system is ready to undergo
more rigorous and in-depth testing
b. It is done after the unit testing is concluded
c. It is the subset of regression testing
70. Select the correct statement for Smoke Testing
a. It is performed to make sure the system is ready to undergo
more rigorous and in-depth testing
b. It is the replacement for regression testing
c. It is performed after the system testing is concluded
SCHOOL OF COMPUTER SCIENCE –III CS Page 10
71. Select the correct statement for Regression Testing
a. It is executed to make sure the system is ready to undergo
more rigorous testing
b. It is executed to make sure the bug fixes are done
c. It is performed to find out the unintended side effects
on the already working modules of the system after the
implementation of change requests, bug fixes, and
enhancements.
72. Defect density is ______
a. A key performance indicator that tells the number of
defects per thousand lines of code
b. A key performance indicator that tells the number of
defects missed during system testing
c. A key performance indicator that tells the number of
defects per iteration of test case execution
73. Defect leakage is ______
a. A key performance indicator that tells the number of
defects per thousand lines of code
b. A key performance indicator that tells the number of
uncaught defects during testing but caught in
acceptance testing
c. A key performance indicator that tells the number of
defects per iteration of test case execution
74. Severity and Priority are the attributes applicable on ______
a. Test cases
b. Functional requirements
c. Defects and bugs
75. Integration testing is all about ______
a. Validation of interfaces
b. Validation of unit components
c. Validation of system as a whole
SCHOOL OF COMPUTER SCIENCE –III CS Page 11
76. Which one of the following is true for Unit testing-
a. It is the validation of interfacing between the unit components
b. It is the validation of unit components, done by the tester in the
testing environment
c. It is the validation of unit components, done by the developer
in the development environment
77. Deferred state of a bug mean-
a. The bug will be ignored and never be fixed
b. The bug will be fixed at a later point in time
c. The bug has been fixed and is ready for retesting
78. Test Driven Development a.k.a TDD is
a. Writing the failing test, and then write the code to pass that
test
b. Writing the code and then writing the test
c. Requirements are derived from test cases and then development
takes place
79. Given a field that accepts numbers in the range of 1 to 100,
then validating the field with below three inputs :
less than 1,between 1 to 100 and greater than 100
is called
a. Boundary value analysis b. White-box testing
c. Equivalence class partitioning
80. Reviews, walkthroughs, and inspections are part of_____
a. Design process b. Validation process c. Verification process
81. To validate whether the system is conforming with its business
requirements is ___
a. Non functional testing
b. Verification process
c. Functional testing
SCHOOL OF COMPUTER SCIENCE –III CS Page 12
81. The following statement is related to which of the below
options: "It determines the quality of processes used to create a
quality product. It is system of management activities, and
preventive process. It applies for entire life cycle and deals with
process?"
a. Quality control b. Validation
c. Verification d. Quality Assurance
82. Which of the following is not called as white-box testing?
a. Open box Testing b. Glass box Testing
c. Clear box Testing d. Closed box Testing
83. Which of the following approaches are the part of
Integration testing?
a. Top-down approach b. Bottom-up approach
c. Big-bang approach d. All of the above
84. Which of the following life cycle contains the below phases?
Requirement specification, test case design, test execution,
Defect tracking, and maintenance.
a. BLC b. SQLC [Link] d. SDLC
85. ------- plan is used to overcome the risk.
a. Master Plan b. Mitigation Plan c. Migration Plan
d. Maintenance Plan
89. Test cases are designed during which of the following
technique?
a. Test configuration b. Test recording
c. Test specification d. Test planning
90. To test a function, the programmer has to write a---------
that's called the function to be tested and passes its test data.
a. Proxy b. Stub c. Driver d. None of the above
SCHOOL OF COMPUTER SCIENCE –III CS Page 13
91. Which of the following statement is true about the test design
technique?
a. A process for selecting test cases
b. A way to determine in a test plan what has to be done
c. A process for measuring expected output
d. A way to determine the quality of software
92. Which of the following testing technique deeply emphasizes on
testing of one specific module?
a. Inter-system testing [Link] Testing
c. Breadth Testing [Link] Testing
93. Which of the below testing is implemented initially?
a. Static Testing [Link]-box Testing
c. White-box Testing d. Dynamic Testing
94. Which of the following is not checked by Statement Coverage
a. Missing Statements
b. Unused Branches
c. Dead Code
d. Unused Statement
95. What is used as a measure of code coverage?
a. Test Effectiveness
b. Trends analysis
c. Defects
d. Time Spent
96. Which of the following technique ensures that the impact of risk
will be less
a. Risk Avoidance Technique
b. Risk Contingency Technique
c. Risk Mitigation Technique
d. All of the above
SCHOOL OF COMPUTER SCIENCE –III CS Page 14
97. The Effective Risk management plan needs to address which
of the following issues
a. Risk avoidance
b. Risk monitoring
c. Risk management and contingency planning
d. All of the above
98. The Risk Mitigation and risk monitoring is which Risk
Activity?
a. Increasing, Project tracking.
b. Avoidance, Project tracking.
c. Project tracking, Avoidance.
d. Random, Tracking.
99. After deployment of a system, a software incorrectly
performs one of its main functionality, at that time the one who
is going to determine how badly it will hamper the Organization
is _____
a. QA Personnel
b. Developer
c. Business Analysis
d. Technical People
100. What does the RE represent?
a. Risk Expense
b. Related Expense
c. Risk Evaluation
d. Risk Exposure
101. In Software Engineering Environment, the environmental
resources incorporates with which of the following?
a. Only Software Components
b. Hardware and Software
c. Complexity
d. None of the above
SCHOOL OF COMPUTER SCIENCE –III CS Page 15
102. The Component based software engineering emphasizes on
which of the following?
a. Coupling
b. Software planning
c. Reusability
d. None of the above
103. The main objective of Software Project Planning is _______
a. Estimation of resources
b. Estimation of cost
c. Estimation of schedule
d. All of these
104. First activity in the Software Project Planning is ____
a. Determination of software scope
b. Determination of budget
c. Find out the team size
d. None of the above
105. The meaning of Software Scope is ____
a. This describes the Off-the-shelf component.
b. This always describes the functions and the features which are
to be delivered to the end users.
c. It describes software risk.
d. None of the above.
3 MARKS
1. Compare and contrast Quality assurance and Quality Control.
2. Explain the different phases of software project develoment.
3. What do you mean by white box testing? Explain briefly.
4. Why we need black box testing? Explain.
5. Describe the following: (i) Stress testing (ii) Interoperability testing.
6. How do you select test case for acceptance testing?
7. Briefly explain about unit testing.
8. Write short notes on regression testing.
SCHOOL OF COMPUTER SCIENCE –III CS Page 16
9. State and explain function-based metrics with example.
10. Give a detailed note on risk management.
11. Define verification. Explain in detail symbolic execution.
12. Explain orthogonal array testing with neat diagram.
13. Describe about independent program paths.
14. Why system testing is done?
15. What are the various testing phase? Explain anyone in detail.
16. Define regression testing. What are the challenges present in
regression testing?
[Link] unit testing. Explain performance testing in detail.
18. Explain function-based metrics with example.
19. Write short notes on execution and reporting.
20. What are the factors to be considered in software quality?
21. What are the test factors to be considered during performance
testing?
22. Explain Test process.
23. Differentiate project and process metrics.
24. What is meant by verification and validation?
25. Define defect bash.
26. When to do black-box testing?
27. What are the stages of deployment testing?
28. Write short notes on scalability testing.
[Link] are metrics?
[Link] are the challenges in black box testing?
[Link] briefly on stress testing.
[Link] is test management?
[Link] the need of testing in brief.
[Link] the project metrics relevant to software development
projects.
[Link] the types of regression testing.
[Link] project metrics briefly.
[Link] test reporting with an example.
[Link] short notes on progress metrics.
[Link] are the requirements for functional testing?
40. Explain about functional testing brief
SCHOOL OF COMPUTER SCIENCE –III CS Page 17
6 Marks
1. Elaborately explain about any two life cycle models with neat sketch
2. Discuss in detail about static testing.
3. Narrate the importance of black box testing with suitable examples.
4. Enumerate the salient features of integration testing with an example.
5. Differentiate functional versus non-functional testing.
6. Elucidate the significance of acceptance testing with an example.
7. Summarize the factors and methodology of performance testing.
8. Expound the steps involved in the methodology for regression testing.
9. Examine the various steps of test process in detail.
10. Highlight the purpose of metrics in testing? Discuss briefly about its
types with suitable illustrations.
11. Discuss briefly about software life cycle models.
12. Explain briefly about different phases of software project.
13. Write elaborately on non functional testing.
14. Describe in detail about multi phase testing.
15. Describe in detail about white box testing approaches.
16. Describe integration testing as a type of testing.
17. Describe the approaches to do regression testing.
18. Describe the issues in test planning and test management.
19. Describe the feature of test report.
20. Explain the metrics used in progress testing.
21. Explain prototype life cycle model with neat diagram.
22. Explain spiral model with neat diagram.
23. Explain waterfall model with neat diagram.
24. Explain VVmodel with neat diagram.
25. Explain in detail about structural testing.
26. Consider any example and perform scenario testing.
27. Explain interclass test design with a banking application.
28. Define smoke testing. What are their stratergies?
29. What are the different metrics of testing? Explain about test management.
30. Describe about productivity metrics.
31. Discuss briefly: 1. Bi-directional integration 2. System integration
32. Discuss about deployment testing and beta testing.
33. Why system testing is done? Explain.
34. Write short note on : 1. Test infrastructure management 2. Test people
management
35. Discuss about various metrics associated with test metrics.
SCHOOL OF COMPUTER SCIENCE –III CS Page 18
36. Discuss in detail about the different phases of software
project.
37. Explain the following: 1. Positive and negative testing 2.
Compatibility testing
SCHOOL OF COMPUTER SCIENCE –III CS Page 19