C failing red cucumber step passing green cucumber

This preview shows page 4 - 6 out of 9 pages.

C.Failing (red) Cucumber step; Passing (green) Cucumber step; Failing (red) RSpec test(s); Passing (green)RSpec test(s)D.Failing (red) RSpec test(s); Passing (green) RSpec test(s); Failing (red) Cucumber step; Passing (green)Cucumber stepExplanation: We write the acceptance test, then the unit test, then write the code to pass the unit tests, and thenpass the acceptance tests.
18.(3 pts) Thesingle best predictorthat a software project is likely to come in excessively over budget or late scheduleis:
19.(3 pts) Given the success rate of small software projects versus large software projects presented in class, whattechnique that we have covered would give us our best chance at building a large project from many small projects?def foo(x,y)if xif yz()endelseif yw()endendend# version 2:def foo(x,y)if xcheck_y_z(y)elsecheck_y_w(y)endenddef check_y_z(val)z() if valenddef check_y_w(val)w() if valend20.(3 pts) The two pieces of code at right have the same logicalfunctionality but different structure. Which statement is TRUEabout comparing them?# version 1:def foo(x,y)if xif yz()endelseif yw()endendend# version 2:def foo(x,y)if xcheck_y_z(y)elsecheck_y_w(y)endenddef check_y_z(val)z() if valenddef check_y_w(val)w() if valend

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 9 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
Staff

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture