0% found this document useful (0 votes)
846 views

MCQ Questions: Software Testing

This document contains 60 multiple choice questions related to software testing. The questions cover a range of topics including test levels, the V-model, test types, test techniques like equivalence partitioning and boundary value analysis, integration testing approaches, alpha and beta testing, and definitions of terms like defects, errors and failures. The questions are divided into two units, with the first unit focusing more on definitions and fundamentals, and the second unit focusing more on specific testing techniques and stages.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
846 views

MCQ Questions: Software Testing

This document contains 60 multiple choice questions related to software testing. The questions cover a range of topics including test levels, the V-model, test types, test techniques like equivalence partitioning and boundary value analysis, integration testing approaches, alpha and beta testing, and definitions of terms like defects, errors and failures. The questions are divided into two units, with the first unit focusing more on definitions and fundamentals, and the second unit focusing more on specific testing techniques and stages.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

1/1/2021 MCQ QUESTIONS

SOFTWARE TESTING

Tour2Tech
Page 1 of 25

UNIT - 1
1. The order in which test levels are performed is:
a. It depends on the nature of a project
b. Unit, Integration, Acceptance, System
c. Unit, System, Integration, Acceptance
d. Unit, Integration, System, Acceptance

2. What is “V” Model?


a. Test Design Technique
b. SDLC Model
c. Test Type
d. Test Level

3. Behavioural testing is not the other name for structural


testing?
a. true
b. false

4. System testing is a
a. Alpha testing
b. White box testing
c. Grey box testing
d. Black box testing

5. Test cases are designed during which of the following stages?


a. Test specification
b. Test recording
c. Test configuration
d. Test planning

MCQ QUESTIONS TOUR2TECH


Page 2 of 25

6. The technique applied for usability testing is:


a. Glass box
b. Grey box
c. White box
d. Black box

7. Which of the following is not a Test Type?


a. Statement Testing
b. Security Testing
c. Functional Testing
d. Database Testing

8. Which of the following is not a white box technique?

a. Structure testing

b. Database testing
c. Path testing
d. State transition testing

9. Error guessing is a:
a. Test verification techniques
b. Test data management techniques
c. Test control management techniques
d. Test execution techniques

10. In order to control cost, defects should ideally be detected in which


phase:
a. Design
b. Coding
c. Implementation
d. Requirements Gathering

MCQ QUESTIONS TOUR2TECH


Page 3 of 25

11. Which of the following is not a Software Development Life Cycle


Phase?

a. Design
b. Coding
c. Implementation
d. Test closure

12. Unit testing is done by:


a. Tester
b. Coder
c. Developer
d. End user

13. A program with high cyclometic complexity is likely to be:

a. Difficult to write
b. Difficult to test
c. Small
d. Large

14. Which of the following is true about Software Verification?

a. Verification ensures the product being developed is according to design specifications.


b. Verifications concentrate on the design and system specifications.
c. Both A and B
d. None of the above

15. All defects result in failure.


a. true
b. false

MCQ QUESTIONS TOUR2TECH


Page 4 of 25

16. The problem that threatens the success of a project but which has
not yet happened is called as __________.
a. Bug
b. Risk
c. Error
d. Defect

17. Bug is the same name of _______.


a. Error
b. Incident
c. Bug
d. Defect

18. LSD stands for ________________


a. Lean Software Development
b. Live Software Development
c. Less Software Data
d. Lean Software Data

19. A key principle of Scrum is ______________


a. Fixed scale development
b. Strict requirements
c. Requirements volatility
d. Cross-functional development

20. A set of activities that ensure that software correctly implements a


specific function.
a. Testing
b. Validation
c. Verification
d. Implementation

MCQ QUESTIONS TOUR2TECH


Page 5 of 25

21. Validation is computer based.


a. True
b. False

22. ___________ is done in the development phase by the debuggers.


a. Debugging
b. Coding
c. Testing
d. None of Above

23. What do you call testing individual components?


a. System Testing
b. Black Box Testing
c. Unit Testing
d. None of Above

24. Which defines the role of software?


a. System Engineering
b. Design
c. System Design
d. Implementation

25. A testing conducted at the developer’s site under validation testing.


a. Alpha
b. Gamma
c. Lambda
d. Unit

MCQ QUESTIONS TOUR2TECH


Page 6 of 25

26. Testing helps us to __________ of product by finding defects in


product.
a. Measure Quality
b. Improve Quality
c. Fix Defect
d. All of Above

27. Which of the following is the largest bug producer?


a. Design
b. Code
c. Specification
d. None of Above

28. Stubs and Drivers are used in Big Bang Integration.


a. False
b. True

29. Cost of the defect does not increase over the period of time.
a. False
b. True

30. Sometimes software tester can use only Error Guessing Technique
while testing the software.
a. False
b. True

MCQ QUESTIONS TOUR2TECH


Page 7 of 25

UNIT - 2

31. Which of the following is/are Integration approaches?


1. Top – Down Integration
2. Bottom - Up Integration
3. Functional Integration
4. Big bang Integration
a. 1, 2, 3, 4
b. 1, 2
c. 1, 2, 3
d. 1, 3, 4

32. Which of the following statements are correct?


1. Stubs are used in bottom-up approach.
2. Stubs are used in Top-down approach.
3. Drivers are used in bottom-up approach.
4. Drivers are used in Top-down approach.
a. 1, 2, 3
b. 2, 3, 4
c. 1, 2
d. 2, 3

33. The goal of Integration Testing is to find defects in communication


between two modules rather than seeing if modules are working
correctly.
a. True
b. False

34. What are the objectives of Integration Testing?


a. To verify that system separately testable modules are functioning properly.
b. To verify that interfaces between different parts of system.
c. To verify that system meets user expectation and needs.
d. To verify that system is functioning according to specified requirements.

35. For effective testing, variety of techniques should be used in


combination.
a. False
b. True

MCQ QUESTIONS TOUR2TECH


Page 8 of 25

36. Which of the followings is/are best described as Smoke Testing?


a. Rolling Integration Testing
b. Unit testing for small programs
c. Part of Black Box Testing.
d. None of the above.

37. A large scale system integration test may come after the acceptance
of a system.
a. False
b. True

38. What is the main purpose of integration testing?


a. Design Errors
b. Procedure Errors
c. Interface Errors
d. None of the above

39. Which of the following is the form of Alpha and Beta Testing?
a. Acceptance Testing
b. Integration Testing
c. System Testing
d. Unit Testing

40. 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.

41. System testing only deals with functional requirements. True or


false.
a. False
b. True

42. Beta testing is useful way of compatibility testing. True or false.


a. True
b. False

43. Testing a functionality of software has two parts, requirement


specification testing and business process based testing. True or false.
a. True
b. False

MCQ QUESTIONS TOUR2TECH


Page 9 of 25

44. Sometimes regression testing is best candidate for automation.


a. False
b. True

45. Which of the following is non-functional testing for an ecommerce


website?
a. 1000 people can log into system at same time.
b. security of system during transaction
c. People can buy goods
d. people can return faulty goods

46. If a company decides to migrate from Windows XP to Windows 7,


which type of testing is done to ensure whether your software works on
new platform?
a. Interoperability Testing
b. Performance Testing
c. Usability Testing
d. Portability Testing

47. Configuration testing deals with hardware while compatibility testing


deals with software.
a. True
b. False

48. Which technique is applied for usability testing?


a. White Box
b. Grey Box
c. White Box & Black Box
d. Black Box

49. Which is/are the characteristics of equivalence partitioning?


a. In equivalence-partitioning technique we need to test only one condition from each
partition.
b. If one condition in a partition works, we assume all of the conditions in that partition will
work.
c. Equivalence partitions and equivalence classes both terms mean exactly the same thing.
d. All of above

50. Equivalence partitioning and boundary value analysis techniques are


used only during system testing.
a. True
b. False

MCQ QUESTIONS TOUR2TECH


Page 10 of 25

51. Boundary value analysis is belong to Black Box Testing.


a. True
b. False

52. Alpha testing is done at Developers end.


a. True
b. False

53. A particular text field accepts only alpha characters. Which of the
following is invalid equivalence partition?
a. apple
b. APPLE
c. a2pple
d. None of the above

54. AWT has more powerful components like tables, lists, scroll panes,
colour chooser, tabbed pane etc.
a. True
b. False

55. What is an equivalence partition?


a. An input or output range of values such that each value in the range becomes a test case
b. An input or output range of values such that only one value in the range becomes a
test case
c. A set of test cases for testing classes of objects
d. An input or output range of values such that every tenth value in the range
becomes a test case.

56. Maintenance testing is performed using breadth test and depth test
methodology.
a. False
b. True

57. A shopping website gives discount based on prices of total


purchased items. Suppose customer purchases are below 2000 Rs. then
no discount, for purchases till 20000, it gives 10% discount and above
20000 it gives 15% discount. Which of the following sets of values lie in
3 different equivalence classes?
a. 100, 1800, 20001
b. 2001, 10000, 20002
c. 1800, 2000, 8000
d. 1800, 2003, 58,000

MCQ QUESTIONS TOUR2TECH


Page 11 of 25

58. Which of the followings is/are a form of Functional Testing?


a. Boundary Value Analysis
b. Security Testing
c. Usability Testing
d. Performance testing

59. Debugging and Testing are same activities.


a. False
b. True

60. Errors, Defects, Failures are synonymous.


a. True
b. False

MCQ QUESTIONS TOUR2TECH


Page 12 of 25

UNIT – 3

61. In static test techniques, behavioural and performance properties of


the program are observed.
a. False
b. True

62. What do you understand by V&V in software testing?


a. Version & Verification
b. Verification & Validation
c. Version & Validation
d. Verified & Version

63. Which of the following is a black box testing strategy?


a. All statement coverage
b. All Paths Coverage
c. Control Structure Coverage
d. Cause-Effect Graphs

64. A set of inputs, execution preconditions and expected outcomes is


known as a
a. Test Suit
b. Test Document
c. Test Plan
d. Test Case

65. In which test design each input is tested at both ends of its valid
range and just outside its valid range?
a. Boundary value testing AND Equivalence class partitioning
b. Equivalence class partitioning
c. Boundary value testing
d. Decision tables

66. A white box test scales up well at different granularity levels of


testing.
a. False
b. True

MCQ QUESTIONS TOUR2TECH


Page 13 of 25

67. Which of the following is not a part of a test design document?


a. Test plan Specification
b. Test Plan
c. Test log
d. All of above

68. Specifying a set of test cases or test paths for each item to be tested
at that level is known as
a. Test Case Generation
b. Test Case Design
c. All of above
d. None of above

69. Acceptance & system test planning are a part of architectural design.
a. False
b. True

70. PRD stands for


a. Product Requirement Document
b. Project Requirement Document
c. Product Rejection Document
d. None of above

71. Specification should not be allowed to change.


a. Yes
b. No

72. What are the criteria to decide the testing efforts?


1. Time and budget
2. The Size of development team
3. The Size of testers
4. Risk associated with project
a. 3, 4
b. 2, 3
c. 1, 2
d. 1, 4

73. Test Cases are created in which phase?


a. Test Planning
b. Test Requirement
c. Test Configuration
d. Test Specification

MCQ QUESTIONS TOUR2TECH


Page 14 of 25

74. What is used as a measure of code coverage?


a. Test Effectiveness
b. Defects
c. Trends Analysis
d. Time spent Testing

75. Which of the following is not checked by Statement


Coverage
a. Dead Code
b. Unused Statements
c. Unused Branches
d. Missing Statements

76. Select Impact Analysis is used in which of the following?


a. User Acceptance Testing
b. Component Testing
c. Maintenance Testing
d. Non-functional System Testing

77. In order to generate effective tests at a lower cost, test designers


analyse the following sources of information:
a. Operational Profile
b. Both c & d
c. Source Code
d. Fault Model

78. White-box testing, sometimes called ..........., is a test case design


method that uses the control structure of the procedural design to
derive test cases.
a. Grey Box Testing
b. Glass Box Testing
c. White Box Testing
d. Steel Box testing

79. ................... help you to design a series of test cases that have a high
likelihood of finding errors
a. Project Plan
b. Software Testing Techniques
c. SRS
d. Requirement Document

MCQ QUESTIONS TOUR2TECH


Page 15 of 25

80. Test case design focuses on a set of techniques for the creation of
test cases that meet overall testing objectives.
a. False
b. True

81. In order to write black box test cases we need the.................


a. Requirement Document
b. Project Plan
c. Design
d. All of above

82. ............. test cases are like a green light for the application and help
to determine whether or not the application should go into production.
a. Critical
b. Performance
c. Acceptance
d. Quality

83. We can have one or more test cases covering the requirements.
a. False
b. True

84. Devising a set of test cases that will guarantee that all errors will be
detected is somewhat feasible.
a. False
b. True

85. Generally, a test case also specifies the expected outcome from
executing the SUT under the specified execution conditions and test
inputs.
a. True
b. False

86. By applying.................... We minimize the redundant test cases.


a. Trimming
b. Parameterizing
c. Boundary values
d. Equivalence Classes

87. ..................... can be used to design good test cases.


a. Equivalence classes & Boundary Values
b. Boundary values & Trimming

MCQ QUESTIONS TOUR2TECH


Page 16 of 25

c. Parameterizing & Trimming


d. Parameterizing

88. Good test case has a reasonable probability of catching an error.


a. False
b. True

89. A set of inputs, execution preconditions and expected outcomes is


known as a -------
a. Test Document
b. Test Specification
c. Test Plan
d. Test Case

90. In which test design each input is tested at both ends of its valid
range and just outside its valid range?
a. Boundary Value Testing
b. Equivalence Analysis
c. Equivalence Classes
d. Decision Table

MCQ QUESTIONS TOUR2TECH


Page 17 of 25

UNIT – 4

91. In a company if the test plan is not written according to the


standards, which category of defect will it be classified into
a. Product defect
b. Procedure defect
c. Process defect
d. Document defect

92. Which of the following aptly describes testing?


a. Evaluating deliverables to find errors
b. Phase of all projects
c. Debugging code
d. Finding broken code

93. Relation between two variables over time is given by


a. Bar chart diagram
b. Scatter plot diagram
c. Historic diagram
d. Run chart diagram

94. The number of defects in a particular software is given by which


metric
a. Coverage matric
b. Mean time to failure
c. Defect density
d. Defect removal rate

95. The more common benefit associated with the service level
agreement are
a. Establish two way accountability
b. Make complaining easy
c. Provide the basis for budget
d. All of above

96. Quality assurance is a process by which product quality is compared


with applicable standards, and the action taken when non-conformance
is detected.
a. True
b. False

MCQ QUESTIONS TOUR2TECH


Page 18 of 25

97. Comparing processes or products against best practices with the


goal of improvement is
a. Benefit Realization
b. Baselining
c. Benchsetting
d. Benchmarking

98. Function/Test matrix is a type of project status report.


a. True
b. False

99. Defect management process doesn’t include _____


a. Defect prevention
b. Defect tracking
c. Management reporting
d. Deliverable base-lining

100. Which of the following is not a state of a Bug in Bug Life Cycle:
a. New
b. Open
c. Verified
d. Critical

101. Executing the same test case by giving the number of inputs on
same build called as?
a. Retesting
b. Regration Testing
c. Smoke Testing
d. Ad-Hoc Testing

102. Boundary value analysis belongs to which testing method?


a. All of above
b. Grey box testing
c. White box testing
d. Black box testing

103. If a defect is delayed for later phases it proves more costly:


a. True
b. False

MCQ QUESTIONS TOUR2TECH


Page 19 of 25

104. Executing the same test case on a modified build called as?
a. Retesting
b. Regression Testing
c. Sanity Testing
d. None of the above

105............ happens when defect introduced in one phase passes to


another phase without getting caught in the phase-end verification or
validation activities.
a. Defect Prevention
b. QC
c. Defect Leakage
d. Defect Cascading

106. Three simple steps below refer to:


1. Analyze defects or errors to trace the root causes.
2. Suggest preventive actions to eliminate the defect root causes.
3. Implement the preventive actions.
a. Defect Tracking
b. Defect Prevention
c. Defect Age
d. None of the above

107. Defect ....... is a technique that was developed to estimate


the number of defects resident in a piece of software.
a. Density
b. Age
c. Seeding
d. Latancy

108. The main focus of ......... is to reduce defects and variations in


the processes.
a. QA
b. QC
c. Six Sigma
d. None

109. Normally, the impact ratings for defects are classified into three
types:
a. Minor, Major, Low
b. Minor.Low, Critical
MCQ QUESTIONS TOUR2TECH
Page 20 of 25

c. Minor, Major, Critical


d. Minor, Major, High

110. A latent defect is an existing defect that has not yet caused a failure
because the exact set of conditions were never met.
a. True
b. False

111. If a defect is delayed for later phases it proves _______ costly.


a. Less
b. More
c. Extra
d. Lesser

112. Defect cascading is a defect which is caused by another defect.


One defect triggers the other defect.
a. False
b. True

113. Informing the developer which bug to be fixed first is called


as priority.
a. True
b. False

114. A ....... Is an existing defect that hasn’t yet caused a failure just
because another defect has prevented that part of the code from
being executed?
a. Mutant Defect
b. Masked Defect
c. Latent Defect
d. Delayed Defect

115. Which one of the below is not a Bug Tracking tool?


a. Bugzilla
b. Selenium
c. Team Tracking
d. None

116. How severe the bug is affecting the application is called as?
a. Priority
b. Tracability

MCQ QUESTIONS TOUR2TECH


Page 21 of 25

c. Severity
d. Flexibility

117. Deferred status in bug life cycle means


a. The bug is expected to fixed in next releases
b. Developer feels that the bug is not genuine
c. Bug is repeated twice
d. None

118. What is a defect?


a. It is found in the development environment before the product is shipped to the respective
customer
b. It is found in the product itself after it is shipped to the respective customer.
c. It is the deviation from actual and the expected value.
d. None

119. Defect reports are useful as they contain


a. Defect description
b. Summary
c. Priority
d. All of above

120. Which metrics is used to compares field defects with test defects?
a. Defect deduction percentage
b. Defect detection percentage
c. both a and b
d. None of the above

121. Who determines the severity of bug?


a. All stakeholder
b. End User
c. Developer
d. Tester

122. Defect report is also useful for process improvement. True or false.
a. False
b. True

MCQ QUESTIONS TOUR2TECH


Page 22 of 25

UNIT – 5

123. A test design technique is


a. A way to measure in a test plan what has to be done
b. A process for determining expected outputs
c. A way to measure the quality of software
d. A process for selecting test cases

124. In which order should tests be run?


a. The order they are thought of
b. The easiest tests first
c. The most difficult tests first
d. The most important tests first

125. Requirement Engineering is not concern with ____________.


a. Requirement Elicitation
b. Requirement Analysis
c. Requirement Design
d. Requirement Documentation

126. A test technique that involves testing with various ranges of valid
and invalid inputs of a particular module or component functionality
extensively is ___________.
a. Gorilla Testing
b. Monkey Testing
c. Agile Testing
d. Baseline Testing

127. Bug status is set to postpone due to ________.


a. Priority of that bug may be low
b. Lake of time for release
c. Data may be unavailable
d. The bug may not be the measure effect in software

128. Which Testing is performed first?


a. Black box Testing
b. White box Testing
c. Static Testing
d. Dynamic Testing

MCQ QUESTIONS TOUR2TECH


Page 23 of 25

129. A tester is executing a test to evaluate and it complies with the user
requirement for a certain field be populated by using a dropdown box
containing a list of values, at that time tester is performing __________ .
a. Regression Testing
b. Load Testing
c. White box Testing
d. Black box Testing

130. Standard Enforcer is a


a. All of above
b. Static and dynamic testing
c. Dynamic testing
d. Static testing tool

131. Many applications using static analysis find 0.1-0.2% NCSS. NCSS
stands for
a. Non-Code Source Statement
b. Non-Comment Source Sentence
c. Both a and b
d. Non-Comment Source Statement

132. Software testing with real data in real environment is known as


a. Beta testing
b. Alpha testing
c. Regression testing
d. None

133. The process of using special software tools or scripts to perform


testing tasks such as entering data, executing the test steps and
comparing the results, etc. is known as Automation testing.
a. False
b. True

134. Execution Verifier is a dynamic tool that is also known as


a. Test harness system
b. Test/File Generator
c. Coverage Analyser
d. Test Archiving System

135. Which of the following is method of JDBC batch process?


a. Test harness system
b. Test/File Generator
c. Coverage Analyser
d. Test Archiving System

MCQ QUESTIONS TOUR2TECH


Page 24 of 25

136. Which axis name in Selenium is related to the selection of all the
parent, grandparent and so on?
a. Ancestor
b. Parent
c. Preceding
d. All of above

137. Which of the following is not a verify and asserts method in


Selenium?
a. VerifyText
b. VerifyElementPresent
c. VerifyElementNotPresent
d. VerifyTextAttribute

138. Capture/Playback tool would be involved in the automation of


regression test?
a. True
b. False

139. When is automation useful?


a. Regression testing
b. Non-functional testing
c. Complex calculation
d. All of above

140. How do you identify the test cases which are suitable for
automation?
a. Both a and b
b. Identify appropriate process
c. Identifying the appropriate test cases for automation is the most important step
towards automation.
d. None of above

141. Can you achieve 100% automation?


a. Not possible
b. We can achieve 100% automation
c. It is easy to achieve 100% automation
d. It is difficult to achieve 100% automation

MCQ QUESTIONS TOUR2TECH


Page 25 of 25

Notes & Tips

1. All these MCQ Questions are for practice & have taken from your syllabus.
2. Don’t Byheart, understand the concept.
3. Do more and more practice.
4. Read your Textbooks 1st and then practice this MCQ’s.

Motivational Quotes

Don’t Stress.

Do Your Best.

Forget the Rest.

MCQ QUESTIONS TOUR2TECH

You might also like