GoConqr has a new look! Let us know what you think.

Quiz

Test Driven Development

Kerrie Callaghan 14 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (14)

  1. 1Test driven development is an approach to program development in which you inter-leave [blank_start]testing[blank_end] and [blank_start]code[blank_end] development.
    1. Atesting
    2. Bcode
  2. 2Tests are written [blank_start]before[blank_end] code.
    1. Abefore
  3. 3Code is developed [blank_start]incrementally[blank_end], along with a [blank_start]test[blank_end] for that [blank_start]increment.[blank_end]
    1. Aincrementally
    2. Btest
    3. Cincrement.
  4. 4You [blank_start]do not[blank_end] move on to the next increment until the code that you have developed passes its [blank_start]test[blank_end].
    1. Ado not
    2. Btest
  5. 5Test driven development should start by identifying the [blank_start]increment[blank_end] of [blank_start]functionality[blank_end] that is required - it should be [blank_start]small[blank_end], and implementable in [blank_start]a few[blank_end] lines of code.
    1. Aincrement
    2. Bfunctionality
    3. Csmall
    4. Da few
  6. 6Next, a [blank_start]test[blank_end] should be written for this functionality, and implemented as an [blank_start]automated[blank_end] test.
    1. Atest
    2. Bautomated
  7. 7Run the test, along with [blank_start]all other[blank_end] tests that have been implemented. Initially you will not have implemented the functionality, so the test will [blank_start]fail[blank_end]. [blank_start]Implement[blank_end] the functionality and re-run the test. Once all tests run [blank_start]successfully[blank_end], you move on to implementing the next chunk of [blank_start]functionality[blank_end].
    1. Aall other
    2. Bfail
    3. CImplement
    4. Dsuccessfully
    5. Efunctionality
  8. 8The benefits of test driven development can be remembered by using the following acronym:
    C[blank_start]ode coverage[blank_end]
    R[blank_start]egression testing[blank_end]
    S[blank_start]implified debugging[blank_end]
    S[blank_start]ystem documentation[blank_end]
    1. Aode coverage
    2. Begression testing
    3. Cimplified debugging
    4. Dystem documentation
  9. 9Code coverage: every code [blank_start]segment[blank_end] has been tested at least [blank_start]once[blank_end].
    1. Asegment
    2. Bonce
  10. 10Regression testing: a regression test [blank_start]suite[blank_end] is developed [blank_start]incrementally[blank_end] as a program develops.
    1. Asuite
    2. Bincrementally

Information

Description
Games Development Quiz on Test Driven Development, created by Kerrie Callaghan on 08/05/2017.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?