Review questions CPSC 203 midterm 2 Page 1 of 7 Online review questions: the following are meant to provide you with some extra practice so you need to actually try them on your own to get anything out of it. For that reason, solutions to this exam won't be posted nor will I email you the solution key. But you can still get assistance: If you still have questions after attempting a question then that's where we can help just make sure you have tried them first! If you just want a quick verification of results, you're in luck, you can try typing your answer into the appropriate program like Word or Excel. The more theoretical questions (e.g. Admin and intro the course, introduction to computers ) should be available right in the course notes and/or the course website (admin information). The advantage of not providing a solution and requiring you to type it in is that it forces you to come up with an answer before looking at the answer (because you have to type in your answer before seeing any results). Plus, recall that the more engage you are, the more that you do, the deeper is your learning. If you're still puzzled about how Office or VBA gave the answer then that is the time that you can come by during my office hours or even the CT.] Short answer Short answer #1 For this question refer to the spreadsheet shown in Figure 1. Figure 1: Starting Excel spreadsheet Col 1: Current location in the spreadsheet (Error! Reference source not found.) Col 2: Current formula Col 3: Result of the formula E1 =B2+$C$3 10 F3 Col 4: Destination in the spreadsheet where the formula is copied Col 5: Formula in the destination cell Col 6: Number displayed in the destination cell
Page 2 of 7 E5 =B3*C2 35 G4 Short answer #2 This is an Excel spreadsheet question that analyzes the raw data for ring fighters (Figure 2). Figure 2: Fighter statistics Based on the raw data the spreadsheet categorizes the fighters (Figure 3). Figure 3: Fighter categories and rankings The tables that rank the fighters is shown in Figure 4.
Page 3 of 7 Figure 4: Rankings and category tables What you are given above are the results that the spreadsheet is to produce. What you have to do is to define a formula or use a predefined Excel function that will produce these results based on the following requirements below. Also each function/formula must be specified so it can be reused via copy-paste e.g. you define something for F3 so it can be copy-pasted into the other cells in Column F. Column F Category Use the VLOOKUP function that refers to the table specified in Column L and Column M, Rows 3-7. Based on the total number of fights (wins + losses + ties) the ranking for each fighter will be displayed in Column F. Column G Level The results in this column are derived based solely on the number of wins (Column B) for a particular fighter. Use the VLOOKUP function that finds the category for a fighter (defined in the table specified in Column L and Column M, Rows 10-13. The level for each fighter will be displayed in Column G. Column H Description The results in this column are derived on the percentage of wins (Column B) over total fights (Column B + C + D) for a particular fighter. Use a lookup function that finds the description for a fighter (defined in the table specified in Column L and Column M, Rows 16-19. The level for each fighter will be displayed in Column H. The ratio of wins over the total number of fights * 100 is the win percentage for a fighter. For example, Ming The Steamboat Dragon has 55 wins. He has a total of 113 fights (55 + 45 + 13). The percentage equals 55/113 * 100 = 48.67%. Looking this value up in the table he is assigned a description of Student. Column I Is a particular fighter a good bet Display yes in the cells of this column if a fighter is a good bet, blank otherwise. A fighter must fulfill one of two possible cases in Col H in order to be classified as a good bet: The corresponding cell in Col H contains the description: Grand master The corresponding cell in Col H contains the description: Grand master of flowers
Page 4 of 7 Column J Is a particular fighter a great bet Display yes in the cells of this column if a fighter is a great bet, blank otherwise. A fighter has to fulfill two conditions in order to be classified as a great bet: The fighter is already a good bet The fighter is experienced and fought over 40 fights. In the example Jimmy Tam is a good bet but he is not a great bet because he hasn t fought enough yet (25 fights only) while Rocky Road is not only a good bet but has more than met the required number of fights. Multiple choice: pick the best answer to the question 1) Which of the following Google searches shows webpages for Karate in Calgary? a. Calgary b. Karate c. Calgary Karate d. Calgary Karate e. Calgary ~Karate 2) What would you enter as a Google search term when looking for apartments in Calgary from $800 to $1000. a. Apartments Calgary 800-1000 b. Apartments Calgary 800..1000 c. Apartments Calgary 800 to 1000 d. Apartments AND Calgary 800.1000 e. Apartments OR Calgary 800.1000 3) Which of the following best describes how a private search website works? a. The site doesn t store information about your searches on your computer. b. The site doesn t store information about your searches on the website s computers. c. (a) & (b) d. The site stores information about your searches on their computers but deletes them upon request. e. The site stores information about your searches on your computer but you can delete them.
Page 5 of 7 4) In an Excel spreadsheet Cell A1 contains 5 and Cell B1 contains 7. Cell A3 contains the expression A1*B1.The contents of A3 is copy-pasted into the following cells in the following fashion: B3: Paste value C3: Paste formula D3: Paste link What will be the resulting end values in B3, C3, D3? a. 0, 0, 0 b. 35, 0, 35 c. 35, 35, 35 d. 35, A1*B1, A3 5) Again using the spreadsheet from the previous question what would be the resulting end values B3, C3, D3 if Cell A1 now contained 9 and Cell B1 contained 8? a. 35, 0, 35 b. 35, 0, 72 c. 72, 0, 72 d. 72, 72, 72 e. 72, A1*B1, A3 Questions 6 12 will use the starting Excel spreadsheet determine the return value for the corresponding VLOOKUP function. 6) =VLOOKUP(2,A2:B5,2) a. 0 c. a d. b e. An Error message 7) =VLOOKUP(5,A2:E5,3) a. ~ b. 3 c. 5 d. 3.14
Page 6 of 7 8) =VLOOKUP(10,A2:E5,1) c. 3.14 d. 10 9) =VLOOKUP(1,A3:E6,1) a. 0 c. 3 d. a 10) =VLOOKUP(-1,A2:E5,1) b. 0 c. 1 d. a 11) =VLOOKUP(-1,A2:E5,0) b. 0 c. 1 d. 3 12) =VLOOKUP(-1,A2:B5,3) b. 0 c. 1 d. 3 13) Given that cell C1 contained the value False and cell D1 contained the value True what is the result of the following expression: =AND(NOT(C1),D1) a. 0 c. False d. True e. The answer cannot be determined JT: Want more review questions? Try the My-IT lab text and textbooks on the UC Safari website.
Page 7 of 7