1 - introductionlc38253/docs/9-databases.doc · web view(1) introduction to databases: a database...

15
Name: June 16, 200511:31 AM (1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve desired pieces of data. A field is a single piece of information; a record is one complete set of fields; and a table is a collection of records. Sample Problem It is believed that sodium, cholesterol, and saturated fat increase the risk of cardiovascular disease. Use the filter tool in Excel to determine which foods should be avoided because they contain high concentrations of all of these substances. Include a printout of your report in your portfolio. Download and open nutrition.xls (an Excel file) . Use File/Open to open the nutrition.xls file if it does not open by double-clicking. Turn on AutoFilter (Data/Filter/AutoFilter). When it is on, small arrows appear in the field(column) headings. To sort the database, place the cursor in the first cell within a category (e.g. vit. C (mg), not in the category coordinate (e.g. A,B,C etc.). To perform record selection, use Data/Sort/SortBy and select the appropriate criteria to answer the question. The foods that should be avoided after the sort of sodium, cholesterol, and saturated fat increase that increase the risk of cardiovascular disease are: (1) Burrito, beef and bean, (2) Butter-Stick, (3) Cream sour cultured, (4) Custard baked, (5) Duck meat only roasted, (6) Egg nog commercial, and (7) Ice Cream Vanilla. (2) Managing School Data: Schools and colleges are dependent upon databases to maintain student records, finances, registration, teacher information, schedules, and many other 1

Upload: others

Post on 10-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve desired pieces of data. A field is a single piece of information; a record is one complete set of fields; and a table is a collection of records.

Sample Problem It is believed that sodium, cholesterol, and saturated fat increase the risk of cardiovascular disease. Use the filter tool in Excel to determine which foods should be avoided because they contain high concentrations of all of these substances. Include a printout of your report in your portfolio. Download and open nutrition.xls (an Excel file) . Use File/Open to open the nutrition.xls file if it does not open by double-clicking. Turn on AutoFilter (Data/Filter/AutoFilter). When it is on, small arrows appear in the field(column) headings. To sort the database, place the cursor in the first cell within a category (e.g. vit. C (mg), not in the category coordinate (e.g. A,B,C etc.). To perform record selection, use Data/Sort/SortBy and select the appropriate criteria to answer the question.

The foods that should be avoided after the sort of sodium, cholesterol, and saturated fat increase that increase the risk of cardiovascular disease are: (1) Burrito, beef and bean, (2) Butter-Stick, (3) Cream sour cultured, (4) Custard baked, (5) Duck meat only roasted, (6) Egg nog commercial, and (7) Ice Cream Vanilla.

(2) Managing School Data: Schools and colleges are dependent upon databases to maintain student records, finances, registration, teacher information, schedules, and many other things. Teachers input data into such systems through grade book programs and other teacher/administrator software. Teachers should also be able to use programs like Microsoft Excel to organize data and merge files.

Download the schools database file. Create mailing labels and form letters (3 suffices) using the mail merge feature in Word. This will serve as a data file (also known as secondary file) when merging with a primary document to make form letters, mailing letters, or catalog entries. Include only representative samples from your merges.

The following mailing labels were created by using the excel database of school addresses merged to word.

1

Page 2: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

The three letters were merged using the school address and word.

First Letter

2

Page 3: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

Second Letter

Third Letter3

Page 4: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

(3) Creating / Enhancing databases for your subject: Teachers use programs like Excel to manage and organize large sets of data.

Create a new spreadsheet or a new worksheet in an existing database file. For example, if you are a social studies teacher, you may wish to add a worksheet to one of the databases designed for social studies teachers. Your worksheet should include a minimum of 10 records and 5 fields and should include an autofilter for easy record selection. The material should be related to the subject you teach. Include a printout of your new database in your portfolio, and post the Excel file (.xls) in your electronic portfolio (if required by professor).The purpose of the Database to be the Algebra 1 Mathematics Content Standards is to have easier access to a certain standard. Especially during WASC (a committee observes the school, teachers and the classroom. Teachers needed to write the standard being taught every day on the board.) This way a teacher may look up the Algebra 1 Standard being taught for the day to write on the board as well as the goal

4

Page 5: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

(4) Using web-based databases: A growing number of educational databases are available on the Internet. Teachers can use these databases without having to teach the mechanics of a program like Excel.

Use Nutritional Analysis Tool to develop a file that reflects your "normal" daily diet. Analyze your diet with respect to the United States Department of Agriculture's recommended daily allowances. Write a brief analysis of your diet, including histograms or tables. Write an assignment for a secondary school class (math, home economics, health etc.) which requires use of the database features of the Nutritional Analysis Tool, or Fast Food Facts. You may also wish to refer to the USDA Nutrient Data Laboratory

Write a lesson plan which requires students to analyze data using a database related to your subject: Social Studies: nations , exchange rates , distance, census Business: stocks & business Science: genetics, proteins, plants, earthquakes, air pollution, hurricanes,

chemicals Health: health, nutrition Music: classical, iTunes

5

Page 6: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

Foreign language: foreign words, foreign dictionaries Mathematics: stocks Physical Education: sports Art: art English: public domain texts

Nutritional Analysis: The Nutritional Analysis did not include salads since I the search was not found as well as the following items eaten for lunch on a daily basis: Panini, Chicken Alfredo, and Chicken Rigatoni. The following list of percentages includes food eaten for dinner once a week: pizza, steak sandwich, and chicken. My intake on Saturated Fat is 69.31% while my vitamin intake is a very low percentage. Obviously I have no intake for potassium, especially since I don’t like bananas.

6

Page 7: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

7

Page 8: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

8

Page 9: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

Students’ Nutritional Analysis Assignment: Nutritional Analysis Web Site

http://www.nat.uiuc.edu/mainnat.html

Write a list of the food you ate during the day(breakfast, lunch, snacks eaten, dinner) for a week.

Create a pie or bar graph with the percentages from your nutritional analysis. Create a database with the list of nutrients for the food items. Then create a line graph of

the nutrients with the food items.

9

Page 10: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

Lesson Plan: Stock Market

Goal: Students’ will be able to analyze data using a database.

Time: 2 hours

Warm-Up:1.) What is a stock?A stock represents a share in the ownership of a company. If you own a company's stock, then you are a owner, or shareholder, of the company. A stock represents a claim on the company's assets and profits. A stock is also known as equity.The ownership percent, of a company that you own is calculated by dividing the number of shares a person owns buy the number of shares of stock outstanding.For example:1000 shares owned 10,000 shares outstanding= 10% ownership.

2.) Reading a Stock Market TableThe stock market tables gives you basic information and price history for stocks. You can use it to see how stocks you own or are interested in owning are performing, how their prices are changing, and how they have performed in the past. Reading a stock market table is simple once you understand how to do it.

10

Page 11: 1 - INTRODUCTIONlc38253/Docs/9-Databases.doc · Web view(1) Introduction to Databases: A database is a collection of information organized so that a computer program can quickly retrieve

Name: June 16, 200510:52 PM

Direct Instruction SuppliesA USB for the group to save their files, the uses of excel (checking account and stocks bought/sold) and word (electronic journal), Activ Board, PowerPoint presentation.Direct Instruction

Each group (or individual) begins with $10,000. With this money, the group must spend at least $9,500 on stocks (including commissions). The remainder may be kept in the individual’s checking account.

Each group must invest in 5 stocks. A 3% commission is to be paid for every stock transaction (buying or selling a stock). Each group should keep a journal of their activities and thoughts, and a transaction

history of all buys and sells. In addition, the group is responsible for keeping track of the current portfolio's market value (plus the cash in the checking account).

The time line for this activity is 2 weeks On the last day students will sell their stocks and report on their portfolio's value

and what they learned during the activity.

Guided Practice Supplies Pencil, eraser, newspaper or computer access, USB, roles assigned and their groups.

Guided Practice Students are assigned groups and their roles Students begin to choose their five stocks using the

o Newspaper (Los Angeles Times)o Stock websites

Market Watch: http://www.marketwatch.com/ Yahoo Finance: http://finance.yahoo.com/ Quote: http://www.quote.com/home.action

Class work Determine the five stocks to invest in. Start their electronic journal Start their database using Microsoft Excel

Homework Calculate if there was profit or lose in their investments.

Lesson Plan

11