Assessment Brief: BIS2004 Object Oriented Programming Trimester 2, 2022


Assessment 1: Applied project- 1

Due date:

Week 6

Group/individual:

Individual

Word count / Time provided:

2000

Weighting:

30%

Unit Learning Outcomes:

ULO-2, ULO-3, ULO-4

Assessment Details:

This assessment is designed to assess develop your skills in computer programming using Java. You are required to develop Java programs to find the solution of given problem. In completing this assessment successfully, you will be able to learn problem analysis, algorithm design and how to map those algorithms into meaningful computer programs, which will help in achieving ULO1, ULO- 2, ULO-3, and ULO-4.

Write a program to create a “Billing Application” for a GP service in Sydney. ‘CBD family medical practise’ is a well-known GP service around city CBD area. They cover services like General practitioner service, pathology, eye check-up and dental.

Create an application for them their billing system to calculate the final price for each patient depends on below table.

Babies aged 0-2:

1) GP service

– $150

(MediCare or private insurance cover

– 70%)

2) Pathology

– $300

(MediCare or private insurance cover

– 80%)

3) Eye-check up

– $250

(MediCare or private insurance cover

– 60%)

4) Dental

– $200

(MediCare or private insurance cover

– 60%)

Toddlers aged 2-5:

1) GP service

– $100

(MediCare or private insurance cover

– 75%)

2) Pathology

– $300

(MediCare or private insurance cover

– 80%)

3) Eye-check up

– $250

(MediCare or private insurance cover

– 65%)

4) Dental

– $300

(MediCare or private insurance cover

– 50%)

Kids aged 5-12:

1) GP service

– $95

(MediCare or private insurance cover

– 80%)

2) Pathology

– $300

(MediCare or private insurance cover

– 80%)

3) Eye-check up

– $200

(MediCare or private insurance cover

– 70%)

4) Dental

– $300

(MediCare or private insurance cover

– 60%)

Teens aged 12-18:

1) GP service

– $90

(MediCare or private insurance cover

– 85%)

2) Pathology

– $300

(MediCare or private insurance cover

– 80%)

3) Eye-check up

– $195

(MediCare or private insurance cover

– 70%)

4) Dental

– $350

(MediCare or private insurance cover

– 50%)

Adults aged 18-60:

1) GP service

– $80

(MediCare or private insurance cover

– 90%)

2) Pathology

– $300

(MediCare or private insurance cover

– 80%)

3) Eye-check up

– $180

(MediCare or private insurance cover

– 80%)

4) Dental

– $360

(MediCare or private insurance cover

– 65%)

Pensioner aged – above 60

1) GP service

– $70

(MediCare or private insurance cover

– 95%)

2) Pathology

– $300

(MediCare or private insurance cover

– 80%)

3) Eye-check up

– $150

(MediCare or private insurance cover

– 95%)

4) Dental

– $400

(MediCare or private insurance cover

– 85%)

When a receptionist or cahier starts the application, first it should ask appropriate menu to choose patient age. Then when cashier enters the age, another menu displays to display or choose the service level. When cashier enters the service level the amount payable should be auto calculated by knowing whether the customer have Medicare/private insurance. If yes, then the discount/cover applied then only the gap will be collected from customer. If no, then customer/patient needs to pay the full amount. The same will be repeated for many customers by cashier., so the program will loop repeatedly until the user says so.

At the end of each day, the application should be display total amount of service that has been offered today.

Sample output:

(
Welcome

to

“CBD

family

medical

practise”
*********************************************

Choose

patient

age:

(type

numbers

from

1-6

to

choose)
Babies aged

0-2
Toddlers

aged 2-5
Kids

aged

5-12
Teens

aged

12-18
Adults

aged

18-60
Pensioner

aged

– above

60
3
Choose

Service

level:

(type

numbers

from

1-4

to

choose)
GP

service
Pathology
Eye-check

up
Dental
1
Does

the

patient

have

Medicare/private insurance?

(Type

yes/no)
Yes
Amount

Payable

$19
Do you want to repeat for another customer? (Type yes/no)

Yes
*********************************************

Choose

patient

age:

(type

numbers

from

1-6

to

choose)
Babies aged

0-2
Toddlers

aged 2-5
Kids

aged

5-12
Teens

aged

12-18
Adults

aged

18-60
Pensioner

aged

– above

60
4
Choose

Service

level:

(type

numbers

from

1-4

to

choose)
GP

service
Pathology
Eye-check

up
Dental
2
Does

the

patient

have

Medicare/private insurance?

(Type

yes/no)
No
Amount

Payable

$300
Do

you

want

to

repeat for

another

customer?

(Type

yes/no)
No
)

(
Total

amount

of service for

today
Total

amount

of

collected

from patients

$395

$319
Thank

you

using

CBD

billing

system”.

See

you

again.!
)

Hint: For loop, while loop, Arrays and IF statement need to be used in this question

Coding: (Copy and Paste Source Code in word document. Format your code using Courier 10pts). Take the screenshots of your final results and paste them in your word file.

Marking Criteria and Rubric: The assessment will be marked out of 100 and will be weighted 30% of the total unit mark.

Marking Criteria

Not satisfactory

(0-49%) of

the

criterion mark)

Satisfactory

(50-64%) of

the criterion mark

Good

(65-74%) of

the criterion mark

Very Good

(75-84%) of

the criterion mark

Excellent

(85-100%) of

the criterion mark

Usage of a conditional expressions like if-elseif-else, switch. (20%)

Usage reflecting inadequate understanding of a conditional expression.

Usage reflecting basic level understanding of a conditional expression.

Usage reflecting moderate understanding of a conditional expression.

Usage reflecting accurate and detailed understanding of a conditional

expression.

Usage reflecting exceptional knowledge of a conditional expression.

Usage of a loop expression like for, while, do- while. (10%)

Usage reflecting inadequate understanding of a loop statement.

Usage reflecting basic level understanding of a loop statement.

Usage reflecting moderate understanding of a statement.

Usage reflecting accurate and detailed understanding of a loop statement.

Usage reflecting exceptional knowledge of a loop statement.

Usage of an array expression (10%)

Usage reflecting inadequate understanding of an array expression.

Usage reflecting basic level understanding of an array statement.

Usage reflecting moderate understanding of an array statement.

Usage reflecting accurate and detailed understanding of an array

statement.

Usage reflecting exceptional knowledge of an array statement.

Input validation (10%)

Inadequate input validation.

Basic level input validation.

Moderate level input validation.

Accurate and detailed level

input validation.

Exceptional level input validation.

Develop accurate documentation so that coding can be re-used (10%)

Inadequate development of documentation.

Basic level code documentation.

Moderate level code documentation.

Accurate and detailed enough code documentation.

Exceptional level code documentation.

Viva voice (40%)

Inadequate understanding of the concepts used in the program.

Basic level understanding of the concepts used in the program.

Moderate level understanding of the concepts used in the program.

Accurate understanding of the concepts used in the program.

Exceptional understanding of the concepts used in the program.