CSE 200 - Spring 2012 Final Exam – KReeves Other_____________ /50 Excel_____________ /150 Access____________ /150 Total Points ____________/350 Name __________________________________________ Seat# ________ Lab time (circle one) Friday 1:30pm Friday 3:30pm Instructions: Do not open your exam until it is time to begin. You have 1 hour and 48 minutes to complete exam. Put away all books and calculators. You should have only a writing utensil (or two), your cheat sheet and your picture ID out on the desk. Read each question carefully and fill in the answer. Answers must be legible or they will be marked incorrect. Be sure to make it clear which work is your solution! Circle your answer if necessary. If more than one answer is available, the question will not be graded and full points will be deducted. All sheets must be turned in when handing in the exam or it will not be graded including the cheat sheet and the table/worksheet pages! The TAs will mark if you have a cheat sheet on the attendance sheet. You should give the “best” possible solution which also means it should work as data is added to the worksheets or tables (unless otherwise specified). Please make sure you have all pages before you start this exam. If you do not turn your test in on time, 50 points will be deducted from your exam for every 30 seconds it is late getting to the turn-in pile at the front of the room. Final Exam CSE200 SP12 Reeves Page 1 of 9 SCRATCH PAGE: Final Exam CSE200 SP12 Reeves Page 2 of 9 True/False (20 pts) – (10 problems; 2 pts each) Circle the correct response T F The numbers 2.4 and 7.1 are stored in cells B1 and B2, respectively. The formula =B1+B2 is in cell B3. When all 3 cells are formatted to 0 decimal places, the result in B3 is 9. T F A named range can be used in place of ranges or cell references within any part of a workbook. T F A Goal Seek analysis allows a change in outcome if there is a change in the input values. T F Both architecture and protocols are necessary to make data communication possible. T F An email has to stop along the way to be routed to the next valid location; only the source and the destination has the ability to read the contents of the email. T F If the cell (in excel) or field (in access) contains only numbers, the data type (in access) or the format (in excel) should always be defined to be numeric. T F An outer join relative to the foreign key table is the same as an inner join plus data integrity errors. T F All of the links on my CSE200 website are relative links. T F On the financial functions , the 5th argument defaults to zero and specifies that payments are made at the beginning of the period. T F A megabyte is larger than a gigabyte. Multiple Choice (30 pts) - (10 problems; 3 pts each) Write the letter of the correct response in the space provided. ________ Excel provides the following database features: A. sorting B. filtering C. grouping/subtotals D. all of the above ________ Which of the following pairs of functions do NOT give the same result? A. large(a1:a5,1) … max(a1:a5) B. small(a1:a5,5) … min(a1:a5) C. average(a1:a5) … sum(a1:a5)/count(a1:a5) D. none of the above ________ This chart shows a functional relationship between two or more variables, NOT the trend between two or more variables. A. pie B. column/bar C. xy D. line Final Exam CSE200 SP12 Reeves Page 3 of 9 ________ To convert quarterly payment, which is a result of the payment function, to monthly payment, you have to: A. *3 B. /3 C. *4 D. /4 ________ This PowerPoint view shows thumbnails of all slides making it easy to rearrange the order. A. Slide Order B. Slide Show C. Slide Master D. None of the Above ________ A language used to write web pages is: A. HTTP B. SMTP C. HTML D. RAM ________ Object Embedding allows you to: A. copy the data but in a table format, not in a spreadsheet format, with rows and columns B. copy the Excel spreadsheet but does not have any Excel features with which to modify the data. C. edit the object using the Excel features and does change the original source. D. edit the object using the Excel features but does not change the original source. ________ Tags: A. are used on email packets B. are used to create web pages C. can be used to define images, graphics, picture and email links on a webpage D. all of the above ________ You can use which of the following software applications to organize memory and manage your files: A. Internet Explorer B. Webmail C. Netscape D. none of the above ________ An IPP is responsible for A. collecting and switching packets of information along the internet B. storing website information - “virtual real estate” C. setting internet protocols D. creating packets for transmission Final Exam CSE200 SP12 Reeves Page 4 of 9 EXCEL PROBLEM (150 points) – REMINDER: circle your answer if multiple solutions are written You are the financial representative/agent that helps match up Ohio High School students with colleges of their choice. Several pieces of information are important in obtaining the college option of the student’s choice. You have set up a workbook with the following three worksheets to keep track of the necessary information: GRADS – Information about individual students are given here with the input data being in the range A3:E20. Following the student’s name is their high school GPA (final grade point average); the abbreviation of the college of their choice (FYI: UNK means unknown); the state the college is in (FYI: this will be blank if the college is unknown); and the number of service hours each student performed during their high school years. The remaining data will be determined when answering the problems given below. NOTE: see the DEFINITIONS section given below. COLLEGE – The input information on this worksheet, range A3:E15, contains the name of the different colleges that students might attend starting with the full name of the college followed by the abbreviation. The system is the “term” definition i.e. either quarter, semester, or yearly. Lastly is the in-state and out-of state costs per term. The remaining data, starting with column F, will be determined when answering the problems given below. NOTE: see the DEFINITIONS section given below. UNIT – Only two pieces of information are given here… to be used when appropriate (see next section). *** DEFINITIONS: “In-state” means that the college of the student’s choice is located in the state of Ohio, since all of the students in the list are from an Ohio high school. “Out-of-state” means that the college of the student’s choice is *not* located in the state of Ohio. A “school year” is the 9/10 months that students are in classes not including summer term; thus, those on the quarter system have 3 quarters per school year (see the UNIT worksheet); those on the semester system have 2 semesters per school year (see the UNIT worksheet); and those on the yearly system have 1 term per school year. 1. (10 pts) Write an Excel formula in cell grads!A21 to determine the number of students on the TELO High School system list. NOTE: your answer should update should students be added or deleted. 2. (15 pts) Write an Excel formula in cell grads!A22 to determine the percent of students on the TELO High School system list that will be attending college. 3. (10 pts) Write an Excel formula in cell grads!F3, which can be copied down to cell grads!F20, to determine if student A is attending an in-state college. Final Exam CSE200 SP12 Reeves Page 5 of 9 4. (25 pts) Write an Excel formula in cell grads!G3, which can be copied down to cell grads!G20, to determine if student A is in the top 10% of the class. NOTE: You need to determine how many students would be in the top 10%. This value can have a decimal portion. For instance, if there are 26 students on the list, then 10% would be 2.6; if there are 23 students on the list, then 10% would be 2.3. Since you can’t have a partial student valedictorian, you can assume the normal mathematical rounding will take place to determine the number of students in the top 10%... for the given examples, that would be 3 and 2, respectively. 5. (20 pts) Write an Excel formula in cell grads!H3, which can be copied down to cell grads!H20, to determine if student A is a valedictorian. A student is a valedictorian if they are planning to attend college; and if they either have a gpa of at least 3.5 with at least 500 service hours; or have the highest (i.e. the most) service hours. *** WATCH FOR CHANGE OF WORKSHEET ON NEXT THREE PROBLEMS*** 6. (25 pts) Write an Excel formula in cell college!F3, which can be copied down and across to cell college!G15, to determine how much it will cost to attend The Ohio State University for one school year of in-state tuition. NOTE: you will need to use the values on the UNIT worksheet. REMINDER: there are 3 different systems that you will need to consider. 7. (25 pts) Write an Excel formula in cell grads!I3, which can be copied down to cell grads!I20, to determine the cost of tuition per school year for student A. REMINDER: you have to consider whether the student is going to be paying in-state or out-of-state tuition. 8. (20 pts) Write an Excel formula in cell college!H3, which can be copied down and across to cell college!I15, to determine the monthly payment of the loan that that students attending The Ohio State University took out to pay for 4 years of in-state college tuition. The loan has an annual interest rate of 5% compounded quarterly to be paid back in 10 years. NOTE: there is no accumulating interest from when you received the loan to when you finished college; and you will immediately start paying back the loan as soon as you graduate. REMINDER: do not use the UNIT values here but the constant values of 3 months/qtr and 4 quarters per year. NOTE: the one year of tuition cost is the only cell reference you need. Final Exam CSE200 SP12 Reeves Page 6 of 9 ACCESS PROBLEM (150 points) AGGREGATE FUNCTIONS GroupBy, Sum, Min, Max, Avg, Count, Expression, Where STUDENT – This table contains the list of each student in the current graduating class in the TELO High School system. Included is a unique number per student, name, cumulative high school grade point average, and total service hours worked while attending high school. COLLEGE – This table is a list of all the possible colleges that students can attend. A unique college letter value, the college name, and the college abbreviation are included as well as the term system (quarter, semester or yearly) and the total tuition costs per year (not including summer). OFFERS – This table defines the offer(s) made from colleges to students. Not all of the students received offers to attend a college although some students received multiple offers to attend different colleges. In addition, not all of the colleges made offers at all. The 3rd column designates the amount of scholarship awarded, if any, to the student from the specified college.The students that have offers but no scholarship have null values in the scholarship field. RMBOARD – Some students already know (approximately) what will have to pay for room and board (not including summer). Notice that not all the students know what they need to pay for room and board; and by the way, some students may be living at home. ***** REMINDER: Only a portion of the data is present on the tables. 1. (20 pts) Draw the relationship diagram for the given database. Be sure to list all the primary and foreign keys for each table and draw a line from field to field between tables to designate the relationship. RMBOARD table STUDENT table Primary Key(s): Primary Key(s): Foreign Key(s): Foreign Key(s): OFFERS table COLLEGE table Primary Key(s): Primary Key(s): Foreign Key(s): Foreign Key(s): ***ASSUME DATA INTEGRITY ERRORS, IF ANY, HAVE BEEN CORRECTED AT THIS POINT *** Final Exam CSE200 SP12 Reeves Page 7 of 9 2. (30 pts) Write a query in the design view given below to determine the room and board plus tuition for a year for each student with room and board values already determined, and all of the college offers they have received. The list should include (1) the student number, (2) the name of the college that gave them an offer and (3) the total amount of tuition plus room and board for the year. Sort the list by student number in numerical order then by college in alphabetical order. NOTE: see table sheet for resulting dynaset. Query Name: Q2 TABLE(S): JOIN TYPE: Field Table Total Sort Show Criteria OR OR Additional room for Expressions, if necessary RELATIVE TO: 3. (25 pts) Write a query in the design view given below to list all the colleges that use the yearly system; as well as all the colleges that have the word “University” in their name that are on the quarter system with a tuition rate of more than $11,500 per year. Query Name: Q3 TABLE(S): JOIN TYPE: RELATIVE TO: Field Table Total Sort Show Criteria OR OR Additional room for Expressions, if necessary 4. (25 pts) Write a query in the design view given below to list ALL of the colleges (college letter designation and name) and the number of offers each made to the students on the list. Query Name: Q4 TABLE(S): JOIN TYPE: RELATIVE TO: Field Table Total Sort Show Criteria OR OR Additional room for Expressions, if necessary Final Exam CSE200 SP12 Reeves Page 8 of 9 5. (50 pts – 15, 15, 20) Write a query in the design view given below to create a listing of ALL the students in the high school and determine the amount of money they would still owe (or have left over) per year after using their largest scholarship amount (if any) to pay for their room and board. List the (1) name of the student, (2) the amount of room and board they can afford to pay (3) the largest scholarship amount awarded and (4) how much coverage of room and board remains where a negative value denotes how much room and board they have left to pay and a positive value represents money in their pocket. NOTE: see table sheet for resulting dynaset. Query Name: Q5A TABLE(S): JOIN TYPE: Field Table Total Sort Show Criteria OR OR Additional room for Expressions, if necessary Query Name: Q5B TABLE(S): JOIN TYPE: Field Table Total Sort Show Criteria OR OR Additional room for Expressions, if necessary Query Name: Q5C TABLE(S): JOIN TYPE: Field Table Total Sort Show Criteria OR OR Additional room for Expressions, if necessary Final Exam CSE200 SP12 Reeves RELATIVE TO: RELATIVE TO: RELATIVE TO: Page 9 of 9