LSP 121 final exam review. 1) The Pacific tectonic plate moves at a rate of 4”/year. What is this in miles per hour? 4 in x yr x da x ft x mi yr 365 da.

Slides:



Advertisements
Similar presentations
Lesson 3 Working with Formulas.
Advertisements

Basics of Excel Please sit in the back if you are inexperienced with Excel—Heather will be there to help.
Answer "What If" Questions
AoN Session 2. Highlight a number of cells at the top of the page. Then with the cursor over these cells right click. Scroll down to the format cell.
When Intuition Differs from Relative Frequency
Warm-Up: January 5, 2012  Use long division (no calculators) to divide.
Excursions in Modern Mathematics Sixth Edition
Hints for Activity 10 and Individual 5 LSP 121 hints!
Probability And Expected Value ————————————
Level ISA3: Information Representation
Information Processing Session 5B Binary Arithmetic Slide
Assembly Language and Computer Architecture Using C++ and Java
Discrete and Continuous Probability Distributions.
Binary Conversion In today’s lesson we will link together the binary and algorithm topics by looking at how to get the computer to: convert binary to decimal.
Monte Carlo Simulation in Excel Jake Blanchard Spring 2010 Uncertainty Analysis for Engineers1.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
Adding Automated Functionality to Office Applications.
© Copyright 2000 Indiana University Board of Trustees Proficiency Quiz Study Guide Note: The following slides are provided courtesy of Dr. Bob Orr (Computer.
Binary Arithmetic Math For Computers.
For a geometric sequence, , for every positive integer k.
Binary and Hexadecimal Numbers
JavaScript Events and Event Handlers 1 An event is an action that occurs within a Web browser or Web document. An event handler is a statement that tells.
Probability and Long- Term Expectations. Goals Understand the concept of probability Grasp the idea of long-term relative frequency as probability Learn.
Scientific Notation.
4/21/2017 Decimals In our number system, digits can be placed to the left and right of a decimal point, to indicate numbers greater than one or less than.
Excel Tutorial Enfield High School 2007.
1.2 Algebraic Expressions 8/23/13
The AIE Monte Carlo Tool The AIE Monte Carlo tool is an Excel spreadsheet and a set of supporting macros. It is the main tool used in AIE analysis of a.
Excel Spreadsheet basics. Excel Sheets and Books  Spreadsheet: tool to analyze, chart and manage data for personal, business and financial use Worksheet:
Multiplying and Dividing Decimals by 10, 100, and 1,000
CONSTRUCTING RELATIVE & CUMULATIVE FREQUENCY DISTRIBUTIONS using EXCEL & WORD.
Rolling Two Number Cubes Good practice for addition of numbers in primary. Play some games – See who is the first one to fill all the boxes 2-12 on their.
What is a spreadsheet? Spreadsheet Basics © All Rights Reserved
Instructions for using this template. Remember this is Jeopardy, so where I have written “Answer” this is the prompt the students will see, and where.
Chapter 6. Probability What is it? -the likelihood of a specific outcome occurring Why use it? -rather than constantly repeating experiments to make sure.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 10 - JavaScript/JScript: Control Structures II Outline 10.1Introduction 10.2Essentials of.
Excel 2007 Instructor: Jan Fisher. Can you Answer these Questions about Excel 1.What is a workbook/worksheet? 2.What is a basic unit of the worksheet?
Multiplying Decimals Type your name and send: Next slide.
Controlling Program Flow with Decision Structures.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Probability Test Review (What are your chances of passing?)
Probability Distributions. Constructing a Probability Distribution Definition: Consists of the values a random variable can assume and the corresponding.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
AP Statistics From Randomness to Probability Chapter 14.
Programmable Logic Controller
Year 5 - Numeracy Title page..
Digital Design Chapter One Digital Systems and Binary Numbers
Numbering Systems.
Is My Model Valid? Using Simulation to Understand Your Model and If It Can Accurately Predict Events Brad Foulkes JMP Discovery Summit 2016.
Probability OCR Stage 6.
Excel Training - Part One
Repetition Structures Chapter 9
CS1001 Programming Fundamentals 3(3-0) Lecture 2
Week 6 Probability and Assessment
Number System conversions
Week 6 Probability and Assessment
Probability Today you will need to make sure you have
JavaScript: Control Statements I
Applicable Mathematics “Probability”
While Loops BIS1523 – Lecture 12.
Probability And Expected Value ————————————
T. Jumana Abu Shmais – AOU - Riyadh
Honors Statistics From Randomness to Probability
Spreadsheet/Worksheet
Counting Discrete Mathematics.
Probability And Expected Value ————————————
Spreadsheets and Data Management
Chapter 6 Continuous Probability Distributions
Probability Today you will need …… Orange Books Calculator Pen Ruler
Looping Structures.
Presentation transcript:

LSP 121 final exam review

1) The Pacific tectonic plate moves at a rate of 4”/year. What is this in miles per hour? 4 in x yr x da x ft x mi yr 365 da 24 hr 12 in 5280 ft 4 miles 365 x 24 x 12 x 5280 hr = 7.2 x mi/hr

2) Convert from binary to decimal [SHOW WORK] Write powers of 2, right to left, then sum the numbers above the 1’s = 180 (ans)

3) Convert 3 8 F 2 16 from hex to decimal [SHOW WORK] 38F2 Put powers of 16 (right to left) above the cells = 1, 16 1 = 16, 16 3 = 256, 16 4 = 4096 Multiply lower number times upper number. Remember A = 10, B = 11, C = 12, … F = 15 Add these four products.

Converting base 16 to decimal A 11B 12C 13D 14E 15F DEC HEX

There is 1/36 chance of rolling two sixes P(not A) = 1 – P(A) 1 – 1/36 = 35/36 or.972 4) What is the probability of NOT rolling a double-6 with two dice?

odds are calculated by using P(A) / P(not A) Odds for event A = 0.98 / 0.02 = 49/1 or 49 to 1 Odds for event B = 0.94 / 0.06 = 15.67/1 or 15.7 to 1 5) Suppose event A has a 0.98 probability of occurring and event B has a 0.94 probability of occurring. Compute the ODDS for event A and the ODDS for event B

Probability of multiple events is calculated by the product of the probabilities ½ * ½ * ½ * ½ * ½ = 1/32 or.031 You can also show: (1/2) 5 = 1/32 6) What is the probability of the next 5 births at a hospital all being girls?

simply 1/30 What is the probability that Peoria will be hit by tornados in three consecutive years? 1/30 * 1/30 * 1/30 = 1/27,000 at least once in the next 30 years? 1 – (not A) 30 = 1 – (29/30) 30 = ANS =.64 [.6383 ] 7) If Peoria, IL is hit by a tornado about every 30 years, what is the probability that Peoria will be hit by a tornado this year?

For CA 227,381 deaths / 30,000,000 ppl = multiply this by 1000 = 7.58 deaths / 1000 For AK 2,911 deaths / 550,000 ppl = multiply this by 1000 = 5.29 deaths / 1000 Don’t forget to answer the questions included with this problem 8) see problem

9a) How many different license plates are possible if you have plates with 3 letters followed by 3 numerals? Use 6 boxes and enter the possible number of values for each part of the license plate: Multiply these numbers and you get: 17,576,000 possible plates

Use 10 boxes and the possible notes per box: 9b) How many different 10-note “tunes” can be created from the notes A, B, C, D, E, F and G? Multiply or calculate 7 10 and you get 282,475,249 possible “tunes”

problem 10 Lottery ticket costs $2, so you start with -2 * 1, then add the possible ‘wins’ 2*1/50 + 1,000*1/2, ,000*1/4, ,000*1/40,000 … -$ expected value = you lose

Problems 11, 12 If you get a problem like 10 or 11 on the exam you will be given the Excel formula required to do the calculations remember, in Excel =log(x,b) means the log of ‘x’, base ‘b’

Note signal =.4 and noise =.0002 in Excel set up 2 columns 1000 to 10,000 increments of 500, and = cell * log ((1 +.4/.0002),2), looks like with 1000 in cell A1, 1500 in cell A2 11) use Excel to work this out, see below Frequency (Hz)Bits per second 1000=A1*log((1+.4/.0002),2) 1500=A2*log((1+.4/.0002),2) 2000=A2*log((1+.4/.0002),2) indicates base 2

Note W =frequency and M = 8 in Excel set up 2 columns 1000 to 10,000 increments of 500, and = 2 * cell * log (8,2), looks like with 1000 in cell A1, 1500 in cell A2 12) use Excel to work this out, similar to 11), see below BandwidthData rate in Hertz 1000=2*A1*log(8,2) 1500=2*A2*log(8,2) 2000=2*A3*log(8,2)

13. Programming question keep track of the value of i and j and work through the nested loops total number of outputs: 40 start with this ijOUTPUT.SCREEN i,j … etc

another method.. You can enter the following as ‘code’ in VBA for Excel FOR i = 1 TO 4 FOR j = 1 TO 3 MsgBox i & “ “ & j Next j Next i Then ‘Run’ the macro in Excel Notice there will be 4 x 3 outputs (12)

Standard HTML ….. contents of body DO NOT REPEAT html, head, or body

Insert javascript in webpage The following is a ‘trigger’ in HTML code that signals some javascript (what is in italics is explanatory and not actual code … java script code follows is used to end the javascript part

Macros and VBA relates to question 14, 15 macro is best used when –you have to repeat a complex operation –a single operation involves many steps –for simulations given: CELLS(2,3) = CELLS(2,3)+4 –this will add 4 to contents of cell row 2, column 3; that sum is put in cell(2,3)

What is an algorithm, #16 An orderly sequence of steps that can be followed to produce a desired result Algorithms are used in –manufacturing –testing –computer programming languages –making decisions

Q 17, risk analysis First note what is GIVEN –expected probability of cancer 1/6000 = 0.017% –reliability of test = 75% –number of people with tumors = 10,000 To find: –percentage that will receive a true positive –percentage that will receive a false negative

Use the 5 steps to complete the matrix Beginning of matrix: Tumor is cancerous Tumor is benign Totals Positive 75% of 1.67 = 1.25 true positives Negative false negatives 75% of = Total 1/6000 * = ,000 Find the 4 missing values (the true positives and true negatives have been filled in).

Now find Percentage of true positives –1.25 divided by total positives (express this as a percentage) Percentage of false negatives –false negatives are negative test results which in fact are cancerous (not calculated yet) –divide this by the total number of negatives (far right column in negative row)