0

testing Online Quiz - 152

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

Which of the following is not a quality characteristic listed in ISO 9126 Standard?

  1. Functionality

  2. Usability

  3. Supportability

  4. Maintainability


Correct Option: C

To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.

  1. Stub

  2. Driver

  3. Proxy

  4. None of the above


Correct Option: B
Explanation:

To solve this question, the user needs to know about software testing techniques, specifically unit testing. The user must identify the correct term for a program that calls a function with test data to test its functionality.

Now, let's go through each option and explain why it is right or wrong:

A. Stub: A stub is a piece of code that simulates the behavior of a function or module. It is used in place of the actual function or module during testing. While a stub can be used in testing, it is not the correct term for a program that calls a function with test data to test its functionality.

B. Driver: A driver is a program that calls a function with test data to test its functionality. It is used to test functions that rely on input from other functions or modules. This option is correct.

C. Proxy: A proxy is an intermediary between two systems that allows them to communicate with each other. It is not the correct term for a program that calls a function with test data to test its functionality.

D. None of the above: This option is incorrect because option B, Driver, is the correct answer.

The Answer is: B

Boundary value testing

  1. Is the same as equivalence partitioning tests

  2. Test boundary conditions on, below and above the edges of input and output equivalence classes

  3. Tests combinations of input circumstances

  4. Is used in white box testing strategy


Correct Option: B

Pick the best definition of quality

  1. Quality is job one

  2. Zero defects

  3. Conformance to requirements

  4. Work as designed


Correct Option: C

Fault Masking is

  1. Error condition hiding another error condition

  2. Creating a test case which does not reveal a fault

  3. Masking a Fault by Developer

  4. Masking a Fault by tester


Correct Option: A

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Error condition hiding another error condition - This option is correct. Fault masking refers to the situation where one error condition hides another error condition. This means that when one fault occurs, it masks or conceals the presence of another fault, making it difficult to identify and debug the system.

Option B) Creating a test case which does not reveal a fault - This option is not correct. Creating a test case that does not reveal a fault is known as fault masking prevention. It aims to ensure that test cases are designed to uncover faults rather than hide them.

Option C) Masking a Fault by Developer - This option is not correct. Fault masking is not related to masking a fault by a developer. It is a phenomenon that occurs during the execution of a system or software.

Option D) Masking a Fault by tester - This option is not correct. Fault masking is not related to masking a fault by a tester. It is a phenomenon that occurs during the execution of a system or software.

The correct answer is A) Error condition hiding another error condition. This option is correct because it accurately describes the concept of fault masking, which refers to the situation where one error condition hides another error condition.

One Key reason why developers have difficulty testing their own work is :

  1. Lack of technical documentation

  2. Lack of test tools on the market for developers

  3. Lack of training

  4. Lack of Objectivity


Correct Option: D

In which of the following phase can an ETL developer identify & report the defects?

  1. Specs/Requirement walkthrough

  2. Code walkthrough

  3. Unit testing

  4. All of the above


Correct Option: D

Mainframe files are in _______ format

  1. UNICODE

  2. Hexadecimal

  3. UTF-8

  4. ASCII

  5. None of the above


Correct Option: E

It is responsibility of the developer to check whether all the Numeric Fields have been negatively tested

  1. True

  2. False


Correct Option: A

Select ALL the valid COBOL data type declarations from the list below

  1. COMPUTATIONAL-3

  2. COMP

  3. COMP-2

  4. PACKED

  5. COMP-3

  6. COMP-1


Correct Option: A,B,C,E,F

Select ALL that are FALSE: The comments (Annotations in DataStage)...

  1. Is not mandatory and it is time consuming

  2. Is a good practice, but it can be ignored when delivery is critical, and the developer is running out of time

  3. Defect has to be raised if proper comment and documentation are missing

  4. Better to add at later point of time in the development (after the entire coding is complete)

  5. All complex mapping and coding to be explained in comments


Correct Option: A,B,D

EBCDIC stands for

  1. Embedded Binary Coded Decimal Interchange Code

  2. Extended Binary Coded Decimal Interchange Code

  3. Embedded Binary Coded Decimal Integration Code

  4. Extended Binary Coded Decimal Integration Code

  5. None of the above


Correct Option: B

Trying to map NULL values to the NON- NULLABLE target fields must not be handled in code

  1. True

  2. False


Correct Option: B

The actual number of bytes occupied in the following declaration is: PIC 9(6)V99 COMP-3

  1. 8

  2. 4

  3. 5

  4. 6


Correct Option: C

If the ETL source is a Mainframe file without any packed decimal fields, then the test file can be

  1. Created in Mainframe

  2. Created in Windows/DOS

  3. Created in Unix/Linux

  4. All of the above


Correct Option: D

If the ETL source is a Mainframe file without any packed decimal fields, then the test file can be

  1. Created in Mainframe

  2. Created in Windows/DOS

  3. Created in Unix/Linux

  4. All of the above


Correct Option: D

In which of the following phase can an ETL developer identify & report the defects?

  1. Requirement/Specs walkthrough

  2. Code walkthrough

  3. Unit testing

  4. All of the above


Correct Option: D

What is the purpose of loading an add-in?

  1. To help the performance of QTP

  2. To restore the layout of the QuickTest window so that it displays the panes in their default sizes and positions

  3. To enable QTP to recognize objects in the AUT

  4. Both b and c


Correct Option: C

What is the most appropriate Record and Run setting when you expect the window application to be already running when the test starts?

  1. Record and Run test on any open Windows-based application.

  2. Record and Run on these applications

  3. Record and Run on applications opened via the desktop

  4. None of the above


Correct Option: A

What are the default add-ins in QTP?

  1. Oracle, VB, and Java

  2. ActiveX, VB, Java

  3. ActiveX, Web, Oracle

  4. ActiveX, Web, VB


Correct Option: D
- Hide questions