ISTQB 연습문제 풀이 - Exam C : Q#22

Identifying Contradictory Rules in a Decision Table

1. Introduction

Decision table testing is a black-box technique used to model complex business rules. One of its key benefits is revealing defects in the rules themselves, such as omissions and contradictions.

This question focuses specifically on finding a contradiction in a decision table.

결정 테이블 테스트는 복잡한 비즈니스 규칙을 정리하고 검증하는 블랙박스 테스트 기법입니다. 이 기법의 중요한 장점 중 하나는 규칙 자체의 결함—특히 누락(omission)모순(contradiction)을 찾아낼 수 있다는 점입니다.


2. Key Concept: What Is a Contradiction?

In decision table testing:

  • Omission: a combination of conditions matches no rule
  • Contradiction: a combination of conditions matches more than one rule with different actions

결정 테이블에서:

  • 누락: 어떤 조건 조합도 규칙과 일치하지 않음
  • 모순: 하나의 조건 조합이 서로 다른 동작을 가진 두 개 이상의 규칙과 일치

3. Decision Table Overview

Conditions

  • C1: First attempt at the exam?
  • C2: Theoretical exam passed?
  • C3: Practical exam passed?

Rules

  • R1: C2 = T AND C3 = T → Issue a driving license
  • R2: C2 = F → Request additional driving lessons
  • R3: C3 = F → Request to take the exam again

조건과 규칙을 요약하면 다음과 같습니다.

  • R1: 이론·실기 모두 합격 → 면허 발급
  • R2: 이론 불합격 → 추가 운전 교육 요청
  • R3: 실기 불합격 → 시험 재응시 요청

4. Practice Question

❓ Question

What test data will show that there are contradictory rules in the decision table?

  • a) C1 = T, C2 = T, C3 = F
  • b) C1 = T, C2 = F, C3 = T
  • c) C1 = T, C2 = T, C3 = T and C1 = F, C2 = T, C3 = T
  • d) C1 = F, C2 = F, C3 = F

✅ Correct Answer: d)


5. Explanation (EN / KR)

✔ d) C1 = F, C2 = F, C3 = F — Correct (Contradiction)

This condition combination matches:

  • R2 because C2 = F
  • R3 because C3 = F

However, R2 and R3 define different actions. Therefore, the same input leads to conflicting outcomes, which is a clear contradiction.

이 조합은:

  • C2 = F 이므로 R2와 일치
  • C3 = F 이므로 R3와도 일치

하지만 R2와 R3는 서로 다른 행동을 요구하므로 이는 전형적인 규칙 간 모순입니다.


❌ a) C1 = T, C2 = T, C3 = F — Omission, not contradiction

This combination does not match any rule. That indicates an omission, not a contradiction.

어떤 규칙과도 일치하지 않으므로 이는 모순이 아니라 누락입니다.


❌ b) C1 = T, C2 = F, C3 = T — Single rule match

This combination matches only R2. Since there is only one applicable rule, there is no contradiction.

R2 하나만 적용되므로 모순이 아닙니다.


❌ c) Both combinations match only R1

Both (T, T, T) and (F, T, T) match only R1. Again, a single matching rule means no contradiction.

두 경우 모두 R1만 적용되므로 모순이 아닙니다.


6. Summary Table

Input Combination Matched Rules Result 판단
F, F, F R2 & R3 Contradiction 모순
T, T, F None Omission 누락
T, F, T R2 No issue 정상
T, T, T R1 No issue 정상

7. Final Takeaway

For ISTQB exams, remember:

Contradiction = one condition combination triggers multiple rules with different actions

시험에서는 이렇게 기억하세요.

하나의 조건 조합이 서로 다른 동작을 가진 여러 규칙과 일치하면 ‘모순’이다.

Related: More ISTQB Posts | Next Question

다음 이전