0

testing Online Quiz - 10

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

Loop testing is a control structure testing technique where the criteria used to design test cases is that they

  1. Rely basis path testing

  2. Exercise the logical conditions in a program module

  3. Select test paths based on the locations and uses of variables

  4. Focus on testing the validity of loop constructs


Correct Option: D

AI Explanation

To answer this question, you need to understand the concept of loop testing. Loop testing is a control structure testing technique that focuses on testing the validity of loop constructs.

Let's go through each option to understand why it is correct or incorrect:

Option A) Rely basis path testing - This option is incorrect because loop testing is a separate testing technique and is not reliant on basis path testing.

Option B) Exercise the logical conditions in a program module - This option is incorrect because loop testing specifically focuses on testing the validity of loop constructs, rather than exercising logical conditions in a program module.

Option C) Select test paths based on the locations and uses of variables - This option is incorrect because loop testing does not specifically select test paths based on the locations and uses of variables. It primarily focuses on testing the validity of loop constructs.

Option D) Focus on testing the validity of loop constructs - This option is correct because loop testing is a control structure testing technique that specifically focuses on testing the validity of loop constructs.

The correct answer is D. This option is correct because loop testing is designed to specifically test the validity of loop constructs.

Testing which is simulated or actual operational testing by potential users/customers or an independent test team at the developers' site is called

  1. Alpha Testing

  2. Beta Testing

  3. White Box Testing

  4. Black Box Testing


Correct Option: A

Test Cases are designed by

  1. Testers

  2. Test Lead

  3. Test Manager

  4. Developer


Correct Option: A

Identify the softwate testing website from below


Correct Option: A

In the context of software Testing, Verification and Validation does not mean different things.

  1. True

  2. False


Correct Option: B

Testing is a means to

  1. Ensure the absence of defects

  2. Identify the presence of defects and fix them

  3. Identify a bad developer

  4. All of the above


Correct Option: B

Test entry and exit criteria are documented in

  1. Cost Avoidance Report

  2. Test Approach/Strategy

  3. Test Plan

  4. Test Model


Correct Option: B

To deliver quality software, which of the following is must

  1. Software Quality Assurance

  2. Software Testing

  3. A good Tester

  4. All of the above


Correct Option: D

Testing, in which code is not executed is called

  1. Static Testing

  2. Dynamic Testing

  3. White Box Testing

  4. Reliability Testing


Correct Option: A

x=StrComp("abc","abc") x=???

  1. 0

  2. 1

  3. 2

  4. 3


Correct Option: A

While using Reporter Event Method in QTP,Event Status is given as 0. In Result Window, reporter reports the status as

  1. Pass

  2. Fail

  3. Done

  4. Warning


Correct Option: A

File System Object Model is contained in which library in Scrrun.dll

  1. Scripting type

  2. File Creation

  3. Object Oriented

  4. Misselaneous


Correct Option: A

Keyword that is used to diassociate an object variable from actual object in QTP using VB Script

  1. Free

  2. Release

  3. DisAssociate

  4. Nothing


Correct Option: D
  1. checking that we are building the system right

  2. performed by an independent test team

  3. checking that we are building the right system

  4. make sure that that it is what the user wants


Correct Option: A

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 whether the test have passed/failed

  3. we cannot automate the user input

  4. we cannot run the test


Correct Option: B

The purpose of requirement phase is

  1. To freeze requirement

  2. To understand user needs

  3. To define the scope of testing

  4. all of the above


Correct Option: D

which of the following can be succesfully tested using loop testing methodology

  1. Simple loops

  2. Nested loops

  3. Concatenated loops

  4. All of the above


Correct Option: D

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

  1. when the budget is consumed

  2. use test appropriate metrics

  3. when the time is out

  4. let the management decide


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of testing completion criteria.

Option A) When the budget is consumed - This option is incorrect because testing completion should not be solely based on budget consumption. While budget can be a factor to consider, it should not be the sole determining factor for when testing is over.

Option B) Use test appropriate metrics - This option is correct because using test appropriate metrics is the best approach to determine when testing is over. Test metrics can include factors such as test coverage, defect density, and test pass rate. These metrics provide objective data to evaluate the progress and effectiveness of testing, and can help determine when the testing objectives have been met.

Option C) When the time is out - This option is incorrect because testing completion should not be solely based on the passing of a specific time duration. While time can be a factor to consider, it should not be the sole determining factor for when testing is over.

Option D) Let the management decide - This option is incorrect because while management input and decision-making can be valuable, it should not be the sole determining factor for when testing is over. Testing completion should be based on objective criteria and metrics.

The correct answer is B) Use test appropriate metrics. This option is correct because using test appropriate metrics provides objective data to evaluate the progress and effectiveness of testing, and helps determine when the testing objectives have been met.

Cyclomatic complexity method comes under which testing method?

  1. Green box

  2. Black box

  3. White box

  4. Yellow box


Correct Option: C
  1. After coding

  2. After freezing the requirement

  3. After internal design

  4. After external design


Correct Option: B
- Hide questions