0

testing Online Quiz - 161

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

Defect clustering is A small no of module contains most of the defects

  1. True

  2. False


Correct Option: A

Which of the following is NOT a white box Technique?

  1. Statement Testing

  2. Path Testing

  3. Data flow Testing

  4. State Transition Testing


Correct Option: D

AI Explanation

To answer this question, you need to understand the concept of white box testing techniques. White box testing is a testing approach that focuses on the internal structure and implementation details of a software system. It involves testing the code and logic of the system to ensure that it functions correctly.

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

Option A) Statement Testing - This option is a white box testing technique. Statement testing involves testing each statement in the code to ensure that it is executed correctly.

Option B) Path Testing - This option is a white box testing technique. Path testing involves testing all possible paths through the code to ensure that every path is executed and tested.

Option C) Data flow Testing - This option is a white box testing technique. Data flow testing involves testing the flow of data through the code to ensure that it is correct and that all data dependencies are tested.

Option D) State Transition Testing - This option is NOT a white box testing technique. State transition testing is a black box testing technique that focuses on testing the behavior and transitions between different states of a system.

The correct answer is D) State Transition Testing. This option is not a white box testing technique because it does not involve testing the internal structure and implementation details of the software system.

Therefore, the correct answer is D) State Transition Testing.

Alpha Testing is pre-release Testing done at customer site

  1. True

  2. False


Correct Option: B

What type of revire requires formal entry and exit criteria

  1. Walkthrough

  2. Inspection

  3. management review

  4. post project review


Correct Option: B

Which of the following is NOT the reasonable test objective

  1. to find faults in software

  2. to prove that software has no faults

  3. to give confidence in software

  4. to find performance problems


Correct Option: B

AI Explanation

To answer this question, you need to understand the purpose and objectives of software testing. Let's go through each option to understand why it is correct or incorrect:

Option A) to find faults in software - This option is a reasonable test objective because one of the primary purposes of software testing is to identify and discover any faults or defects in the software. By finding and documenting these faults, the development team can work on fixing them before the software is released.

Option B) to prove that software has no faults - This option is NOT a reasonable test objective. It is practically impossible to prove that software has no faults. Software testing can help identify and mitigate potential faults, but it cannot guarantee that there are no faults present. Testing can only provide reasonable confidence in the software's quality.

Option C) to give confidence in software - This option is a reasonable test objective. One of the goals of software testing is to provide stakeholders with confidence in the software's functionality, reliability, and overall quality. By conducting thorough testing and ensuring that the software meets the required specifications, users and stakeholders can have confidence in the software's performance.

Option D) to find performance problems - This option is a reasonable test objective. Performance testing is a crucial aspect of software testing. It aims to evaluate the responsiveness, scalability, and stability of the software under different conditions. By identifying and addressing performance problems, the software can be optimized for better user experience and efficiency.

The correct answer is B) to prove that software has no faults. This option is NOT a reasonable test objective because it is practically impossible to prove that software has no faults. Testing can help identify and mitigate potential faults, but it cannot guarantee that there are no faults present.

Which of the following is not a SDLC models?

  1. Waterfall

  2. Spiral

  3. Baig-bang

  4. Fix-it


Correct Option: D

Static white box testing is the process of carefully and methodically reviewing software design, architecture, or code for bugs without executing it.

  1. True

  2. False


Correct Option: A

Code coverage is

  1. Static White-box

  2. Dynamic White-box

  3. Static Black-box

  4. Dynamic Black-box


Correct Option: B

In Inspections, the presenter or reader is the original programmer.

  1. True

  2. False


Correct Option: B

Which of the following are test-to-fail?

  1. Repetition Testing

  2. Stress Testing

  3. Data Testing

  4. Load Testing


Correct Option: A,B,D

If a multiple vusers were to perform tasks at exactly the same time during script execution, ------------------- point is used.

  1. Parameterization

  2. Correlation

  3. Rendezvous

  4. None of the above


Correct Option: C

Which of these is an example of user generated data?

  1. Password

  2. Email address

  3. Purchase order number

  4. All of the above


Correct Option: C

What is the Load Runner term used to define a collection of Vusers within a scenario?

  1. Group

  2. Manual

  3. Run until complete

  4. Real-life schedule


Correct Option: A
Explanation:

To answer this question, the user needs to be familiar with Load Runner and its basic terminologies.

Load Runner is a performance testing tool that enables the user to test the performance of web and mobile applications. A Vuser (Virtual User) is a software program that simulates the actions of a real user. It generates load on the application for testing purposes.

The term used to define a collection of Vusers within a scenario in Load Runner is "Group".

Option A: Group - This option is correct. A group is a collection of Vusers within a scenario.

Option B: Manual - This option is incorrect. Manual refers to a type of testing where the tester manually executes the test cases.

Option C: Run until complete - This option is incorrect. Run until complete refers to a scheduling option in Load Runner where the scenario continues to run until all Vusers have completed their tasks.

Option D: Real-life schedule - This option is incorrect. Real-life schedule refers to a scheduling option in Load Runner where the scenario is run based on a pre-defined schedule that simulates real-life usage patterns.

Therefore, the answer is:

The Answer is: A. Group

The three main components of LoadRunner are

  1. VuGen, Controller, Analysis

  2. VuGen, Controller, Diagnostics

  3. VuGen, Sitescope, Analysis

  4. LoadAgent, Controller, Analysis,


Correct Option: A

The type of file to choose in scenario groups is

  1. .lrr file

  2. .lra file

  3. .usr file

  4. .lrs file


Correct Option: C

AI Explanation

To answer this question, we need to understand the purpose of scenario groups and the file types associated with them.

Scenario groups are used to organize and manage different scenarios or sets of related scenarios in a computer program or software application. These scenarios can be used for testing, analysis, or simulation purposes.

The file type typically used for scenario groups is the .usr file. This file format is specifically designed for storing user-defined scenarios and their associated data. It allows users to define and save multiple scenarios within a single file, making it convenient for organizing and managing different sets of scenarios.

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

Option A) .lrr file - This option is incorrect because the .lrr file format is not typically used for scenario groups. It may be a specific file format used by a particular software or application, but it is not commonly associated with scenario groups.

Option B) .lra file - This option is incorrect because the .lra file format is not typically used for scenario groups. Similar to the previous option, it may be a specific file format used by a certain software or application, but it is not commonly associated with scenario groups.

Option C) .usr file - This option is correct because the .usr file format is commonly used for scenario groups. It is specifically designed for storing user-defined scenarios and their associated data, making it suitable for organizing and managing different sets of scenarios.

Option D) .lrs file - This option is incorrect because the .lrs file format is not typically used for scenario groups. It may be a specific file format used by a particular software or application, but it is not commonly associated with scenario groups.

The correct answer is Option C. This option is correct because the .usr file format is commonly used for scenario groups, allowing users to define and save multiple scenarios within a single file.

  1. Goal-oriented

  2. Manual

  3. Run until complete

  4. Real-life schedule


Correct Option: A

Controller instructs the load agent to trigger the following states for vusers

  1. initialize

  2. Stop

  3. Pause

  4. All of the above


Correct Option: D

Simulation of real user behavior by using dynamic test data is called ---------------------

  1. Parameterization

  2. Correlation

  3. Rendezvous

  4. None of the above


Correct Option: A

Simulation of real user behavior by using dynamic data returned by the server is called -------------------

  1. Parameterization

  2. Correlation

  3. Rendezvous

  4. None of the above


Correct Option: B

What is a function to capture dynamic values in the web VUser script?

  1. web_reg_save_param

  2. . lr_set_debug

  3. lr_think_time()

  4. None of the above


Correct Option: A

AI Explanation

To capture dynamic values in a web VUser script, you can use the function "web_reg_save_param".

Option A) web_reg_save_param - This option is correct because the "web_reg_save_param" function is used to capture dynamic values from server responses and store them in a parameter for future use.

Option B) lr_set_debug - This option is incorrect as "lr_set_debug" is used to enable or disable debugging options in LoadRunner scripts and does not capture dynamic values.

Option C) lr_think_time() - This option is incorrect as "lr_think_time()" is used to insert a delay or think time between transactions in a script and does not capture dynamic values.

Option D) None of the above - This option is incorrect as the correct answer is A) web_reg_save_param.

The correct answer is A) web_reg_save_param. This option is correct because it allows you to capture dynamic values in a web VUser script.

- Hide questions