27
CS 501: Software Engineering Fall 2000 Lecture 17 Design for Usability I

CS 501: Software Engineering Fall 2000 Lecture 17 Design for Usability I

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

CS 501: Software EngineeringFall 2000

Lecture 17Design for Usability I

2

Administration

• Midterm examination

3

Q2: Finite State Machine

The cruise control system on an automobile is controlled by a master switch and three buttons. Initially, it is turned on by the master switch. The master switch can be turned off at any time. When first turned on, the system enters stand-by mode.

When the system is in stand-by mode, the driver of the automobile can press Button A to engage the cruise control at the current speed of the automobile. When the cruise control is engaged, if the driver presses the brake or presses Button B the system will be disengaged and return to stand-by mode. After returning to stand-by mode, the driver can press Button C to engage the cruise control at the speed that it was set at previously. (After the system is first turned on, Button C has no effect.)

When the cruise control is engaged, the driver can press Button A to increase speed by one mile per hour or Button C to decrease speed by one mile per hour.

4

State Transition Diagram

Off Standby Engaged Standby1

MS-On

B-Brake

MS-Off

AA

C

CA

5

State Transition Table

MSon

MS off

A B Brake

C

Off

Standby

Engaged

Standby1

Standby

Off

Off

Off Engaged

Standby1

EngagedEngaged

Engaged Engaged

6

Question 4

When software is written, who owns the copyright?

How can somebody else be permitted to use the software?

How can copyright be transferred to somebody else?

7

Question 4

When software is written, who owns the copyright?

The person who writes the softwareExcept work for hire -- the employer

How can somebody else be permitted to use the software?

By permission from the copyright owner(usually a license)

How can copyright be transferred to somebody else?

Copyright is property that can be sold or given away(usually a contract)

8

Question 4

You are employed for company X writing software.

When you leave, who owns your work?

What use can you make of the work?

9

Question 4

You are employed for company X writing software.

When you leave, who owns your work?

The company (work for hire)

What use can you make of the work?

None without permission of the copyright owner

10

Question 4

You work free-lance for company X.

When you finish, who owns your work?

What use can you make of the work?

11

Question 4

You work free-lance for company X.

When you finish, who owns your work?

It depends on the circumstancesHave a written contract

What use can you make of the work?

If you hold the copyright -- unrestrictedOtherwise -- none without agreement

12

Distributed Objects and the System Life-Cycle

All large systems change with time.

• Dynamic binding of objects combined with polymorphism permits the addition of extra object types, incremental changes, etc. to be localized.

Development environments change with time.

• Language bindings and IIOP permit changes.

Production environments changes with time.

• Code can be reused in different environments.

13

Design for Usability

Usability of a computer system is a combination of factors:

• User interface design

• Functionality

• Performance

• Help systems and documentation

• Freedom from errors

Anything else?

14

Iterative Design

Requirements

DesignImplementation

(prototype)

Evaluation

15

Methods for Evaluation of Usability

• Observing users (user protocols)

• Focus groups

• Measurements effectiveness in carrying out tasksspeed

• Expert review

• Client's opinions

• Competitive analysis

16

Levels of Usability

interface design

functional design

data and metadata

computer systems and networks

conceptual model

17

The Conceptual Model

The conceptual model is the user's internal model of what the system provides:

• The desk top metaphor -- files and folders

• The web model -- click on hyperlinks

• The library model -- search and retrieve

• The form filling model -- fill form, submit

Example: The Mercury page turner

18

Interface Design

The interface design is the appearance on the screen and the actual manipulation by the user

• Fonts, colors, logos, key board controls, menus, buttons

• Mouse control or keyboard control?

• Conventions (e.g., "back", "help")

Example: Screen space utilization in the Mercury page turner

19

Principles of Interface Design

Interface design is partly an art; there are general principles:

• Consistency -- in appearance, controls, and function.

• Feedback -- what is the computer system is doing? why does the user see certain results?

• Users should be able to interrupt or reverse actions

• Error handling should be simple and easy to comprehend

• Skilled users offered shortcuts; beginners have simple, well-defined options

The user should feel in control

20

Disabilities

• What if the user:

is visually impaired or color blind?does not speak English?is a poor typist?

• There is a tradition of blind programmers

• Navigation of web sites need not be only visual

You may have a legal requirement to support people with disabilities

21

Functional Design

The functional design, determines the functions that are offered to the user

• Selection of parts of a digital object

• Searching a list or sorting the results

• Help information

• Manipulation of objects on a screen

• Pan or zoom

22

Same Functions, Different Interface

Example: The desk top metaphor

• Mouse -- 1 button (Macintosh), 2 button (Windows) or 3 button (Unix)

• Close button -- left of window (Macintosh) right of window (Windows)

23

Data and Metadata

Data and metadata stored by the computer system enable the functions and the interface

• The desktop metaphor has the concept of associating a file with an application. This requires a file type to be stored with each file:

-- extension to filename (Windows and Unix)-- resource fork (Macintosh)

• Data validation often requires that a user interface has access to a database (e.g., names and addresses)

24

Computer Systems and Networks

The performance, reliability and predictability of computer systems and networks is crucial to usability

• Response timeinstantaneous for mouse tracking and echo of key stroke5 seconds for simple transactions

• Example: Pipelined algorithm for the Mercury page turner

• Quality of Service for real time information

25

Design Tensions in Networked Systems

• Client computers and network connections vary greatly in capacity

• Client software may run on various operating systems; it may be current or an earlier version

• System designers wish to control clients; users wish to configure their own environments

26

Usability and Cost

• Performance may be expensive in hardware or special software development

• User interface development may be a major part of a software development project

• Costs are multiplied if a user interface has to be used on different computers or migrate to different versions of systems

Web browsers provide a general purpose user interface that others maintain

27

Extensibility in Web Browsers

• Data types: helper applications, plug-ins

• ProtocolsHTTP, WAIS, Gopher, FTP, etc.proxies

• Executable codeCGI scripts at serverJavaScript at clientJava applets

• Style sheets