questions of the day – lecture 1 what is the full file path for an excel file named cis200 that is...

23
Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and lecture2 subdirectory? Explain the terms hardware, software, operating system and applications Do you have enough memory on your hard drive to save this document? Your hard drive has .5 meg of memory left and your document is 25 pages. Each page has an average of 1600 characters and each character is represented by a 16 bit unicode representation. I typed the keyword “windows” into Google and got back millions of hits – but none of them tell me about Anderson windows for my home. What can I do?

Upload: charlotte-bell

Post on 11-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Questions of the Day – lecture 1• What is the full file path for an Excel file named cis200

that is located on your C drive in your cis200 directory and lecture2 subdirectory?

• Explain the terms hardware, software, operating system and applications

• Do you have enough memory on your hard drive to save this document? Your hard drive has .5 meg of memory left and your document is 25 pages. Each page has an average of 1600 characters and each character is represented by a 16 bit unicode representation.

• I typed the keyword “windows” into Google and got back millions of hits – but none of them tell me about Anderson windows for my home. What can I do?

Page 2: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

What is the full file path for an Excel file name cis200 that is located on your C drive in your cis200 directory and lecture2 subdirectory?

C:\CIS200\LECTURE2\CIS200.XLS

Page 3: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Do you have enough memory on your hard drive to save this document? Your hard drive has .5 meg of memory left and your document is 25 pages. Each page has an average of 1600 characters and each

character is represented by a 16 bit unicode representation.

1600 characters per page * 16 bits/character = 25,600 bits per page

25,600 bits ÷ 8 bits per byte = 3200 bytes/page

3200 bytes/page *25 pages = 80,000 bytes

80,000 bytes < .5 meg 500,000 bytes

Page 4: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Explain the terms hardware, software, operating system and applications.

• Hardware – physical equipment• Software is code that tells the hardware what

to do• Operating System – software that interfaces

with the hardware to control basic functions such as keyboard input, printing, reading from memory etc.

• Applications – software designed to work with the operating system to perform specific task such as word processing, data manipulation etc.

Page 5: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

What are the “variables” that will affect the results of a web search?

• Modify the keyword(s) you choose (home windows, Anderson windows)

• The syntax you include (+ “”) – And, Or, Not (windows not microsoft)

• The search engine you choose (try another search engine)

Page 6: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day 2

grams calories per gram 1 2 5 10 20fat 9 9 18 45 90 180protein 3 3 6 15 30 60carbohydrate 3 3 6 15 30 60

**** Total Calorie Table

Write a formula in cell C4 which can be copied down and across to calculate calories associated with the specific number of Grams of each food type.

After you’ve copied it what formula will appear in cell G6?

Page 7: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day 3

Lung Capacity Data

Name Smokerlung vol.in liters

Tom NS 18.2Jane NS 22.1Harry NS 21.3Sara Smoker 21.4Boyd Smoker 16.5

Summary #participants avg litersSmoker B10 C10NS

•Write a formula in cell B10, which can be copied down, to calculate the number of smokers in the group.

•Write a formula in cell C10, which can be copied down, to calculate the average lung volume in liters of a smoker.

Page 8: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the day 4• What type of operator would you use to

compare two values?

• What logical construct can be used to define:– every, at least one, none, both, either?

• Open to page 53 in chapter 1.4 and work on the remainder of the Art Logic Problem

Page 9: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the day 5Draw a decision tree to illustrate the components of this decision and then translate into a formula in Excel syntax.

Lung Capacity Data

Name Smokerlung vol.in liters

vol. improve-ment - liters

Tom Heavy 18.2 2.73Jane NS 22.1 6.63Harry NS 21.3 6.39Sara Light 21.4 4.28Boyd Light 16.5 3.30

All of the above patients are asthma sufferers. A new medication that claims to increase lung capacity is being administered. What are the expected volume gains in liters for each patient if the drug claims to increase capacity by 15% for heavy smokers, 20% for light smokers and 30% for non-smokers(NS).

Page 10: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day 6 (p.70 text)

Write an Excel formula in cell calc!B9, which can be copied down the column, to calculate the cost of the subfloor. The subfloor consists of two components – •Plywood sheets that cover the entire area of the kitchen -. One sheet of plywood contains 32 square feet. (assume cells E3:F9 were previously calculated)• Nails to install the sheet. Three nails are required for every square foot of sub-floor. Nails are sold in packages of 100.

Your contractor can use excess plywood and nails on other jobs – so he will only charge you for exactly the amount you need. (Hint: read the problem description for quantities)

Prices!

Conv!

1

23

456

78

A BUnit Conversion factorsquare feet to square yards 9quarts per gallon 4square feet covered per quart of glue 15nails per package 100inches/feet 12square feet per sheet of plywood 32nails/square foot 3

1234567

A B CItem Units Price3/4 inch plywood sheet $15.75vinyl flooring square yard $3.75adhesive gallon $10.25cabinetry linear feet $32.50nails package $2.00trim linear feet $1.00

1

23456789

1011

A B C D E FInputs

Optioncabinet

length (in)Kitchen

length (lf)Kitchen width (lf)

perimeter(lf) area(sf)

A 90 15 20 70 300B 120 20 30 100 600C 110 18 25 86 450

OutputsOption subfloor vinyl cabinetry total costA 165.66$ 246.25$ 243.75$ 655.66$ B 331.31$ 452.50$ 325.00$ 1,108.81$ C 248.48$ 350.38$ 297.92$ 896.78$

Calc!

Page 11: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

(SF of floor/ SF per sheet # of sheets#sheets * $/sheet = dollars)

+(SF of floor * # nails per SF # nails#nails/ nail per package # packages *

$/package dollars)

Question of the Day 6 (p.70 text)Prices!

Conv!

1

23

456

78

A BUnit Conversion factorsquare feet to square yards 9quarts per gallon 4square feet covered per quart of glue 15nails per package 100inches/feet 12square feet per sheet of plywood 32nails/square foot 3

1234567

A B CItem Units Price3/4 inch plywood sheet $15.75vinyl flooring square yard $3.75adhesive gallon $10.25cabinetry linear feet $32.50nails package $2.00trim linear feet $1.00

1

23456789

1011

A B C D E FInputs

Optioncabinet

length (in)Kitchen

length (lf)Kitchen width (lf)

perimeter(lf) area(sf)

A 90 15 20 70 300B 120 20 30 100 600C 110 18 25 86 450

OutputsOption subfloor vinyl cabinetry total costA 165.66$ 246.25$ 243.75$ 655.66$ B 331.31$ 452.50$ 325.00$ 1,108.81$ C 248.48$ 350.38$ 297.92$ 896.78$

Calc!

Page 12: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

• Sales Order Pricing p.92– Questions 1 & 2

Question of the Day 7

Page 13: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day 8

• You have student loan for $5000 at 4.5% interest. No payment is required for 2 years but the loan accrues monthly interest. Once you begin paying the loan you have 10 years to finish payments. Calculate the monthly payment. (hint: try nesting your financial functions)

Page 14: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day 8 - solution

1st calculate how much is owed in year 2 – and then use that as the basis for your payments in years 2 through 12

=PMT(Rate, NPER, PV, FV)

=PMT(.045/12,12*10, FV(.045/12,12*2,0, -5000),0)

Now Year 2 Year 12

Monthly payments over 10 years

0$$5000 $???

Page 15: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

• What is a slide transition?

• What is an animation effect

• How can you change the order of objects?

Question of the Day 9 – PowerPoint

• Explain each of these views– Slide Sorter– Slide Show– Normal

• Slide view• Outline view• Notes view

– Master Slide

Page 16: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Questions of the Day - 10

• Define: Primary Key, Foreign Key, Indexing, Binary Search, Query

• Why use a DBMS software vs. spreadsheet software?

• Using the child database (p.180) explain how would could make a list of the names of all children over the age of 9?

Page 17: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Questions of the Day - 10• Primary Key – field(s) that uniquely identifies

a record of a table• Foreign Key – field in each of 2 tables that

“links” them..(1) same information, (2) same field type, (3) a primary key on at least one of the tables.

• Indexing – setting a table property to sort on a field (for improved retrieval)

• Binary Search – method of searching a “sorted” list by comparing the value to be found to the midpoint of the list. If its larger you discard the 1st half and then repeat until the value is found.

Page 18: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Questions of the Day - 10

• Query – question we ask.. Actually save the instructions of how to find the answer not the answer itself.

• Why use a DBMS software vs. spreadsheet software? – more efficient this large amounts of data.

Page 19: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day -11• If I add two fields in a query and one

is null what value will result? For example – Current inventory (100) + shipments (null)

• What is the Nz function – and when would one use it in a query? (slides p.62)

• How would you summarize a field such as ‘quantity’ to calculate the total, average and minimum values in that field?

Page 20: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

Question of the Day -11• If I add two fields in a query and one is null what value will

result? For example – Current inventory (100) + shipments (null)

100 + null = null• What is the Nz function – and when would one use it in a

query? (slides p.62)

Nz([current inventory],0) + Nz([shipments],0)

• How would you summarize a field such as ‘quantity’ to calculate the total, average and minimum values in that field?

Use aggregation function Totals Feature Σ – group by, sum, avg, min etc.

Page 21: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

• When doing an “inner join” between 2 tables – describe what record set will be created and how it is created.

• When can and can’t you do an inner join on 3 or more tables?

• On the Music database, if I wanted a list of Titles that have been ordered – what tables would I need to add to my QBE grid and what fields?

• On the Music database, if I wanted to list all recording titles except those that start with the letters “GE” how would I write the criteria?

Questions of the Day -12

Page 22: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

• When you do an “outer join” between 2 tables – describe what record set will be created and how it is created.

• When can and can’t you do an outer join on 3 or more tables?

• On the child database – how could I summarize the total minutes each child participated in both activities?

Questions of the Day -13

Page 23: Questions of the Day – lecture 1 What is the full file path for an Excel file named cis200 that is located on your C drive in your cis200 directory and

• How can I sort a list in Excel with a major sort and a minor sort?

• How can I summarize a list into categories with subtotals using Excel?

• What is a pivot table and when would using one be warranted?

Questions of the Day -14