working on RetirementCalculatorModel
git-svn-id: svn://anubis/gvsu@428 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
5e24e67920
commit
591611644b
64
cs623/notes.txt
Normal file
64
cs623/notes.txt
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
Chapter 1
|
||||||
|
1. Computing Environments
|
||||||
|
- physical (amt. of lighting, proximity of co-workers)
|
||||||
|
- social (ex. don't embarass user w/ auditory error message)
|
||||||
|
- cognitive (difference in skill)
|
||||||
|
- background (tech. degree)
|
||||||
|
- stress
|
||||||
|
2. Five W's and H
|
||||||
|
- What / How
|
||||||
|
- Where / When
|
||||||
|
- Who / Why
|
||||||
|
|
||||||
|
Chapter 8.1 - Usability
|
||||||
|
1. Ease of Learning
|
||||||
|
- def: how long it takes for a user to be able to complete certain tasks in the time that would take an expert to do the same
|
||||||
|
- easier to learn => less cost in training process
|
||||||
|
2. Efficiency of Use
|
||||||
|
- how many tasks per unit of time a user can perform
|
||||||
|
3. Memorability - User Retention Over Time
|
||||||
|
- users ability to use the system after having not used it for a while without having to learn it again
|
||||||
|
4. Error Rate / Frequency & Severity
|
||||||
|
- to accomplish objectives with as few errors as possible
|
||||||
|
- recoverable if any
|
||||||
|
- no catastrophic errors
|
||||||
|
5. Subjective Satisfaction
|
||||||
|
|
||||||
|
Chapter 2.1 - Interaction Frameworks
|
||||||
|
1. Don Norman's Model
|
||||||
|
- execution / evalutation
|
||||||
|
- 1. Goals
|
||||||
|
execution / \ evaluation
|
||||||
|
/ \
|
||||||
|
2. forming intention 7. evaluating interpretation
|
||||||
|
3. specify actions 6. interpreting perception
|
||||||
|
4. executing actions 5. perceiving world state
|
||||||
|
\ /
|
||||||
|
\ /
|
||||||
|
The World
|
||||||
|
1) The gulf of execution
|
||||||
|
- what the user intends != what the system allows
|
||||||
|
2) The gulf of evaluation
|
||||||
|
- what the system presents != what the user expects
|
||||||
|
|
||||||
|
Chapter 2.3 - Interaction Styles
|
||||||
|
1. Command Language
|
||||||
|
2. Menu selection
|
||||||
|
- recognition - not recall
|
||||||
|
- types:
|
||||||
|
- push down
|
||||||
|
- pop up
|
||||||
|
- look ahead
|
||||||
|
- menus for long lists
|
||||||
|
- fisheye (OSX launch bar)
|
||||||
|
- scrolling
|
||||||
|
- 2D menu
|
||||||
|
3. Form fill-in
|
||||||
|
4. Question and Answer ("Wizard")
|
||||||
|
5. Direct Manipulation ("point and select")
|
||||||
|
- visual representation of domain objects
|
||||||
|
- direct action on objects
|
||||||
|
- immediate and visible effects
|
||||||
|
- reversable actions
|
||||||
|
6. Metaphors
|
||||||
|
7. Natural Language
|
49
cs623/proj1/RetirementCalculatorModel.java
Normal file
49
cs623/proj1/RetirementCalculatorModel.java
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
public class RetirementCalculatorModel
|
||||||
|
{
|
||||||
|
/* input fields */
|
||||||
|
private double myIncomeWanted;
|
||||||
|
private double myEmployerPension;
|
||||||
|
private double myPartTimeIncome;
|
||||||
|
private double myOtherIncome;
|
||||||
|
private double myAge;
|
||||||
|
private double myRetirementAge;
|
||||||
|
private double mySavings;
|
||||||
|
|
||||||
|
/* calculated fields */
|
||||||
|
private double mySocialSecurity;
|
||||||
|
private double myRetirementIncome;
|
||||||
|
|
||||||
|
public RetirementCalculatorModel()
|
||||||
|
{
|
||||||
|
reset();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void reset()
|
||||||
|
{
|
||||||
|
myIncomeWanted = 0;
|
||||||
|
myEmployerPension = 0;
|
||||||
|
myPartTimeIncome = 0;
|
||||||
|
myOtherIncome = 0;
|
||||||
|
myAge = 30;
|
||||||
|
myRetirementAge = 65;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void calculate()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
private double calculateRetirementFactor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
private double calculateSocialSecurity()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
private double calculateSavingsFactor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user