Pts which foreign keys would we expect to see in the

This preview shows page 5 - 6 out of 6 pages.

21. (3 pts) Which foreign keys would we expect to see in the Cases table? SELECT ALL THAT APPLY. A. judge_id B. clerk_id C. plaintiff_id D. defendant_id E. party_id F. document_id G. case_id H. None of the above
22.
23.
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!)
24.
[A, B or C] [D,E,F or G] [H, I or J] 25. (3 pts) Association #2: (pick FOUR items): _____A____ _____D_____ ____I____ through ___M____ [A, B or C] [D,E,F or G] [H, I or J] [K,L or M] RottenPotatoes has just rolled out a new feature that lets you click on the name of an actor and then shows you all recent movies starring that actor. Next to the entry for The American, you click on George Clooney’s name. Below is a series of steps in the “life cycle” of what happens as a result of that click. Indicate which part of the overall SaaS system is primarily responsible for each step: A. Model B. View C. Controller D. Rails Routing system E. DNS nameservers F. Web browser 26. __E___ (1 pt) Determine the IP address corresponding to RottenPotatoes.com 27. __F___ (1 pt) Initiate HTTP connection to that IP address on port 80 28. __F___ (1 pt) Determine which cookie(s), if any, correspond to RottenPotatoes.com 29. __F___ (1 pt) Send URL of clicked link, and cookie(s) if necessary, to RottenPotatoes.com 30. __D___ (1 pt) Convert incoming URL to appropriate method call in Ruby on Rails app 31. __A___ (1 pt) Perform search for all movies containing actor George Clooney
32. __C___ (1 pt) Determine which results will be shown (if there were matches for George Clooney) or whether an error message will be shown (if there were no matches)
34. (3 pts) Which is TRUE about Agile vs. Plan and Document development?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture