Lab 2
Lab 2
From the above table, Find out Final mark (the weighted average of Exam1, Exam2 , Exam 3 and Part)
and Grade of each student as follows
Mark
Above 90
81-90
71-80
61-70
51-60
41-50
31-40
Below 31
Grade
A+
A
AB+
B
C
D
F
Quantity
950
1090
500
650
1200
800
Order Total
Q.3 Find the order total based on the information given below.
Widget Sales
Order
No.
Ord-001
Ord-002
Ord-003
Ord-004
Ord-005
Ord-006
Ord-007
Order
Quantity Total
950
1090
320
650
1200
800
2120
Customer
Donald Duck
Mickey Mouse
Bugs Bunny
Porky Pig
Daffy Duck
Goofy
Minnie Mouse
1 - 499
500 - 999
0.90
1000 - 1499
0.80
1500 or more
0.70
165
Manufacturer
394
ALFA ROMEO
421
ASTON MARTIN LAGONDA
249
ASTON MARTIN LAGONDA
410
AUDI
327
BENTLEY MOTORS
CO2
Emissions
0
101
121
151
166
186
226
Bands
Band A
Band B
Band C
Band D
Band E
Band F
Band G
Tax 6 for
months
63.25
77.00
90.75
112.75
165.00
Tax for 12
months
0.00
35.00
115.00
140.00
165.00
205.00
300.00
Tax Band
Tax for 12
months
Q.5 Create the Enquiry System where entering code give details of the product.
Stock List
Code
A34
A16
C39
D80
A18
F26
G36
A17
B45
Enquiry System
Item
Armchair
Stool
Sofa
Dining Table
Bookcase
Shelves
Rocking Chair
Lamp
Kitchen
Price
89.99
21.00
312.00
199.99
112.50
45.00
87.99
32.99
231.00
Number in
stock
5
7
0
12
40
9
13
8
34
Code
Item
Price
In stock
A18