Software Testing Fundamentals

Covers static and dynamic testing, black and white box techniques, boundary value analysis, equivalence partitioning, review processes, and various testing methodologies.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Evaluation of programs based on the functional requirements is called.

  1. Functional testing
  2. Requirements Testing
  3. Regression Testing
  4. User Testing
Question 2 Multiple Choice (Single Answer)

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
Question 3 Multiple Choice (Single Answer)

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
Question 4 Multiple Choice (Single Answer)

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
Question 5 Multiple Choice (Single Answer)

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
Question 6 Multiple Choice (Single Answer)

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
Question 7 Multiple Choice (Single Answer)

White box testing is not called as______

  1. Glass box testing
  2. Closed box testing
  3. Open box testing
  4. Clear box testing
Question 8 Multiple Choice (Single Answer)

Boundary value analysis belongs to which testing method?

  1. Black Box Testing
  2. White Box Testing
  3. Both A & B
  4. None of the above
Question 9 Multiple Choice (Single Answer)

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
Question 10 Multiple Choice (Single Answer)

Why are static testing and dynamic testing described as complementary?

  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.
Question 11 Multiple Choice (Single Answer)

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
Question 12 Multiple Choice (Single Answer)

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
Question 13 Multiple Choice (Single Answer)

Given the following specification, which of the following values for age are in the SAME equivalence partition? If you are less than 18, you are too young to be insured. Between 18 and 30 inclusive, you will receive a 20% discount. Anyone over 30 is not eligible for a discount.

  1. 17, 18, 19
  2. 29, 30, 31
  3. 18, 29, 30
  4. 17, 29, 31
Question 14 Multiple Choice (Single Answer)

An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are:

  1. 0,1900,2004,2005
  2. 1900, 2004
  3. 1899, 1900, 1901,2003,2004,2005
  4. 1899,1900,2004,2005
Question 15 Multiple Choice (Single Answer)

Incorrect form of Logic coverage is:

  1. Statement Coverage
  2. Pole Coverage
  3. Condition Coverage
  4. Path Coverage
Question 16 Multiple Choice (Single Answer)

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 is a valid Boundary Value Analysis test case?

  1. 28000
  2. 33501
  3. 32001
  4. 1500
Question 17 Multiple Choice (Single Answer)

Statement Coverage will not check for the following.

  1. Missing Statements
  2. Unused Branches
  3. Dead Code
  4. Unused Statement
Question 18 Multiple Choice (Single Answer)

Which of the following techniques is NOT a black box technique?

  1. State transition testing
  2. LCSAJ (Linear Code Sequence and Jump)
  3. syntax testing
  4. boundary value analysis
Question 19 Multiple Choice (Single Answer)

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
Question 20 Multiple Choice (Single Answer)

Which expression best matches the following characteristics of the review processes: 1. led by the author 2. undocumented 3. no management participation 4. led by a moderator or leader 5. uses entry and exit criteria s) inspection t) peer review u) informal review v) walkthrough

  1. s = 4 and 5, t = 3, u = 2, v = 1
  2. s = 4, t = 3, u = 2 and 5, v = 1
  3. s = 1 and 5, t = 3, u = 2, v = 4
  4. s = 4 and 5, t = 1, u= 2, v = 3