Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Scrum PSD Exam - Topic 1 Question 13 Discussion

Posted by Truman on May 04, 2022 at 08:28 AM

Why does a test written using TDD always fail?

Suggested Answer: C

TDD stands for test driven development. It makes developers think before starting to code. This leads to better organized code. It requires the developer to write the code for the test first, the test fails because the code it's testing doesn't exist yet.


Get Premium PSD Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
CO
Colene 11 months ago
Tests are checked in before the code exists, so B is spot on!
HU
Huey 11 months ago
Wait, so you're saying all TDD tests fail? That sounds off.
PA
Paola 12 months ago
I don't think that's true, tests can pass even without code.
MA
Margurite 12 months ago
Totally agree, option C makes the most sense!
LO
Lorean 12 months ago
It's because the product code to satisfy the test doesn't exist yet.
RO
Rosenda 1 year ago
I thought it was D at first, but now I'm leaning towards C. The product code really doesn't exist when you start writing the tests.
PA
Paris 1 year ago
I feel like I've seen a similar question before, and it was about how tests are written first in TDD. So, could it be B or C?
BR
Brock 1 year ago
I think the answer might be B, since TDD involves writing tests before the actual code. It makes sense that they'd fail initially.
AL
Allene 1 year ago
I'm not entirely sure, but I remember something about tests failing because the code isn't there yet. Maybe it's C?
TE
Teri 1 year ago
Hmm, valuation of intangible personal property - that's a tricky one. I'll have to draw on my understanding of estate tax rules and regulations to figure this out.
VI
Vince 1 year ago
Hmm, this one seems tricky. I'll need to carefully read through the requirements and think through the steps.
GL
Glory 1 year ago
I'm a bit confused by this question. I know NTFS has a boot sector and bootstrap code, but I'm not sure how many sectors the format program assigns to them. I'll have to make an educated guess on this one.
JA
Jacob 1 year ago
I feel pretty confident about this one. The key is to use a combination of the Atomic Service Transaction and Compensating Service Transaction patterns to meet all the new requirements. As long as I implement them correctly, I think I can nail this question.
VE
Vernell 1 year ago
I've seen this type of question before. I think the key is understanding how the template class and string addition work together. I'll work through it step-by-step.
0/2000 characters

Save Cancel