0

testing Online Quiz - 69

Description: testing Online Quiz - 69
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

Identify which one is an internal failure

  1. Delaying tester’s access to areas of the code

  2. Replacement with updated product

  3. Training programmers to make or miss fewer bugs

  4. Testing by Tech. Support


Correct Option: C
  1. Same as black box testing B

  2. Same as white box testing

  3. Same as functional testing

  4. None of the above.


Correct Option: B

Which statement is relevant for test driver?

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

  2. A document that identifies test items and includes current status and location information

  3. A document describing any event during the testing process that requires investigation

  4. A software item that is an object of testing.


Correct Option: B

Branch Coverage is

  1. Another name for decision coverage

  2. Another name for all-edges coverage

  3. Another name for basic path coverage

  4. All the above


Correct Option: C

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

  1. Same as code walkthrough

  2. Same as code inspection

  3. Verification of code by the developers

  4. None of the above.


Correct Option: D

The following example is a If (condition1 && (condition2 || function1())) statement1; else statement2;

  1. Decision coverage

  2. Condition coverage

  3. Statement coverage

  4. Path Coverage


Correct Option: B

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)?

  1. A set of test cases for testing classes of objects

  2. An input or output range of values such that only one value in the range becomes a test case

  3. An input or output range of values such that each value in the range becomes a test case

  4. An input or output range of values such that every tenth value in the range becomes a test case.


Correct Option: B

Exhaustive Testing is

  1. Is impractical but possible

  2. Is practically possible

  3. Is impractical and impossible

  4. Is always possible


Correct Option: A

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.

  1. Statement Testing and coverage

  2. Decision Testing and coverage

  3. Condition Coverage

  4. Boundary value analysis


Correct Option: D

Hand-over of Test-ware is a part of which Phase

  1. Test Analysis and Design

  2. Test Planning and control

  3. Test Closure Activities

  4. Evaluating exit criteria and reporting


Correct Option: C

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’

  1. Sanity testing

  2. System testing

  3. Smoke testing

  4. Regression testing


Correct Option: C

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?

  1. Stress testing

  2. Load testing

  3. Acceptance testing

  4. Resistance testing


Correct Option: A

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

  1. Adhoc testing

  2. Compatability testing

  3. Smoke testing

  4. Mutation testing


Correct Option: C

What are the good practices for testing within the development life cycle

  1. Early test analysis and design

  2. Different test levels are defined with specific objectives

  3. Testers will start to get involved as soon as coding

  4. A and B


Correct Option: D

Which of the following is a non-functional quality characteristic?

  1. Feasibility

  2. Usability

  3. Maintenance

  4. Regression


Correct Option: C
  1. Alpha testing

  2. beta testing

  3. Unit testing

  4. Adhoc testing


Correct Option: D

COTS stands for

  1. Commercial off-the shelf software

  2. Commerce of the System

  3. Configuration of the System

  4. Commercial off-the Shelf system


Correct Option: A

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.

  1. users/customers

  2. customers or developers

  3. developers

  4. customers


Correct Option: A
  1. Unit Testing

  2. System Testing

  3. Independent Testing

  4. Destructive Testing


Correct Option: C
- Hide questions