0

testing Online Quiz - 1

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

Howmany types of data-driven tests are there?

  1. 2

  2. 4

  3. 7

  4. 8


Correct Option: B

What are the types of data driven tests?

  1. Dynamic Input submission (key driven test):

  2. Data Driven Files Through FLAT FILES ( .txt,.doc

  3. Data Driven Tests From FRONTEND GREAVES

  4. Data Driven Tests From EXCEL SHEET

  5. all the above


Correct Option: E

An anonnymous inner class have a constructor(but not parameterized one).

  1. True

  2. False


Correct Option: B

Local inner classes cannot access the local data members of the method in which they are defined.

  1. True

  2. False


Correct Option: B

Which of the following two functions will be invoked when the function call given is---- show(10,10);

  1. show(long a,byte b){ }

  2. show(byte b, long a){ }

  3. runtime exception

  4. none of the above


Correct Option: D

What is the output???

float a =10.0;  
float b = 2.5; 
float c = a/b;  
System.out.println(c);
  1. 4.0

  2. 4

  3. runtime exception

  4. none of the above


Correct Option: D

The data-members of the Interface can be static or non-static.

  1. True

  2. False


Correct Option: B

What is the output??

interface My  {
    int x=10;
}
class Test implements My  {
    public static void main(String[] s)  {
        System.out.println(My.x);
        System.out.println(x);
        x=x+10;
        System.out.println(x);
    }
};
  1. 10 10 10

  2. 10 10 20

  3. Runtime Exception

  4. Compilation error


Correct Option: D

From the below given choices, which one is the ‘Confidence testing’?

  1. Disaster testing

  2. System testing

  3. Smoke testing

  4. Regression testing


Correct Option: C

‘Be bugging’ is known as ?

  1. Preventing the defects by inspection

  2. Fixing the defects by debugging

  3. Adding known defects by seeding

  4. A process of fixing the defects by tester


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of "bugging" in software development.

Option A) Preventing the defects by inspection - This option is incorrect because it refers to preventing defects through inspection, rather than introducing defects.

Option B) Fixing the defects by debugging - This option is incorrect because it refers to fixing defects through debugging, rather than intentionally adding defects.

Option C) Adding known defects by seeding - This option is correct. "Be bugging" refers to intentionally adding known defects or bugs to a system or software. This can be done for various reasons, such as testing the robustness of the system or evaluating the effectiveness of the debugging process.

Option D) A process of fixing the defects by tester - This option is incorrect because it refers to the process of fixing defects, rather than intentionally introducing them.

The correct answer is C) Adding known defects by seeding. This option is correct because "be bugging" refers to intentionally adding known defects or bugs to a system or software.

An expert based test estimation is also known as ?

  1. Narrow band Delphi

  2. Wide band Delphi

  3. Bespoke Delphi

  4. Robust Delphi


Correct Option: B

AI Explanation

To answer this question, you need to understand the different types of Delphi estimation techniques.

Option A) Narrow band Delphi - This option is incorrect because narrow band Delphi is a variation of the Delphi technique that involves a smaller group of experts providing estimates.

Option B) Wide band Delphi - This option is correct because wide band Delphi is another name for expert-based test estimation. It involves a larger group of experts providing estimates, which helps to reduce bias and improve the accuracy of the estimation.

Option C) Bespoke Delphi - This option is incorrect because bespoke Delphi is not a commonly used term in the context of test estimation.

Option D) Robust Delphi - This option is incorrect because robust Delphi is not a commonly used term in the context of test estimation.

The correct answer is B) Wide band Delphi. This option is correct because wide band Delphi is another name for expert-based test estimation.

All of the following might be done during unit testing except ?

  1. Desk check

  2. Manual support testing

  3. Walkthrough

  4. Compiler based testing


Correct Option: B

‘Defect Density’ calculated in terms of ?

  1. The number of defects identified in a component or system divided by the size of the component or the system

  2. The number of defects found by a test phase divided by the number found by that test phase and any other means after wards

  3. The number of defects identified in the component or system divided by the number of defects found by a test phase

  4. The number of defects found by a test phase divided by the number found by the size of the system


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of defect density.

Defect density is a metric used in software testing to measure the number of defects identified in a component or system divided by the size of the component or system.

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

Option A) The number of defects identified in a component or system divided by the size of the component or the system - This option is correct because it accurately describes the calculation of defect density.

Option B) The number of defects found by a test phase divided by the number found by that test phase and any other means afterward - This option is incorrect because it describes a different calculation, not defect density.

Option C) The number of defects identified in the component or system divided by the number of defects found by a test phase - This option is incorrect because it does not consider the size of the component or system in the calculation.

Option D) The number of defects found by a test phase divided by the number found by the size of the system - This option is incorrect because it does not consider the number of defects identified in the component or system.

Therefore, the correct answer is A) The number of defects identified in a component or system divided by the size of the component or the system. This option is correct because it accurately describes the calculation of defect density.

Which of the following statements is true about a software verification and validation program ? I. It strives to ensure that quality is built into software. II. It provides management with insights into the state of a software project. III. It ensures that alpha, beta, and system tests are performed. IV. It is executed in parallel with software development activities.

  1. I, II&III

  2. II, III&IV

  3. I, II&IV

  4. I, III&IV


Correct Option: C

A test manager wants to use the resources available for the automated testing of a web application. The best choice is ?

  1. Test automater, web specialist, DBA, test lead

  2. Tester, test automater, web specialist, DBA

  3. Tester, test lead, test automater, DBA

  4. Tester, web specialist, test lead, test automater


Correct Option: B

With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.

  1. True

  2. False


Correct Option: B

The goal of a software tester is to find bugs, find them as early as possible and make sure they get fixed.

  1. True

  2. False


Correct Option: A

A test harness is a ?

  1. A test environment comprised of stubs and drives needed to conduct a test

  2. A high level document describing the principles, approach and major objectives of the organization

  3. A set of several test cases for a component or system under test

  4. A distance set of test activities collected into a manageable phase of a project


Correct Option: A

Testing of software used to convert data from existing systems for use in replacement systems ?

  1. Data driven testing

  2. Configuration testing

  3. Migration testing

  4. Back to back testing


Correct Option: C

In practice, which Life Cycle model may have more, fewer or different levels of development and testing, depending on the project and the software product. For example, there may be component integration testing after component testing, and system integration testing after system testing.

  1. Water Fall Model

  2. V-Model

  3. RAD Model

  4. Spiral Model


Correct Option: B
- Hide questions