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
  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
Explanation:

To answer this question, the user needs to know the different types of software testing.

The correct answer is:

C. Smoke testing

Explanation:

Smoke testing is a type of software testing that is used to check whether the most critical functions of a program are working correctly. The purpose of smoke testing is to determine whether the program is ready for additional testing. It is a quick and simple test that is performed before more comprehensive testing is done. The term "smoke testing" is derived from the idea of turning on a piece of hardware and seeing if it starts smoking. In software, smoke testing is used to determine whether the program will crash or fail catastrophically when run in its most basic configuration.

The other options are incorrect because:

A. Disaster testing: Disaster testing (also called "chaos testing" or "fault injection testing") is a type of software testing that involves creating controlled failures in order to see how well a system can withstand unexpected events.

B. System testing: System testing is a type of software testing that evaluates the functionality of a complete system. It is performed after integration testing and before acceptance testing.

D. Regression testing: Regression testing is a type of software testing that is used to verify that changes to a program have not introduced new bugs or broken existing functionality. It is typically performed after changes have been made to a program, to ensure that the changes did not have unintended consequences.

‘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
Explanation:

To answer this question, the user needs to understand the concept of unit testing and the purpose of each testing technique.

Unit testing is a software testing technique that focuses on individual units or components of a software system. The goal of unit testing is to ensure that each component of the software system performs as expected. During unit testing, various techniques are employed to test the individual units of a software system.

Now, let's go through each option and determine whether it could be done during unit testing or not:

A. Desk check: This is a technique where a developer or tester reviews the code or a document to ensure that it meets the expected quality standards. Desk checking can be performed during unit testing to ensure that the code meets the expected quality standards.

B. Manual support testing: This is a type of testing where a tester manually tests a system to ensure that it meets the expected quality standards. Manual support testing is not performed during unit testing. Instead, it is typically performed during system testing or acceptance testing.

C. Walkthrough: This is a type of software review where a group of people gets together to review the code or a document to ensure that it meets the expected quality standards. Walkthroughs can be performed during unit testing to ensure that the code meets the expected quality standards.

D. Compiler-based testing: This is a type of testing where a compiler is used to check the syntax and semantics of the code. Compiler-based testing can be performed during unit testing to ensure that the code meets the expected quality standards.

Therefore, the correct answer is:

The Answer is: 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.

  1. I, II&III

  2. II, III&IV

  3. I, II&IV

  4. I, III&IV


Correct Option: C
Explanation:

To answer this question, the user needs to understand the concepts of software verification and validation. Software verification is the process of evaluating a system or component to determine whether it meets the specified requirements. Software validation is the process of evaluating software during or at the end of the development process to determine whether it satisfies specified requirements.

Based on the given options, let's go through each statement and evaluate whether it is true or false:

I. It strives to ensure that quality is built into software.

This statement is true. Software verification and validation programs aim to ensure that software quality is built into the development process. By verifying that the software meets the specified requirements and validating that it satisfies the user's needs, software quality is ensured.

II. It provides management with insights into the state of a software project.

This statement is also true. Software verification and validation programs provide management with insights into the state of a software project. By evaluating the software, the program can provide feedback on the software's quality and progress.

III. It ensures that alpha, beta, and system tests are performed.

This statement is false. While software verification and validation programs may include alpha, beta, and system tests, they do not necessarily ensure that these tests are performed. Instead, the program focuses on evaluating the software to ensure that it meets the specified requirements.

IV. It is executed in parallel with software development activities.

This statement is true. Software verification and validation programs are executed in parallel with software development activities. By verifying and validating the software throughout the development process, quality can be built into the software.

Therefore, the correct answer is:

The Answer is: C. I, II&IV.

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
Explanation:

To solve this question, the user needs to be familiar with software development and quality assurance practices.

The statement is FALSE.

Thorough testing can help reduce the number of defects in a program, but it is not possible to completely remove all defects. There are several reasons for this, including the complexity of software systems, the difficulty of testing all possible scenarios, and the fact that defects can be introduced at any stage of the software development lifecycle. Additionally, testing can only identify defects that are visible under the specific test conditions used, and defects may still exist in untested code paths or under different environments.

Therefore, it is important to have a comprehensive testing process, in addition to other quality assurance practices such as code reviews and continuous integration, to identify and address defects as early as possible in the software development lifecycle.

The answer is: B. False

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
Explanation:

To solve this question, the user needs to have knowledge of software testing concepts, specifically testing related to data conversion from existing systems to new systems.

Option A: Data driven testing is a type of testing where test input or output values are read from data files instead of using hardcoded values. This type of testing is not directly related to testing software used to convert data from existing systems to replacement systems.

Option B: Configuration testing is a type of testing that checks whether the software is properly configured according to the requirements. This type of testing is not directly related to testing software used for data conversion.

Option C: Migration testing is a type of testing that verifies the data and software functionality after migrating from the old system to the new system. This type of testing is directly related to testing software used to convert data from existing systems for use in replacement systems. Thus, option C is the correct answer.

Option D: Back to back testing is a type of testing where two identical systems are set up, and transactions are processed on both systems simultaneously to compare the results. This type of testing is not directly related to testing software used for data conversion.

Therefore, the answer is: C. Migration testing.

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