0

testing Online Quiz - 17

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

  2. Requirements Testing

  3. Regression Testing

  4. User Testing


Correct Option: A

Looking at values of inputs at the high and low end of their number line is what type of black box testing

  1. Equivalence Partitioning

  2. Boundary Value Analysis

  3. Error Guessing

  4. State Transition Testing


Correct Option: B

I need to perform ad-hoc testing on the application. Which method of testing I shall use:

  1. Manual Testing

  2. Automation Testing

  3. Functional Testing

  4. Performance testing


Correct Option: A

The approach/document used to make sure all the requirements are covered when writing test cases

  1. Test Matrix

  2. Checklist

  3. Test Bed

  4. Traceablity Matrix


Correct Option: D

Executing the same test case by giving the number of inputs on same build called as

  1. Regression Testing

  2. Re Testing

  3. Ad-Hoc testing

  4. Sanity Testing


Correct Option: B

AI Explanation

To answer this question, you need to understand the different types of testing.

Option A) Regression Testing - This option is incorrect because regression testing refers to re-testing a previously tested program or system after making modifications to ensure that the changes have not introduced new defects.

Option B) Re Testing - This option is correct because re-testing involves executing the same test case after fixing defects identified during initial testing to ensure that the defects have been resolved.

Option C) Ad-Hoc Testing - This option is incorrect because ad-hoc testing refers to a testing approach where the tester randomly tests the application without any specific test cases or plans.

Option D) Sanity Testing - This option is incorrect because sanity testing is a subset of regression testing and is performed to verify that the major functionality of the application is working as expected after making minor changes.

The correct answer is B) Re Testing. This option is correct because re-testing involves executing the same test case after fixing defects identified during initial testing to ensure that the defects have been resolved.

A Non-Functional Software testing done to check if the user interface is easy to use and understand

  1. Usability Testing

  2. Security Testing

  3. Black Box Testing

  4. All of the above


Correct Option: A
  1. Glass box testing

  2. Closed box testing

  3. Open box testing

  4. Clear box testing


Correct Option: B
  1. Black Box Testing

  2. White Box Testing

  3. Both A & B

  4. None of the above


Correct Option: A

Consider the following techniques. Which are static and which are dynamic techniques? i. Equivalence Partitioning. ii. Use Case Testing. iii. Data Flow Analysis. iv. Exploratory Testing. v. Decision Testing. vi Inspections.

  1. i-iv are static, v-vi are dynamic

  2. iii and vi are static, i, ii, iv and v are dynamic.

  3. ii, iii and vi are static, i, iv and v are dynamic.

  4. vi is static, i-v are dynamic


Correct Option: B
  1. Because they share the aim of identifying defects and find the same types of defect.

  2. Because they have different aims but find the same types of defect.

  3. Because they have different aims and differ in the types of defect they find.

  4. Because they share the aim of identifying defects but differ in the types of defect they find.


Correct Option: D

What can static analysis NOT find?

  1. The use of a variable before it has been defined

  2. Unreachable (dead) code

  3. Memory leaks

  4. Array bound violations


Correct Option: C

In a system designed to work out the tax to be paid: An employee has $4000 of salary tax free. The next $1500 is taxed at 10%. The next $28000 after that is taxed at 22%. Any further amount is taxed at 40%. To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?

  1. $4000; $5000; $5500

  2. $32001; $34000; $36500

  3. $28000; $28001; $32001

  4. $4000; $4200; $5600


Correct Option: D

AI Explanation

To determine which groups of numbers fall into three different equivalence classes, we need to consider the tax brackets and how they affect the tax calculation for each salary amount.

Let's analyze each option:

Option A) $4000; $5000; $5500

  • The first $4000 is tax-free.
  • The next $1000 ($5000 - $4000) is taxed at 10%.
  • The next $500 ($5500 - $5000) is also taxed at 10%.

Since all three numbers fall within the same tax bracket and are subject to the same tax rate, they belong to the same equivalence class. Therefore, Option A is not the answer.

Option B) $32001; $34000; $36500

  • The first $4000 is tax-free.
  • The next $1500 is taxed at 10%.
  • The next $28000 is taxed at 22%.
  • Any further amount is taxed at 40%.

The three numbers in this option fall into different tax brackets, so they are likely to belong to different equivalence classes. However, we need to check if any two of them fall into the same tax bracket.

  • $32001: This amount falls within the 22% tax bracket.
  • $34000: This amount also falls within the 22% tax bracket.
  • $36500: This amount falls within the 40% tax bracket.

Since $32001 and $34000 fall into the same tax bracket, they belong to the same equivalence class. Therefore, Option B is not the answer.

Option C) $28000; $28001; $32001

  • The first $4000 is tax-free.
  • The next $1500 is taxed at 10%.
  • The next $28000 is taxed at 22%.
  • Any further amount is taxed at 40%.

The three numbers in this option fall into different tax brackets, so they are likely to belong to different equivalence classes. However, we need to check if any two of them fall into the same tax bracket.

  • $28000: This amount falls within the 22% tax bracket.
  • $28001: This amount also falls within the 22% tax bracket.
  • $32001: This amount falls within the 40% tax bracket.

Since $28000 and $28001 fall into the same tax bracket, they belong to the same equivalence class. Therefore, Option C is not the answer.

Option D) $4000; $4200; $5600

  • The first $4000 is tax-free.
  • The next $200 ($4200 - $4000) is taxed at 10%.
  • The next $1400 ($5600 - $4200) is taxed at 22%.

The three numbers in this option fall into different tax brackets. None of them fall into the same tax bracket, so they belong to different equivalence classes. Therefore, Option D is the correct answer.

To the nearest whole pound, the numbers in Option D fall into three different equivalence classes.

  1. 0,1900,2004,2005

  2. 1900, 2004

  3. 1899, 1900, 1901,2003,2004,2005

  4. 1899,1900,2004,2005


Correct Option: D
  1. Statement Coverage

  2. Pole Coverage

  3. Condition Coverage

  4. Path Coverage


Correct Option: B
  1. Missing Statements

  2. Unused Branches

  3. Dead Code

  4. Unused Statement


Correct Option: A
  1. State transition testing

  2. LCSAJ (Linear Code Sequence and Jump)

  3. syntax testing

  4. boundary value analysis


Correct Option: B

What is NOT included in typical costs for an inspection process?

  1. setting up forms and databases

  2. analysing metrics and improving processes

  3. writing the documents to be inspected

  4. time spent on the document outside the meeting


Correct Option: C
- Hide questions