Sie sind auf Seite 1von 12

Machine Problem/Final Course Assessment

Objective:
• Must apply all the topics discussed in CS001L

• MP Requirements
• Documentation In Long Clear book
• Front Page/Title Page
• Project Description
• Project Scope
• Structured Flowchart
• Source Code
• PowerPoint Presentation
• Program
• STUDENT TUITION FEE • T-SHIRTS PRINTING JOB
• COMPUTER PARTS AND • PAINTING JOB ESTIMATION
ACCESSORIES SALES • SHIPPING CHARGES
• WATER BILL • ELECTRIC BILL
• PHOTOCOPY, PRINTING AND • LOAN COMPUTATION
TYPING JOB • QUIZ GAME
CHARGES
 Write a program that will compute for student tuition fee based on the year level and
number of units enrolled for lecture and laboratory class. Use the following table for the
computation of the tuition fee based on year level:

Year Rate per Unit Rate per Unit Miscellaneous


Level (Laboratory) (Lecture) Fee
1 Php 965.00 Php 565.00 Php 1,065.00
2 Php 1,065.00 Php 665.00 Php 2,075.00
3 Php 1,265.00 Php 865.00 Php 2,565.00
4 Php 1,365.00 Php 965.00 Php 2,895.00
 Write a program that will compute for the total bill of a customer in a computer and parts store.
You program will continuously ask for the Item# and quantity until the user wishes to checkout.
Upon checking out the program must display the number of items bought, total quantity and the
total amount due. Use the following table for the price of each item:
Item Item Name and Retail Wholesale Item Item Name and Retail Wholesale
# Description Price Price # Description Price Price
(Qty >=6) (Qty >=6)
1 RAM 8GB Php 2050.00 Php 1999.00 8 MOTHERBOARD Php 5,050.00 Php 4050.00
2 Hard disk drive 500GB Php 1,050.00 Php 950.00 9 VIDEO CARD Php 3,050.00 Php 2,099.00
3 24” LED MONITOR Php 3,999.00 Php 2,999.00 10 SOUND CARD Php 2,050.00 Php 1,999.00
4 STANDARD MOUSE Php 150.00 Php 199.00 11 CASING Php 5,350.00 Php 5,050.00
5 STANDARD Php 350.00 Php 289.00 12 POWER SUPPLY Php 490.00 Php 450.00
KEYBOARD
13 UPS Php 1,020.00 Php 979.00
6 GAMING MOUSE Php 1,390.00 Php 1,099.00
14 AVR Php 550.00 Php 450.00
7 GAMING KEYBOARD Php 1,450.00 Php 1,350.00
 Write a program that will compute for the water bill of a customer given the previous and current
reading, penalty (ask user if there is, penalty is 10% of the bill) and arrears (ask if there is, if yes,
input the amount and it will be added in the total bill). Use the following table for rate/cum.m:
reading Rate/cu.m
1-10 (Minimum of 115.00)
11-20 13.00
21-30 14.00
31-40 15.00
41-50 16.00
51-60 17.00
>60 20.00
 Write a program that will compute for total charges in a photocopy and typing job service based
on the table below:
service price
Typing job 10 per page
Photocopy short .50 per page
Photocopy Long .75 per page
Print Short BW 1.00
Print Long BW 2.00
Print Short (colored) 2.00
Print Long (colored) 3.00
Print Short no picture 3.00
Print Short with picture 5.00
 Write a program that will compute for total purchases in a t-shirt printing service based on the
table below:

Type of Print Price per Letter Price per Letter Image Image Image Image (big
(small) (big) (small BW) (big BW) (small Colored)
Colored)
Silk Screen 3.00 5.00 110.00 130.00 150.00 170.00
Printing
Heat Press 5.00 7.00 80.00 120.00 140.00 160.00

Laser Printing 7.00 9.00 130.00 150.00 170.00 190.00


 Write a program that will estimate how much paint a project requires given the
measurement of the room plan to paint rounded to the nearest foot. Required
Measurement (in ft.): Wall height x Room Perimeter, Ceiling Length x Ceiling Width,
Sloping Wall Height X Sloping Wall Width. One gallon of paint covers approximately
400 square feet. Include a 10% waste allowance in every estimate. After estimating the
number of galloons needed, compute for the painting job cost based on the chosen
paint brand.
Paint Brand Price per gallon
Boysen Paint 500.00

Davies Paint 525.00

Nippon Paing 495.00


 Write a program that will calculate cost of shipping charges from south Luzon to other
destination based on the number of items to be shipped, destination, type and size of
packaging. The standard delivery is 7 days, if the customer wants to deliver in within 3
days there is an additional charge of 100 pesos.
Destination Pouch Pouch Pouch Box Box Box
(Small) (Medium) (Large) (Small) (Medium) (Large)
NCR 150 165 270 165 270 425

N. LUZON 155 170 275 165 270 425

S. LUZON 155 170 275 165 270 425

VISAYAS 170 190 295 190 295 485

MINDANAO 170 190 295 190 295 485

ISLANDER 180 200 305 200 305 525


 Write a program that will calculate electricity bill cost and electricity
usage consumption. Calculate the electricity cost per day, per
month and per year of a typical appliance given by the appliance
type and hours of use per day. 1 kilowatt-hour (kWh) cost Php 12.00.
Appliance Power Consumption Appliance Power Consumption
Per watts (W) Per watts (W)
Air conditioner 600 Microwave oven 800
Clothes dryer 3000 Desktop computer 100
Clothes Iron 2400 Laptop computer 50
Electric Kettle 2000 Refrigerator 200
Fan 70 Television 70
Heater 2000 Washing Machine 2000
 Energy consumption calculation
 The energy E in kilowatt-hours (kWh) per day is equal to the power P in watts (W) times number of usage
hours per day t divided by 1000 watts per kilowatt:
E = P x t / 1000

 Electricity cost calculation


 The electricity cost per day (CD) is equal to the energy consumption E in kWh per day times the energy cost (EC) of 1
kWh
CD = E x EC
 Write a program that will compute for the amount of interest per month, no. of pay periods (2x
a month) total interest and total payable, given the amount of loan applied and no. of months
to pay. The interest is based on type of loan as shown in the following table:

Type % interest/month Minimum Maximum Payable in


Loanable Loanable months
Amount Amount (max)
Personal Loan 1% 5,000 30,000 6
Salary Loan 2% 5,000 100,000 24
Auto Loan 3% 50,000 1,00000 60
Housing Loan 5% 50,000 3,000,000 60
Emergency Loan 1% 1,000 20,000 12
Question Price
Number
1 500
 Write a quiz game program with the following:
 The game has 15 multiple choice questions ( 4 choices/number represented 2 1,000
by A, B, C, and D.) 3 2,000
 Price is depend on the number of correctly answered questions. See table: 4 3,000
 Questions are displayed one at a time and will allow players to input their 5 5,000
answer.
6 7,500
 The program must ask the user “Is that your final answer?”. If the user answer
no, the program must ask for another answer. If yes, check if the answer is 7 10,000
correct. If the answer is correct, display “Correct”, then display the current 8 15,000
price of the player. If the answer is incorrect, display “Game Over”.
 For each correct answer, ask the user if he/she would like to move to the next 9 25,000
question, if the user answers no, display “Congratulations, ” and the current 10 50,000
price. If the user answers yes, proceed to the next question. 11 75,000
 The game will also end once the player answered the 15th question correctly.
12 150,000
 Repeat the process, once the player wishes to play again.
13 250,000
14 500,000
15 1,000,000

Das könnte Ihnen auch gefallen