Chapter 8 - User Interface Design
🖥️ Chapter 8 — User Interface Design Cheat Sheet
DES329 System Analysis & Design | Final Exam Prep
🧭 What Is a User Interface?
How users interact with a computer system — the features that affect two-way communication between user and computer.
- Central to usability: user satisfaction, business function support, system effectiveness
- In a user-centered system, the line between input, output, and interface blurs — users work with all three simultaneously
- Apple introduced the GUI (Graphical User Interface) — mouse + screen icons
🍎 Analogy: A UI is like a car's dashboard. Doesn't matter how powerful the engine is — if the driver can't find the controls, the car is unusable.
🤝 Human-Computer Interaction (HCI)
The relationship between computers and the people who use them to perform their jobs.
- Covers everything from smartphones to global networks
- Includes all communications for entering input and obtaining output (screen or print)
Transparent User Interface
A UI that does not distract the user — it "gets out of the way" so they can focus on the task.
🍎 Analogy: A well-designed tool handle — you don't think about it, you just use it.
7️⃣ Seven Habits of Successful Interface Designers
| # | Habit | What it means |
|---|---|---|
| 1 | Understand the Business | Know the underlying business functions and how the system supports them |
| 2 | Maximize Graphical Effectiveness | Use visuals purposefully to guide users — enables rapid learning |
| 3 | Think Like a User | See the system from the user's POV; avoid designer bias |
| 4 | Use Models and Prototypes | Present designs as storyboards; get user feedback before full development |
| 5 | Focus on Usability | Main options on opening screen; limit choices to what users can easily comprehend |
| 6 | Invite Feedback | Monitor usage, survey and observe users |
| 7 | Document Everything | Record all screen designs for programmers; user-approved storyboards = documentation |
🍎 Analogy: Interface design = architecture. Great architects understand how people actually live in a space, sketch blueprints, get feedback, and document everything before breaking ground.
10️⃣ Ten Guidelines for User Interface Design
Guideline 1: Easy to Learn and Use
- Design that is easy to understand and remember
- Consistent, predictable commands and system responses
- Allow users to correct errors easily
- Label all controls, buttons, and icons clearly
- Use familiar images users already understand
- Show all commands in a menu list — dim unavailable ones
- Make it easy to navigate and return to any level
Guideline 2: Enhance User Productivity
- Group tasks into logical clusters matching real business operations
- Alphabetical menus or frequently used items at the top
- Provide shortcuts for experienced users
- Use default values when most entries in a field are the same
- Use a duplicate value function (toggleable on/off)
Guideline 3: Provide a Fast-Find Feature
- Consider a natural language feature — lets users type requests in plain text phrases
Guideline 4: Provide Flexibility
- Offer several alternatives for accomplishing the same task
Guideline 5: Provide Help and Feedback
- Help is always available on demand
- Both user-selected help and context-sensitive help
- Direct route back to where the user requested help
- Require confirmation before data deletion
- Provide an Undo key
- Highlight the erroneous part of a command when errors occur
- Alert users to lengthy processing
- Confirm whether a task was successful or not
- Messages must be specific, understandable, and professional
User-selected help vs Context-sensitive help: User-selected = user manually opens the help system. Context-sensitive = help appears automatically based on what the user is currently doing.
Guideline 6: Attractive Layout and Design
- Use appropriate colors to highlight different screen areas
- Use special effects sparingly
- Group related objects and information
- Keep displays uncluttered
- Consistent titles, messages, and instructions throughout
- Color convention: red = stop, yellow = caution, green = go
Guideline 7: Provide Consistent Commands
- Provide a keystroke alternative for each menu command
- Use familiar commands whenever possible
- Provide a Windows look and feel
- Avoid complex terms and technical jargon
Guideline 8: Enhance the Interface
| UI Element | Purpose |
|---|---|
| Command button | Initiates an action |
| Dialog box | Explains what variable input is required |
| Toggle button | Shows on/off status clearly |
| List box | Displays available choices |
| Option button (radio button) | Controls mutually exclusive choices — pick ONE only |
| Check box | Selects one or more choices — pick ANY number |
| Calendar control | Used when dates must be entered |
Radio button vs Check box — exam favourite: Radio button = mutually exclusive (gender: Male / Female / Other — can't pick two). Check box = non-exclusive (hobbies: Reading, Gaming, Cooking — can pick all three).
Guideline 9: Focus on Data Entry Screens
- Use form filling method whenever possible
- Restrict access to data entry areas only
- Allow users to leave without saving at any time
- Provide a descriptive caption for every field
- Screen layout should match the source document layout
- Display a sample format using an input mask
- Display default values
- Show list of acceptable values with meaningful error messages
- Allow users to confirm accuracy before submitting
Guideline 10: Use Validation Rules
| Validation Check | Description |
|---|---|
| Sequence Check | Data must be in a predetermined sequence |
| Existence Check | Mandatory fields — cannot be blank |
| Data Type Check | Ensures data fits required type (e.g., numbers only) |
| Range Check | Verifies data falls between a min and max value |
| Reasonableness Check | Flags values that are questionable, not necessarily wrong |
| Validity Check | Data must match a set of specific acceptable values |
| Combination Check | Two or more fields checked together for consistency |
| Batch Controls | Totals used to verify batch input |
🍎 Analogy: Validation rules = airport security checkpoints. Each one catches a different problem before bad data "boards the plane" and enters the system.
Reasonableness vs Validity Check: Validity = the value must match a fixed list (e.g., country code must be "TH", "US", "JP"...). Reasonableness = the value isn't in a fixed list, but it looks suspicious (e.g., age = 200 — not invalid per se, but clearly wrong).
Additional: Manage Data Effectively
- Enter and verify data as soon as possible
- Each data item should have a specific type
- Collect input data as close to its source as possible
- In efficient design, data is entered only once
Additional: Reduce Input Volume
- Input necessary data only
- Don't input data that can be retrieved from files or calculated from other data
- Don't input constant data
- Use codes — they're shorter than the data they represent
📄 Source Documents and Form Design
GIGO (Garbage In, Garbage Out) — output quality depends entirely on input quality.
Source document = collects input data, triggers an input action, and provides a record of the original transaction.
Source Document Zones
📸 Include source document zones diagram from textbook here
| Zone | Purpose |
|---|---|
| Heading Zone | Title and identification information |
| Control Zone | Form number, date, version info |
| Instruction Zone | Directions for completing the form |
| Body Zone | Main data entry area |
| Totals Zone | Subtotals and totals |
| Authorization Zone | Signatures and approvals |
🍎 Analogy: A source document is like a recipe card — title at the top (heading), instructions in the middle (body), who approved it at the bottom (authorization).
🖨️ Printed Output
Questions to Ask Before Designing Printed Output
- Why is this printed instead of digital?
- Who wants it, why, and how will it be used?
- What specific information is included?
- What device will it print on?
- When will it be delivered and how often updated?
- Are there security or confidentiality issues?
Report Design Principles
- Report headers and footers
- Page headers and footers
- Repeating fields handled consistently
- Consistent design throughout
📸 Include report design example from textbook here
Three Types of Reports
| Report Type | Description | Real-World Example |
|---|---|---|
| Detail Report | One or more lines of output per record — can be very long | Every single transaction from a POS terminal |
| Exception Report | Only records meeting specific conditions | Overdue invoices / flagged transactions only |
| Summary Report | Aggregated/comprehensive data overview | Monthly bank statement total |
Why use Exception over Detail? When you only need to act on specific cases. Printing every single record is wasteful and hard to scan. Exception reports surface only what needs attention. Detail = the full story. Exception = the highlight reel. Summary = the bottom line.
📡 Technology Issues
Output Technology
Output can go beyond screen and print:
| Channel | Use Case |
|---|---|
| Internal and external business communication | |
| Blogs | News, reviews, product promotion |
| Instant messaging | Team collaboration |
| Wireless devices | Data across smartphones/tablets |
| Webcasts | Internet delivery for customers/investors |
| Podcasts | Sales/marketing and internal communication |
| Digital audio/images/video | Captured, stored, attached, embedded |
| Automated fax/faxback | Customer requests via email, website, or phone |
| Computer output to digital media | Scanning paper docs for digital storage and quick retrieval |
Input Technology
| Method | Description | Trade-off |
|---|---|---|
| Batch input | Data entry on a scheduled basis (daily/weekly/monthly) | Efficient for large volumes, but data not available until the batch runs |
| Online input | Immediate entry with instant validation | Always current, but requires more processing resources |
| Source data automation | Combines online entry + automated capture (RFID, magnetic strips, smartphones) | Fastest and most accurate — minimal manual entry |
Batch vs Online — which to choose? Depends entirely on business requirements. Payroll processing? Batch is fine — runs once a month. Bank ATM transaction? Must be online — needs to be instant and accurate.
🔒 Security and Control Issues
Output Security and Control
- Output control methods maintain output integrity
- Output security protects privacy rights and shields proprietary data
- Diskless workstation — network terminal with full UI but limits printing or copying of data
Input Security and Control
- Data must be correct, complete, and secure
- Information must be traceable
- Procedures for handling source documents must be in place
- Companies must have a records retention policy meeting legal requirements
- Audit trail files and reports must be stored and saved
🍎 Analogy: Input security = a bank vault entry log. Every action is recorded, traceable, and only authorized personnel can access it.
🚀 Emerging Trends
Modular Design
Individual modules connect to a higher-level program. Each module performs a single function.
🍎 Like LEGO — each piece does one thing, but snaps together into a complex system. Easy to replace or upgrade individual pieces without rebuilding everything.
Responsive Web Design
The interface automatically adapts to different screen sizes — handled by the underlying framework.
🍎 Same website, same codebase — works perfectly on a 27" monitor and an iPhone without manual adjustment.
Prototyping
A repetitive sequence of analysis, design, modeling, and testing.
Two Types of Prototypes
| Type | Description | Fate |
|---|---|---|
| System Prototyping | Full-featured, working model of the IS | Kept — evolves into the actual system |
| Design / Throwaway Prototyping | Used only to verify user requirements | Discarded — implementation starts fresh after |
System vs Throwaway — when to use which? Throwaway = when you need to validate requirements quickly before real development begins. Fast and cheap. System = when the prototype itself will become the final product iteratively.
Benefits of Prototyping
- Avoids misunderstandings between users and developers
- Creates accurate specifications from real user interaction
- Managers evaluate working models, not paper specs
- Helps develop testing and training procedures
- Reduces risk of a finished system failing to meet business needs
Problems with Prototyping
- Rapid pace can create quality problems
- Requirements cannot be fully tested via prototype alone
- In complex systems, prototypes can become unwieldy and hard to manage
- Clients may want to ship the prototype as-is — leads to high maintenance costs later in SDLC
🍎 Analogy: Prototyping = building a movie set before a real building. Fast, looks realistic, but it's not meant to be permanent.
📊 Quick Comparison — Key "This vs That"
| vs | A | B |
|---|---|---|
| Detail vs Exception Report | Every record | Only records matching specific conditions |
| Exception vs Summary Report | Filtered rows (still record-level) | Aggregated totals/overview |
| Batch vs Online Input | Scheduled, delayed availability | Immediate, real-time |
| System vs Throwaway Prototype | Becomes the final system | Discarded after validating requirements |
| Radio Button vs Check Box | Pick exactly one (mutually exclusive) | Pick one or more (non-exclusive) |
| User-selected vs Context-sensitive Help | User opens help manually | Help appears based on current user action |
| Reasonableness vs Validity Check | Catches suspicious-but-not-invalid values | Checks against a fixed list of acceptable values |
📝 Key Definitions (Exam-Ready)
| Term | Definition |
|---|---|
| User Interface | How users interact with a computer system; features enabling two-way communication |
| HCI | Human-Computer Interaction — the relationship between computers and their users |
| Transparent UI | Interface that does not distract users — lets them focus on their task |
| GUI | Graphical User Interface — uses visual elements like icons and mouse |
| GIGO | Garbage In, Garbage Out — output quality depends entirely on input quality |
| Source document | Collects input data, triggers input action, records the original transaction |
| Detail Report | One or more output lines per record processed |
| Exception Report | Shows only records meeting specific conditions |
| Summary Report | Aggregated/comprehensive data overview |
| Batch input | Data entry on a scheduled time basis |
| Online input | Immediate data entry with instant validation |
| Source data automation | Automated data capture via RFID, magnetic strips, smartphones |
| Diskless workstation | Network terminal that limits printing/copying of data |
| Input mask | Sample format displayed to guide correct data entry |
| Modular design | System built from independent single-function modules |
| Responsive web design | UI that automatically adapts to different screen sizes |
| System prototyping | Full working model that evolves into the actual system |
| Throwaway prototyping | Prototype used only to verify requirements, then discarded |
| Audit trail | Stored record of all data transactions for traceability and accountability |