Done Exam

download Done Exam

of 15

Transcript of Done Exam

  • 7/22/2019 Done Exam

    1/15

    Exam number Computer number

    University of Southern Denmark

    Autumn 2013

    Exam in ITBudget

  • 7/22/2019 Done Exam

    2/15

    Table of ContentsAssignment 1 ..................................................................................................................................................... 1

    Assignment 1.1 .............................................................................................................................................. 1Assignment 1.2 .............................................................................................................................................. 2

    Assignment 1.3 .............................................................................................................................................. 3

    Assignment 1.4 .............................................................................................................................................. 5

    Assignment 1.5 .............................................................................................................................................. 5

    Assignment 1.6 .............................................................................................................................................. 6

    Assignment 1.7 .............................................................................................................................................. 8

    Assignment 1.8 .............................................................................................................................................. 8

    World of Chess.................................................................................................................................................. IX

    Chess battle .................................................................................................................................................. IX

    Assignment 3 ................................................................................................................................................... 10

    Assignment 3.1 ............................................................................................................................................ 10

    Assignment 3.2 ............................................................................................................................................ 10

    Assignment 3.3 ............................................................................................................................................ 11

    Assignment 3.4 ............................................................................................................................................ 11

    Assignment 3.5 ............................................................................................................................................ 12

    Assignment 3.6 ............................................................................................................................................ 12

    Assignment 3.7 ............................................................................................................................................ 13

  • 7/22/2019 Done Exam

    3/15

    Exam number

    Computer nr

    Page 1

    Assignment 1

    Assignment 1.1

    jul aug sep oct nov dec Total

    Transferred -8000 0 0 0 0 0

    Income

    Hanne SU 5753 5753 5753 5753 5753 5753

    Gert SU 5753 5753 5753 0 0 0

    Gert salary 4500 5800 5000 2500 5300 6000

    Expences

    Fixed expenses 5700 5700 5700 5700 5700 5700

    Transport 500 500 500 500 500 1000

    Food 2000 2000 2000 1500 2000 1500

    Other 4000 4000 4000 4200 5000 7000

    Balance before interest

    Interest

    Balance after interest

    jul aug sep oct nov dec Total

    Transferred -8000 =B14 =C14 =D14 =E14 =F14

    Income

    Hanne SU 5753 5753 5753 5753 5753 5753

    Gert SU 5753 5753 5753 0 0 0

    Gert salary 4500 5800 5000 2500 5300 6000

    Expences

    Fixed expenses ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    Transport 500 500 500 500 500 1000

    Food 2000 2000 2000 1500 2000 1500

    Other 4000 4000 4000 4200 5000 7000

    Balance before interest

    Interest

    Balance after interest

  • 7/22/2019 Done Exam

    4/15

    Exam number

    Computer nr

    Page 2

    Assignment 1.2

    jul aug sep oct nov dec Total

    Transferred -8000 0 0 0 0 0 -8000

    Income 16006 17306 16506 8253 11053 11753 80877

    Hanne SU 5753 5753 5753 5753 5753 5753 34518

    Gert SU 5753 5753 5753 0 0 0 17259

    Gert salary 4500 5800 5000 2500 5300 6000 29100

    Expences 12200 12200 12200 11900 13200 15200 76900

    Fixed expenses 5700 5700 5700 5700 5700 5700 34200

    Transport 500 500 500 500 500 1000 3500

    Food 2000 2000 2000 1500 2000 1500 11000

    Other 4000 4000 4000 4200 5000 7000 28200Balance before interest -4194 5106 4306 -3647 -2147 -3447 -4023

    Interest 0

    Balance after interest 0

    jul aug sep oct nov dec Total

    Transferred -8000 =B14 =C14 =D14 =E14 =F14 =SUM(B

    2:G2)

    Income =SUM(B4:B

    6)

    =SUM(C

    4:C6)

    =SUM(D

    4:D6)

    =SUM(E4

    :E6)

    =SUM(F4

    :F6)

    =SUM(G

    4:G6)

    =SUM(B

    3:G3)

    Hanne SU 5753 5753 5753 5753 5753 5753 =SUM(B4:G4)

    Gert SU 5753 5753 5753 0 0 0 =SUM(B

    5:G5)

    Gert salary 4500 5800 5000 2500 5300 6000 =SUM(B

    6:G6)

    Expences =SUM(B8:B

    11)

    =SUM(C

    8:C11)

    =SUM(D

    8:D11)

    =SUM(E8

    :E11)

    =SUM(F8

    :F11)

    =SUM(G

    8:G11)

    =SUM(B

    7:G7)

    Fixed expenses ='Fixed

    expenses'!$

    B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    ='Fixed

    expenses

    '!$B$5

    =SUM(B

    8:G8)

    Transport 500 500 500 500 500 1000 =SUM(B9:G9)

    Food 2000 2000 2000 1500 2000 1500 =SUM(B

    10:G10)

    Other 4000 4000 4000 4200 5000 7000 =SUM(B

    11:G11)

    Balance before

    interest

    =B2+B3-B7 =C2+C3-

    C7

    =D2+D3-

    D7

    =E2+E3-

    E7

    =F2+F3-

    F7

    =G2+G3-

    G7

    =SUM(B

    12:G12)

    Interest =SUM(B

    13:G13)

    Balance after interest =SUM(B

    14:G14)

  • 7/22/2019 Done Exam

    5/15

    Exam number

    Computer nr

    Page 3

    Assignment 1.3

    jul aug sep oct nov dec Total

    Transferred -8000 -4225,46 882,3061 5198,683 1554,786 -596,656 -5186,34

    Income 16006 17306 16506 8253 11053 11753 80877

    Hanne SU 5753 5753 5753 5753 5753 5753 34518

    Gert SU 5753 5753 5753 0 0 0 17259

    Gert salary 4500 5800 5000 2500 5300 6000 29100

    Expences 12200 12200 12200 11900 13200 15200 76900

    Fixed expenses 5700 5700 5700 5700 5700 5700 34200

    Transport 500 500 500 500 500 1000 3500

    Food 2000 2000 2000 1500 2000 1500 11000

    Other 4000 4000 4000 4200 5000 7000 28200Balance before interest -4194 880,545 5188,306 1551,683 -592,214 -4043,66 -1209,34

    Interest -31,455 1,76109 10,37661 3,103365 -4,4416 -30,3274 -50,983

    Balance after interest -4225,455 882,3061 5198,683 1554,786 -596,656 -4073,98 -1260,32

    0,20%

    0,75%

  • 7/22/2019 Done Exam

    6/15

    Exam number

    Computer nr

    Page 4

    jul aug sep oct nov dec Total

    Transferred -8000 =B14 =C14 =D14 =E14 =F14 =SUM(B

    2:G2)

    Income =SUM(B4:B6) =SUM(C4:C6) =SUM(D4:D6) =SUM(E4:E6) =SUM(F4:F6) =SUM(G4:G6) =SUM(B

    3:G3)

    Hanne SU 5753 5753 5753 5753 5753 5753 =SUM(B

    4:G4)

    Gert SU 5753 5753 5753 0 0 0 =SUM(B

    5:G5)

    Gert salary 4500 5800 5000 2500 5300 6000 =SUM(B

    6:G6)Expences =SUM(B8:B11) =SUM(C8:C11) =SUM(D8:D11) =SUM(E8:E11) =SUM(F8:F11) =SUM(G8:G11) =SUM(B

    7:G7)

    Fixed expenses ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    =SUM(B

    8:G8)

    Transport 500 500 500 500 500 1000 =SUM(B

    9:G9)

    Food 2000 2000 2000 1500 2000 1500 =SUM(B

    10:G10)

    Other 4000 4000 4000 4200 5000 7000 =SUM(B

    11:G11)

    Balance before interest =B2+B3-B7 =C2+C3-C7 =D2+D3-D7 =E2+E3-E7 =F2+F3-F7 =G2+G3-G7 =SUM(B

    12:G12)

    Interest =IF(B12>0;B12*

    $C$16;B12*$C$

    17)

    =IF(C12>0;C12*

    $C$16;C12*$C$

    17)

    =IF(D12>0;D12*

    $C$16;D12*$C$

    17)

    =IF(E12>0;E12*

    $C$16;E12*$C$

    17)

    =IF(F12>0;F12*

    $C$16;F12*$C$

    17)

    =IF(G12>0;G12*

    $C$16;G12*$C$

    17)

    =SUM(B

    13:G13)

    Balance after interest =SUM(B12:B13) =SUM(C12:C13) =SUM(D12:D13) =SUM(E12:E13) =SUM(F12:F13) =SUM(G12:G13) =SUM(B

    14:G14)

    0,002

    0,0075

  • 7/22/2019 Done Exam

    7/15

    Exam number

    Computer nr

    Page 5

    Assignment 1.4

    Auction fee 19%

    Item Price Price incl. fee

    Mobile 1800 2142

    TV 3200 3808

    Laptop 2600 3094

    Couch 6000 7140

    Auction fee 0,19

    Item Price Price incl. fee

    Mobile 1800 =B4*$C$1+B4

    TV 3200 =B5*$C$1+B5

    Laptop 2600 =B6*$C$1+B6

    Couch 6000 =B7*$C$1+B7

    Assignment 1.5

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    jul aug sep oct nov dec

    Income and expenses

    Gert salary

    Food

    Other

  • 7/22/2019 Done Exam

    8/15

    Exam number

    Computer nr

    Page 6

    Assignment 1.6

    Transferred

    -

    7793,121866 -4017,03 1091,153 5407,947 1764,469 -385,4 -3931,98Income 16006 17306 16506 8253 11053 11753 80877

    Hanne SU 5753 5753 5753 5753 5753 5753 34518

    Gert SU 5753 5753 5753 0 0 0 17259

    Gert salary 4500 5800 5000 2500 5300 6000 29100

    Expences 12200 12200 12200 11900 13200 15200 76900

    Fixed expenses 5700 5700 5700 5700 5700 5700 34200

    Transport 500 500 500 500 500 1000 3500

    Food 2000 2000 2000 1500 2000 1500 11000

    Other 4000 4000 4000 4200 5000 7000 28200

    Balance before interest

    -

    3987,121866 1088,975 5397,153 1760,947 -382,531 -3832,4 45,02125

    Interest -29,903414 2,177949 10,79431 3,521894 -2,86898 -28,743 -45,0212

    Balance after interest -4017,02528 1091,153 5407,947 1764,469 -385,4 -3861,14 0

  • 7/22/2019 Done Exam

    9/15

    Exam number

    Computer nr

    Page 7

    jul aug sep oct nov dec Total

    Transferred -

    7793,12186642

    755

    =B14 =C14 =D14 =E14 =F14 =SUM(B

    2:G2)

    Income =SUM(B4:B6) =SUM(C4:C6) =SUM(D4:D6) =SUM(E4:E6) =SUM(F4:F6) =SUM(G4:G6) =SUM(B

    3:G3)

    Hanne SU 5753 5753 5753 5753 5753 5753 =SUM(B

    4:G4)

    Gert SU 5753 5753 5753 0 0 0 =SUM(B

    5:G5)

    Gert salary 4500 5800 5000 2500 5300 6000 =SUM(B6:G6)

    Expences =SUM(B8:B11) =SUM(C8:C11) =SUM(D8:D11) =SUM(E8:E11) =SUM(F8:F11) =SUM(G8:G11) =SUM(B

    7:G7)

    Fixed expenses ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    ='Fixed

    expenses'!$B$5

    =SUM(B

    8:G8)

    Transport 500 500 500 500 500 1000 =SUM(B

    9:G9)

    Food 2000 2000 2000 1500 2000 1500 =SUM(B

    10:G10)

    Other 4000 4000 4000 4200 5000 7000 =SUM(B

    11:G11)

    Balance before interest =B2+B3-B7 =C2+C3-C7 =D2+D3-D7 =E2+E3-E7 =F2+F3-F7 =G2+G3-G7 =SUM(B

    12:G12)

    Interest =IF(B12>0;B12*

    $C$16;B12*$C$

    17)

    =IF(C12>0;C12*

    $C$16;C12*$C$

    17)

    =IF(D12>0;D12*

    $C$16;D12*$C$

    17)

    =IF(E12>0;E12*

    $C$16;E12*$C$

    17)

    =IF(F12>0;F12*

    $C$16;F12*$C$

    17)

    =IF(G12>0;G12*

    $C$16;G12*$C$

    17)

    =SUM(B

    13:G13)

    Balance after interest =SUM(B12:B13) =SUM(C12:C13) =SUM(D12:D13) =SUM(E12:E13) =SUM(F12:F13) =SUM(G12:G13) =SUM(B

    14:G14)

    I have used goal seek to solve this question. By using goal seek we find out how much money they must have on their account in the beginning of

    july, so that they not come out of the year with a deficit on their account.

  • 7/22/2019 Done Exam

    10/15

    Exam number

    Computer nr

    Page 8

    Assignment 1.7

    Principal 1000000

    Annual interest rate 3,65%

    Periods (months) 240

    Payment per month kr. -3.042,22

    Principal 1000000

    Annual interest rate 0,0365

    Periods (months) 240

    Payment per month =PMT(B2;B3;B1)/12

    I have solved this question by using the PMT-function. We start by insterting the rate periords and then the

    periods and finally the principal. It is important to divide by 12 in the end so I get the monthly payment

    afterwards.

    Assignment 1.8

    Explanation of:

    Trace precedents - using this, you find the fields connected with a formula Trace DependentsUsing this, you find out which formula the field is connected to

  • 7/22/2019 Done Exam

    11/15

    Examnumber Word

    IX

    World of Chess

    Chess battle

    4

    3

    2

    1

    A B C D

  • 7/22/2019 Done Exam

    12/15

    Exam number

    Computor number

    10

    Assignment 3

    Assignment 3.1

    A primary key is a kind of ID-number or CPR-number so that every number in the primary-key is uniqe. In

    this table the primary key is the ID-number. The rest of the collums are keys and they are not uniqe which

    means that there of the same.

    postnr

    Id Zip City Street Firm RegionCountry1 800Hje TaastrupGirostrget 1 BG-Bank A/S SAND 12 877Valby Vigerslev All 18 Aller Press (konkurrencer) FALSK 13 900Kbenhavn C Kbenhavns Postcenter + visse erhvervskunderFALSK 141000Kbenhavn K Kbmagergade 33Kbmagergade Postkontor FALSK 151001Kbenhavn K Postboks FALSK 161002Kbenhavn K Postboks FALSK 171003Kbenhavn K Postboks FALSK 181004Kbenhavn K Postboks FALSK 191005Kbenhavn K Postboks FALSK 1

    101006Kbenhavn K Postboks FALSK 1

    Assignment 3.2

    Query1

    Id First nameLast name16Jose Jensen38Siv Lauritsen

    103Hawin Nrgaard106Johnni Aagaard127Renny NikolajsenSELECT Customers.Id, Customers.[First name], Customers.[Last name]

    FROM Customers INNER JOIN postnr ON Customers.[Zip-code] = postnr.Zip

    WHERE (((Customers.[Zip-code])=5100 Or (Customers.[Zip-code])=5400));

  • 7/22/2019 Done Exam

    13/15

    Exam number

    Computor number

    11

    Assignment 3.3

    Query2

    SumOfItem nrCategory81 178 219 358 447 542 6

    SELECT Sum(Inventory.[Item nr]) AS [SumOfItem nr], Inventory.Category

    FROM Inventory

    GROUP BY Inventory.Category;

    Assignment 3.4

    Query3

    Item nrItem.DescriptionCategory.Description IdCustomers.First nameEmployees.First name1Hose Watering 59Surya Agnete2Spade Garden Tools 59Surya Agnete7Hose Coupling Watering 59Surya Julie8Shovel Garden Tools 59Surya Morten

    25Wheelbarrow Wheelbarrow 59Surya Agnete

    SELECT Item.[Item nr], Item.Description, Category.Description, Customers.Id, Customers.[First name],

    Employees.[First name]

    FROM postnr, (((Item INNER JOIN ([Order] INNER JOIN Customers ON Order.Customer = Customers.Id) ON

    Item.[Item nr] = Order.Item) INNER JOIN Employees ON Order.Seller = Employees.ID) INNER JOIN Inventory

    ON Item.[Item nr] = Inventory.[Item nr]) INNER JOIN Category ON Inventory.Category = Category.Cat

    GROUP BY Item.[Item nr], Item.Description, Category.Description, Customers.Id, Customers.[First name],

    Employees.[First name]

    HAVING (((Customers.Id)=59));

  • 7/22/2019 Done Exam

    14/15

    Exam number

    Computor number

    12

    Assignment 3.5

    Query1

    Price Quantity in StockCat23,95 569 525,95 296 549,95 354 155,95 486 5

    99 230 5149,95 339 1

    150 314 5180 374 1

    199,95 246 1199,95 656 1

    SELECT Item.Price, Inventory.[Quantity in Stock], Category.Cat

    FROM postnr, Category INNER JOIN (Item INNER JOIN Inventory ON Item.[Item nr] = Inventory.[Item nr])

    ON Category.Cat = Inventory.Category, Employees INNER JOIN ([Order] INNER JOIN Customers ON

    Order.Customer = Customers.Id) ON Employees.ID = Order.Seller

    GROUP BY Item.Price, Inventory.[Quantity in Stock], Category.Cat

    HAVING (((Item.Price)200) AND ((Category.Cat)=1 Or

    (Category.Cat)=5));

    Assignment 3.6

    Query2

    Expr1199503,05

    SELECT Sum([Item]![Price]*[Order]![Quantity]) AS Expr1

    FROM [Order] INNER JOIN Item ON Order.Item = Item.[Item nr];

  • 7/22/2019 Done Exam

    15/15

    Exam number

    Computor number

    13

    Assignment 3.7

    Describing keys

    Category: Cat-number is the primary key and description is a key

    Costumers: ID is the primary-key and the rest are keys.

    Employees: No primary-keyAll are keys.

    Inventory: No primary-keyAll are keys.

    Item: Item-number is the primary-key and the rest are keys.

    Order: Order-number is the primary-key and the rest are keys.

    Zipcode: ID is the primary-key and the rest are keys.