fall 12 exam

4
Mgmt 250 Fall 2012 Exam 3 Name: ___________________________________________________________________ Geneseo e-Mail userid: ______________________________________________________ Lab Day/Time: _____________________________________________________________ Do the following steps in the order outlined below. A. Save the DB container (Fall 12.accdb) to your file space. B. Rename the container as userid.accdb where userid = your Geneseo e-mail userid. C. Open the DB container.. 1. (2 pts) Import the table Cards from the Excel workbook Fall 12. 2. (6 pts) Set the field lengths according to the codebook found in the Excel workbook. 3. (2 pts) Set a primary key. 4. (2 pts) Properly relate the new table to the other tables found in the container. 5. (2 pts) Enforce referential integrity. Answer the following questions by creating the necessary query. Name each query for the question it answers. Write in the appropriate record count for each query. Save all queries. No datasheet filters are to be used 6. (6 pts) Produce a list of HHID numbers that do not own a pet. __________ 7. (6 pts) Produce a list of HHID numbers where SES is between 3 and 7. __________ 8. (6 pts) Create a list of HHID’s for households with both cable and premium cable. __________

Upload: asauln9

Post on 12-May-2017

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Fall 12 Exam

Mgmt 250 Fall 2012 Exam 3

Name: ___________________________________________________________________

Geneseo e-Mail userid: ______________________________________________________

Lab Day/Time: _____________________________________________________________

Do the following steps in the order outlined below.

A. Save the DB container (Fall 12.accdb) to your file space.B. Rename the container as userid.accdb where userid = your Geneseo e-mail userid.C. Open the DB container..

1. (2 pts) Import the table Cards from the Excel workbook Fall 12.2. (6 pts) Set the field lengths according to the codebook found in the Excel workbook.3. (2 pts) Set a primary key.4. (2 pts) Properly relate the new table to the other tables found in the container.5. (2 pts) Enforce referential integrity.

Answer the following questions by creating the necessary query. Name each query for the question it answers. Write in the appropriate record count for each query. Save all queries. No datasheet filters are to be used

6. (6 pts) Produce a list of HHID numbers that do not own a pet. __________

7. (6 pts) Produce a list of HHID numbers where SES is between 3 and 7. __________

8. (6 pts) Create a list of HHID’s for households with both cable and premium cable. __________

9. (6 pts) Create a list of HHID’s for adults who either voted or are a veteran. __________

10. (6 pts) Produce a list of HHID’s for those living in ME, NH, or VT that own a car worth more than $30,000. __________

11. (6 pts) Produce a list of HHID’s that are in the top 20% of household income. __________

12. (6 pts) Produce a list of people born in the 1970’s that are registered Democrats. __________

13. (6 pts) For households that we can call what is the average home value in each of the following states? 13.1. ME: _________ NH: _________ VT: __________ MA: __________

14. (6 pts) Create a list of HHID’s for those houses whose wealth is less than $1 million. _________14.1. Wealth = (household income * 3) + home value

Page 2: Fall 12 Exam

Mgmt 250 Fall 2012 Exam 3

15. (6 pts) What is the count of households broken down by gender and party?

D G N O RFM

16. (6 pts) Produce a list of households that have a vehicle but not a kid __________

17. (6 pts) Create a list of households where there are more men than women (both adults and kids) __________

18. (14 pts) Create a report for all households in NH, VT or ME that can be called, have a phone number and have a home size less than 2,000. The report has the following specifications. In the page header include the date. Use conditional formatting to high-light all adults under the age of 25.

Layout:

StateHHID Phone Number Income Home Value

AdultID Adult Gender Adult Age Adult EducationTotal number of years of education in each household

Final instructions

1. Close your Access session2. Submit to the appropriate drop box in myCourses

a. Use only Firefox or IE Explorerb. Attach the DB container

3. Turn in paper copy4. Relax