Full exam (official solutions)

# Full exam (official solutions) - CS 174,4 Mid-Term Winter...

• Notes
• 8
• 100% (2) 2 out of 2 people found this document helpful

This preview shows pages 1–4. Sign up to view the full content.

CS 174,4. - Mid-Term Winter 2008 ' ThursQay, T" February 2008 This is a 75 minute, closed book exam. Answer eachquestion in the space provided immedietely below it. Show Jour work, Good luck! 1. (3 poinis) Consider the following instance of relation R: T-=--t-D ;---6--- d abef a b i d abde bcef bcce edcd edef and relation Sr Name: SoLLfTloN CD ;---a- ef What is the result of R/S? ,t B a o t^ ol

This preview has intentionally blurred sections. Sign up to view the full version.

l.(llorrr'-)ar- lpr r.t l^.ir;'r.','r, ^l |.r, R: ABC rnd Lrlrti,rn S: BCD \\ lrri is llre rcsrrlt o[ R x S? d c. .J d a al a Lt l, C { dbcr b bf cad bc d
Y 3. (4 points) Express in the Entity-Relationship model the relationship Sequel-of between entity set Movies (with attdbutes mid, naine director, where mid is ihe p mary key) and itself, where one movie is the sequel of another. The latter takes the role oI the original while the former is the sequel Assume that a movie may have manysequels, but for each sequel there is only one o ginal movie. Ofcourse, some movies don't have sequels.

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Spring '08
• Amr
• Following, Christopher Nolan, abde bcef bcce, following rreate state4rents, bf cad rnd

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern