Pts given the success rate of small software projects

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

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Concepts of Database Management
The document you are viewing contains questions related to this textbook.
Chapter 3 / Exercise 2
Concepts of Database Management
Last/Pratt
Expert Verified
19. (3 pts) Given the success rate of small software projects versus large software projects presented in class, what technique that we have covered would give us our best chance at building a large project from many small projects? A. The software architecture developed during the design phase of a Plan-and-Document lifecycle B. The model-view-controller design pattern C. BDD/TDD D. Following a Service-Oriented Architecture
20. (3 pts) The two pieces of code at right have the same logical functionality but different structure. Which statement is TRUE about comparing them? # version 1: def foo(x,y) if x if y z() end else if y # version 2: def foo(x,y) if x check_y_z(y) else check_y_w(y) end end
w() end end end def check_y_z(val) z() if val end def check_y_w(val) w() if val
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Concepts of Database Management
The document you are viewing contains questions related to this textbook.
Chapter 3 / Exercise 2
Concepts of Database Management
Last/Pratt
Expert Verified
end As an example of procurement reform in government, Ray Ells’ software consultancy has been awarded a contract to develop Casebook, a SaaS app to keep track of the status of civil court cases. Here are some notes from an early customer interview: Each case has two parties: the plaintiff and the defendant. The same plaintiffs and defendants may be parties in more than one case. A party that is a plaintiff in one case might be a defendant in another case. Each case is assigned to exactly one judge and its proceedings administered by exactly one court clerk. Every court officer is either a judge or a court clerk. The only people who can login to the app and access the data are court officers. Login should be required for all app actions, that is, the only publicly-viewable page should be the login page. A case has a variable number of supporting documents associated with it. Examples of documents include motions, depositions, evidence (photographs, scanned documents, audio or video clips, etc.), and others. 21. (3 pts) Which foreign keys would we expect to see in the Cases table? SELECT ALL THAT APPLY.
22. (3 pts) Which foreign key from the above would we expect to see in the Judges table? _____ 23. (3 pts) Which foreign key from the above would we expect to see in the Documents table? _____ Which two ActiveRecord associations are required to support the query: "Return all the defendants whose cases have been assigned to this judge"? (Answers have the form "X has many Y", "X belongs to Y", and so on. Be sure to use the correct letter choices for each blank!)

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture