Javatpoint Logo
Javatpoint Logo

Software Testing MCQ Part-2

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?

  1. Inter-system testing
  2. Gorilla Testing
  3. Breadth Testing
  4. 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?

  1. Static Testing
  2. Black-box Testing
  3. White-box Testing
  4. 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?

  1. Unified Functional Testing [UFT]
  2. Selenium
  3. Rational Functional Tester [RFT]
  4. 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.

  1. Microsoft
  2. ISO
  3. QAI
  4. 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?

  1. Software Process Improvement and Control Determination
  2. Software Process Improvement and Capability Determination
  3. Software Process Improvement and Compatibility Determination
  4. 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?

  1. Function points
  2. KLOC
  3. Size of module
  4. 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?

  1. Cucumber
  2. Selenium
  3. Bugzilla
  4. 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?

  1. Validation Testing
  2. Alpha Testing
  3. Both Alpha and Beta Testing
  4. 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?

  1. Black-box Testing
  2. White-box Testing
  3. Yellow- box Testing
  4. 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?

  1. Stress Testing
  2. Recovery testing
  3. Random testing
  4. 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?

  1. Verification
  2. Mutation Analysis
  3. Performance Analysis
  4. 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?

  1. Step Up
  2. Step Over
  3. Step Out
  4. 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?

  1. Complex path testing
  2. Quality assurance of software
  3. Control structure testing
  4. 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.

  1. Regression Testing
  2. Alpha Testing
  3. Beta Testing
  4. 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?

  1. Reviews should be performed on specifications, code, and test plans.
  2. Reviews are doubtful to identify faults in test plans.
  3. Reviews are the minimum operative way of testing code.
  4. 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?"

  1. Quality control
  2. Validation
  3. Verification
  4. 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?

  1. Open box Testing
  2. Glass box Testing
  3. Clear box Testing
  4. 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.

  1. Defects
  2. Review
  3. Requirement
  4. 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---------?

  1. Regional Regression Testing
  2. Retesting
  3. Unit Regression Testing
  4. 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)."

  1. True
  2. 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.

  1. Verification
  2. Quality control
  3. Quality Assurance
  4. 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?

  1. Top-down approach
  2. Bottom-up approach
  3. Big-bang approach
  4. 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?

  1. Unit Testing
  2. Performance Testing
  3. System Testing
  4. 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."

  1. True
  2. 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.

  1. Adhoc Testing
  2. Regression Testing
  3. Sanity Testing
  4. 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?

  1. True
  2. 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------.

  1. Fixability
  2. Traceability
  3. Priority
  4. 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.

  1. Regional regression Testing
  2. Re-testing
  3. Full Regression Testing
  4. 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.

  1. BLC
  2. SQLC
  3. STLC
  4. 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?

  1. Alpha Testing
  2. User Acceptance Testing
  3. Beta Testing
  4. 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?

  1. Spiral Model
  2. V-Model
  3. Liner Model
  4. 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--------.

  1. Fixability
  2. Priority
  3. Traceability
  4. 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.

  1. Master Plan
  2. Mitigation Plan
  3. Migration Plan
  4. 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?

  1. Preventive
  2. Detective
  3. Proactive
  4. 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?

  1. Performed by an independent test team
  2. Checking that we are building the right system
  3. Making sure that it is what the user wants
  4. 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----?

  1. It may difficult to repeat the test
  2. We cannot automate the user inputs
  3. We cannot run the test
  4. 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--------?

  1. Will help us to ensure unchanged areas of the software have not been affected
  2. Can only be run during user acceptance testing
  3. Will always be automated
  4. 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?

  1. Planning
  2. Execution
  3. Check exit criteria completion
  4. 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?

  1. Module integration
  2. Top-down integration
  3. Bottom-up integration
  4. 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-------.

  1. To understand the user requirement
  2. To define the scope of testing
  3. To check the needs
  4. 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?

  1. Deliverable base-lining
  2. Management reporting
  3. Defect prevention
  4. 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-------?

  1. Nested loop
  2. Concatenated loop
  3. Simple loop
  4. 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 ------?

  1. Test by an independent test team
  2. Test form a business point of view
  3. Test the system with other systems
  4. 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?

  1. Recovery testing
  2. Measuring the response time
  3. Simulating many users
  4. 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?

  1. Performance testing
  2. System testing
  3. Usability testing
  4. 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---------.

  1. Design
  2. Requirements
  3. Decision table
  4. 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?

  1. Test configuration
  2. Test recording
  3. Test specification
  4. 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.

  1. Proxy
  2. Stub
  3. 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--------.

  1. Integrated Testing
  2. Black-box Testing
  3. Stress Testing
  4. 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?

  1. A process for selecting test cases
  2. A way to determine in a test plan what has to be done
  3. A process for measuring expected output
  4. 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.

Next Topic#

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA