Information Technology Reference
In-Depth Information
CA2
The software should work with the mouse using push, drag, and release
action
Then, the desired first-level functional requirements of the software can be
described as follow:
FR1
=
=
Define element.
Specify drawing environment.
b. Mapping between the domains and the independence of software functions:
The mapping for the first level can be derived as shown in (13.5). The upper
character in the design matrix area represents a diagonal relationship and the
lower in table character represents an off-diagonal relationship.
FR2
=
FR1: Define element
R2: Specify drawing environment
A0
aB
DP1: Element characteristics
DP2: GUI with window
=
(13.5)
c. Decomposition of
: The entire decomposition infor-
mation can be summarized in (13.6)-(13.12), with the entire design hierarchy
depicted in Figure 13.7.
FRs
,
DPs
, and
PVs
{
}
{
}
{
}
=
FR11: Define line element
FR12: Define rectangle element
FR13: Define circle element
C0 0
0D0
00E
DP11: Line chracteristic
DP12: Rectangle chracteristic
DP13: Circle characteristic
(13.6)
=
FR21: Identify the drawing type
FR22: Detect drawing location
FR23: Draw an element
F 00
bG 0
c
DP21: Ratio buttons
DP22: Mouse click information
DP23: Drawing area (i.e . canvas)
0
H
(13.7)
FR111: Define start
FR112: Define end
I0
0J
DP111: Start point
DP112: End point
=
(13.8)
FR121: Define upper left corner
FR122: Define lower left corner
K0
0L
DP121: Upper left point
DP122: Lower right point
=
(13.9)
FR131: Define center
FR132: Define radius
M0
0N
DP131: Center point
DP132: Radius
=
(13.10)
=
FR211: Identify line
FR212: Identify rectangle
FR213: Identify circle
O00
0P0
00Q
DP211: Line button
DP212: Rectangle button
DP213: Circle button
(13.11)
FR221: Detect mouse push
FR222: Detect mouse release
R0
0S
DP221: Event for push
DP222: Event for release
=
(13.12)
d. Definition of modules—Full-design matrix: When the decomposition process
finishes, an inconsistency check should be done to confirm the decomposition.
Search WWH ::




Custom Search