0

testing Online Quiz - 145

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

A failure is:

  1. found in the software; the result of an error.

  2. departure from specified behaviour

  3. an incorrect step, process or data definition in a computer program.

  4. a human action that produces an incorrect result.


Correct Option: B

Pick the best definition of quality

  1. Quality is job one

  2. Zero defects

  3. Conformance to requirements

  4. Work as designed


Correct Option: C

Why is software testing important?

  1. Confidence to stakeholders.

  2. Confidence to client that it is bug-free.

  3. zero defects.

  4. Prevent problems of failure in


Correct Option: A

Functional system testing is:

  1. testing that the system functions with other systems

  2. testing that the components that comprise the system function together

  3. testing the end to end functionality of the system as a whole

  4. testing the system performs functions within specified response times


Correct Option: C

What does ‘UAT’ represent?

  1. User Acceptance Testing

  2. User Acceptable Testing

  3. User Acceptance Technology

  4. Useful Acceptance Testing


Correct Option: A

JUnit was developed by?

  1. Kent Beck, Erich Gamma

  2. Richard Samuel, David Arnold

  3. James Kosling, Jack Peter

  4. Juanco Anez


Correct Option: A

If an expected result is not specified then:

  1. We cannot run the test

  2. It may be difficult to repeat the test

  3. It may be difficult to determine if the test has passed or failed

  4. We cannot automate the user inputs


Correct Option: C

AI Explanation

To answer this question, you need to understand the implications of not specifying an expected result in a test case. Let's go through each option to understand why it is correct or incorrect:

Option A) We cannot run the test - This option is incorrect. Not specifying an expected result does not prevent us from running the test. We can still execute the test and observe the actual result.

Option B) It may be difficult to repeat the test - This option is incorrect. The ability to repeat the test does not depend on whether or not an expected result is specified. We can still repeat the test by executing the same steps and observing the results.

Option C) It may be difficult to determine if the test has passed or failed - This option is correct. When an expected result is not specified, it becomes challenging to evaluate whether the observed result aligns with what is expected. Without an expected result, we lack a benchmark to compare the actual result and determine if the test has passed or failed.

Option D) We cannot automate the user inputs - This option is incorrect. The ability to automate user inputs does not depend on whether or not an expected result is specified. We can still automate user inputs even if the expected result is not explicitly mentioned.

The correct answer is C) It may be difficult to determine if the test has passed or failed. This option is correct because not specifying an expected result makes it challenging to evaluate the test's outcome and determine if it has met the desired criteria.

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. Everyone who may eventually have some use for the tool

  3. The independent testing team

  4.    The vendor contractor to write the initial scripts


Correct Option: A

Name of the each method inside test class must end with "test".

  1. True

  2. False


Correct Option: B

Return type of a test method must be void.

  1. True

  2. False


Correct Option: A

Test method must throw exceptions.

  1. True

  2. False


Correct Option: B

Test method must not have any parameter (Arguments).

  1. True

  2. False


Correct Option: A

Software testing accounts to what percent of software development costs?

  1. 10-20

  2. 40-50

  3. 70-80

  4. 5-10


Correct Option: B

To test a function, the programmer has to write a___, which calls the function and passes it test data

  1. Stub

  2. Driver

  3. Proxy

  4. None of the above


Correct Option: B

If an expected result is not specified then:

  1. We cannot run the test

  2. It may be difficult to repeat the test

  3. It may be difficult to determine if the test has passed or failed

  4. We cannot automate the user inputs


Correct Option: C

Testing is a____if a program does not work correctly.

  1. Failure

  2. Success

  3. Complete

  4. Partial


Correct Option: A

Which testing methods are used by end-users who actually test software before they use it.

  1. Alpha and Beta Testing

  2. White Box Testing

  3. Black Box Testing

  4. Trial and Error Testing


Correct Option: A

Ideally in which phase of Developement Testing should be started?

  1. Developement phase

  2. Design Phase

  3. Requirement gathering phase

  4. Intergration phase


Correct Option: C

Which of the following is not TCS developed Testing tool?

  1. Sahi

  2. SCEGEN

  3. Testify

  4. Masketeer


Correct Option: A

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
- Hide questions