0

testing Online Quiz - 154

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

A regression test

  1. will help ensue unchanged areas of the software have not been affected

  2. can only be run during user acceptance testing

  3. will help ensure changed areas of the software have not been affected

  4. will always be automed


Correct Option: A

What is the difference between testing software developed by contractor outside your country, versus testing software developed by a contractor within your country?

  1. Does not meet people needs

  2. Loss of control over reallocation of resources

  3. Cultural difference

  4. Relinquishments of control


Correct Option: C

Which of the following could be a reason for a failure 1. Testing fault 2. Software fault 3.Design fault 4. Environment fault 5. Documentation fault

  1. 2 is a valid reason; 1,3,4&5 are not

  2. 1,2,3,4 are valid reasons; 5 is not

  3. 1,2,3 are valid reasons; 4&5 are not

  4. All of them are valid


Correct Option: D

A reliable website/application will be the one which

  1. is likely to be fault-free

  2. is unlikely to cause a failure

  3. is likely to be liked by the users

  4. is unlikely to be completed on schedule


Correct Option: B

The most effective test approach is to begin testing

  1. After Coding

  2. After external design

  3. After internal design

  4. After freezing the requirements


Correct Option: D

If an acceptance criterion or expected result is not specified in a test

  1. it may be difficult to repeat the test

  2. It will be difficult to decide if the test has passed or failed

  3. We cannot run the test

  4. We cannot automate the user inputs


Correct Option: B

Which of these can be successfully tested using Loop Testing methodology?

  1. Simple Loops

  2. Nested Loops

  3. Concatenated Loops

  4. All of the above


Correct Option: D

Test are prioritized so that we

  1. Shorten the time required for testing

  2. Find more faults

  3. Do more effective testing

  4. Do the best testing in the time available


Correct Option: D

Which is the most required skill of a good tester?

  1. Having good attention to detail

  2. Being diplomatic

  3. Able to be relied on

  4. Able to write software


Correct Option: C

Defect Management process does not include

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

Software Verification is

  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

To know with adequate confidence, "when is testing over", which of the following is the best approach?

  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

AI Explanation

To answer this question, you need to understand the concept of test completion criteria. Test completion criteria are predefined conditions or metrics that are used to determine when testing is considered to be complete. Let's go through each option to understand why it is correct or incorrect:

Option A) Use test appropriate metrics - This option is correct because using test appropriate metrics is the best approach to determine when testing is over. These metrics can include factors such as test coverage, defect detection rate, and test pass rate. By measuring these metrics against predefined thresholds, you can assess the adequacy of testing and determine when it is complete.

Option B) Declare that it is over when the budget is consumed - This option is incorrect because the budget consumed may not necessarily indicate the completion of testing. Testing may be incomplete even if the budget is fully consumed, especially if the test objectives and criteria are not met.

Option C) Let the management decide that - This option is incorrect because relying solely on management to determine when testing is over may not be the most objective or accurate approach. Management decisions may be influenced by factors other than the actual testing progress and quality.

Option D) Declare that it is over when time is out - This option is incorrect because simply declaring testing to be over based on the expiration of a predetermined time limit may not take into account the actual completion of testing objectives or the achievement of desired quality levels.

The correct answer is Option A) Use test appropriate metrics. This option is correct because it allows for a more objective and quantitative assessment of testing progress and quality, based on predefined criteria or metrics.

  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

Cyclomatic Complexity method comes under which testing method

  1. Green box

  2. Black box

  3. Yellow box

  4. White box


Correct Option: D

AI Explanation

To answer this question, you need to understand the concept of Cyclomatic Complexity and its relationship with testing methods.

Cyclomatic Complexity is a software metric that measures the complexity of a program by counting the number of independent paths through the code. It helps in determining the number of test cases required to achieve a certain level of coverage.

The testing method that involves considering the internal structure, logic, and implementation details of the software is known as White box testing. White box testing is also referred to as structural testing or glass box testing.

Therefore, the correct answer is:

Option D) White box - This option is correct because Cyclomatic Complexity is a metric used in white box testing to measure the complexity of a program and determine the number of test cases required.

  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

When a new testing tool is purchased, it should be used first by

  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

AI Explanation

To answer this question, you need to understand the process of introducing a new testing tool. Let's go through each option to understand why it is correct or incorrect:

Option A) A small team to establish the best way to use the tool - This option is correct. When a new testing tool is purchased, it is advisable to start using it with a small team. This allows the team to explore the tool's features, understand its capabilities, and establish the best practices and guidelines for using the tool effectively. This initial exploration and experimentation help in identifying any limitations or challenges associated with the tool.

Option B) The vendor contractor to write the initial scripts - This option is incorrect. While the vendor contractor can provide guidance and support in setting up and configuring the tool, it is not their responsibility to write the initial scripts. The scripts should be written by the testing team who will be using the tool.

Option C) Everyone who may eventually have some use for the tool - This option is incorrect. It is not necessary for everyone to start using the tool right away. Instead, it is more effective to have a small team initially use the tool and then gradually introduce it to other team members once the best practices and guidelines have been established.

Option D) The independent testing team - This option is incorrect. While the independent testing team may eventually use the tool, it is not necessary for them to be the first ones to start using it. The tool should be initially used by a small team to establish the best way to use it.

The correct answer is A) A small team to establish the best way to use the tool. This option is correct because it allows for experimentation and exploration of the tool's features, helping to establish the most effective way to use the tool.

Equivalence partitioning is

  1. A black box testing technique than can only be used during system testing

  2. A white box testing technique appropriate for component testing

  3. A black box testing technique used only by developers

  4. A black box testing technique appropriate to all levels of testing


Correct Option: D
- Hide questions