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

Quiz

Software Quality and Testing midterm 2015

Bas Musters 40 questions

Take the quiz

Questions in this quiz (40)

  1. 1The laws of software evolution by Belady and Lehman can be paraphrased as:
    1. ADue to evolution, chaos theory applies to software systems, which explains why a small change
      can have drastic effects.
    2. BThrough principled design, controlled software evolution is possible.
    3. CContinuing change is facilitated by a decrease in entropy.
    4. DThe mess in a software system will increase over time, unless you do something about it.
  2. 2In what way do the Mockito methods verify and when...then improve controllability and
    observability?
    1. AThe verify methods only improve observability, and the when...then methods only improve
      controllability
    2. BThe when...then method improves both observability as well as controllability, but the
      verify method only improves observability.
    3. CThe verify and when...then both improve observability as well as controllability
    4. DThe verify methods only improve controllability, and the when...then methods only improve
      observability.
  3. 3Immediately after launch, the US site healthcare.gov (also known as “ObamaCare”) was
    plagued by problems. Which of the following test principles is most helpful when trying to explain these
    problems?
    1. AThe absence-of-errors fallacy.
    2. BImportance of early testing.
    3. CTesting is context dependent.
    4. DPesticide paradox
  4. 4One of the following statements about code analysis tools such as Checkstyle is not correct.
    Which one is it?
    1. AWhenever Checkstyle warns about a code fragment, that fragment must be adjusted to fix this.
    2. BCheckstyle rule preferences may differ per team, and should be set on a per project basis.
    3. CAutomated Checkstyle analysis should be conducted before a manual code review.
    4. DCheckstyle is best used from an IDE such as Eclipse, as well as on the continuous integration
      server
  5. 5Which of these is a functional test?
    1. AChecking how easy the system is to use
    2. BMeasuring response time on an on-line booking system.
    3. CChecking the on-line bookings screen information and the database contents against the information
      on the letter to the customers.
    4. DChecking the effect of high volumes of traffic in a call-center system.
  6. 6What is the purpose of confirmation testing?
    1. ATo confirm that no unexpected changes have been introduced or uncovered as a result of
      changes made.
    2. BTo confirm that the detailed logic of a component conforms to its specification
    3. CTo confirm that a defect has been fixed correctly.
    4. DTo confirm the users’ confidence that the system will meet their business needs.
  7. 7To test the method in Figure 1, what would be the best use of mock objects?
    https://www.dropbox.com/s/6we84xk3xg0ulqp/SQTMidtermFig1.PNG?dl=0
    1. AThe use of mocks is not helpful in this case.
    2. BMock PictureReader to improve observability, and mock HandlerListener to improve controllability.
    3. CMock PictureReader to improve controllability, and mock HandlerListener to improve observability.
    4. DMock both PictureReader and HandlerListener to improve controllability as well as observability
  8. 8Which of the following statements on one-by-one testing is true?
    1. AAn out point cannot also be an on point.
    2. BAn out point can never be an off point.
    3. CIf the on point is an in point, the off point is an out point.
    4. DThe in point is included in the set of on points.
  9. 9Non-functional testing includes:
    1. ATesting a system feature using only the software required for that function.
    2. BTesting the quality attributes of the system including reliability and usability.
    3. CGaining user approval for the system.
    4. DTesting to see where the system does not function correctly.
  10. 10In an effective software development project, a screen with the commit log shows:
    1. AFew commits only, since good commit messages are rich in content.
    2. BCommits that are from different days, since a good commit contains a substantial code change
    3. CNever more than one or two failing (red) builds right after each other.
    4. DOnly passing (green) builds.

Information

Description
Computer Science Quiz on Software Quality and Testing midterm 2015, created by Bas Musters on 02/07/2017.
Language
English
Views
109
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?