CS 105 Midterm Exam #2 Midterm Exam #2 from Spring 2015

CS 105 Midterm Exam #2 Midterm Exam #2 from Spring 2015

CS 105, Practice Midterm Exam #2 Spring 2015 CS 105 Midterm Exam #2 Midterm Exam #2 from Spring 2015 Page 1 of 11 CS 105, Practice Midterm Exam #2 Spring 2015 For the next seven questions, consider the following Microsoft Office documentation to a built-in function in Excel that you have not seen as part of CS 105: LARGE Returns the k-th largest value in a data set. You can use this function to select a value based on its relative standing. For example, you can use LARGE to return the highest, runner-up, or third- place score. Syntax LARGE(array, k) large is the array or range of data for which you want to determine the k-th largest value. k is the position (from the largest) in the array or cell range of data to return. Examples: A B 1 Data Data 2 3 4 3 5 2 4 3 4 5 5 6 6 4 7 Formula: =LARGE(A2:B6, 3) Result: 5 Explanation: 5 is the 3rd largest number in A2:B6 (7, 6, 5, 4, 4, 4, 3, 3, 2) Formula: =LARGE(A2:B6, 7) Result: 4 Explanation: 4 is the 7th largest number in A2:B6 (7, 6, 5, 5, 4, 4, 4, 3, 3, 2) 1. Using the data in the example above, what is the value of =LARGE(A2:A6, 3)? A. 3 B. 4 C. 5 D. 6 E. 7 2. Using the data in the example above, what is the value of =LARGE(B2:B6, 3)? A. 3 B. 4 C. 5 D. 6 E. 7 3. Using the data in the example above, what answer choice does not return the same value as all of the other answer choices? A. =LARGE(A2:B3, 2) B. =LARGE(A2:B4, 3) C. =LARGE(A2:B5, 4) D. =LARGE(A2:B6, 4) E. =LARGE(A2:B6, 5) Page 2 of 11 CS 105, Practice Midterm Exam #2 Spring 2015 One source of data that CS 105 has used significantly is Olympic data. Specifically, we looked at a visualization of medals from the Men’s 100m Sprint. Consider the following spreadsheet of that data that includes the final results of every Men’s 100m Sprint: A B C D E F 1 Year Medal Athlete Nation Time (s) 2 2012 Gold Usain Bolt Jamaica 9.63 3 2012 Silver Yohan Blake Jamaica 9.75 4 2012 Bronze Justin Gatlin United States 9.79 5 2012 -- Tyson Gay United States 9.80 6 2012 -- Ryan Bailey United States 9.88 ... … … … … … 10 2008 Gold Usain Bolt Jamaica 9.69 11 2008 Silver Richard Thompson Trinidad and Tobago 9.89 ... … … … … … 4. Thinking about the LARGE function from the previous page, what would be the value of =LARGE(E:E, 1)? A. The fastest time (9.63 seconds) B. The slowest time (999.99 seconds, not shown) C. Another time that is neither the slowest nor the fastest Suppose we want to find the athlete that finished fifth (5th) in 2004. In order to do this, we will create a formula in F2 that will be copied down to all of the other rows in Column F. This formula must return the race time for all athletes who raced in 2004 and 0 for all other athletes. Consider the following formula for F2 when answering the next three questions: =IF( ___Part 1___, ___Part 2___, 0) 5. What statement should be placed in Part 1 in the above formula? A. A2=2004 B. A2=E2 C. Year=2004 D. 2004=E2 E. YEAR(2004) 6. What statement should be placed in Part 2 in the above formula? A. A2 B. B2 C. C2 D. D2 E. E2 7. Do any cells need to be locked (by using dollar signs, $) in the previous two questions if F2 is copied and pasted down to the rest of the cells in Column F? A. Yes, some cells must be locked B. No, there is no need to lock any cells Page 3 of 11 CS 105, Practice Midterm Exam #2 Spring 2015 Continuing with the Men’s 100m Sprint dataset, our datasheet now has a completed Column G as shown below. The same sheet has also been scrolled only to focus on data around 2004: A B C D E F 1 Time (s) Year Medal Athlete Nation Time (s) 2004 Only ... … … … … … … 17 2008 -- Darvis Patton United States 10.03 0 18 2004 Gold Justin Gatlin United States 9.85 9.85 19 2004 Silver Francis Obikwelu Portugal 9.86 9.86 20 2004 Bronze Maurice Greene United States 9.87 9.87 21 2004 -- Shawn Crawford United States 9.89 9.89 22 2004 -- Asafa Powell Jamaica 9.94 9.94 23 2004 -- Kim Collins Saint Kitts and Nevis 10.00 10.00 24 2004 -- Obadele Thompson Barbados 10.01 10.01 25 2004 -- Aziz Zakari Ghana 999.99 999.99 26 2000 Gold Maurice Greene United States 9.87 0 ... … … … … … … 8. Which formula returns the time of the athlete that finished fifth (5th) in 2004? (You should consider the Gold medalist the 1st place finisher, Silver 2nd, and so forth.) A. =LARGE(F:F, 1) B. =LARGE(F:F, 2) C. =LARGE(F:F, 3) D. =LARGE(F:F, 4) E. =LARGE(F:F, 5) 9. Suppose the answer to your previous question was placed into G2. Which formula finds the name of the athlete that finished 5th in 2004? A. =VLOOKUP(G2, A:F, 6, TRUE) B. =VLOOKUP(G2, A:F, 6, FALSE) C. =INDEX(C:C, MATCH(G2, F:F, 0), 1) D. =INDEX(F:F, MATCH(G2, C:C, 0), 1) 10. Which formula correctly returns the number of Gold medalists in the Men’s 100m Sprint from the United States, across all years? A. =COUNTIFS(B:B, “Gold”, D:D, "United States") B. =COUNTIFS(A:F, 2, “Gold”, 4, "United States") C. =SUMIFS(B:B, B:B, “Gold”, D:D, "United States") D. =SUMIFS(1, B:B, “Gold”, D:D, "United States") FR1. Suppose the user enters a year that a Summer Olympic Games occurred inside of cell (15pts) H2. Write a formula that determines how much faster the gold medal athlete was in the year specified in H2 than the gold medal athlete was four years prior. For example, if H2 contains 2004 the result would be 0.02 since Justin Gatlin (Row 18, 9.85s) was 0.02 seconds faster than Maurice Greene (Row 26, 9.87s). If the gold medal athlete four years prior was faster the result should be a negative number. …answer this question on your free response answer sheet as question FR1. Page 4 of 11 CS 105, Practice Midterm Exam #2 Spring 2015 When you graduate from the University of Illinois, you can graduate with an honors distinction by fulfilling some college-specific requirements and earning a certain GPA. The following spreadsheet shows these GPA requirements: A B C D E 1 GPA (Min) GPA (Max) Honors Type (Latin) English Translation 2 3 3.499 Cum Laude With Honors 3 3.5 3.749 Magma Cum Laude With High Honors 4 3.75 4.0 Summa Cum Laude With Highest Honors Sheet Name: Requirements Students 11. When entered into cell E2, which formula displays “Summa Cum Laude”? A. =VLOOKUP(3.7, A2:C4, 2, TRUE) B. =VLOOKUP(3.8, A2:C4, 2, TRUE) C. =VLOOKUP(3.7, A2:C4, 3, TRUE) D. =VLOOKUP(3.8, A2:C4, 3, TRUE) 12. When entered into cell E3, which formula displays “Cum Laude”? A. =INDEX(2.9, MATCH(C:C, A:A, 1), 1) B. =INDEX(3.1, MATCH(C:C, A:A, 1), 3) C. =INDEX(3.1, MATCH(A:C, A:A, 1), 3) D. =INDEX(C:C, MATCH(3.1, A:A, 1), 1) E. =INDEX(A:C, MATCH(2.9, A:A, 1), 3) 13. What is the result of the formula: =INDEX(A:E, COUNTIFS(A:E, ">3.7"), MATCH("With Honors", D:D, 0)) A. 3 B. 3.499 C. 3.5 D. 3.749 E. 3.75 Now, consider a new sheet, Students, of students and GPAs within the same file: A B C D E 1 Student GPA Honor Qualification 2 Alice 3.2 3 Bob 2.7 4 Charlie 3.74 Sheet Name: Requirements Students FR2. Write a formula that can be placed in Students!C2 that can be copied and pasted down (15pts) in C3 and C4 that displays the Honors Type (Latin) for which the student qualifies if they qualify for one. If the student does not quality for any honors, the cell should display “Does not qualify”. Your formula must reference the data on the Requirements sheet in order to determine the correct qualifications (as they may change at a later data). …answer this question on your free response answer sheet as question FR2. Page 5 of 11 CS 105, Practice Midterm Exam #2 Spring 2015 Consider the following spreadsheet of historical weather data in Champaign-Urbana: A B C D E 1 Month Avg. High Avg. Low Precipitation … … … … 12 Nov. 2014 43.9 24.9 2.42 13 Oct. 2014 63.3 44.0 4.96 14 Sept. 2014 75.9 53.2 3.44 ... … … … … 14. Which formula returns the month with the most precipitation occurring in the dataset? A. =VLOOKUP(MAX(D:D), A:D, 1, FALSE) B. =VLOOKUP(MAX(D:D), A:D, 2, FALSE) C. =VLOOKUP(MAX(D:D), A:D, 3, FALSE) D. =VLOOKUP(MAX(D:D), A:D, 4, FALSE) E.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us