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

Quiz

HUGB - Late-term Exam

Arnar Leifsson 33 questions

Take the quiz

Questions in this quiz (33)

  1. 1Which one of these does not describe an unit test?
    1. AAimed at smallest testable part of an application
    2. BRun fast
    3. CResponsibility of programmer
    4. DPart of integration process
    5. ERun as part of build process
  2. 2Which of the following are benefits of unit tests? (more than one can apply)
    1. AFacilitates changes
    2. BSimplifies build process
    3. CSimplifies integration
    4. DDocumentation (which are always up-to-date)
    5. ETests that find defects after they occur
    6. FLoosely coupled code
  3. 3Unit test should test the smallest possible unit of an application, for example a function
    1. ATrue
    2. BFalse
  4. 4Which of the following describes the best the TDD (Test driven development) cycle?
    1. ADesign -> Implement -> Test
    2. BImplement -> Design -> Test
    3. CTest -> Design -> Implement
    4. DDesign -> Test -> Implement -> Test
    5. ETest -> Design -> Implement -> Test
  5. 5Which of the following describes best the TDD Mantra?
    1. ARed -> Green -> Refactor -> Repeat
    2. BRed -> Refactor -> Green -> Repeat
    3. CRed -> Implement -> Refactor -> Green
    4. DRed -> Alert -> is -> awesome
  6. 6Which of the following best describes 'git init' (without all flags) ?
    1. AInitialize an empty Git repository, but omit the working directory
    2. BTransforms the current directory into Git repository
    3. CInitializes an empty Git repository, and creates a temporary remote to your Github account
    4. DAdds untracked files to staging phase (index)
  7. 7Which of the following describes 'git clone' (without all flags) best?
    1. AInitializes an empty sandbox (which is an insurance from yourself)
    2. BInitializes an empty Git repository and creates a remote called 'master'
    3. CCopies an existing Git repository and creates a remote connection called origin.
    4. DGives you an ability to clone your local changes into another working directory
  8. 8Which of the following are all valid states (in git) for a file to be in? (more than one can apply)
    1. AUntracked
    2. BUnstaged
    3. CStaged
    4. DUnmodified
    5. EModified
    6. FStashed
    7. GUnstashed
  9. 9Which of the following best describes 'git add' (omitting all flags) ?
    1. AAdds change in working directory to the staging area
    2. BAdds local changes from working directory to remote server
    3. CAdds only untracked files to the staging area
    4. DAdds a new commit to the 'git log'
  10. 10Which of the following describes 'git status' the best?
    1. ADisplays the state of the working directory and the staging area
    2. BDisplays the state of the remote repository
    3. CDisplays the state of the staging area and shows only modified files
    4. DDisplays the state of the working directory and the remote repository

Information

Description
Quiz on HUGB - Late-term Exam, created by Arnar Leifsson on 05/11/2015.
Language
English
Views
13
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?