You are working as a .module tester* (syn. unit tester, component tester) in an automotive project for the development of a control unit for an electric window. During white-box lest design, you come atomic requirements: B1 AND (B2 OR B3). The task for you is to design test cases according to the principle of the modified condition/decision testing (MOOC). You have already designed three test cases:
1) B1 = TRUE, B2 = TRUE, B3 = FALSE
2) B1 = TRUE, B2 = FALSE, B3 = TRUE
3) B1 = FALSE, B2 = TRU, B3 = FALSE
Which of the following test cases is necessary to achieve 100% modified condition/decision coverage?
Suggested Answer: D
Get Premium CTFL-AuT Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
37 comments · newest first
TR
Trevor
11 months ago
I agree, C is the only one that hits all conditions.
TY
Tyra
11 months ago
Wait, are we really missing a case with all FALSE? That's surprising!
EM
Emiko
11 months ago
Not sure, but I feel like option B could also be important.
CE
Celeste
11 months ago
Definitely, option C seems necessary for full coverage!
AL
Almeta
11 months ago
I think we need to cover all combinations for B2 and B3.
DE
Denae
12 months ago
I feel like option D might be redundant since we already have a case with B1 true and B2 false, but I can't recall if it affects coverage.
NY
Nydia
12 months ago
I practiced a similar question where we had to cover all conditions, and I think option C could be necessary since it tests B3 being true.
CY
Cyril
12 months ago
I think we might need to test B1 being false with B2 and B3 both false to cover all combinations, but I'm not entirely sure.
JE
Jerry
1 year ago
I remember that for modified condition/decision coverage, we need to ensure that each condition is tested for both true and false outcomes.
KI
Kiley
1 year ago
Based on the MOCD principle, I believe the correct answer is B. B1 = FALSE, B2 = FALSE, B3 = FALSE, as this will cover the remaining combination not tested in the first three cases.
MA
Madalyn
1 year ago
I think the key is to cover all possible combinations of the Boolean conditions. The first three test cases cover some, but we need one more to complete the coverage.
SI
Sina
1 year ago
Okay, let me think through this step-by-step. We have the Boolean expression B1 AND (B2 OR B3), and we need to design a test case to achieve 100% MOCD coverage.
LE
Lemuel
1 year ago
This question seems straightforward, but I want to make sure I understand the modified condition/decision testing (MOCD) principle correctly before answering.
CE
Celestine
1 year ago
Okay, let's see. The user story mentions loading data to accounts, contracts, and quotes, so I'm thinking the answer is probably related to one of those objects. Maybe it has something to do with pricing or entitlements?
NO
Novella
1 year ago
I'm pretty confident the answer is B. The user's manager must approve or decline the reclamation, since the user themselves declined it.
IS
Isabella
1 year ago
I'm a bit confused on how to approach this. Should I focus on the interest rates or the balances? I'll need to re-read the question carefully.
MI
Minna
1 year ago
Oh man, I hope I don't get this one wrong. I really need to ace this exam!
JE
Jeannine
1 year ago
Alright, time to put my testing skills to the test. I'm pretty confident I can figure this out.
RU
Rupert
1 year ago
I think the correct answer is C)
LA
Laquita
1 year ago
C) B1= TRUE, B2 = TRUE. B3 = TRUE
NI
Nickolas
1 year ago
A) B1 = FALSE, B2 = FALSE, B3 = FALSE
ME
Melodie
1 year ago
Haha, I bet the exam writers thought they were being clever with this one. But I'm not going to let them fool me!
OL
Olene
1 year ago
Hmm, I'm not sure. Let's think about it.
LU
Luis
1 year ago
No, I believe the correct answer is C.
AR
Arlen
1 year ago
I think the answer is A.
VA
Valentine
1 year ago
A) B1 = FALSE, B2 = FALSE, B3 = FALSE
YO
Yoko
1 year ago
Okay, let's see... I think the key here is to cover all the possible combinations of the atomic requirements. But which one is the right answer?
DE
Desirae
1 year ago
C) B1= TRUE, B2 = TRUE. B3 = TRUE
FR
Francesco
1 year ago
A) B1 = FALSE, B2 = FALSE, B3 = FALSE
MI
Mitzie
1 year ago
But wouldn't C) only cover the condition B1 AND (B2 OR B3) partially? I still think A) is the right choice for 100% coverage.
LU
Luisa
2 years ago
I disagree, I believe the correct answer is C) B1= TRUE, B2 = TRUE. B3 = TRUE.
DE
Deja
2 years ago
Hmm, this seems like a tricky one. I'm not sure if I fully understand the MOCD testing principle, but I'll give it my best shot.
DE
Deeanna
1 year ago
No, option C is not needed for 100% coverage.
EU
Eun
1 year ago
C) B1= TRUE, B2 = TRUE. B3 = TRUE
KA
Karina
1 year ago
I think option B is necessary for achieving 100% coverage.
LO
Loren
1 year ago
A) B1 = FALSE, B2 = FALSE, B3 = FALSE
MI
Mitzie
2 years ago
I think the answer is A) B1 = FALSE, B2 = FALSE, B3 = TRUE.