Se201-Software Requirements Analysis
Se201-Software Requirements Analysis
Se201-Software Requirements Analysis
REQUIREMENTS ANALYSIS
LECTURE 14
User Interface Design
Types of Input Validation
Completeness check: Ensures that all required data have been entered.
Format check: Ensures that data are of the right type (e.g., numeric) and in the right format (e.g., month, day, year).
Range check: Ensures that numeric data are within correct minimum and maximum values.
Database checks: Compare data against a database (or file) to ensure that they are correct.
For example, before an identification number is accepted, the database is queried to ensure that the number is valid.
Because database checks are more “expensive” than the other types of checks (they require the system to do more
work), most systems perform the other checks first and perform database checks only after the data have passed the
previous checks.
MESSAGE TIPS
Should be
clear, concise, and complete
grammatically correct
free of jargon
free of abbreviations
• Poor error messages can mean that a user rejects rather than accepts a system.
• The background and experience of users should be the determining factor in message design
TYPES OF MESSAGES
Confirmation message: Asks the user to confirm that he or she really wants to perform the action selected.
When to Use:
When user selects a potentially dangerous choice, such as deleting a file
Notes:
o Always explain the cause and suggest possible action.
o Often include several choices other than “OK” and “cancel.”
TYPES OF MESSAGES
Acknowledgment message: Informs the user that the system has accomplished what it was asked to do.
When to Use:
Seldom or never; users quickly become annoyed with all the unnecessary mouse clicks
Notes:
o Acknowledgment messages are typically included because novice users often like to be reassured that an action has
taken place.
o The best approach is to provide acknowledgment information without a separate message on which the user must
click.
o For example, if the user is viewing items in a list and adds one, then the updated list on the screen showing the
added item is sufficient acknowledgment.
TYPES OF MESSAGES
Delay message: Informs the user that the compute system is working properly.
When to Use:
When an activity takes more than seven seconds
Notes:
o This message should permit the user to cancel the operation in case he or she does not want to wait for its
completion.
o The message should provide some indication of how long the delay may last.
TYPES OF MESSAGES
Help message: Provides additional information about the system and its components.
When to Use:
In all systems
Notes:
o Help information is organized by table of contents and/or keyword search.
o Context-sensitive help provides information that is dependent on what the user was doing when help was
requested.
SYSTEM
DESIGN
Key Definitions
Design phase
Decide how to build the system
Create system requirements that describe technical details for building the
system
System specification
Final deliverable from design phase
Conveys exactly what system the design team will implement during the
implementation phase
Design Phase Steps
Present design alternatives (make, buy, or outsource)
Convert logical process and data models into physical models
Design the architecture for the system
Make hardware and software selections
Design the system inputs and outputs
Design the way data will be stored
Design the programs for the underlying processes
Create the system specification
Classical Design Mistakes
Pros Cons
Allows flexibility Requires significant time
and creativity and effort
A workaround is a custom-built add-on program that interfaces with the packaged application to
handle special needs.
It can be a nice way to create needed functionality that does not exist in the software package.
Building systems by combining packages, existing legacy (heritage, inheritance) systems, and custom
pieces
The key challenge in systems integration is finding ways to integrate the data produced by the different
packages and legacy systems.
The project team starts by examining the data produced by and needed by the different packages and
systems and identifying the transformations that must occur to move the data from one to the other.
Outsourcing
Hiring an external vendor, developer, or service provider to create or supply the system.
Time frame Time frame is flexible Time frame is short Time frame is short or
flexible
Your Turn
The user interface design principle that places an emphasis on the user’s
ability to always know where he/she is in the system and what
information is being displayed is _____.
a) aesthetics
b) consistency
c) content awareness
d) layout
e) user experience
Question
Novice users prefer _____ while expert users prefer _____.
a) ease of use, ease of learning
b) ease of use, good layout
c) consistency, ease of learning
d) ease of learning, ease of use
e) ease of learning, consistency
Answer
Most user interface designers follow the minimal user effort principle
by permitting users to go from the main menu of the system to the
information or action need in no more than five mouse clicks or five
keystrokes.
Answer
TRUE/FALSE
Most user interface designers follow the minimal user effort principle by
permitting users to go from the main menu of the system to the
information or action need in no more than five mouse clicks or five
keystrokes.
FALSE
Question
TRUE/FALSE
Messages are the way in which the system responds to a user and
informs him or her of the status of the interaction; they should be clear,
concise, complete, grammatically correct, free of unfamiliar jargon, and
avoid confusing negatives.
Answer
TRUE/FALSE
Messages are the way in which the system responds to a user and
informs him or her of the status of the interaction; they should be
clear, concise, complete, grammatically correct, free of unfamiliar
jargon, and avoid confusing negatives.
TRUE
Question
Use the following class diagram to answer the questions that following
it. If there isn't enough information in the diagram to answer the
question, state as much.
Ans.
a) No, the multiplicity on the employee side is 1..*.
b) Yes, the multiplicity on the employer side is * so 0 is a valid value.
Question
Sequence Diagram: To give an exam, an instructor first notifies the students of
the exam date and the material to be covered. She then prepares the exam paper
(with sample solutions), gets it copied to produce enough copies for the class,
and hands it out to students on the designated time and location. The students
write their answers to exam questions and hand in their papers to the instructor.
The instructor then gives the exam papers to the TAs, along with sample
solutions to each question, and gets them to mark it. She then records all marks
and returns the papers to the students. Draw a sequence diagram that
represents this process. Make sure to show when each actor is participating in
the process. Also, show the operation that is carried out during each interaction,
and what its arguments are.
Answer
Question
Given the following problem description, draw a UML class diagram:
As you can see in the diagram, this activity diagram shows the
responsibilities of 3 actors: customers, sales and stockroom