0

testing Online Quiz - 16

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

Which of the following is a major task of test planning?

  1. Determining the test approach.

  2. Preparing test specifications.

  3. Evaluating exit criteria and reporting.

  4. Measuring and analyzing results.


Correct Option: A

Fault Masking is ?

  1. Error condition hiding another error condition

  2. Creating a test case which does not reveal a fault

  3. Masking a fault by developer

  4. Masking a fault by a tester


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of fault masking.

Option A) Error condition hiding another error condition - This option is correct because fault masking refers to a situation where one error condition hides or masks another error condition. In other words, the presence of one fault in a system may prevent the detection of another fault.

Option B) Creating a test case which does not reveal a fault - This option is incorrect because fault masking is not related to creating test cases. It is about the presence of one error condition hiding another error condition.

Option C) Masking a fault by a developer - This option is incorrect because fault masking is not done intentionally by a developer. It is a situation that can occur unintentionally in a system when one fault hides another fault.

Option D) Masking a fault by a tester - This option is incorrect because fault masking is not done intentionally by a tester. It is a situation that can occur unintentionally in a system when one fault hides another fault.

The correct answer is A) Error condition hiding another error condition. This option is correct because it accurately describes the concept of fault masking.

A common test technique during component test is:

  1. Usability testing

  2. Security testing

  3. Performance testing

  4. Statement and branch testing


Correct Option: D

Which of the following is NOT true of test coverage criteria?

  1. A measure of test coverage criteria is the percentage of user requirements covered.

  2. Test coverage criteria can be measured in terms of items exercised by a test suite.

  3. A measure of test coverage criteria is the percentage of faults found.

  4. Test coverage criteria are often used when specifying test completion criteria.


Correct Option: B

AI Explanation

To answer this question, you need to understand test coverage criteria. Test coverage criteria refer to the extent to which a test suite or set of tests covers the requirements or components of a system. Let's go through each option to understand why it is correct or incorrect:

Option A) A measure of test coverage criteria is the percentage of user requirements covered. - This option is correct because one of the measures of test coverage criteria is indeed the percentage of user requirements covered. It helps determine how well the test suite covers the specified requirements.

Option B) Test coverage criteria can be measured in terms of items exercised by a test suite. - This option is incorrect because measuring test coverage criteria in terms of items exercised by a test suite is a valid approach. It helps assess the effectiveness of the tests in exercising the different components or functionalities of a system.

Option C) A measure of test coverage criteria is the percentage of faults found. - This option is correct because one of the measures of test coverage criteria is indeed the percentage of faults found. It helps evaluate how well the tests are able to detect faults or defects in the system.

Option D) Test coverage criteria are often used when specifying test completion criteria. - This option is correct because test coverage criteria are commonly used when determining test completion criteria. Test coverage criteria help define the minimum level of coverage that needs to be achieved before considering the testing phase complete.

The correct answer is Option B. This option is not true because test coverage criteria can indeed be measured in terms of items exercised by a test suite.

Therefore, the correct answer is B.

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

Given the following sets of test management terms (v-z), and activity descriptions (1-5), which one of the following best pairs the two sets? v ? test control w ? test monitoring x - test estimation y - incident management z - configuration control 1 - calculation of required test resources 2 - maintenance of record of test results 3 - re-allocation of resources when tests overrun 4 - report on deviation from test plan 5 - tracking of anomalous test results

  1. v-3,w-2,x-1,y-5,z-4

  2. v-2,w-5,x-1,y-4,z-3

  3. v-3,w-4,x-1,y-5,z-2

  4. v-2,w-1,x-4,y-3,z-5


Correct Option: C

The oracle assumption:

  1. is that there is some existing system against which test output may be checked.

  2. is that the tester can routinely identify the correct outcome of a test.

  3. is that the tester knows everything about the software under test.

  4. is that the tests are reviewed by experienced testers.


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

Some tools are geared more for developer use. For the 5 tools listed, which statement BEST details those for developers i)Performance testing tools ii)Coverage measurement tools iii)Test comparators iv)Dynamic analysis tools v)Incident management tools

  1. i, iii. and iv. are more for developers

  2. ii. and iv. are more for developers

  3. ii, iii. and iv. are more for developers

  4. ii. and iii. are more for developers


Correct Option: B

Which of the following activities should be performed during the selection and implementation of a testing tool i) Investigate the organization's test process. ii) Conduct a proof of concept. iii) Implement the selected tool on a project behind schedule to save time. iv) Identify coaching and mentoring requirements for the use of the selected tool

  1. i, ii, iii

  2. ii, iii, iv

  3. i, iii, iv

  4. i, ii, iv


Correct Option: D

AI Explanation

To answer this question, you need to understand the activities involved in the selection and implementation of a testing tool. Let's go through each option to understand why it is correct or incorrect:

Option A) i, ii, iii - This option is incorrect because it includes activity iii, which suggests implementing the selected tool on a project behind schedule to save time. This is not a recommended practice as it can introduce additional risks and potentially worsen the situation.

Option B) ii, iii, iv - This option is incorrect because it does not include activity i, which is to investigate the organization's test process. Understanding the organization's test process is crucial in selecting and implementing a testing tool that aligns with the organization's needs and requirements.

Option C) i, iii, iv - This option is incorrect because it does not include activity ii, which is to conduct a proof of concept. Conducting a proof of concept helps evaluate the tool's capabilities and suitability before making a final decision.

Option D) i, ii, iv - This option is correct because it includes all the recommended activities during the selection and implementation of a testing tool.

The correct answer is D. This option is correct because it includes investigating the organization's test process (i), conducting a proof of concept (ii), and identifying coaching and mentoring requirements (iv), which are all important steps in ensuring the successful selection and implementation of a testing tool.

Which of the following benefits are MOST likely to be achieved by using test Tools i) Easy to access information about tests and testing. ii) Reduced maintenance of testware. iii) Easy and cheap to implement. iv) Greater consistency of tests.

  1. ii and iv

  2. ii and iii

  3. i and iv

  4. i and iii


Correct Option: C

AI Explanation

To answer this question, you need to understand the benefits of using test tools. Let's go through each option to understand why it is correct or incorrect:

Option A) ii and iv - This option is incorrect because it includes only two benefits, but the correct answer has four benefits.

Option B) ii and iii - This option is incorrect because it includes only two benefits, but the correct answer has four benefits.

Option C) i and iv - This option is correct because it includes the benefits of easy access to information about tests and testing (i) and greater consistency of tests (iv), both of which are likely to be achieved by using test tools.

Option D) i and iii - This option is incorrect because it includes the benefit of easy access to information about tests and testing (i), but it does not include the benefit of reduced maintenance of testware (ii), which is also likely to be achieved by using test tools.

The correct answer is C. This option is correct because it includes both the benefits of easy access to information about tests and testing and greater consistency of tests, which are likely to be achieved by using test tools.

With which of the following categories is a test comparator tool USUALLY Associated?

  1. Tool support for performance and monitoring.

  2. Tool support for static testing.

  3. Tool support for test execution and logging.

  4. Tool support for the management of testing and tests.


Correct Option: C

AI Explanation

To answer this question, you need to understand the different categories of tool support in software testing.

Option A) Tool support for performance and monitoring - This option is incorrect. Tools associated with performance and monitoring typically focus on measuring and analyzing the performance of the software during runtime, rather than comparing the actual results of a test with the expected results.

Option B) Tool support for static testing - This option is incorrect. Static testing tools are used to analyze the source code or documentation of the software without executing it. They do not involve comparing test results.

Option C) Tool support for test execution and logging - This option is correct. A test comparator tool is usually associated with test execution and logging. It is used to compare the actual results of a test with the expected results and log any discrepancies or failures.

Option D) Tool support for the management of testing and tests - This option is incorrect. Tools for the management of testing and tests typically focus on test planning, test case management, and test reporting. They do not specifically deal with comparing test results.

The correct answer is C) Tool support for test execution and logging. This option is correct because test comparator tools are commonly used in the execution phase of testing to compare actual and expected results and log any deviations or failures.

For which of the following would a static analysis tool be MOST useful?

  1. Supporting reviews

  2. Validating models of the software

  3. Testing code executed in a special test harness

  4. Enforcement of coding standards


Correct Option: D

Find the mismatch

  1. Test data preparation tools – Manipulate Data bases

  2. Test design tools – Generate test inputs

  3. Requirement management tools – Enables individual tests to be traceable

  4. Configuration management tools – Check for consistence


Correct Option: D

Data flow analysis studies:

  1. possible communications bottlenecks in a program.

  2. the rate of change of data values as a program executes.

  3. the use of data on paths through the code.

  4. the intrinsic complexity of the code.


Correct Option: C

Static analysis tools are typically used by

  1. Testers

  2. Developers

  3. Testers & Developers

  4. None


Correct Option: B

What type of tools to be used for Regression Testing

  1. Performance

  2. Record/Playback

  3. A. & B

  4. None


Correct Option: B

The principal attributes of tools and automation are

  1. Speed & efficiency

  2. Accuracy & precision

  3. All of the above

  4. None of the above


Correct Option: C

Consider the following: Pick up and read the newspaper Look at what is on television If there is a program that you are interested in watching then switch the television on and watch the program Otherwise Continue reading the newspaper If there is a crossword in the newspaper then try and complete the crossword

  1. SC = 1 and DC = 2

  2. SC = 1 and DC = 3

  3. SC = 2 and DC = 2

  4. SC = 2 and DC = 3


Correct Option: D

Consider the following statements: i. An incident may be closed without being fixed. ii. Incidents may not be raised against documentation. iii. The final stage of incident tracking is fixing. iv. The incident record does not include information on test environments.

  1. ii is true, i, iii and iv are false

  2. i is true, ii, iii and iv are false

  3. i and iv are true, ii and iii are false

  4. i and ii are true, iii and iv are false


Correct Option: B
- Hide questions