IS5312留学生讲解、辅导Java编程语言、Software讲解、辅导Java设计

- 首页 >> Java编程
IS5312 Business Software Construction HW#1
CityU IS Dept 1 | P a g e
IS5312 Assignment 1
Q1: Dorm and Meal Plan Calculator
A university in England has the following dormitories:
Allen Hall: $1,500 per semester
Pike Hall: $1,600 per semester
Farthming Hall: $1,200 per semester
University Suite: $1,800 per semester
The university also offers the following meal plans:
7 meals per week: $560 per semester
14 meals per week: $1,095 per semester
Unlimited meals: $1,500 per semester
Create an application with two lists which looks like the below picture. One should hold the names
of the dormitories, and the other should hold the meal plans. The user should select a dormitory and
a meal plan, and the application should show the total charges for the semester. (You may use Step
6 in WK4 Step by Step Gui_II for your reference).
Q2: Use Step 8 in Step by Step Gui_II from WK4 and Exercise 1 from WK4 tutorial as reference,
create an application to show to a picture in labels when the user clicks on the button. The user
interface would look like the following picture if the user clicks on all the buttons. The pictures are as
posted on Canvas in Week 5.IS5312 Business Software Construction HW#1
CityU IS Dept 2 | P a g e
Submission:
Submit the answers (note: your answers should be saved as “.java” format) of Q1 and Q2 to Canvas
under “Assignment 1 Submission Link”. (Deadline: 24/02/2018, 23:59)

站长地图