0

testing Online Quiz - 100

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

Test reporting and defect management is the part of:

  1. test planning

  2. test execution

  3. both

  4. none of the above


Correct Option: D

Which one is not correct?

  1. Test plan is a contract between the testers and the project team and user describing the role of testing in the project

  2. Test Strategy is the plan for how you are going to run the test case

  3. The test plan should give information on software being tested, test objectives and risks and specific test to be performed

  4. Test planning can be started as soon as the time requirements definition starts


Correct Option: B

Error-Based testing seeks to demonstrate that:

  1. Certain errors are not committed in programming process.

  2. No errors were committed in test execution.

  3. No errors were observed in current release.

  4. The new release contains only the fixes for previous release bugs.


Correct Option: A

Error guessing is best used:

  1. a)       after more formal techniques have been applied

  2. b)       as the first approach to deriving test cases

  3. c)       by inexperienced testers

  4. d)       after the system has gone live


Correct Option: A

Consider the following statements: i. 100% statement coverage guarantees 100% branch coverage. ii. 100% branch coverage guarantees 100% statement coverage. iii. 100% branch coverage guarantees 100% decision coverage. iv. 100% decision coverage guarantees 100% branch coverage. v. 100% statement coverage guarantees 100% decision coverage.

  1. a)       ii is True; i, iii, iv & v are False

  2. b)       i & v are True; ii, iii & iv are False

  3. c)       ii & iii are True; i, iv & v are False

  4. d)       ii, iii & iv are True; i & v are False


Correct Option: D

AI Explanation

To answer this question, we need to understand the concepts of statement coverage, branch coverage, and decision coverage.

Statement coverage: It measures the percentage of statements in the code that have been executed during testing.

Branch coverage: It measures the percentage of branches (or decision points) in the code that have been executed during testing. A branch is a point in the code where there are multiple possible paths or choices.

Decision coverage: It measures the percentage of decision outcomes that have been executed during testing. A decision outcome refers to the different possible results of a decision point or branch.

Now let's go through each statement to determine if it is true or false:

i. 100% statement coverage guarantees 100% branch coverage. This statement is false. Although 100% statement coverage ensures that all statements have been executed, it doesn't guarantee that all branches have been covered.

ii. 100% branch coverage guarantees 100% statement coverage. This statement is false. While 100% branch coverage ensures that all branches have been executed, it doesn't guarantee that all statements have been covered.

iii. 100% branch coverage guarantees 100% decision coverage. This statement is true. If all branches have been executed, then all possible decision outcomes must have been covered as well.

iv. 100% decision coverage guarantees 100% branch coverage. This statement is false. Although 100% decision coverage ensures that all decision outcomes have been executed, it doesn't guarantee that all branches have been covered.

v. 100% statement coverage guarantees 100% decision coverage. This statement is false. While 100% statement coverage ensures that all statements have been executed, it doesn't guarantee that all decision outcomes have been covered.

Based on the explanations above, the correct answer is:

D) ii, iii & iv are True; i & v are False.

Acceptance testing is the demonstration that a system meets requirements

  1. True

  2. False


Correct Option: B

In order to reduce the time needed for regression testing which method(s) you can apply from the following:

  1. a. Automate if you can.

  2. b. Combine test cases.

  3. c. Designate some tests for periodic testing.

  4. d. All the above


Correct Option: D

The testing effort may not depend on the following factor:

  1. a. Characteristics of reported bugs

  2. b. Characteristics of the product

  3. c. Characteristics of the development process

  4. d. The outcome of testing


Correct Option: A

What is the main reason for testing software before releasing it?

  1. to show that system will work after release

  2. to decide when the software is of sufficient quality to release

  3. to find as many bugs as possible before release

  4. to give information for a risk based decision about release


Correct Option: D

Which of the following is NOT a standard related to testing?

  1. IEEE829

  2. IEEE827

  3. BS7925-1

  4. BS7925-2


Correct Option: B

which of the following statements are true?

  1. Faults in program specifications are the most expensive to fix.

  2. Faults in code are the most expensive to fix

  3. Faults in requirements are the most expensive to fix

  4. Faults in designs are the most expensive to fix


Correct Option: C

Which of the following is not the integration strategy?

  1. Design based

  2. Big-bang

  3. Bottom-up

  4. Top-down


Correct Option: A

What are the types of descriptive programming in QTP

  1. Static

  2. Tertiary

  3. Dynamic

  4. Both 1 and 3


Correct Option: D

The following is an example of Window(“Title:=Login”).Winedit(“Attached text:=Agent Name”).set “Sam”

  1. Dynamic DP

  2. Static DP

  3. None of the above

  4. Both 1 and 2


Correct Option: B

Which of the following is correct when we use descriptive programming in a script

  1. Programmatic descriptions for parent object and the child object is referred in Object Repository

  2. Programmatic descriptions for both parent object and the child objects

  3. Parent object is referred in Object Repository and the programmatic descriptions for child object

  4. None of the above


Correct Option: B,C

If the same programmatic description (Window (“Title:=Login”).)is used several times, then

  1. We can assign the object to a variable

  2. We can use With and End with statements

  3. We should use them every time

  4. None of the above


Correct Option: A,B

The following code – Set Myvar = Description.Create() is the way to use …… descriptive programming

  1. Dynamic

  2. Tertiary

  3. Static

  4. Both 1 and 3


Correct Option: A

In the following code – Set Myvar = Description.Create(), Myvar is known as

  1. Property Object

  2. Property Name

  3. Property Value

  4. Dynamic Property


Correct Option: A

Which method is used to get all objects located within a specific parent or only those that match some criteria for programmatic description

  1. Set

  2. Property Object

  3. Count

  4. ChildObjects


Correct Option: D

If Index:=1 is used with WebEdit Test Object in the descriptive programming, QTP will search for the …….. WebEdit Object in a Web Page

  1. Third

  2. First

  3. Second

  4. Last


Correct Option: C
- Hide questions