Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Final Exam Study Guide with Answers Final Exam Study Guide with Answers Final Exam Study G, Exams of Mathematics

Final Exam Study Guide with Answers (LSP 121)

Typology: Exams

2023/2024

Available from 02/28/2024

Expertsolution
Expertsolution 🇺🇸

3.8

(11)

2.9K documents

1 / 7

Toggle sidebar

Related documents


Partial preview of the text

Download Final Exam Study Guide with Answers Final Exam Study Guide with Answers Final Exam Study G and more Exams Mathematics in PDF only on Docsity! Final Exam Study Guide with Answers (LSP 121) This guide is just that - a guide, and is not meant to be a complete list of all possible things that may be on the midterm exam. It would be in your best interest to study all lecture notes, look over any homework assignments, and individually redo each in-class activity. No lecture notes, cell phones, or flash drives allowed during the exam. You are allowed a one-sided 8.5x11 inch crib sheet. Calculators are not necessary as there is a calculator in Windows Probability 1. What is the probability of a 200-year flood this year? 1/200 2. What is the probability of not rolling a double-6 with two dice? 35/36, or 0.97 3. 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. 0.98/0.02, or 49 0.94/0.06, or 15.7 4. What is the probability of the next five births at a hospital all being girls? ½ x ½ x ½ x ½ x ½ = 0.03125 5. Studies have shown that Peoria, Illinois is hit by a tornado about every 30 years. What is the probability that Peoria will be hit by a tornado this year? What is the probability that Peoria will be hit by tornados in three consecutive years? What is the probability that Peoria will be hit by at least one tornado in the next 30 years? 1/30 1/30 x 1/30 x 1/30 = 3.7 x 10-5 1 – (29/30)^30 = 0.63 6. Suppose that license plates are made with three letters followed by three numerals (0-9). How many different license plates are possible? 17,576,000 plates 7. An insurance policy sells for $500. Based on past data, an average of 1 in 50 policyholders will file a $5000 claim, an average of 1 in 100 policyholders will file a $10,000 claim, and an average of 1 in 200 policyholders will file a $30,000 claim. What is the expected value of a single policy to the insurance company? = 500 – (1/50 * 5000) – (1/100 * 10000) – (1/200 * 30000) = 500 - 100 - 100 - 150 = 150 Correlation 8. Using both Excel and SPSS/PASW and given the data set WineConsumption.xls, determine if there is a correlation between the average annual amount of wine consumed and the heart disease death rate. R-squared = 0.7103; appears to be a strong correlation Correlations Consumption DeathRate Consumption Pearson Correlation Sig. (2-tailed) 1 -.843** .000 N 19 19 DeathRate Pearson Correlation Sig. (2-tailed) -.843** .000 1 N 19 19 **. Correlation is significant at the 0.01 level (2-tailed). -0.843 is a strong negative correlation Number Systems 9. Convert 2.3 kilometers per second into miles per hour. 2.3 km/sec x 0.62137 miles/km x 3600 sec/hour = 5144.94 miles/hour IceSkater.skate backwards howManySteps = 2 18. What are the four basic types of operations in a computer program and give an example of each. a. sequential statement (assign the value of 0 to Counter) b. conditional (if X < 100 then print(“Not today”) c. iterative (loop 4 times) d. call a pre-existing function (=log(32,2)) 19. Using Visual Basic, create an if else statement that performs operation A if the value of Total is > 100, else performs operation B if Total is not > 100. If Total > 100 Then Operation A Else Operation B End If 20. Using Visual Basic, create an if else statement that performs operation X if the value of Sum = 0, else performs operation Y if Sum <> (not equal) to 0. If Sum = 0 Then Operation X Else Operation Y End If 21. Using Visual Basic, create a loop statement that performs operations C and D 100 times. For Row = 1 To 100 Operation C Operation D Next Row 22. Using Visual Basic, create a loop statement that performs operations M, N, O, and P as long as Total Taxes < 5000.00. While TotalTaxes < 5000.00 Operation M Operation N Operation O Operation P End While 23. Given the following binary string, show the resulting run length compression: 0000001000000000001 10000000000000000010000000011000001 6 11 0 17 8 0 5 0110 1011 0000 1111 0010 1000 0000 0101 24. Encrypt the following message: meet me at the coffee shop now using the transposition-based cipher introduced in Activity 15. The key word is COMPUTER. 14358726 computer meetmeat thecoffe eshopnow MTEAFOEEHEHSTCOTEWEFNMOP 25. What parity bit should be added to the following ASCII character: 1001010 1 26. Is the following UPC correct or incorrect? 3 24500 00234 8 9 + 2 + 12 + 5 + 0 + 0 + 0 + 0 + 6 + 3 + 12 + 8 = 57 Does not end in 0, so there is an error. 27. We want to send the data 10101010 and we want to perform error correction on this data using a Hamming code. What are the four check bits that are generated before we send the data? c8 c4 c2 c1 0 1 0 0 The 12 bit character is then: 101001011000 28. We have just received the following 12-bit Hamming code: 001001100010 Is there an error in the code received? If so, which bit is in error? Show the parity calculations. c8 had an error c4 did not have an error c2 did not have an error c1 had an error So if you take the 8 of c8 and the 1 of c1 and add them, you have 9. That tells you that an error occurred in bit 9.
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved