Question 1 (40 marks) Refer to Table 1. Write the Excel formula for each cell marked with "" in column C such that formula could be copied and pasted into columns D and E using Microsoft Excel without further editing. There is no need to explicitly write the Excel formula for cells marked with copy & paste. New Age Dolls makes the very successful line of Micky and Mimi dolls, which rapidly gained popularity with children and teenagers after only a few years on the market. New Age Dolls produces dolls at two locations: St. Louis (STL) and Boston (BSN), and has been leasing warehouses at both locations. Warehouses are used for storage and for distribution to retail stores. New Age management is not happy with the terms of the leases, which are too expensive. The lease expires at the end of 2021. New Age management has decided to build its own warehouses and has three possible locations: Portland(PT), Atlanta(AT) and Phoenix(PX) (which is entered in cell C22), but New Age would construct warehouses at only two of these locations. To choose these two locations, New Age would like to forecast the net income, debt owed and cash flow for the following three years (2022 to 2024) based on 2021's data. You are asked to help New Age and write Excel formulas in cells c25 to C76 for this forecast by performing a what-if analysis using Microsoft Excel. One major factor that affects the forecast is the expected state of economy over the three years (2022 to 2024) in row 21: Flat (F)- a steady economic outlook for a yo year Hot (H) - a heated-up economic outlook for a year The expected state of economy can vary from year to year. If the expected state of economy is H for year 2022, F for year 2023, and F for year 2024, then the pattern HFF would be entered in cells C21 to E21. Assume that there are no input errors (or typing mistakes) in row 21, or c22 cell. New Age management expects to sell all the dolls they produce in Boston and St. Louis in the three years (2022 to 2024). Production of the two types of dolls will be divided evenly between the two locations. The expected production (and sales) levels are given below: Year 2022 Year 2023 Year 2024 Micky - St. Louis 500.000 (cell C4 750,000 (cell D) 1,000,000 (cell E4) Mimi - St. Louis 750,000 (cell C5850,000 (cell D)1.000.000 (cell E5) Micky - Boston 500,000 (cell C6 750,000 (cell D61.000.000 (cell E6 Mimi Boston 750,000 (cell C750,000 (cell DT) 1.000.000 (cell E To reduce distribution and storage risks (from strikes, natural disasters etc.), management plans to send half of each plant's production to each of the two selected warehouse sites. Shipping costs from each plant to cach of the three warehouse sites differ. Storage costs at each of the three warehouse sites differ as well. The shipping and storage costs per doll are given below: FromFactoryToWarehouse Year 2022 Year 2023 Year 2034 St. Louis Portland 5 Sloell 91 595cl D9 5431 ES St. Louis Atlanta 135fcell C10, 6.05(cell DIO 666cell E10 St. Louis Phoenix 3.5 cell C.Secil DIN 434 EIT Boston Portland 6.0 (cell C12.86cell DIE 26cell E12 Boston Atlanta 4. Sicell CIS 4.5ivell DIS5-45lcell ELS Boston Phoenix SS (cell C146.icell D146bfcell E14 The following constants (rows 15 to 17) for the forecast are described below: Tax rate (row 15): The corporate tax rate is expected to increase from 29% for year 2022 to 31% for year 2024. Minimum cash needed to start next year (row 16): A New Age's policy is to have at least US$10,000 cash on hand at the end of each year, in order to start next year's business. It is assumed that New Age's banker will lend whatever is needed at the end of a year to begin the next year with US$10,000. - Administrative costs will be fixed at US$1,200,000 each year. Calculations (rows 25 to 49) are described below: Interest rate on debt (row 25): If the expected state of economy is flat (F) in a year, the interest rate paid on debt owed will be 8%, but it will be 10% if the expected stated of economy is heating up in a year Number of dolls shipped from a factory location to a warehouse location (rows 27 to 32). If a warehouse site is not selected, then no dolls are shipped, otherwise a factory's doll production number is divided evenly between the two selected warehouse sites. Shipping and warehousing costs for dolls shipped from a factory mat location to a warehouse location (rows 34 to 39): this is a function of the number of dolls shipped, and the shipping and storage costs per doll. New Age management does not consider cents as cents do not worth much and do not affect costs much. . Selling prices of Micky and Mimi (rows 40 and 41). In 2021, the selling price for a Micky doll is US$11.25 (cell B40), and for a Mimi doll, it is US$12.25(cell B41), as Mimi is more popular than Micky. If the economy remains steady, then the selling prices for Micky and Mimi are not expected to change from years 2022 to 2024. However, if the economy inflates or "heats up", then the selling prices for Micky and Mimi would rise 4% from one year to the next. Sales revenue for Micky and Mimi dolls (rows 42 to 43): revenues for each type of dolls would be a function of the number of dolls sold and the selling price of each doll. New Age management does not consider cents as cents do not worth much and do not affect revenue much. Production and marketing costs for each doll made at St. Louis and Boston (rows 45 to 46): In 2021, it costs US$5.0 (cell B45) to make and market a St. Louis-made doll and US$5.50 (cell B46) to make and market a Boston-made doll. Production and marketing costs are expected to increase in the following three years whether the economy could be flat or heat up; as New Age management sees no chance of an economic downtum in the following three years. The expected year-to-year percentage increase in production and marketing costs are given below: Flat Economy From House Dolls made in St. Louis per year 15% per year Dolls made in Boston x per year per year Total production and marketing costs for all the dolls made at each factory site (rows 48 and 49): these costs are a function of the number of dolls made at that factory site and the production and marketing cost for each doll made at that factory site. New Age management does not consider cents as cents do not worth much and do not affect these costs much Income & Cash Flow Statements (rows 53 to 70) are described below: Beginning of year cash on hand (row 53); this is the cash at the end of the previous year. Revenue sales (row 55); this is the total revenue from sales of all the dolls made at both factory sites. Production and marketing costs (row 57); this is the total production and marketing costs for all the dolls made at both factory sites. Shipping and warehouse costs (row 58): this is the total shipping and warehouse costs for all the dolls shipped from both factory sites to all three warehouse locations. . Fixed administrative costs (row 59): this is the constant administrative costs for each year. Total costs (row 60): these costs include production, marketing, shipping, warehousing and fixed administrative costs for all the dolls made and sold during that year. Pre-interest expense margin (row 61): Before considering tax and interest expense, this is the difference between total revenue and total costs. Interest expense (row 62): this is a simple interest based on the year's interest rate and the debt owed at the beginning of that year. Income before tax (row 63): Before considering tax, but after . Interest expense (row 62): this is a simple interest based on the year's interest rate and the debt owed at the beginning of that year. Income before tax (row 63): Before considering tax, but after considering interest expense, this is the difference between pre- interest expense margin, and interest expense. Income tax expense (row 64): This is zero if income before tax is zero or less; otherwise, apply the tax rate for the year to the income before tax. Net income after tax (row 65): This is the difference between income before tax and income tax expense. Net Cash Position (NCP) (row 67): NCP at the end of a year equals the cash beginning of a year, plus the year's net income, assuming that there are no receivables or payables. Assume that New Age's bankers will lend enough money (row 68) at the end of a year to get to New Age's minimum cash target (see row 16). If the NCP is less than the minimum cash at the end of a year, New Age must borrow enough to reach the minimum cash target. Borrowings increase cash on hand, of course. If the NCP is more than the minimum cash and there is outstanding debt from previous year(s), then some or all of the debt should be repaid, but not to take your company below the minimum cash level (row 69). Cash at the end of the year equals the NCP, plus any borrowings and less any repayments (row 70). Debt Owed (rows 73 to 76) is described below: The amount of US$3 million (cell B76) is already owed to bankers and bondholders at the end of 2021. Debt owed at the beginning of a year equals the debt owed at the end of the previous year. Amounts borrowed and repaid that have been calculated before can be echoed to this section. The amount owed at the end of a year equals to the debt owed at the beginning of the year plus any borrowings, and less any repayments. Table 1: NA = Not Applicable, meaning no entry is required in the cell. B 2021 NA NA NA NA 2022 500000 750000 500000 750000 2023 750000 850000 750000 850000 2024 1000000 1000000 1000000 1000000 5.45 A 3 CONSTANTS 4 Micky PRODUCTION - STL 5 Mimi PRODUCTION - STL 6 Micky PRODUCTION - BSN 7 Mimi PRODUCTION - BSN PER UNIT SHIPPING AND 8 WAREHOUSING COSTS (FROM-TO) 9 STL -> PT 10 STL -> AT 11 STL -> PX 12 BSN -> PT 13 BSN -> AT 14 BSN -> PX 15 TAX RATE EXPECTED 16 MIN CASH RQRD AT END OF YR 17 FIXED ADMINISTRATIVE COSTS 20 INPUTS EXPECTED STATE OF ECONOMY: 21 F = FLAT, H = HOT WAREHOUSE LOCATION NOT USED: PT = PORTLAND 22 AT = ATLANTA: PX = PHOENIX NA NA NA NA NA NA NA NA NA 2021 NA 45 5.5 35 6 4.5 55 0.29 10000 1200000 207 H 4.95 6.05 3.85 6.6 4.95 6.05 0.3 10000 1200000 2023 6.66 4.24 7.26 5.45 6.66 0.31 10000 1200000 2024 F F NA PT NA NA B 24 CALCULATIONS 2021 2022 2023 2024 25 INTEREST RATE FOR YEAR NA ? [1.5 marks] copy & paste copy & paste 26 NUMBER OF DOLLS SHIPPED 27 FROM STL TO PT NA?(1.5 marks] copy & paste copy & paste 28 FROM STL TO AT NA2 11.5 marks] copy & paste copy & paste 29 FROM STL TO PX NA 2115 marks] copy & paste copy & paste 30 FROM BSN TO PT NA [15 marks] copy & paste copy & paste 31 FROM BSN TO AT NA 2015 marks] copy & paste copy & paste 32 FROM BSN TO PX NA 2015 marks] copy & paste copy & paste 33 SHIPPING & WAREHOUSING COSTS 34 FROM STL TO PT NA ? [1 mark] copy & paste copy & paste 35 FROM STL TO AT NA? [1 mark] copy & paste copy & paste 36 FROM STL TO PX NA 2 [1 marld copy & paste copy & paste 37 FROM BSN TO PT NA ?[1 mark] copy & paste copy & paste 38 FROM BSN TO AT NA ? [1 mark] copy & paste copy & paste 39 FROM BSN TO PX NA ? [1 mark] copy & paste copy & paste 40 UNIT SELLING PRICE - Micky 1125 2 (1.5 marks] copy & paste copy & paste 41 UNIT SELLING PRICE - Mimi 12 25 11.5 marks] copy & paste copy & paste 42 SALES REVENUE - Micky NA ?[1 mark] copy & paste copy & paste 43 SALES REVENUE - Mimi NA ?[1 mark) copy & paste copy & paste 44 UNIT PRODUCTION & MARKETING COSTS. 45 ST LOUIS (BOTH DOLLS) 5 ? [1.5 marks] copy & paste copy & paste 46 BSN (BOTH DOLLS) 55 211.5 marks] copy & paste copy & paste 47 TOTAL PRODUCTION & MARKETING COST: 48 ST LOUIS (BOTH DOLLS) NA ? [1 mark) copy & paste copy & paste 49 BOSTON (BOTH DOLLS) NA? [1 mark) copy & paste copy & paste C NA NA 555555555 B D E INCOME STATEMENT AND 52 CASH FLOW STATEMENT 2021 2022 2023 2024 53 BEGINNING OF YEAR CASH ON HAND NA ? 1025 mark copy & paste copy & paste 55 REVENUE (SALES) NA 2105 mark] copy & paste copy & paste 56 COSTS AND EXPENSES 57 PRODUCTION AND MARKETING COSTS NA 2005 mark] copy & paste copy & paste 58 SHIPPING AND WAREHOUSE COSTS NA ? 10.5 mark] copy & paste copy & paste 59 FIXED ADMIN COSTS ? 10 25 mark copy & paste copy & paste 60 TOTAL COSTS 7105 mark] copy & paste copy & paste 61 PRE-INTEREST EXPENSE MARGIN NA ? 10.5 mark] copy & paste copy & paste 62 INTEREST EXPENSE NA ? [1 mark] copy & paste copy & paste 63 INCOME BEFORE TAX NA ? [O 25 mark] copy & paste copy & paste 64 TAX EXPENSE NA 2 [1 mark] copy & paste copy & paste 65 NET INCOME NA 210.5 mark copy & paste copy & paste NET CASH POSITION (NCP) BEFORE BORROWINGS AND REPAYMENTS OF NA 67 DEBT (BEG CASH PLUS NET INCOME) ? 105 mark] copy & paste copy & paste 68 ADD BORROWINGS FROM BANK NA 2115 marks) copy & paste copy & paste 69 LESS, REPAYMENTS TO BANK NA 24 marks] copy & paste copy & paste 70 EQUALS END OF YEAR CASH ON HAND 10000 20.5 mark] copy & paste copy & paste 72 DEBT OWED 73 OWED TO BANK AT BEGINNING OF YEAR NA 20-25 mark] copy & paste copy & paste 74 ADD BORROWINGS FROM BANK NA ? [0.25 mark] copy & paste copy & paste 75 LESS, REPAYMENTS TO BANK NA 210 25 mark] copy & paste copy & paste 76 EQUALS OWED TO BANK AT END OF YEAR 3000000?10.5 mark copy & paste copy & paste Question 2 Below is a database with 2 tables - Marina, Technician: Marina table: primary key = Marina Number, foreign key = Tech Number, Technician table: primary key = Tech Number, no foreign key a Relationships Marina Technician Marina Number Tech Number Marina Name Last Name Address First Name City Address City Zip Code State Warranty Zip Code Non-warranty Hourly Rate Tech Number YTD Earning State The above is a relational schema or entity relationship diagram for 2 tables: Marina and Technician. Explain why the above relational schema does NOT indicate the type of relationship (one-to-one, one-to-many, many-to-many) between these 2 tables, and describe potential problems that may occur. (3 marks) Interest expense (row 62): this is a simple interest based on the year's interest rate and the debt owed at the beginning of that year. Income before tax (row 63): Before considering tax, but after considering interest expense, this is the difference between pre- interest expense margin, and interest expense. Income tax expense (row 64): This is zero if income before tax is zero or less; otherwise, apply the tax rate for the year to the income before tax. Net income after tax (row 65): This is the difference between income before tax and income tax expense. Net Cash Position (NCP) (row 67): NCP at the end of a year equals the cash beginning of a year, plus the year's net income, assuming that there are no receivables or payables. Assume that New Age's bankers will lend enough money (row 68) at the end of a year to get to New Age's minimum cash target (see row 16). If the NCP is less than the minimum cash at the end of a year, New Age must borrow enough to reach the minimum cash target. Borrowings increase cash on hand, of course. If the NCP is more than the minimum cash and there is outstanding debt from previous year(s), then some or all of the debt should be repaid, but not to take your company below the minimum cash level (row 69). Cash at the end of the year equals the NCP, plus any borrowings and less any repayments (row 70). Debt Owed (rows 73 to 76) is described below: The amount of US$3 million (cell B76) is already owed to bankers and bondholders at the end of 2021. Debt owed at the beginning of a year equals the debt owed at the end of the previous year. Amounts borrowed and repaid that have been calculated before can be echoed to this section. The amount owed at the end of a year equals to the debt owed at the beginning of the year plus any borrowings, and less any repayments. 1004 Question 4: Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bought 001 {A, B, C) 002 (A, D, C) 003 (A, D, F, C) (A, B, C) 005 (A, D, B, C) 006 (A, D, F) 007 {A, F, B, C) {F, B) 009 {D, F, C) 010 {D, B, C) a) Assuming minimum support=0.6, use the Apriori algorithm to generate all the association rules for the frequent 2-itemsets. Calculate the confidence for these rules (Round to 3 decimal places). 008 (4.5 marks) b) For the rules obtained in (a), calculate the lift for the rules with the highest confidence. (0.5 mark) Q1 Total: Question 1 (40 marks) 124 20022 23 5 marks 26 27 28 129 5 marks 15 marks 15 marks 1.5 marks 1.5 marks 1.5 marks 30 31 32 33 34 35 36 37 38 mark mark mark mark mark mark 15 marks 5 marks mark mark 30 140 141 42 143 144 145 15 marks 15 marks 46 42 14N 49 mark mark ISO 51 52 2022 0.25 mark 53 54 3 0.5 mark SO 57 158 59 00 16 0.5 mark 0.5 mark 0.25 mark 0.5 mark 05 mark mark 0.25 mark mark 10.5 mark 102 163 164 65 66 67 68 169 0.5 mark 15 marks marks 15 mark 70 71 172 0.25 mark 0.25 mark 10.25 mark 0.5 mark 75 76 Question 2 (3 marks) Q2 Total: Question 3 (7 marks). Q3 Total:_ a) (2 marks) a( b) (5 marks) Question 4 (5 marks) Q4 Total: a) (4.5 marks) Note: You may add or delete row(s) in the tables below if necessary. Frequent Itemsets Support 11 2) 5 16 7) Note: You may add or delete row(s) in the tables below if necessary. - Confidence (x Support X.Y? / Support/x? 1=0.3/0.7 1) 3 3) 4) b) (0.5 mark) Lift (X Y) - Support/XY/(Support Support!!! =0,3/(0.7*0,5) =0.86 1) End of Answer Book