Pts which foreign keys would we expect to see in the

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

20. (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
21.
22.
Which two ActiveRecord associations are required to support the query: "Return all the defendants whose cases are administered by this clerk"? (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!)
23. (3 pts) Association #1 (pick THREE items): ____A____ ____D_____ ____J___ [A, B or C] [D,E,F or G] [H, I or J] 24. (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 25. __E___ (1 pt) Determine the IP address corresponding to RottenPotatoes.com 26. __F___ (1 pt) Initiate HTTP connection to that IP address on port 80 27. __F___ (1 pt) Determine which cookie(s), if any, correspond to RottenPotatoes.com 28. __F___ (1 pt) Send URL of clicked link, and cookie(s) if necessary, to RottenPotatoes.com 29. __D___ (1 pt) Convert incoming URL to appropriate method call in Ruby on Rails app 30. __A___ (1 pt) Perform search for all movies containing actor George Clooney 31. __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) 32. __B___ (1 pt) Construct HTML page containing list of movies or the error message 33. __C___ (1 pt) Set flash message if there is an error message 34. __A___ (1 pt) Interface to RDBMS 35. (3 pts) MARK ALL of the following that imply a project is suitable for Agile development. A. Requirements prone to change B. Want to respond quickly to market pressures C. A specification is required before start of the project
D. Customer is available for dialogue E. Cost of late changes is very high

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture