Software Testing Multiple Choice Questions
Software Testing Multiple Choice Questions
In this section, we are going to see a list of the top 50 frequently asked Software Testing questions in MCQ style with the correct choice of answer among various options along with suitable Explanation.
These Software Testing questions and answers emphasize all the areas of a specific topic. And this article is prepared to covers over more than ten topics in software testing. From the competitive exams and interviews point of view, these multiple-choice questions and answers are very helpful.
1) Which of the following testing technique deeply emphasizes on testing of one specific module?
Inter-system testing
Gorilla Testing
Breadth Testing
Fuzz Testing
Answer: (b) Gorilla Testing
Explanation: In software testing, Gorilla testing is required to check the functionality of a particular module at a time. In other words, we can say that gorilla testing is important where a module of the system is frequently tested to guarantee that it is working properly.
2) Which of the below testing is implemented initially?
Static Testing
Black-box Testing
White-box Testing
Dynamic Testing
Answer: (a) Static Testing
Explanation: It is a verification process used to test the application without implementing the application's code. Static testing is a cost-effective process. It is a very useful testing technique because it helps us classify those errors that may not be found during Dynamic Testing.
3) Which of the following testing tool does not supported by Database Testing?
Unified Functional Testing [UFT]
Selenium
Rational Functional Tester [RFT]
Application Lifecycle Management [ALM]
Answer: (d) Application Lifecycle Management [ALM]
Explanation: Database Testing is used to analyze the schema, tables, triggers, etc., of the database under test. The ALM tools do not support database testing because ALM is mainly designed to support an important investor in charge of delivering software as they improve through their lifecycle.
4) ------ is one of the reputed testing standards.
Microsoft
ISO
QAI
M Bridge awards
Answer: (b) ISO
Explanation: ISO stands for International Standards Organization. The ISO standard is mainly used to addresses operational methods and organizational methods like responsibilities, reporting, etc.
5) Which of the following abbreviation is correct for the terms SPICE?
Software Process Improvement and Control Determination
Software Process Improvement and Capability Determination
Software Process Improvement and Compatibility Determination
None of the above
Answer: (b) Software Process Improvement and Capability Determination
Explanation: SPICE stands for Software Process Improvement and Capability Determination. It is an international framework for calculating a software processes developed equally by the International Standards Organization (ISO) and the International Electrotechnical Commission (IEC).
6) -------- is not used in evaluating the size of the software?
Function points
KLOC
Size of module
None of the above
Answer: (c) Size of Module
Explanation: The size of a module does not use in measuring the size of the software.
The KLOC is a traditional amount of how huge a computer program, which is mainly evaluating a thousand lines of code. The function points are used to compute the functional size quantity of the software. The cost of the single unit is calculated from the past project.
7) Which of the following tool is not an open-source tool?
Cucumber
Selenium
Bugzilla
BugHost
Answer: (d) BugHost
Explanation: BugHost is another defect tracking tool that provides a bug tracking solutions to thousands of customers worldwide in all major business areas. It uses a workflow process by allowing us to allocate bugs to different users within our team.
8) In which of the following testing level, the main focus is on customer usage?
Validation Testing
Alpha Testing
Both Alpha and Beta Testing
Beta Testing
Answer: (c) Both Alpha and Beta Testing
Explanation: Alpha testing is replicated or real operational testing at an in-house site. It is directed in the organization and tested by an illustrative group of end-users at the developer's side and sometimes by an independent test engineer team.
On the other hand, beta testing is implemented after the execution of alpha testing. It is the last phase of the testing, carried out at the client's or customer's site.
9) Which of the following testing technique can be used in order to determine the validation test?
Black-box Testing
White-box Testing
Yellow- box Testing
All of the above
Answer: (a) Black-box Testing
Explanation: Black-box testing is a process of checking an application's functionality as per the customer requirement. Or in other words, we can say that verifying the functionality against requirement specifications is referred as black-box testing.
10) ------testing types is not a part of system testing?
Stress Testing
Recovery testing
Random testing
System Testing
Answer: (c) Random Testing
Explanation: Random testing is not a part of system testing, as it is a type of functional black-box testing, which is implemented when the test engineer does not have enough time to write and perform the test cases. It is also known as monkey testing.
11) Which of the following evaluation method is used to evaluate the quality test cases?
Verification
Mutation Analysis
Performance Analysis
Validation
Answer: (b) Mutation analysis
Explanation: The mutation analysis is used to prepare the new software tests and check the existing software tests' quality.
12) ------- is not a part of the execution flow throughout the debugging process?
Step Up
Step Over
Step Out
Step into
Answer: (a) Step Up
Explanation: In debugging process, the development team implements the system after receiving the test report related to the bugs in the software from the testing team.
And Step up is not part of the execution flow during the debugging process. At the same time, the Step Over is used to execute the code without stopping it. Step into is used to executes the code, and Step out is used to continue the execution process until the bound value.
13) Which of the following testing techniques is used to test the code?
Complex path testing
Quality assurance of software
Control structure testing
Code coverage
Answer: (d) Code Coverage
Explanation: The code coverage is a measurement of how many blocks/lines/arcs of our code are implemented while the automated test runs.
14) ------ testing is a testing technique where the actual data verified in the real environment.
Regression Testing
Alpha Testing
Beta Testing
None of the above
Answer: (c) Beta Testing
Explanation: Beta Testing is a type of field test executed at the end of the software testing life cycle. Generally, Beta testing is released to a limited audience to test the accessibility, usability, functionality, etc. In simple words, we can say that beta testing is testing, where the real users of the software application test the software product in the real environment.
15) Which of the below statements is true about reviews?
Reviews should be performed on specifications, code, and test plans.
Reviews are doubtful to identify faults in test plans.
Reviews are the minimum operative way of testing code.
Reviews cannot be performed on user requirements specifications.
Answer: (a) Reviews should be performed on specifications, code, and test plans.
Explanation: Reviews should be performed on specifications, code, and test plans because sometimes, when the test engineer writes a test case, he/she may skip some scenarios, inputs and writes wrong navigation steps, and which may affect the entire test execution process.
To avoid such a situation, we will do one round of review processes before starting test execution.
16) 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?"
Quality control
Validation
Verification
Quality Assurance
Answer: (d) Quality Assurance
Explanation: The quality assurance test makes sure the development of high-quality software. It mainly focuses on high-quality processes, good quality management system. And the development of units of an application is verified under the quality assurance specifications in the classification of their development.
17) Which of the following is not called as white-box testing?
Open box Testing
Glass box Testing
Clear box Testing
Closed box Testing
Answer: (d) Closed box Testing
Explanation: In white-box testing, the developers will test every line of code in the program. White-box testing is also called glass box testing, structural testing, clear box testing, open box testing, and transparent box testing.
18) ------- is known as a variance from software product specifications.
Defects
Review
Requirement
Report
Answer: (a) Defects
Explanation: If the software product is not working as per the requirement is known as defects in software testing. The defect is specified as the irregularity from the actual and expected result of the application.
19) Re-testing of a single program or component after a modification has been made is known as---------?
Regional Regression Testing
Retesting
Unit Regression Testing
Full Regression Testing
Answer: (c) Unit Regression Testing
Explanation: Regression testing performed on a new build when there is a significant alteration in the original functionality. Unit regression testing is one of the most commonly used types of regression testing. In unit regression testing, we test only the modified unit, not the impact area, because it may affect the same module's components.
20) Select whether the given statement is true or false:
"Requirement specification, design, coding, testing, installation and maintenance is the various phases of SDLC (software development life cycle)."
True
False
Answer: (a) True
Explanation: The software development life cycle is the process of developing the software. SDLC contains various phases, which are as follows:
Requirement Specification
Design
Coding
Testing
Installation
Maintenance
21) The given statement is related to which of the following options: "It determines the quality of product, and it is a specific part of the Quality assurance procedure. It is a corrective process, and it applies to a specific product and deals with the product.
Verification
Quality control
Quality Assurance
Validation
Answer: (b) Quality Control
Explanation: Quality control is a reactive process. The primary objective of the quality control process is to precise all types of defects or bugs before releasing the software. It is also known as QC in software testing.
22) Which of the following approaches are the part of Integration testing?
Top-down approach
Bottom-up approach
Big-bang approach
All of the above
Answer: (d) All of the above
Explanation: We will execute the integration testing when all the components or modules work independently and check the data flow between the dependent modules. Integration testing divided into several parts, such as
Top-down integration testing
Bottom-up integration testing
Big bang testing
23) Which of the following testing is the part of non-functional testing?
Unit Testing
Performance Testing
System Testing
Integration Testing
Answer: (b) Performance Testing
Explanation: Non-Functional testing is used to test the ability to work in an external environment. Performance testing is one of the most important types of non-functional testing as it is used to check the behavior of an application by applying some load.
24) Which of the following is/are true regarding the below statement? "Product risks affects the performance or quality of the software or the application."
True
False
Answer: (a) True
Explanation: The term risk is a problem that could cause some loss or threaten the project's progress. And these possible issues might harm the cost, schedule, or technical success of the project and the quality of our application.
25) In -------, the test engineer implements the same test cases on a modified build.
Adhoc Testing
Regression Testing
Sanity Testing
Retesting
Answer: (b) Regression Testing
Explanation: In regression testing, the test engineer will re-execute the same test cases in different builds or releases to ensure that modifications (addition, modification, deletion, or defect fixing) are not leading the defects in unchanged features.
26) "Automation testing should be performed before starting the manual testing" is the true statement or false?
True
False
Answer: (b) False
Explanation: Automation testing is performed to reduce manual test cases but not to remove any of them. In automation testing, we can use special automation tools in order to control the implementation of test cases and compare the actual result with the expected result.
27) Notifying the developers which bugs need to be fixed first is known as------.
Fixability
Traceability
Priority
Severity
Answer: (c) Priority
Explanation: To fix the bug or which bug to be fixed first or how soon the bug should be fixed is known as a priority. The priority can be urgent, high, medium, and low.
28) --------- is the process of re-testing the modules that connected to the program or components after the modification has occurred.
Regional regression Testing
Re-testing
Full Regression Testing
Unit Regression Testing
Answer: (a) Regional Regression Testing
Explanation: In Regional Regression Testing, we test the modification and the impacted regions. It is the most ideal method of regression testing. But, sometimes, during the regional regression testing, we may miss lots of bugs.
29) Which of the following life cycle contains the below phases?
Requirement specification, test case design, test execution, Defect tracking, and maintenance.
BLC
SQLC
STLC
SDLC
Answer: (C) STLC
Explanation: Software Testing Life cycle contains the above mention phases. Software test life cycle (STLC) is the part of Software Development Life Cycle (SDLC), and Defect Life Cycle is a part of Software Test Life Cycle (STLC). All the testing activities are implemented to enhance the quality of the software product.
30) Which of the following testing techniques includes how well the user will understand and interact with the system?
Alpha Testing
User Acceptance Testing
Beta Testing
Usability Testing
Answer: (d) Usability Testing
Explanation: In usability testing, we will check the user-friendliness, efficiency, and accuracy of the application. The execution of usability testing will ensure that the developed software is easy to use without facing any problem and makes end-user life easier.
31) In which of the following SDLC models we needs to start testing activities along with development activities?
Spiral Model
V-Model
Liner Model
Waterfall Model
Answer: (b) V-Model
Explanation: V-model is the SDLC model where all the activities go in the downward direction, and at one point in time, it starts moving in the upward direction to re-use the test document for the testing process and forms a V shape. Hence, it is known as the V model.
32) How rigorously the bug is affecting the application is known as--------.
Fixability
Priority
Traceability
Severity
Answer: (d) Severity
Explanation: The effect of the bug on the software or application is known as severity. For the bug, the severity can be blocker, critical, major, and minor.
33) -------- plan is used to overcome the risk.
Master Plan
Mitigation Plan
Migration Plan
Maintenance Plan
Answer: (b) Mitigation Plan
Explanation: In the mitigation plan, we take proactive measures to diminish the possibility of the risk or decrease the risk's impact in case it happens.
34) Which of the following quality assurance approaches are usually measured?
Preventive
Detective
Proactive
Corrective
Answer: (a) Preventive
Explanation: Quality assurance is a managerial tool that involves planned and systematic activities and documentation to avoid quality problems. It is an ongoing process within the development of a software system.
35) Which of the following statement is true regarding verification?
Performed by an independent test team
Checking that we are building the right system
Making sure that it is what the user wants
Checking that we are building the system right
Answer: (d) Checking that we are building the system right
Explanation: The term verification is used to check that we are building the system right. And in simple words, the complete review process is performed in the V and V model's verification phase.
36) If an expected result is not identified, then----?
It may difficult to repeat the test
We cannot automate the user inputs
We cannot run the test
It may be difficult to determine if the test has passed or failed.
Answer: (d) It may be difficult to determine if the test has passed or failed.
Explanation: After testing the particular software, if the expected result is not identified then, it is difficult to conclude whether the test has passed or failed.
37) A regression test--------?
Will help us to ensure unchanged areas of the software have not been affected
Can only be run during user acceptance testing
Will always be automated
Will help us to ensure changed areas of the software have not been affected
Answer: (a) Will help us ensure the software's entire areas have not been affected.
Explanation: A regression test will ensure that the entire areas of software is not affected. These tests are also known as the verification method.
38) Which of the following test activity is used to identify the bugs most cost-effectively?
Planning
Execution
Check exit criteria completion
Design
Answer: (a) Planning
Explanation: In test planning activity, we can easily identify the faults or defects in the most cost-effective manner.
39) Which of the following process starting with the terminal modules?
Module integration
Top-down integration
Bottom-up integration
Now of the above
Answer: (c) Bottom-up integration
Explanation: The bottom-up integration testing technique deals with how lower-level modules are tested with higher-level modules until the successful completion of testing of all the modules. This method will ensure that the modules we are adding are the parent of the previous one.
40) The primary objective of the requirement phase is-------.
To understand the user requirement
To define the scope of testing
To check the needs
All of the mentioned above
Answer: (d) All of the mentioned above
Explanation: As we know that the requirement phase is the most crucial phase of the software development life cycle or any other SDLC models. In the requirement phase, the client declares the requirements, specifications, expectations, and any other special requirement related to the product or software.
41) Which of the following does not include in the defect management process?
Deliverable base-lining
Management reporting
Defect prevention
None of the above
Answer: (d) None of the above
Explanation: Defect Management is a systematic procedure to detect and fix bugs. The defect management process includes defect prevention, deliverable base-lining, management reporting, defect resolution, process improvement, and defect discovery.
42) In loop testing methodology, we can successfully test-------?
Nested loop
Concatenated loop
Simple loop
All of the above
Answer: (d) All of the above
Explanation: In the loop testing, we will test the loops such as simple loop, nested loop, concatenated loops, etc. This testing is also help us to check the end condition are working fine or the size of the conditions is enough or not. Loop testing is a testing that comes under white-box testing.
43) The primary purpose of acceptance testing is to ------?
Test by an independent test team
Test form a business point of view
Test the system with other systems
Finding faults in the system
Answer: (b) Test form a business point of view
Explanation: In acceptance testing, we mainly focus only on those features and scenarios that are regularly used by the customer or those scenarios, which are used daily by the end-user or the customer.
44) ------ is not a part of performance testing?
Recovery testing
Measuring the response time
Simulating many users
Generating many transactions
Answer: (a) Recovery testing
Explanation: During the performance testing process on the application, we will concentrate on the various factors like Response time, Load, and Stability of the application. Once the software is stable and moved to production, we will perform the performance testing.
In the recovery testing, we will check how well an application is able to recover from crashes, hardware failures and other parallel problems.
45) Which of the following options are part of non-functional testing?
Performance testing
System testing
Usability testing
Both A & C
Answer: (d) Both A & C
Explanation: Non-functional testing is used to test non-functional parameters like reliability, load test, performance, and software accountability.
It provides detailed knowledge of product behavior and used technologies. The non-functional testing helps in reducing the risk of production and associated costs of the software. Performance testing and usability testing are an integral part of non-functional testing.
46) Acceptance test cases are based on---------.
Design
Requirements
Decision table
Code
Answer: (b) Requirements
Explanation: Acceptance test cases are based on user requirements and function processing. It is formal testing, which governs whether the software is compatible with particular requirements or not.
47) Test cases are designed during which of the following technique?
Test configuration
Test recording
Test specification
Test planning
Answer: (c) Test Specification
Explanation: The test case is an in-details document that involves all possible inputs (positive and negative) and the navigation steps used for the test execution process. It provides thorough information about testing strategy, testing process, preconditions, and expected output.
48) To test a function, the programmer has to write a--------- that's called the function to be tested and passes its test data.
Proxy
Stub
None of the above
Answer: (a) Driver
Explanation: The driver sets the test environments and takes care of the communication, evaluates results, and sends the reports.
49) SRS is also known as the specification of--------.
Integrated Testing
Black-box Testing
Stress Testing
White-box Testing
Answer: (b) Black-box Testing
Explanation: The SRS software requirement specification contains how the software should be developed and given by the Business Analyst. The Business Analyst will collect the Customer Requirement Specifications (CRS) from the client and translate them into SRS.
50) Which of the following statement is true about the test design technique?
A process for selecting test cases
A way to determine in a test plan what has to be done
A process for measuring expected output
A way to determine the quality of software
Answer: (a) A process for selecting test cases
Explanation: The test case design technique ensures that all the possible values that are both positive and negative are required for the testing purposes. Every test engineer needs to be followed while writing the test cases to achieve the maximum test coverage.
Comments
Post a Comment