CSE115 Lab 11 Spring 2016 DUE DATES:

advertisement
CSE115
Lab 11
Spring 2016
DUE DATES:
Tuesday recitations: 9:00 PM on 4/25
Wednesday recitations: 9:00 PM on 4/26
Thursday recitations: 9:00 PM on 4/27
Friday recitations: 9:00 PM on 4/28
Ready!
This lab will reinforce working with collections and control structures. Reading the code carefully
will also give you a better idea of you can write simple graphical user interfaces.
Set!
1. Log in
2. Start Eclipse
3. Switch to the CVS Repository Exploring perspective. Check out the CSE115-Lab11 project
from the Labs repository.
4. Switch to the Java perspective
Go!
In this lab you will read some existing (but incomplete) code. Your job is to finish the code up
based on descriptions in "// TODO" comments sprinkled throughout the code. Your TA will not only
demo the finished solution, but will show you how to open the "Tasks" view in Eclipse to easily find
and navigate to these "// TODO" comments.
As you read the code you might notice similarities to the code you had to work with on the second
exam. We're tweaked that code a little bit. This program should, when finished, keep track of a
series of test results for each patient in a medical practice. It will also display (visualize) the first
and latest test result for each patient in the practice. Each patient has results for each test: total
cholesterol levels, LDL levels, HDL levels, and also their BMI (Body Mass Index). There is a method
defined for each measure that determines whether a value is within the normal range or not. The
visualization shows the first and most recent test results in adjacent columns, with normal values
displayed in a small font on a green background, while values outside the normal range are
displayed in a large font on a red background (see picture on the next page).
CSE115
Lab 11
Spring 2016
Submitting your project to Web-CAT
Make sure you submit your work on time; due dates are listed at the beginning of this lab
description. Unlike earlier labs, this one will be MANUALLY GRADED by the graduate teaching
CSE115
Lab 11
Spring 2016
assistants. This means that Web-CAT will display at most 5/100 when you submit (assuming you
get all early submission bonus points). If you submit on-time but not early, Web-CAT will
display 0/100.
You may submit as many times as you wish. Your last submission is the one that will be graded (so
consider carefully whether you want to make any late submissions, as the late penalty is 20 points
per day or portion thereof late).
Download