Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. What are supermarts? Compare and contrast them with data marts?
2. Both Kimball and Inmon agree on one aspect of data modeling for data
warehouses. What is it?
3. Suppose the marital status of a customer of AMAZON.COM changed from single
to married and also the customer moved to a new state. If in your warehouse you
don’t keep history, what problems would you face? Give two specific examples.
4. Explain how rapidly changing monster dimensions can be handled.
5. Explain how mutivalued dimensions are handled in dimensional modeling.
Illustrate by giving suitable example.
6. What are inside-out queries? Give an example.
BIRLA INSTITUTE OF TECHNOLOGY & SCIENCE, PILANI
I SEMESTER 2004-2005
SS G515 DATA WAREHOUSING
Comprehensive Examination
th
Date: 08 December 2004
Time: 3 Hours
Weightage: 35% [Part A (closed book) – 19 & Part B (open book) – 16]
Part B – Open Book
1. There is a hotel chain in the US having 500 hotels spread over 40 states. There are
two brand lines of hotels. The primary line of hotels features larger than average
room, most of which are suites. The target customers are business travelers and
upscale vacationers. The second line of hotel features competitive rates, though with
limited facilities. The target customers are price-sensitive customers. There are
different type of rooms, like standard rooms and suites. Rooms are also categorized
by size as small, medium, and large. Each room may also incorporate certain optional
features, such as a refrigerator or kitchenette.
The management wants to analyze use of the hotel chain’s capacity i.e. occupancy
rate and the biggest challenge they face is determining how to price the hotel rooms.
You are required to design a data mart for the hotel management based on the
following requirements:
(a) For any day allow occupancy rate to be analyzed across products or locations.
Products are particular room types
Occupancy rate = occupied room/ (occupied rooms+vacant rooms+unavailable rooms)
(b) Over time, allow analysis of average utilization levels for specific hotels, products
or groups.
(c) For each room type and hotel, capture the accommodation revenues for
comparison to occupancy levels.
Design a star schema keeping in mind the above requirements. You are required to
identify all dimension and facts. Also classify each fact as additive, semi-additive, or
non-additive. Generate some reports using SQL that you feel will be useful for the
management.
[7]
2. What are the two main type of analysis that can be performed on the data warehouse
data? Give an overview of tools that are required to do these kinds of analyses.
[2]
3. Computer company A keeps data about the PC models it sells in the schema:
Computers (number, proc, speed, memory, hd)
Monitors (number, screen, maxResX, maxResY)
For instance, the tuple (123, PIII, 500, 128, 18,7) in Computers means that model
123 has a Pentium III processor running at 500 megahertz with 128M of memory and
an 18,7 G hard disk. The tuple (234, 19, 1024, 1024) in Monitors means that model
234 has a 19-inch screen with a maximum resolution of 1024×1024. The attribute
number in the relation Computers denotes a model (a number of the model) of a
computer while the attribute number in the relation Monitors denotes a model (a
number of the model) of a monitor.
Computer company B only sells complete systems, consisting of a computer and
monitor. Its schema is:
Systems (id, processor, mem, disk, screenSize)
The attribute processor is an integer speed; the type of the processor is not
recorded. Neither is the maximum resolution of the monitor recorded. Attributes id,
mem, and disk are analogous to number, memory, and hd from company A,
but the disk size is measured in megabytes instead of gigabytes.
(a). Suggest a global data warehouse schema that would allow us to maintain as
much information as we could about the products sold by companies A and B.
(b). Write SQL queries to gather the information from the data at companies A and
B and put it in a warehouse with your global schema of exercise 1.
[7]