testing Online Quiz - 69
Description: testing Online Quiz - 69 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: testing |
Identify which one is an internal failure
-
Delaying tester’s access to areas of the code
-
Replacement with updated product
-
Training programmers to make or miss fewer bugs
-
Testing by Tech. Support
Structural Testing is
-
Same as black box testing B
-
Same as white box testing
-
Same as functional testing
-
None of the above.
-
A program that directs the execution of another program against a collection of test data sets. Usually the test driver also records and organizes the output generated as the tests are run.
-
A document that identifies test items and includes current status and location information
-
A document describing any event during the testing process that requires investigation
-
A software item that is an object of testing.
Branch Coverage is
-
Another name for decision coverage
-
Another name for all-edges coverage
-
Another name for basic path coverage
-
All the above
AI Explanation
To answer this question, we need to understand the concept of branch coverage.
Branch coverage is a measure of how many branches in the code have been executed during testing. A branch is a control flow statement, such as an if statement or a loop, that can have multiple possible paths of execution. Branch coverage aims to ensure that each possible branch is executed at least once during testing.
Now let's go through each option to understand why they are correct or incorrect:
Option A) Another name for decision coverage - This option is incorrect because decision coverage is a different concept. Decision coverage focuses on ensuring that all possible outcomes of each decision point in the code are tested.
Option B) Another name for all-edges coverage - This option is incorrect because all-edges coverage is also a different concept. All-edges coverage aims to ensure that all possible edges in the control flow graph of the code are exercised during testing.
Option C) Another name for basic path coverage - This option is correct because branch coverage is also known as basic path coverage. Basic path coverage ensures that all possible paths through the code, including every branch, are executed at least once during testing.
Option D) All the above - This option is incorrect because option A and B are incorrect. Therefore, all the above options are not correct.
The correct answer is C) Another name for basic path coverage. This option is correct because branch coverage is also known as basic path coverage, which aims to ensure that all possible paths through the code, including every branch, are executed at least once during testing.
Desk Checking is
-
Same as code walkthrough
-
Same as code inspection
-
Verification of code by the developers
-
None of the above.
The following example is a If (condition1 && (condition2 || function1())) statement1; else statement2;
-
Decision coverage
-
Condition coverage
-
Statement coverage
-
Path Coverage
AI Explanation
To answer this question, we need to understand the different types of coverage criteria used in software testing.
A. Decision coverage - This coverage criteria ensures that each decision point (such as an if statement) in the code is evaluated to both true and false at least once. In this example, the if statement has one decision point, but the conditions inside the if statement are not evaluated separately. Therefore, decision coverage is not satisfied.
B. Condition coverage - This coverage criteria ensures that each condition in a decision point is evaluated to both true and false at least once. In this example, there are two conditions: condition1 and (condition2 || function1()). Condition coverage is satisfied because both conditions are evaluated separately.
C. Statement coverage - This coverage criteria ensures that each statement in the code is executed at least once. In this example, there are two statements: statement1 and statement2. Statement coverage is satisfied because both statements are executed.
D. Path coverage - This coverage criteria ensures that every possible path through the code is executed at least once. In this example, there are multiple paths, depending on the evaluation of the conditions. Path coverage is not satisfied.
Therefore, the correct answer is B) Condition coverage. This coverage criteria ensures that each condition in a decision point is evaluated to both true and false at least once, which is satisfied in this example.
What is an equivalence partition (also known as an equivalence class)?
-
A set of test cases for testing classes of objects
-
An input or output range of values such that only one value in the range becomes a test case
-
An input or output range of values such that each value in the range becomes a test case
-
An input or output range of values such that every tenth value in the range becomes a test case.
Exhaustive Testing is
-
Is impractical but possible
-
Is practically possible
-
Is impractical and impossible
-
Is always possible
AI Explanation
To answer this question, we need to understand what exhaustive testing means.
Exhaustive testing is a testing technique where every possible input combination is tested. It aims to cover all possible scenarios and combinations to ensure that the system behaves correctly under all conditions.
Now let's go through each option and analyze them:
Option A) Is impractical but possible - This option is correct. Exhaustive testing is considered impractical because it would require testing every possible input combination, which can be time-consuming and resource-intensive. However, in theory, it is possible to perform exhaustive testing.
Option B) Is practically possible - This option is incorrect. Exhaustive testing is not considered practically possible due to the large number of possible input combinations.
Option C) Is impractical and impossible - This option is incorrect. While exhaustive testing is impractical, it is not impossible.
Option D) Is always possible - This option is incorrect. Exhaustive testing is not always possible due to the large number of possible input combinations.
Therefore, the correct answer is option A) Is impractical but possible.
Which of the following techniques is NOT a White box technique?
-
Statement Testing and coverage
-
Decision Testing and coverage
-
Condition Coverage
-
Boundary value analysis
Hand-over of Test-ware is a part of which Phase
-
Test Analysis and Design
-
Test Planning and control
-
Test Closure Activities
-
Evaluating exit criteria and reporting
AI Explanation
To answer this question, we need to understand the different phases of the software testing life cycle.
Option A) Test Analysis and Design - This option is incorrect because the hand-over of test-ware is not a part of this phase. The Test Analysis and Design phase involves analyzing the requirements, identifying test conditions, and designing test cases.
Option B) Test Planning and Control - This option is incorrect because the hand-over of test-ware is not a part of this phase. The Test Planning and Control phase involves defining the overall approach to testing, creating a test plan, and monitoring and controlling the testing activities.
Option C) Test Closure Activities - This option is correct because the hand-over of test-ware is a part of the Test Closure Activities phase. This phase involves activities such as documenting lessons learned, evaluating the test results, and handing over the test-ware to the stakeholders.
Option D) Evaluating exit criteria and reporting - This option is incorrect because the hand-over of test-ware is not a part of this phase. The Evaluating exit criteria and reporting phase involves assessing whether the exit criteria for testing have been met and reporting the test results to the stakeholders.
The correct answer is C) Test Closure Activities. This option is correct because the hand-over of test-ware is indeed a part of the Test Closure Activities phase, which occurs at the end of the testing process.
From the below given choices, which one is the ‘Confidence testing’
-
Sanity testing
-
System testing
-
Smoke testing
-
Regression testing
Testing with the intent of determining how well a product performs when a load is placed on the system resources that nears and then exceeds capacity. What sort of testing is this?
-
Stress testing
-
Load testing
-
Acceptance testing
-
Resistance testing
This is also called sanity testing and is done in order to check if the application is ready for further major testing and is working properly without failing up to least expected level
-
Adhoc testing
-
Compatability testing
-
Smoke testing
-
Mutation testing
What are the good practices for testing within the development life cycle
-
Early test analysis and design
-
Different test levels are defined with specific objectives
-
Testers will start to get involved as soon as coding
-
A and B
Which of the following is a non-functional quality characteristic?
-
Feasibility
-
Usability
-
Maintenance
-
Regression
This type of testing is done without any formal Test Plan or Test Case creation
-
Alpha testing
-
beta testing
-
Unit testing
-
Adhoc testing
COTS stands for
-
Commercial off-the shelf software
-
Commerce of the System
-
Configuration of the System
-
Commercial off-the Shelf system
AI Explanation
To answer this question, you need to understand the concept of COTS.
COTS stands for Commercial off-the-shelf software. This refers to software products that are readily available for purchase from third-party vendors. COTS software is designed to be used "as is" without requiring any significant customization or modification.
Let's go through each option to understand why it is correct or incorrect:
Option A) Commercial off-the-shelf software - This option is correct. COTS stands for Commercial off-the-shelf software.
Option B) Commerce of the System - This option is incorrect. It does not accurately represent what COTS stands for.
Option C) Configuration of the System - This option is incorrect. It does not accurately represent what COTS stands for.
Option D) Commercial off-the Shelf system - This option is incorrect. It is similar to option A, but it uses "system" instead of "software," which is not the correct representation of COTS.
The correct answer is A) Commercial off-the-shelf software. This option is correct because it accurately represents what COTS stands for.
Alpha Testing is done by
-
users/customers
-
customers or developers
-
developers
-
customers
which of the following encourages objective testing
-
Unit Testing
-
System Testing
-
Independent Testing
-
Destructive Testing
AI Explanation
To answer this question, you need to understand the concept of objective testing. Objective testing is a type of testing that focuses on verifying the system's functionality and behavior according to predefined specifications or requirements, without any bias or subjective judgment.
Let's go through each option to understand why it is correct or incorrect:
Option A) Unit Testing - This option is incorrect because unit testing is a type of testing that focuses on testing individual units or components of a system in isolation. It primarily verifies the correctness of the code and ensures that each unit functions as expected. While unit testing is important, it may not necessarily encourage objective testing as it focuses on specific units rather than the system as a whole.
Option B) System Testing - This option is incorrect because system testing is a type of testing that focuses on testing the entire system as a whole to ensure that all components work together correctly and meet the specified requirements. While system testing is crucial for verifying the system's behavior, it may involve subjective judgment or bias, especially when evaluating user interfaces or user experience aspects.
Option C) Independent Testing - This option is correct because independent testing refers to testing conducted by individuals or teams who are not directly involved in the development of the system. Independent testers bring an unbiased perspective and can objectively evaluate the system against the specified requirements. This type of testing helps identify any deviations or discrepancies from the desired behavior without any subjective bias.
Option D) Destructive Testing - This option is incorrect because destructive testing is a type of testing that aims to determine the system's behavior under extreme or abnormal conditions, such as stress testing or load testing. While destructive testing is important for assessing the system's robustness and resilience, it may not necessarily focus on objective evaluation of the system's functionality.
The correct answer is Option C) Independent Testing. This option encourages objective testing as it involves individuals or teams who are not directly involved in the development process, ensuring an unbiased evaluation of the system's functionality against the specified requirements.
A test plan is written specifically to describe a level of testing where the primary goal is establishing confidence in the system. Which of the following is a likely name for this document
-
Master Test Plan
-
System Test Plan
-
Acceptance Test Plan
-
Projoect Plan
AI Explanation
To answer this question, you need to understand the different levels of testing and their purposes.
Option A) Master Test Plan - This option is incorrect because a Master Test Plan typically describes the overall testing approach for a project, including the different types and levels of testing. It is not specific to establishing confidence in the system.
Option B) System Test Plan - This option is incorrect because a System Test Plan typically focuses on testing the entire system as a whole, ensuring that all the components work together correctly. While confidence in the system may be a goal of system testing, it is not the primary goal.
Option C) Acceptance Test Plan - This option is correct because an Acceptance Test Plan is specifically written to describe a level of testing where the primary goal is establishing confidence in the system. Acceptance testing is typically performed to ensure that the system meets the requirements and is ready for production use.
Option D) Project Plan - This option is incorrect because a Project Plan typically outlines the overall plan and objectives for a project, including activities such as resource allocation, timelines, and deliverables. It is not specific to establishing confidence in the system.
The correct answer is C) Acceptance Test Plan. This option is correct because it specifically describes a level of testing where the primary goal is establishing confidence in the system.