ISTQB CTFL

Black-box test techniques

60 questions

Easy

Test techniques overview

  1. Which three categories of test techniques are distinguished?
  2. Which other name is commonly used for black-box test techniques?
  3. What do test techniques help the tester with?

Equivalence partitioning

  1. What is the basic assumption of equivalence partitioning?
  2. A field accepts a number of tickets from 1 to 8. How many equivalence partitions result for integers?
  3. Which property must equivalence partitions have?
  4. What are the coverage items in equivalence partitioning?
  5. What can equivalence partitions be identified for?

Boundary value analysis

  1. For which partitions can boundary value analysis be used?
  2. Why does boundary value analysis focus on boundary values?
  3. Which coverage items belong to one boundary value in 2-value BVA?
  4. Which coverage items belong to one boundary value in 3-value BVA?

Decision table testing

  1. What are decision tables particularly suitable for?
  2. What does a "–" for a condition mean in a decision table?
  3. How many columns does a full decision table with three Boolean conditions have?

State transition testing

  1. What initiates a transition in a state diagram?
  2. What is the usual labelling syntax for a transition?
  3. What does a state table explicitly show, unlike a state diagram?
  4. What are the coverage items in all states coverage?
  5. Which state transition coverage criterion is used most widely?

Medium

Equivalence partitioning

  1. A car park charges: 1–30 minutes free, 31–180 minutes hourly rate, 181–1440 minutes day rate; other integer minute values are invalid. How many equivalence partitions are there?
  2. For the car park with five partitions, tests run with 15, 90 and 2000 minutes. What equivalence partition coverage is achieved?
  3. An order form has the parameters payment method (card, invoice, direct debit) and shipping (standard, express). What is the minimum number of test cases for each choice coverage?
  4. How can valid and invalid values be interpreted differently?
  5. What does each choice coverage require?

Boundary value analysis

  1. An application portal accepts an age from 18 to 65 years (integers). Which values does 2-value BVA require?
  2. For the same age range 18 to 65: how many coverage items does 3-value BVA have when considering the boundary values 17, 18, 65 and 66?
  3. How is coverage calculated in 2-value BVA?
  4. Which statements comparing the BVA variants are correct?

Decision table testing

  1. What distinguishes an extended-entry decision table from a limited-entry one?
  2. What are the coverage items in decision table testing?
  3. What are the strengths of decision table testing?
  4. How can the number of rules to test be reduced when there are many conditions?
  5. How is it indicated in a decision table that an action should occur?

State transition testing

  1. A ticketing system has the states Open, In progress, Done, Closed and the valid transitions accept (Open→In progress), return (In progress→Open), resolve (In progress→Done), reject (Done→In progress) and confirm (Done→Closed). How many coverage items does valid transitions coverage have?
  2. Which statements about state transition coverage criteria are correct?
  3. Why should only one invalid transition be tested per test case?
  4. How is a test case usually represented in state transition testing?

Test techniques overview

  1. Which statements about black-box and white-box techniques are correct?
  2. Which techniques are black-box test techniques?

Hard

Boundary value analysis

  1. The requirement is "free shipping if the order value is at least €50" (whole euros). The code wrongly checks "order value = 50". Which values reveal the defect?
  2. A thermostat accepts target temperatures from 5 to 30 °C in whole degrees. Tests run with 4, 5 and 30 °C. What 2-value BVA coverage is achieved?
  3. For the thermostat (5 to 30 °C) the 3-value BVA values for the lower boundary are to be determined. Which values belong to them?
  4. For the car park (1–30, 31–180, 181–1440 minutes valid, integers, invalid below and above) 2-value BVA is applied. How many coverage items are there?
  5. For the same car park 3-value BVA is applied. How many distinct coverage items result?

Equivalence partitioning

  1. A ticket machine has the parameters fare (child, adult, senior), zone (A, B, C, D) and payment (cash, card). What is the minimum number of test cases for each choice coverage?
  2. A discount applies as follows: below €100 no discount, €100 to below €500 5%, from €500 10%; negative amounts are invalid. Which test values each cover a different partition and together reach 100% equivalence partition coverage?
  3. A registration form has the parameters age (below 18 invalid, 18 to 120 valid, above 120 invalid) and country (DE, AT, CH, other). Which statements about each choice coverage are correct?
  4. The parking fee has the results "free", "hourly rate" and "day rate". A tester forms partitions not only for the input parking duration but also for these outputs. How should this be assessed?

Decision table testing

  1. A cinema grants discounts based on the conditions "student", "cinema club member" and "show before 5 pm" (each true/false). All combinations are feasible. Tests cover 6 columns. What coverage is achieved?
  2. An insurer checks "driver under 25", "driver over 70" and "new car". How many feasible columns does the full table have?
  3. In a table for credit decisions, two columns differ only in "customer for over 5 years" and trigger the same actions. What is possible?
  4. A rule states: express shipping is possible if the item is in stock and payment is confirmed; for premium customers stock alone is enough. Which statements about the full decision table with the conditions in stock, payment confirmed and premium are correct?

State transition testing

  1. In the ticketing system (states Open, In progress, Done, Closed; events accept, return, resolve, reject, confirm; 5 valid transitions) all transitions coverage is to be achieved. How many transitions count in total?
  2. In the same ticketing system every test starts in Open, and Closed is a final state. What is the minimum number of test cases for 100% valid transitions coverage?
  3. A test in the ticketing system runs accept, resolve, confirm. Which coverage does it achieve?
  4. A smart bike lock has the states Locked, Unlocked and Alarm. Valid are: correct code (Locked→Unlocked), close (Unlocked→Locked), shake (Locked→Alarm) and correct code (Alarm→Unlocked). How many invalid transitions does the state table show?
  5. For the bike lock every test starts in Locked. Which statements about the minimum number of test cases are correct?
  6. A transition in the bike lock is labelled "wrong code [failed attempts = 2] / siren on". Which statements are correct?

Test techniques overview

  1. Which assignments of situation to black-box technique are appropriate?

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications