+ All Categories
Home > Documents > UC BERKELEY IEEE STUDENT CHAPTER DATABASE

UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Date post: 12-Feb-2016
Category:
Upload: rollo
View: 33 times
Download: 0 times
Share this document with a friend
Description:
UC BERKELEY IEEE STUDENT CHAPTER DATABASE. Team Members: Jesus Castellanos, Agustin Del Rio, Marco Innao, Crystel Roberts, Jonatan Rodriguez, Pranthik Samal, Bryan Vallieres, Yang Yang. WHAT IS IEEE? . - PowerPoint PPT Presentation
Popular Tags:
29
UC BERKELEY IEEE STUDENT CHAPTER DATABASE Team Members: Jesus Castellanos, Agustin Del Rio, Marco Innao, Crystel Roberts, Jonatan Rodriguez, Pranthik Samal, Bryan Vallieres, Yang Yang
Transcript
Page 1: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Team Members:Jesus Castellanos, Agustin Del Rio, Marco Innao, Crystel Roberts, Jonatan

Rodriguez, Pranthik Samal, Bryan Vallieres, Yang Yang

Page 2: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

WHAT IS IEEE? • As an active organization on campus here, at the

University of California, Berkeley, IEEE provides lab services, promote student professional awareness, participate in high school outreach programs, play a role as a backbone for student-industry networking by hosting informational sessions and other things of that sort, and plan student social activities to maintain balance with the technical atmosphere.

Page 3: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

DP I Summary

• We created:– Overall Project Summary– Textual summary of database requirements– Simplified EER diagram from information from

client IEEE with more than 20 entities including superclass/subclass divisions and a weak entity as well as more than 20 relationships

Page 4: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

DP II Summary• Revised simplified EER diagram• Relational Schema from EER diagram• 5 interesting queries described and why they are

interesting to our client– 1: Member participation tracker– 2: Forecast demand based on moving average– 3: Forecast the attendance of a specific type of event– 4: Member of the semester award– 5: Best event

Page 5: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

DP III Summary• Executive summary including:

• Client Description• Revised simplified EER diagram• Revised relational design schema• Created and implemented tables in Microsoft

Access– Created relationships between the tables– Screencapture of tables of relational design

• 5 interesting queries written in:– English– Relational algebra and/or SQL

Page 6: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Simplified EER

Page 7: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Relational Schema

Page 8: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Relational Schema Continued

Page 9: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Normalization Analysis• 1NFMember_Course: {{MID, CCN} {Course_Name, ⟶

Past_Or_Current}, CCN Course_Name }⟶Assumptions: a. CCN can identify a certain course.b. Different courses with different CCNs can share

the same Course_Name.

Page 10: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

ImprovementSeparate Course_Name into a new relation,

together with CCN:

• Member_Course (MID, CCN, Past_Or_Current)• Course_Name (CCN, Course_Name)

Page 11: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

• 2NF Person: {PID {Fname, Lname, Mname, ⟶

Cell_Phone_Number, Home_Phone_Number, Street_Address, City, State, Zip}, Home_Phone_Number State}⟶

Assumption: 1. zip code 2. area code 3. share phone

Page 12: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Possible Improvement: separate State into a new relation, together with Home_Phone_Number

• Person (PID, Fname, Mname, Cell_Phone_Number, Home_Phone_Number, Street_Address, City, Zip)

• Home_Phone_State (Home_Phone_Number, State)

But is this a good choice?

Page 13: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

3NF (also in BCNF)• Event: EID {EName, EDate, Location, Time, ⟶

General_Member_Turnout, Head_Count, Cost, Meal_Ordered_by_MID, Chairs_by_CName, Advertisement_Mode, Type}

• Lab: LABID {Number_Of_Computers, ⟶Number_Of_Servers, Number_Of_Chairs, Number_Of_Tables, Size}

Page 14: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

QUERY 1: officer participation for the purposes of promotion • This is a query that tracks officer participation for the purposes of promotion on

the officer board. Officers who have chaired at least one committee and have attended at least two events are assigned a weighted score with 2 points given for being on a committee, 3 points given for chairing a committee, 1 point for mentoring another officer, and ½ point for attending an event.

QUERIES

Page 15: UC BERKELEY IEEE STUDENT CHAPTER DATABASE
Page 16: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

• This query is a three-month moving average for inventory. Taking into account the inventory used by member and for events, we are able to keep estimate the how much inventory is needed for each month. For example, this query forecasts in the inventory for paper over a three-month period.

select (1/3)*(sum(m.Quantity)+sum(e.Quantity)) AS moving_avgfrom Member_Uses_Inv m, Event_Uses_Inv e, Inventory iwhere i.Name='paper' and e.INVID=m.INVID and i.INVID=e.INVID

and e.Date<= '2008-10-31' and E.date>='2008-08-01' and m.Date<='2008-10-31' and m.Date>='2008-08-01';

QUERY 2: three-month moving average for inventory.

Page 17: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

QUERY 3: forecast the attendance for a certain type of event. • Suppose the event type of our interest is info sessions; this query

will pull out all attendance information for info sessions and export the data to excel. Excel then uses exponential smoothing based on the data to calculate the forecast. That information is then imported back into MS Access.

Page 18: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

QUERY 4: all the members who have attended all the events except for officer meeting in a given semester

• The purpose of a query like this would be to award a “Member of the Semester” on the basis of attendance

Page 19: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

• This query attempts identifies and ranks the most successful event by modeling a “best” event based on cost, attendance, and the percentage of high GPA students in attendance. This query can be useful because if we know which events are the best, we can try to find something in common between them. We can use this commonality to improve all other events. This also helps with the planning for future quality events considering the available funds.

QUERY 5:model a “best” event based on cost, attendance, and the people in attendance.

Page 20: UC BERKELEY IEEE STUDENT CHAPTER DATABASE
Page 21: UC BERKELEY IEEE STUDENT CHAPTER DATABASE
Page 22: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Relational Design

Page 23: UC BERKELEY IEEE STUDENT CHAPTER DATABASE
Page 24: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Inventory Form

Page 25: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Alumnus Form

Page 26: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

General Member Form

Page 27: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Reports

Page 28: UC BERKELEY IEEE STUDENT CHAPTER DATABASE
Page 29: UC BERKELEY IEEE STUDENT CHAPTER DATABASE

Recommended