Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
CSE114 Fall 2015
Lab Exercise 1 of Week 7
Object-Oriented Programming:
A Student Registration System
Chen-Wei Wang
1 Problem
In a (simplified) student registration system, each student’s record consists of their: student id, first
name, last name, program of study, year of study, year of entrance, expected year of graduation, and a
list of registered courses. Each course that a student takes consists of: a name, the number of credits, if
it is mandatory or elective, and the final grade that the student obtains. A student may register for a
new course, change their program of study, delay their year of graduation, and obtain the latest value of
their GPA.
2 Your Tasks
1. Translate the entities, attributes, and behaviours that are indicated in the above problem statement
into classes, attributes, and methods in Java.
2. Create a separate class RegiatrationSystemTester that simulates the possible scenarios. For
example, two student who registers similar sets of courses, pass some courses, fail some courses,
and observe how their GPA values might differ.
3. Can you think of any more entities, attributes, or behaviours that are relevant to a student regis-
tration system?
1