meljun cortes analysis modeling------> tools for thesis writing in bsit/bscs

Upload: meljun-cortes-mbampa

Post on 14-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    1/59

    Analysis ModelingChapter 12DFD , ERDTopics

    MELJUN CORTESMELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    2/59

    Who does AnalysisModeling?

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    3/59

    Why Analysis Modeling?

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    4/59

    Analysis ModelAnalysis Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    5/59

    Analysis Model

    Structure of Analysis Model

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    6/59

    Analysis Model

    The analysis model must achieve three primaryobjectives

    to describe what the customer requires,

    to establish a basis for the creation of a softwaredesign, and

    to define a set of requirements that can be validatedonce the software is built.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    7/59

    Data ModelingAnalysis Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    8/59

    Data Modeling

    Data modeling answers a set of specific questionsthat are relevant to any data processingapplication. What are the primary data objects to be processed by

    the system? What is the composition of each data object and what

    attributes describe the object? Where do the objects currently reside? What are the relationships between each object and

    other objects? What are the relationships between the objects and the

    processes that transform them?

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    9/59

    Data Objects, Attributes,And RelationshipsData Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    10/59

    Data Objects, Attributes, AndRelationships Data Objects

    A data object is a representation of almost any

    composite information that must be understood bysoftware.

    A data object can be an external entity, a thing, anoccurrence or event, a role, an organizational unit, aplace, or a structure.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    11/59

    Data ObjectsData Objects

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    12/59

    Data Objects, Attributes, AndRelationships Attributes

    Attributes define the properties of a data object andtake on one of three different characteristics. They canbe used to

    name an instance of the data object,

    describe the instance, or

    make reference to another instance.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    13/59

    AttributesAttributes

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    14/59

    Data Objects, Attributes, AndRelationships Relationships

    Data objects are connected to one another in

    different ways.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    15/59

    RelationshipsRelationships

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    16/59

    Entity Relationship DiagramData Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    17/59

    Entity Relationship Diagram

    Entity Relationship Diagram is therepresentation of data objects between theirrelationships.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    18/59

    Entity RelationshipDiagram

    Expanded ERD

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    19/59

    Functional ModelingAnalysis Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    20/59

    Functional Modeling

    Information is transformed as it flows througha computer-based system. The system acceptsinput in a variety of forms; applies hardware,

    software, and human elements to transform it;and produces output in a variety of forms.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    21/59

    Functional ModelingInformation flow model

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    22/59

    Data Flow DiagramsFunctional Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    23/59

    Data Flow Diagrams

    As information moves through software, it ismodified by a series of transformations.

    A data flow diagramisagraphicalrepresentation that depicts information flowand the transforms that are applied as data

    move from input to output.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    24/59

    Data Flow Diagram

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    25/59

    Extensions for Real-TimeSystemsFunctional Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    26/59

    Extensions for Real-Time Systems

    Many software applications are timedependent and process as much or morecontrol-oriented information as data.

    A real-time system must interact with the realworld in a time frame dictated by the realworld. Aircraft avionics, manufacturing process

    control, consumer products, and industrialinstrumentation are but a few of hundreds ofreal-time software applications.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    27/59

    Behavioral ModelingAnalysis Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    28/59

    Behavioral Modeling

    Behavioral modeling is an operational principlefor all requirements analysis methods.

    It also reproduces the required behavior of theoriginal analyzed system, such as there is aone-to-one correspondence between the

    behavior of the original system and thesimulated system

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    29/59

    Behavioral Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    30/59

    Structured AnalysisMechanicsAnalysis Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    31/59

    Entity Relationship DiagramStructured Analysis Mechanics

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    32/59

    Entity Relationship Diagram

    1. During requirements elicitation, customersare asked to list the things that the

    application or business process addresses.

    These things evolve into a list of input andoutput data objects as well as external entitiesthat produce or consume information.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    33/59

    Entity Relationship Diagram

    2. Taking the objects one at a time, the analystand customer define whether or not aconnection (unnamed at this stage) exists

    between the data object and other objects.

    3. Wherever a connection exists, the analyst and

    the customer create one or moreobject/relationship pairs.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    34/59

    Entity Relationship Diagram

    4. For each object/relationship pair, cardinalityand modality are explored.

    5. Steps 2 through 4 are continued iterativelyuntil all object/relationships have beendefined. It is common to discover omissions

    as this process continues. New objects andrelationships will invariably be added as thenumber of iterations grows.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    35/59

    Entity Relationship Diagram

    6. The attributes of each entity are defined.

    7. An entity relationship diagram is formalized

    and reviewed.

    8. Steps 1 through 7 are repeated until data

    modeling is complete.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    36/59

    Entity Relationship Diagram Connections

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    37/59

    Entity Relationship Diagram Developing Relationships

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    38/59

    Data Flow ModelStructured Analysis Mechanics

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    39/59

    Data Flow Model

    The level 0 data flow diagram should depictthe software/system as a single bubble;

    Primary input and output should be carefullynoted;

    Refinement should begin by isolatingcandidate processes, data objects, and stores tobe represented at the next level;

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    40/59

    Data Flow Model

    All arrows and bubbles should be labeled withmeaningful names;

    Information flow continuity must bemaintained from level to level, and

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    41/59

    Data Flow Model

    One bubble at a time should be refined. Thereis a natural tendency to overcomplicate thedata flow diagram. This occurs when the

    analyst attempts to show too much detail tooearly or represents procedural aspects of thesoftware in lieu of information flow.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    42/59

    Data Flow ModelLevel 0

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    43/59

    Data Flow ModelLevel 1

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    44/59

    Data Flow ModelLevel 1

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    45/59

    Grammatical ParseStructured Analysis Mechanics

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    46/59

    Data Flow ModelLevel 1

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    47/59

    Data Flow ModelLevel 2Monitor Sensors

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    48/59

    Control Flow ModelStructured Analysis Mechanics

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    49/59

    Control Flow Model

    List all sensors that are "read" by the software.

    List all interrupt conditions.

    List all "switches" that are actuated by anoperator.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    50/59

    Control Flow Model

    List all data conditions.

    Recalling the noun/verb parse that was

    applied to the processing narrative, review all"control items" as possible CSPECinputs/outputs.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    51/59

    Control Flow Model

    Describe the behavior of a system byidentifying its states; identify how each state isreached; and define the transitions between

    states.

    Focus on possible omissions

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    52/59

    Control SpecificationStructured Analysis Mechanics

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    53/59

    Control Specification

    The control specification (CSPEC) representsthe behavior of the system in two differentways.

    The CSPEC contains a state transitiondiagram that is a sequential specification of

    behavior. It can also contain a programactivation tablea combinatorial specificationof behavior.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    54/59

    Data DictionaryAnalysis Modeling

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    55/59

    Data Dictionary

    The data dictionary is an organized listing ofall data elements that are pertinent to thesystem, with precise, rigorous definitions so

    that both user and system analyst will have acommon understanding of inputs, outputs,components of stores and [even] intermediatecalculations.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    56/59

    Data Dictionary

    Name

    the primary name of the data or control item, the

    data store or an external entity.

    Alias

    other names used for the first entry.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    57/59

    Data Dictionary

    Where-used/how-used

    a listing of the processes that use the data or

    control item and how it is used.

    Content description

    a notation for representing content.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    58/59

    Data Dictionary

    Supplementary information

    other information about data types, preset values

    (if known), restrictions or limitations, and so forth.

    MELJUN CORTES

  • 7/27/2019 MELJUN CORTES Analysis Modeling------> Tools for thesis writing in BSIT/BSCS

    59/59

    Data Dictionary