You are on page 1of 4

UNIVERSITY OF MAKATI

J.P. Rizal Extension, West Rembo, Makati City


College of Computer Science
GROUP ACTIVITY NO. 1
COMPROG2

Date: _________________

Class: ________________
Name: ________________________________ Student No.: ___________________ Score:
Name: ________________________________ Student No.: ___________________
Name: ________________________________ Student No.: ___________________

GENERAL INSTRUCTIONS: Read and follow the instructions carefully. You need to submit the files in ZIP
Format. It must include your documents in PDF format and 3 Java Program. To be submitted in our TBL
today.

INSTRUCTIONS:
1. Read and understand each problem and provide the following:

a. Complete this IPO Chart


Input Process Output

b. List all the needed variables for the program by using this table below:
Variable
Data Type Sample Data Description/Purpose
Name/Identifier
Used to hold the
short age 20 inputted data which is
age by the user
c. Flowchart (use the ANSI symbol shown below)

d. Short Reflection. (Problems/errors encountered, difficulty level, experiments


done/new learnings)

e. Source code. Programs must include the comment on first line. (see sample
below)
//Problem No.
//Name of Group Members
//Section

f. Screen shot of a (running program) black screen.


PROBLEM NO. 1

Write a program that asks the user to enter the prices of two items. The program should then apply a 7.5%
discount to the sum of the prices. The program should display the two prices, the sum of the two prices, the
discount (7.5% of the sum of the prices) and the discounted price (the sum of the prices minus the discount).

PROBLEM NO. 2

Write a program that asks the user to enter a student's mid-term and final exam scores. The program should
display the mid-term and final exam scores and the final grade of the student. Compute the final grade by
taking the sum of 40% of the mid-term exam score and 60% of the final exam score.

PROBLEM NO. 3

The State Highway Traffic Violations Bureau wants you to write a program to compute the amount of a moving
violation. The program should prompt the user to enter the illegal speed in miles per hour at which the person
was driving. Calculate the fine as follows: $50.00 plus $5 for each mile per hour over the legal limit of 55.
RATING SHEET

PROBLEM NO. 1
SCORING RUBRIC
(Encircle the score that reflects the actual accomplishment)
Criteria Rating Scale Comment
5 – Perfect
A. Completeness and Correctness of IPO 3 – Minimal error (not more than 2)
1 – For the effort
5 – Perfect
B. Completeness and Correctness of
3 – Minimal error (not more than 2)
Flowchart
1 – For the effort
10 – Perfect
C. Correctness of the Program 4 – Minimal Error (not more than 3)
1 – For the effort
3 – Complete
D. Adherence to the instruction
1 - Incomplete

PROBLEM NO. 2
SCORING RUBRIC
(Encircle the score that reflects the actual accomplishment)
Criteria Rating Scale Comment
5 – Perfect
A. Completeness and Correctness of IPO 3 – Minimal error (not more than 2)
1 – For the effort
5 – Perfect
B. Completeness and Correctness of
3 – Minimal error (not more than 2)
Flowchart
1 – For the effort
10 – Perfect
C. Correctness of the Program 4 – Minimal Error (not more than 3)
1 – For the effort
3 – Complete
D. Adherence to the instruction
1 - Incomplete

PROBLEM NO. 3
SCORING RUBRIC
(Encircle the score that reflects the actual accomplishment)
Criteria Rating Scale Comment
5 – Perfect
A. Completeness and Correctness of IPO 3 – Minimal error (not more than 2)
1 – For the effort
5 – Perfect
B. Completeness and Correctness of
3 – Minimal error (not more than 2)
Flowchart
1 – For the effort
10 – Perfect
C. Correctness of the Program 4 – Minimal Error (not more than 3)
1 – For the effort
3 – Complete
D. Adherence to the instruction
1 - Incomplete

You might also like