ExamGecko
Home Home / Scrum / PSD

Scrum PSD Practice Test - Questions Answers, Page 6

Question list
Search
Search

What is test first development?

A.
The continuous restructuring of software to retain flexibility
A.
The continuous restructuring of software to retain flexibility
Answers
B.
Having the tester in the development team write the test plans before coding
B.
Having the tester in the development team write the test plans before coding
Answers
C.
Creating tests before satisfying them
C.
Creating tests before satisfying them
Answers
D.
Testing existing code before adding more code to it
D.
Testing existing code before adding more code to it
Answers
Suggested answer: B

Explanation:

Test first development is a different way of saying TDD.

How do you know that the developers are cross-functional?

A.
Every member can do every task
A.
Every member can do every task
Answers
B.
They work with TDD
B.
They work with TDD
Answers
C.
They never argue
C.
They never argue
Answers
D.
They do pair programming
D.
They do pair programming
Answers
E.
Developers have the combined skills to create a usable increment
E.
Developers have the combined skills to create a usable increment
Answers
Suggested answer: E

Explanation:

Cross-functional is on team level and not on individual level.

The practice of decomposing a requirement into failing tests is called:

A.
Behavior driven development
A.
Behavior driven development
Answers
B.
Scrum testing
B.
Scrum testing
Answers
C.
Regression testing
C.
Regression testing
Answers
D.
Acceptance test driven development
D.
Acceptance test driven development
Answers
Suggested answer: D

Explanation:

In ATDD you start with writing tests to represent the requirement. Since you start with this, there is no production code to satisfy the test which is why the tests will fail.

Scrum demands code review

A.
True
A.
True
Answers
B.
False
B.
False
Answers
Suggested answer: B

Explanation:

There are no concrete development guidelines demanded by scrum, even though code review is an excellent idea. Scrum is also not only about developing software.

What are three of the best ways to address non-functional requirements?

A.
Handle them during a risk mitigation phase before development
A.
Handle them during a risk mitigation phase before development
Answers
B.
Scrum is for functional, frontend development only
B.
Scrum is for functional, frontend development only
Answers
C.
Include them in the Product Backlog
C.
Include them in the Product Backlog
Answers
D.
Before the release, they should be tested and validated in a hardening sprint
D.
Before the release, they should be tested and validated in a hardening sprint
Answers
E.
Specific expectations can be used as acceptance criteria to specific product backlog items
E.
Specific expectations can be used as acceptance criteria to specific product backlog items
Answers
F.
Important, recurring non-functional requirements can be added to the definition of done
F.
Important, recurring non-functional requirements can be added to the definition of done
Answers
Suggested answer: A, E, F

Explanation:

There is no hardening sprint, there are only regular sprints. If it's an ever recurring non-functional requirement, it can be added to the definition of done. If it's not it can be added (as a criteria) in the product backlog (item).

Cyclomatic complexity is a metric for:

A.
Measuring branching structures and nesting levels in code
A.
Measuring branching structures and nesting levels in code
Answers
B.
Assessing if code is written in as few lines as possible
B.
Assessing if code is written in as few lines as possible
Answers
C.
Determining the number of unit tests required to ensure correctness
C.
Determining the number of unit tests required to ensure correctness
Answers
D.
Demonstrating code is well structured and cleanly implemented
D.
Demonstrating code is well structured and cleanly implemented
Answers
Suggested answer: A

Explanation:

Cyclomatic complexity is a number expressing the number of different paths that can be taken throughout the code. Higher means complex code.

What would not be considered refactoring?

A.
Extracting methods
A.
Extracting methods
Answers
B.
Reordering method parameters to improve readability
B.
Reordering method parameters to improve readability
Answers
C.
Changing external interfaces or APIs
C.
Changing external interfaces or APIs
Answers
D.
Renaming things to be more logical
D.
Renaming things to be more logical
Answers
E.
Extracting interfaces
E.
Extracting interfaces
Answers
Suggested answer: C

Explanation:

Refactoring is only about the own code, so not about changing an external interface or api.

What is the step to take in TDD after the tests have failed?

A.
Meet with the team to see why it fails
A.
Meet with the team to see why it fails
Answers
B.
Change the test in a way that is passes
B.
Change the test in a way that is passes
Answers
C.
Run it again to verify it fails.
C.
Run it again to verify it fails.
Answers
D.
Write the code to satisfy the test
D.
Write the code to satisfy the test
Answers
Suggested answer: D

Explanation:

In TDD you start with writing the test before the code. This test cannot pass. If it does, the test is wrong. When the tests are written, the production code to satisfy the test will be written. Once all the tests succeeds, the product code is done.

When do the developers participate in the product backlog refinement?

A.
Never, it is the sole responsibility of the Product owner to refine the backlog
A.
Never, it is the sole responsibility of the Product owner to refine the backlog
Answers
B.
Only during the sprint planning
B.
Only during the sprint planning
Answers
C.
Anytime during the sprint
C.
Anytime during the sprint
Answers
D.
Only during the refinement meetings planned by the PO
D.
Only during the refinement meetings planned by the PO
Answers
Suggested answer: C

Explanation:

There is no set time for product backlog refinement.

What is not a desirable characteristics of a unit test?

Test code is as small as possible

A.
Execution is fast
A.
Execution is fast
Answers
B.
Independent of others
B.
Independent of others
Answers
C.
Includes exercising the persistence layer
C.
Includes exercising the persistence layer
Answers
D.
Makes assertions about only one logical concept
D.
Makes assertions about only one logical concept
Answers
Suggested answer: C

Explanation:

you don't want your unit test to really make changes so it cannot exercise the real persistence layer.

Total 120 questions
Go to page: of 12