chapter 5 database processing - case & exercise

12
Dr. Chen, Management Information Systems 1 Chapter 5 Database Processing - Case & Exercise Jason C. H. Chen, Ph.D. Professor of MIS School of Business Gonzaga University Spokane, WA 99258 USA [email protected]

Upload: dalila

Post on 23-Mar-2016

1.660 views

Category:

Documents


49 download

DESCRIPTION

Chapter 5 Database Processing - Case & Exercise. Jason C. H. Chen , Ph.D. Professor of MIS School of Business Gonzaga University Spokane, WA 99258 USA [email protected]. In-class exercise UYK (p.171). - PowerPoint PPT Presentation

TRANSCRIPT

Dr. Chen, Management Information Systems 1

Chapter 5Database Processing

- Case & Exercise

Jason C. H. Chen, Ph.D.Professor of MIS

School of BusinessGonzaga University

Spokane, WA 99258 [email protected]

Dr. Chen, Management Information Systems 2

Part I

Dr. Chen, Management Information Systems 3

In-class exerciseUYK (p.195)

UYK#5(5-1, 5-2, 5-3); p.195

Dr. Chen, Management Information Systems 4

5-1.Draw an entity-relationship diagram that shows the relationships among a database, database applications, and users.

User DatabaseApplication Database

(e.g., GU database)

(e.g., ZagWeb, Blackboard, Bookstore,

Library, etc.)

(e.g., GU students,

faculty, staff etc.)

mandatory many mandatory one

Dr. Chen, Management Information Systems 5

5-2.Consider the relationship between Adviser and Student in Figure 5-19. Explain what it means if the maximum cardinality of this relationship is (A:S – Advisor:Student)

• a. N:1– An advisor is assigned one student; a student is assigned many advisors.

• b. 1:1– An advisor is assigned one student; a student is assigned one advisor

• c. 5:1– An advisor is assigned one student; a student is assigned no more than

five advisors• d. 1:5

– An advisor is assigned no more than five students; a student is assigned one advisor

Dr. Chen, Management Information Systems 6

3. Identify two entities in the data entry form in Figure 5-28. What attributes are shown for each? What do you think are the identifiers?

Fig 5-28

Dr. Chen, Management Information Systems 7

5-3. Identify two entities in the data entry form in Figure 5-28. What attributes are shown for each? What do you think are the identifiers?

• Entities (or Tables/Files): – Employee; Class

• Employee attributes: – Employee Number, First Name, Last

Name, Email• Class attributes:

– Course Name, Course Date, Instructor, Remarks

• Employee identifier (key): – Employee Number

• Class identifier (key): – Course Name & Course Date– Why two fields? And what is it called?– Composite Key

Dr. Chen, Management Information Systems 8

SO WHAT? (p.171)

Not What the Data Says . . .• IN-CLASS GROUP EXERCISE

• #1,2,3

Dr. Chen, Management Information Systems 9

So What? Not What the Data Says . . .

• Subjective: • Small, nonrandom sample.• Called four different sales reps who can’t get any

prospects to bite. • Objective:

• Same month historical data, seasonal data comparisons.

• How to recognize and minimize bias? • Use non-routine cognitive skills.

Dr. Chen, Management Information Systems 10

1. Do you want to be Jeremey or Neil? Justify your answer.

• Neil. He has made a very positive impression on his boss Sarah and Jeremey looks a little foolish. Neil was able to provide answers to important questions that are based on solid data, not just anecdotes.

• Neil’s abilities will get noticed at the executive meeting and I expect doors will open for him.

Dr. Chen, Management Information Systems 11

2. What skills and abilities will you need to be Neil?

• Neil anticipated the questions that needed to be asked to evaluate the promotional campaign, understood the approach needed to answer those questions, and then embarked on the analysis needed to produce the answers he sought.

• This required critical thinking and analytical skills along with an understanding of databases and database queries.

Dr. Chen, Management Information Systems 12

3. List specific sales data you need to provide answers as Neil does.• September sales for current year• September sales in prior years• Current September sales from new customers

(new customer record added to database in September).

• September sales that used coupon (from the promotional campaign). Probably identified in sales record as a discount or coupon field.