Tag: testing

Questions Related to testing

  1. Deliverable base-lining

  2. Defect prevention

  3. Management reporting

  4. None of the above


Correct Option: A

Data collected during testing should include

  1. Test Factors

  2. Functions/subroutines

  3. All of the above

  4. None of the above


Correct Option: C

The purpose of requirement phase is

  1. To freeze requirements

  2. To understand user needs

  3. To define the scope of the testing

  4. All of the above


Correct Option: D
Explanation:

To solve this question, the user needs to have a basic understanding of the software development life cycle. The requirement phase is a crucial phase in the software development process, and it serves several purposes.

Option A: To freeze requirements - This option is partially correct, as one purpose of the requirement phase is to document and finalize the requirements for the software. However, the term "freeze" may be misleading, as requirements are subject to change throughout the development process, and the requirement phase may need to be revisited if changes are made.

Option B: To understand user needs - This option is correct. During the requirement phase, developers work closely with stakeholders to gain a deep understanding of the user's needs, the problem the software is meant to solve, and the desired outcomes.

Option C: To define the scope of the testing - This option is incorrect, as the requirement phase is focused on defining the scope of the software development project, not the testing phase.

Option D: All of the above - This option is correct, as the requirement phase serves multiple purposes, including documenting and finalizing requirements, understanding user needs, and defining the scope of the software project.

Therefore, the answer is: D. All of the above.

  1. Checking that we are building the right system

  2. Checking that we are building the system right

  3. Performed by an independent test team

  4. Making sure that it is what the user really wants


Correct Option: B
  1. use test appropriate metrics

  2. declare that it is over when budget is consumed

  3. let the management decide that

  4. declare that it is ove when time is out


Correct Option: A

Choose the correct answer from the following combinations

  1. Compliance Testing - Business rules

  2. Black Box Testing - Path Coverage

  3. Regression Testing - End users

  4. File Integrity - Control Totals


Correct Option: D
  1. Stub

  2. Driver

  3. Proxy

  4. None of the above


Correct Option: B
Explanation:

To solve this question, the user needs to know about software testing and the different types of testing techniques. In particular, the user needs to understand the purpose of test drivers in software testing.

A test driver is a program that calls a software function with specific inputs and checks the return value to verify that the function behaves correctly. The purpose of the test driver is to automate the testing process and ensure that the function works as expected in different scenarios.

Now, let's go through each option and explain whether it is right or wrong:

A. Driver: This option is correct. A driver is a type of test harness that is used to test a software function. It calls the function and passes it test data to verify that the function works as expected. Therefore, option A is the correct answer.

B. Stub: This option is incorrect. A stub is a type of test double that provides a simplified version of a software component for testing purposes. It is used to replace a component that is not yet available or is too complex to test. A stub is not the same as a test driver, so option B is wrong.

C. Proxy: This option is incorrect. A proxy is a type of software component that acts as an intermediary between two applications or systems. It is used to provide security, scalability, or other features. A proxy is not the same as a test driver, so option C is wrong.

D. None of the above: This option is incorrect. At least one of the options (option A) is correct, so option D cannot be the correct answer.

Therefore, the answer is: A. Driver

  1. Green box

  2. Black box

  3. Yellow box

  4. White box


Correct Option: D
  1. Set up Test environment, Identify test cases and test cycles, Review test results, Assign test scripts

  2. Identify test cases and test cycles, Assign test scripts, set up test environment, review test results

  3. Set up test environment, identify test cases and test cycles, assign test scripts, review test results

  4. All of the above


Correct Option: C
  1. A small team to establish the best way to use the tool

  2. The vendor contractor to write the initial scripts

  3. Everyone who may eventually have some use for the tool

  4. The independent testin team


Correct Option: A