dbs201 5userviewstounf questions
DESCRIPTION
poTRANSCRIPT
1
Sample Questions User View to UNF
1. The following tabular listing from ABC Printer company is to be used to answer the following part 2 questions. The listing shows a printout of the company's two printer models and the parts and part suppliers used to make the models.
Answer all questions in the space provided:
Part_IdPart_NameQty usedSupplierSupplier PhoneModel DescriptionPrice
PF123Paper spool2ABC Plastics416-234-2342Laserjet Printer$423.56
LC432Laserject cartridge4Jetson Carbons905-434-3333Laserjet Printer$423.56
MT123120v power unit1ACME Power Supply767-232-2221Laserjet Printer$423.56
PF123Paper spool1ABC Plastics416-234-2342256 Colour Printer$89.99
IJ345Ink jet tray3Para Inks416-323-2345256 Colour Printer$89.99
MT123120v power unit2ACME Power Supply767-232-2221256 Colour Printer$89.99
2. Solve the following user-view shown below. Be sure to list the UNF and 1NF solution.
INVOICE #:1355CUSTOMER:56 - John Adams
INVOICE DATE: 5-Jul-02REGION:High Park
SALES REP:2 - Ryan ArmstrongADDRESS:21 Scarlett Road
Toronto
EQUIP. USED:20 hp John Deer tractor/ mowerM2S 4S3
2 hp Johnson grass trimmer
Haggmann garden-tiller
SERVICES:
SERVICE CODEDESCRIPTIONHOURLY CHARGEWORK DURATION (hours)TOTAL CHARGE
LCLawn Cutting$25.00 0.75$18.75
LWLawn Weeding$35.00 1.15$40.25
LFLawn Fertilizing$15.00 0.25$3.75
TGTree Pruning$45.00 0.50$22.50
SUBTOTAL:$85.25
GST (7%):$5.97
PST (8%):$6.82
TOTAL DUE:$98.04
PAYMENT:Cheque
3.(10 marks)For the following userview, list the relations in UNF and 1NF.
Town of Vaughan Activity Registration Form
Registration # 6503
Date: January 7, 2002
Name:
Tina Marvello
Address:
1453 PineTree Way
City: WoodbridgePostal Code L9T 4Z3
Home Phone: 905-555-1212
Work Phone: 416-555-2121
Client 1
NameProgram CodeProgram NameCost
Robert Marvello2544Aquaquest 1$58
Client 2
NameProgram CodeProgram NameCost
Alexandra Marvello2544Aquaquest1$58
Client 3
NameProgram CodeProgram NameCost
Alexandra Marvello4811Play With Clay$78
Client 4
NameProgram CodeProgram NameCost
Mary Wong4811Play WithClay$78
Signature: Tina Marvello
Total Cost: $276.00
Process Date: Jan 10/02
Processed by Emp#126
4.For the user view shown below:
STUDIOUS SENIORS ATTENDANCE REPORT
Class# Class Name
RoomMember# Name
DateAttendance1234Ballroom Dancing2133123
Jane SmithSept 12
Y
Sept 19
Y
1234Ballroom Dancing2133124
Bill SmithSept 12
Y
Sept 19
N
1234Ballroom Dancing2133321
Paul WooSept 12
N
Sept 19
Y
1234Ballroom Dancing 2133439
Mary HuangSept 12
Y
Sept 19
N
2245Basket Weaving
2133439
Mary HuangSept 14
N
Sept 21
Y
3122Italian Cooking
2134439
Mary HuangSept 15
Y
Sept 22
Y
3122Italian Cooking
2134123
Jane SmithSept 15
Y
Sept 22
N
Write the user view as a UNF Relation.MARS BARS CANADA Inc. , Canadas leading distributor of chocolate bars orders ingredients from suppliers to make their products. The following report is used by the manufacturing department to identify the expected receiving date for materials that have been ordered.
MARS BARS CANADA Inc
Ingredients Expected Date Report
Sales-
Supplier
Date
OrderItem Description Person
No
Supplier
QuantityUnits
ExpectedNumber
------------- --------------------------
-------------------
------------------
-------------------------
SG01Sugar Grade 1Bill
411
Redpath Sugars
1000 kg
Feb 24/02 MB652
SG01Sugar Grade 1John
422
Jamaica Cane
2000 kg
Feb 24/02 MB653
SG01Sugar Grade 1Joe
397
Cuban Sugars
2500 kg
Mar 5/02 MB699
SG01Sugar Grade 1Bill
411
Redpath Sugars
1555 kg
Mar 5/02 MB702
---------
Sub-Total7055 kg
ML01MolassesJohn
422
Jamaica Cane
2000
liters
Feb 24/02 MB653
ML01MolassesRoxanne
555
Natura-Sugars
2000
liters
Feb 26/02 MB648
ML01MolassesJoe
397
Cuban Sugars
2660
liters
Feb 27/02 MB699
---------
Sub-Total6660 liters