0

testing Online Quiz - 71

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

Which of the following is true of V-model?

  1. It includes the verification of designs.

  2. It states that modules are tested against user requirements.

  3. It specifies the test techniques to be used.

  4. It only models the testing phase.


Correct Option: B

When do you stop testing?

  1. When the specified number of faults are found.

  2. When the test completion criteria are met.

  3. When all high and medium priority tests are complete.

  4. When all statements have been executed.


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of test completion criteria.

Option A) When the specified number of faults are found - This option is incorrect because the number of faults found does not determine when testing should stop. It is possible that more faults could exist even after the specified number is found.

Option B) When the test completion criteria are met - This option is correct. Test completion criteria are pre-defined conditions or metrics that determine when testing should be considered complete. These criteria are usually based on factors such as test coverage, test objectives, and risk analysis.

Option C) When all high and medium priority tests are complete - This option is incorrect because it only considers the completion of high and medium priority tests. Testing should not be stopped solely based on the completion of specific priority tests, as low priority tests or other factors may still be important.

Option D) When all statements have been executed - This option is incorrect because executing all statements does not guarantee that all possible scenarios and conditions have been tested. It is possible to have untested scenarios even if all statements have been executed.

The correct answer is B) When the test completion criteria are met. This option is correct because it considers the overall objectives and criteria for testing, ensuring that all necessary factors have been considered before stopping the testing process.

Which of the following would NOT normally form part of a test plan?

  1. Features to be tested

  2. Incident reports

  3. Risks

  4. Schedule


Correct Option: B

Which of the following is NOT a white box technique?

  1. Statement testing

  2. Path testing

  3. Data flow testing

  4. State transition testing


Correct Option: D
Explanation:

To answer this question, the user needs to know about white box testing techniques.

White box testing techniques are also known as structural testing techniques. These techniques are used to test the internal structure of the software system. In white box testing, the tester has knowledge of the internal workings of the system being tested.

Now, let's go through each option to determine which one is NOT a white box technique:

A. Statement testing: This is a white box testing technique where each statement in the source code is executed at least once. The purpose of this testing is to ensure that every statement in the code has been executed and tested.

B. Path testing: This is a white box testing technique where all possible paths through the software are tested. The purpose of this testing is to ensure that all logical paths through the software have been executed and tested.

C. Data flow testing: This is a white box testing technique where the flow of data through the software is tested. The purpose of this testing is to ensure that data is correctly input, processed, and output by the software.

D. State transition testing: This is a black box testing technique that tests the response of the system to different input conditions. The purpose of this testing is to ensure that the system responds correctly to different input conditions.

Therefore, option D is NOT a white box technique. It is a black box technique.

The Answer is: D

In prioritising what to test, the most important objective is to?

  1. find as many faults as possible.

  2. test high risk areas.

  3. obtain good test coverage.

  4. test whatever is easiest to test.


Correct Option: B

Testing OO class operations is made more difficult by?

  1. encapsulation

  2. inheritance

  3. polymorphism

  4. both b and c


Correct Option: D

AI Explanation

To answer this question, we need to understand the concept of object-oriented (OO) class operations.

Option A) Encapsulation - This option is incorrect because encapsulation is a fundamental principle of object-oriented programming that promotes data hiding and abstraction. While encapsulation can make testing more challenging, it is not the only factor that contributes to the difficulty of testing OO class operations.

Option B) Inheritance - This option is incorrect because inheritance is another fundamental concept in object-oriented programming that allows classes to inherit properties and behaviors from parent classes. While inheritance can introduce complexity in testing, it is not the only factor that contributes to the difficulty of testing OO class operations.

Option C) Polymorphism - This option is incorrect because polymorphism is a feature of object-oriented programming that allows objects of different classes to be treated as objects of a common superclass. While polymorphism can introduce challenges in testing, it is not the only factor that contributes to the difficulty of testing OO class operations.

Option D) Both B and C - This option is correct because both inheritance and polymorphism can make testing OO class operations more challenging. Inheritance introduces the concept of subclasses inheriting methods and properties from parent classes, which can lead to complex dependencies and interactions. Polymorphism allows objects of different classes to be used interchangeably, which can introduce additional complexity in testing.

Therefore, the correct answer is D) both B and C.

The cyclomatic complexity metric provides the designer with information regarding the number of?

  1. cycles in the program

  2. errors in the program

  3. independent logic paths in the program

  4. statements in the program


Correct Option: C

The testing technique that requires devising test cases to exercise the internal logic of a software module is called?

  1. behavioral testing

  2. black-box testing

  3. grey-box testing

  4. white-box testing


Correct Option: D

What is the unit of measure used by the IFPUG Functional Size Measurement Method

  1. Function points

  2. External Interface Files

  3. Internal Logical Files

  4. Feature points


Correct Option: A

What is the percentage the client spend for development and testing?

  1. 50-50

  2. 40-60

  3. 60-40

  4. Depend on the criticality of the application


Correct Option: D

Which method is mainly useful for web based Testing?

  1. Cause effect graph

  2. Orthogonal array testing

  3. State transition

  4. Decision table


Correct Option: C

Who is the responsible person for Business Requirements Document (BRD) and Requirements Traceability Matrix (RTM) ?

  1. VTM

  2. DL

  3. BA

  4. SPONSOR


Correct Option: C

Who is the responsible person to produce design specification for a project?

  1. VTM

  2. DL

  3. BA

  4. SPONSOR


Correct Option: C

When do you raise requirement defect?

  1. Before FPQ

  2. After FPQ

  3. Before HLE

  4. After HLE


Correct Option: B

Test cases are selected at the edges of the equivalence classes. Whast is the technique mentioned here?

  1. Boundary value analysis

  2. Equivalence Partioning

  3. State transition

  4. Cause effect graph


Correct Option: A

Following are the steps for Functional point analysis. Number them in order: 1.Identify sub-processes depending on the category 2.Obtain total count 3.Identify processes performed by applications 4.Categorize into managerial and control

  1. 3124

  2. 4312

  3. 3412

  4. 1342


Correct Option: B

Which of the following ESTIMATION TECHNIQUE uses forecasting technique?

  1. FPA

  2. SWAG

  3. DELPHI

  4. Production standards


Correct Option: C

You can create you own view with your settings in Clearcase as in QC

  1. True

  2. False


Correct Option: A

Does clearcase allow write on the element which is check-out mode?

  1. Yes

  2. No

  3. NIL

  4. NiL


Correct Option: A
- Hide questions