Download SampleQuestion

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Data center wikipedia , lookup

Data model wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Data analysis wikipedia , lookup

Information privacy law wikipedia , lookup

3D optical data storage wikipedia , lookup

Relational model wikipedia , lookup

Business intelligence wikipedia , lookup

Data vault modeling wikipedia , lookup

Database model wikipedia , lookup

Transcript
Tufts EECS
2003
Name:__________________________________________
COMP150
Spring,
COMP 150: Data Warehousing/Data Mining
Sample Exam Question
 You have just accepted a job with an environmental research organization and have been
tasked with the job of building a data warehouse to keep track of mosquito populations around
the United States.
 Mosquito populations are counted by placing a trap in a specific location, leaving it there for 3
hours, retrieving it, and then counting the number of male and female mosquitoes inside.
 Traps are set in a location once a week from April until November of each year.
 Traps have been set around the country and mosquito counts have been conducted since 1955,
but the data has never been put into a data warehouse and analyzed.
 Trap locations are identified by the following characteristics : geographic location
(latitude/longitude, city, county, state), environmental area (city, rural), wetness (water within
100 yards, water within 10 yards, dry area), and water type (fresh water, brackish, salt water).
Problem 1
Choose which model (star or snowflake) you will use to capture the design of your
data warehouse (fact and dimension tables) and draw your star or snowflake schema.
1
Tufts EECS
2003
Name:__________________________________________
COMP150
Spring,
Problem 2
Translate the star or snowflake schema into a collection of relational tables and show
the resulting physical table design utilizing CREATE TABLE statements. Include all
necessary primary and foreign key definitions within the CREATE TABLE
statements.
Problem 3
Write a DMQL query to compare mosquito counts in city areas with mosquito
populations in rural areas .
2
Tufts EECS
2003
Name:__________________________________________
3
COMP150
Spring,