Академический Документы
Профессиональный Документы
Культура Документы
Logic requirements
Structured english
structured English is a modified form of English that is used to
s[ecofy the contents of process boxes in a DFD. It differs from
regular English in that it uses a sub set of English vocabulary to
express information system process procedures.
Action verbs are used these include read, write, print sort move
merge add subtract multiply and divide
Structured English does not use adjectives or adverbs.
It is used to represent processes in a shorthand manner that is
relatively easy for users and programmers to read and understand.
Theres no standard version each analyst will have his or her own
particular dialect
Decision tables
Sometimes the logic of a process can become quite complex. If
several different conditions are involved and combinations of
these conditions dictate which of the several actions should be
taken then structured English may not be adequate for
representing the logic behind such a complicated choice
A decision table is a diagram of process logic where the logic is
reasonably where the logic is reasonably complicated. All
possible choices and the conditions the choices depend on are
represented in a tabular form. The table has 4 tabs. The
conditions, condition entries. Action and action entries. The
condition stub contains the various conditions that apply to the
situation the table is modelling
Decision trees
A decision tree is a graphical representation of
the conditions, actions, and rules found in a
decision table. Decision trees show the logic structure in
a horizontal form that resembles a tree with the roots at
the left and the branches to the right. Like flowcharts,
decision trees are useful ways to present the system to
management. Decision trees and decision tables
provide the same results, but in different forms. In many
situations, a graphic is the most effective means of
communication.
Data dictionary
The data dictionary is the central documentation tool for
structured analysis. All data elements, data flows, data
stores, processes, entities, and records are documented
in the data dictionary. Consolidating documentation in
one location allows you to verify the information
systems accuracy and consistency more easily and
generate a variety of useful reports.
Attributes
If objects are similar to nouns, attributes are similar to
adjectives that describe the characteristics of an object.
How many attributes are needed? The answer depends on
the business requirements of the information system and
its users.
Systems analysts define an objects attributes during the
systems design process. In an object-oriented system,
objects can inherit, or acquire, certain attributes from
other objects. When you learn about relationships
between objects and classes, you will understand how
that occurs.
Messages
A message is a command that tells an object to perform
a certain method. For example, the message ADD
STUDENT directs the STUDENT class to add a STUDENT
instance. The STUDENT class understands that it should
add the student number, name, and other data about
that student. The same message to two different
objects can produce different results. The concept that a
message gives different meanings to different objects
is called polymorphism.
You can view an object as a black box, because a message to the object
triggers changes within the object without specifying how the changes
must be carried out. A gas pump is an example of a black box. When you
select the economy grade at a pump, you do not need to think about
how the pump determines the correct price and selects the right fuel, as
long as it does so properly.
The black box concept is an example of encapsulation, which means that
all data and methods are self-contained. A black box does not want or
need outside interference. By limiting access to internal processes, an
object prevents its internal code from being altered by another object or
process. Encapsulation allows objects to be used as modular components
anywhere in the system, because objects send and receive messages
but do not alter The internal methods of other objects.