Database exercise #2

advertisement
Database #2 – Designing a Data Base in Access
In this exercise you will develop an Access Database in which you track certain
financial investments in stocks on the New York Stock Exchange. You will open the
Access program, create a blank database, and then shift into the database design
view to set up your fields. The first will be the autonumber field. You will then
define and name fields for the Stock, Symbol, Purchase Date, Price, and Shares
Purchased. and Cost of Purchase. Enter the data from the table below.
Exxon/Mobil (XOM)
Chevron/Texaco (CVX)
Coca Cola (KO)
Pepsi Cola (PEP)
General Motors (GM)
Ford (F)
Hyatt Hotels (H)
Hilton Hotels Worldwide (HLT)
Marriott International (MAR)
100 shares @ $100.67 per share; 5/20/14
100 shares @ $122.60 per share; 5/20/14
200 shares @ $40.58 per share; 5/20/14
200 shares @ $85.65 per share; 5/20/14
100 shares @ $33.07 per share; 5/20/14
200 shares @ $15.77 per share; 5/20/14
100 shares @ $57.77 per share; 5/20/14
300 shares @ $21.41 per share; 5/20/14
100 shares @ $58.88 per share; 5/20/14
You will then enter a calculated field titled Cost (of stock purchase)—this will be
the field named Shares times Price.
You will add another field which displays today’s date (Evaluation Date), you will
also indicate the PE (Price to Equity) Ratio, Market Cap, and Dividends Per Share,
and current market Value. Also add calculated fields for % Change, Net Change
(value of gain or loss), and Annual Dividends . Determine the proper type of input
for each field (text, number, calculated, etc.) and describe its content.
For Percent Change, enter a formula to calculate the value from the information in
the database. The formula will begin with an equal sign and variable names must be
enclosed in brackets ( [name] ). Operators are the same as in Excel, and ( ) may be
used to set the order of calculation. Format the Percent Change column as a
percent with one decimal, and format the Net Change as Currency. Make certain
that all other columns are also correctly formatted.
If you cannot get decimals to display properly, change the format from “Number”
to “Double” and set the desired numbers of decimals.
Once you have entered the required information, begin a report which will include
all of the fields defined above. The report should contain all information on a
single page in portrait mode. To do that, you will need to set multiple lines in the
report itself (three lines per stock).
Place an appropriate title on your report, followed by your name.
Hints: Place the stock name and symbol on the first line followed by the remaining
information on the next two lines of the report. On the third line, put the
Evaluation Date, Value, % change, and Net Change. Print a copy of your report as
an Adobe PDF file.
Answer the following questions and submit this document to eCampus along with
the PDF report.
Which stock has shown the greatest percentage change in value?
___________________________________
Which stock investment has given you the greatest net yield in terms of dollars
(not dollars per share)?
___________________________________
Which investment gives you the most income in terms of annual dividends? How
much?
___________________________________ __________________
Submit this sheet with your answers, the PDF of your stock analysis report to the
eCampus assignment.
Revised 2016A
Download