EXAM2 Solution - Information and Database Management...

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

View Full Document Right Arrow Icon
Information and Database Management Systems I (CIS 4301) (Spring 2008) Instructor: Dr. Markus Schneider TA: Ganesh Viswanathan Wenjie Yuan Exam 2: Solution Key You have 120 minutes to complete the exam. Please read the entire exam before starting on it. It would be a good idea to think carefully about each problem before answering. Please be sure to write your name, UFID and email address legibly below. Relax and good luck. Please only use the stapled paper sheets of the exam . Note that it is not allowed to remove the staples. Name: UFID Email Address: Pledge (Must be signed according to UF Honor Code) On my honor, I have neither given nor received unauthorized aid in doing this assignment. _______________________________________________Signature For scoring use only: Maximum Received Exercise 1 20 Exercise 2 30 Exercise 3 20 Exercise 4 30 Total 100
Background image of page 1

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

View Full DocumentRight Arrow Icon
Exercise 1 (Knowledge Questions) [20 points] 1. Express the natural join operator in terms of other basic operations: { σ , π , , , –, ×} [5 points] Answer: R S ≡ π _ b ( σ _ a (R × S)) where a : condition where attributes with similar names are matched up, and b : list of attributes, with duplicates removed. 2. Describe in your own words how grouping works and how its interplay with aggregate functions is. [5 points] 3. Briefly explain the various Join operations in Relational Algebra. [10 points] [Refer to class notes.]
Background image of page 2
Exercise 2 (Relational Algebra) [30 points] Consider the following schema:
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/10/2008 for the course CIS 4301 taught by Professor Schneider during the Spring '08 term at University of Florida.

Page1 / 6

EXAM2 Solution - Information and Database Management...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online