Requirements Analysis & UML Models

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of requirements analysis?

  • To design the user interface of the system.
  • To write the code for the system's core functionalities.
  • To specify the system's hardware components.
  • To define the problem domain and not the solution domain. (correct)

Requirements analysis is primarily concerned with detailing the solution domain of a system.

False (B)

Which of the following is NOT a key benefit of performing requirements analysis?

  • Specifying the implementation details of the system. (correct)
  • Providing the first technical representation of a system.
  • Tracking and evaluating interfaces between system components.
  • Partitioning the system to handle complexity.

The analysis phase serves to define a set of requirements that can be ______ once the software is built.

<p>validated</p> Signup and view all the answers

Which of the following principles should be followed during the analysis phase?

<p>The analysis model should minimize coupling between functions and classes. (B)</p> Signup and view all the answers

In domain analysis, the primary focus is on identifying unique capabilities, rather than reusable ones.

<p>False (B)</p> Signup and view all the answers

Match the following modeling approaches with their descriptions:

<p>Flow-oriented modeling = Shows how data objects are transformed by processing functions. Scenario-based modeling = Represents the system from the user's perspective. Class-based modeling = Defines objects, attributes, and their relationships. Behavioral modeling = Depicts the states of classes and the impact of events on these states.</p> Signup and view all the answers

Which element of the analysis model describes the system's interactions with external entities and models the internal behavior?

<p>Behavioral elements (D)</p> Signup and view all the answers

In object-oriented analysis using UML, the emphasis is on defining ______ and their collaborative relationships.

<p>classes</p> Signup and view all the answers

In Structured Analysis, data and the processes manipulating that data are considered as a single unified entity.

<p>False (B)</p> Signup and view all the answers

An 'analysis model' is indifferent to which of the following?

<p>specific programming languages. (B)</p> Signup and view all the answers

What is the primary purpose of the Essential Model in Structured Analysis?

<p>Defining what the system must do, without specifying implementation. (D)</p> Signup and view all the answers

The Environmental Model in Structured Analysis defines the ______ and interaction between the system and the outside world.

<p>boundary</p> Signup and view all the answers

The Environmental Model in Structured Analysis defines the internal behavior and data entities of a system.

<p>False (B)</p> Signup and view all the answers

A System Context Diagram (SCD) is best described as:

<p>High-level view defining the boundary between the system and its environment. (A)</p> Signup and view all the answers

In a System Context Diagram, labeled lines between entities and the system represent ______.

<p>relationships</p> Signup and view all the answers

Which of the following is an INCORRECT statement regarding Terminators in a System Context Diagram (SCD)?

<p>Terminators can have direct connections to other terminators. (C)</p> Signup and view all the answers

Data stores in a System Context Diagram (SCD) are considered to be active components that initiate communication with each other.

<p>False (B)</p> Signup and view all the answers

How can the boundary of a system be modified within a System Context Diagram (SCD)?

<p>By adding or deleting terminators and/or shared stores. (C)</p> Signup and view all the answers

An Event List is a ______ list of the stimuli that occur in the outside world.

<p>narrative</p> Signup and view all the answers

What characterizes a Temporal event (T-Type)?

<p>An event associated with outgoing flow at specified intervals. (B)</p> Signup and view all the answers

In an Events Table, an Event Related Flow (ERF) is always listed as a separate event.

<p>False (B)</p> Signup and view all the answers

The Behavioral Model is composed of Data Dictionary, Entity Relationship Diagram, State Transition Diagram, and ______.

<p>data flow diagram</p> Signup and view all the answers

Which of the following statements about Data Flow Diagrams (DFDs) is correct?

<p>DFDs provide a visual representation of data moving through a system. (D)</p> Signup and view all the answers

A Data Flow Diagram (DFD) primarily focuses on describing the timing and sequence of processes, rather than the data flow.

<p>False (B)</p> Signup and view all the answers

What do DFDs primarily model?

<p>Network of data transforms operating on data (C)</p> Signup and view all the answers

Business analysts use DFDs to analyze existing systems and find ______.

<p>inefficiencies</p> Signup and view all the answers

Which of the following is modeled as a rectangle with rounded corners in a DFD?

<p>Process (B)</p> Signup and view all the answers

In a DFD, a single bubble represents the system by highlighting all processing details.

<p>False (B)</p> Signup and view all the answers

Which of the following symbols is used to represent an external entity in the Yourdon and Coad notation for DFDs?

<p>Rectangle (B)</p> Signup and view all the answers

In a Data Flow Diagram (DFD), the direction of the arrow representing data flow indicates the ______ of the data.

<p>destination</p> Signup and view all the answers

Which of the following statements about data flows in DFDs is correct?

<p>Data flows describe data passing between components of a system (B)</p> Signup and view all the answers

Data flow is a process where a single process must have only one incoming flow and one outgoing flow.

<p>False (B)</p> Signup and view all the answers

What names should External Entities be described with in your diagram?

<p>Noun (C)</p> Signup and view all the answers

You must have at least one input data flow and one output data flow in a ______.

<p>data store</p> Signup and view all the answers

Which data can flows be drawn between in a DFD without a correct transformation of a process?

<p>External Entity to an External Entity (A)</p> Signup and view all the answers

In a DFD, a data store can connect to another data store directly.

<p>False (B)</p> Signup and view all the answers

Match each item with what it's called:

<p>Collection of data stored in some way = Data Store Used to show data flows = DFD Can be used to document major data flows or explore new high-level designs = Data Flow Diagram For processes having too much complex decision logic to be written in structured english = Decision Table</p> Signup and view all the answers

Which tool is useful if processes are having too much complexity in decision logic to be written in structured english?

<p>Decision Table (B)</p> Signup and view all the answers

A physical process model describes processes with no specific implementation details.

<p>False (B)</p> Signup and view all the answers

In the context of DFDs, what is the term for an external entity that receives the data from the system?

<p>Sink (A)</p> Signup and view all the answers

What does requirements analysis specify about software?

<p>The software's operational characteristics. (A)</p> Signup and view all the answers

Requirements analysis focuses primarily on the solution domain rather than the problem domain.

<p>False (B)</p> Signup and view all the answers

Name two benefits of using graphics in requirements analysis.

<p>Easy to understand and maintain and Uses graphics whenever possible</p> Signup and view all the answers

The analysis model should focus on requirements that are ______ within the problem or business domain.

<p>visible</p> Signup and view all the answers

Which of the following is NOT typically considered a source of domain knowledge during domain analysis?

<p>Competitor's marketing materials. (A)</p> Signup and view all the answers

In object-oriented analysis, the primary focus is on defining data entities and their attributes, rather than classes and their interactions.

<p>False (B)</p> Signup and view all the answers

What are the two broad categories of models that a requirements analysis produces, when using UML?

<p>Static and Dynamic</p> Signup and view all the answers

An analyst or modeler elaborates on basic requirements established during earlier ______ engineering tasks.

<p>requirement</p> Signup and view all the answers

Match the analysis model element with its description:

<p>Use-case diagrams = Depict interactions between users and the system. Data-flow diagrams = Illustrate the flow of information through the system. State diagrams = Show different states objects can be in. Class Diagrams = Represent the static structure of the system.</p> Signup and view all the answers

According to the analysis rules of thumb, which of the following should be minimized throughout the system?

<p>Coupling (A)</p> Signup and view all the answers

In structured analysis, data and processes that manipulate the data are considered a single inseparable entity.

<p>False (B)</p> Signup and view all the answers

In the context of structured analysis, what two models make up the Essential Model?

<p>Environmental and Behavioral models</p> Signup and view all the answers

A System Context Diagram defines the ______ between the system and its environment.

<p>boundary</p> Signup and view all the answers

Which of the following is NOT a component of the Environmental Model in structured analysis?

<p>Data Flow Diagram. (C)</p> Signup and view all the answers

System Context Diagrams are primarily intended for technical stakeholders and thus use highly technical jargon.

<p>False (B)</p> Signup and view all the answers

What are the two core building blocks used to develop Context Diagrams?

<p>Entities (Actors) and Relationships</p> Signup and view all the answers

In a System Context Diagram, entities are named using a ______ noun.

<p>singular</p> Signup and view all the answers

Match the element of a System Context Diagram with its description:

<p>Terminator = An external entity that interacts with the system. Data Flow = Represents the data or information moving between components. Data Store = A repository holding persistent data. Single Bubble = Represents the entire system as a monolithic process.</p> Signup and view all the answers

Which component is exclusive to the Behavioral Model?

<p>All of the above (D)</p> Signup and view all the answers

In a data flow diagram, timing information is clearly represented to indicate process sequencing.

<p>False (B)</p> Signup and view all the answers

Name two benefits of using Data Flow Diagrams (DFDs).

<p>DFDs are easier to understand and overview a high-level system</p> Signup and view all the answers

Match the DFD notation element with its description using the Gane and Sarson notation.

<p>Process = Rectangle with rounded corners. Data Flow = Arrow showing the direction of data movement. Data Store = Open-ended rectangle. External Entity = Square.</p> Signup and view all the answers

What does a process always denote in a data flow diagram?

<p>Changes in data. (B)</p> Signup and view all the answers

In a DFD, a data flow must always originate from or terminate at a process.

<p>True (A)</p> Signup and view all the answers

In structured English, what programming construct does the ELSE clause implement?

<p>conditional</p> Signup and view all the answers

Structured English is well-suited for lengthy sequential processes or simple ______ logic.

<p>control</p> Signup and view all the answers

Match the Data Flow Diagram (DFD) element with its appropriate rule regarding connections:

<p>Processes = Can have more than one input and output. Data Flows = Data must come from or go to a process. External Entities = Cannot be connected to another External Entity. Data Stores = Must have at least one input and one output.</p> Signup and view all the answers

Data flows hold processes together and one end of the data flow will always be

<p>come from or go to a process (C)</p> Signup and view all the answers

Internal data stores are shown in System Context Diagrams

<p>False (B)</p> Signup and view all the answers

What term is used to describe data that is in motion

<p>data in motion</p> Signup and view all the answers

What data store represents long-term storage? Data are at ______

<p>rest</p> Signup and view all the answers

Match the DFD type, elements, and name with their descriptions:

<p>Process = Always denotes change in data Data Store = Represents data that is long-term. Data Flow = Describes information passing between systems. External entity = Interacts with a source or destination or data.</p> Signup and view all the answers

The same entity store can be used more than once to.

<p>For clarity in the diagram (A)</p> Signup and view all the answers

Data flows from external entities can connect to data stores directly

<p>False (B)</p> Signup and view all the answers

What is the recommended number of processes?

<p>10 processes</p> Signup and view all the answers

The key for creating level O is ______

<p>diagram</p> Signup and view all the answers

Match the following concepts that are necessary for multi-layer layering:

<p>Level 0 DFD = Cannot have over 10 processes Context Diagram = An overall system Level 1 DFD = Must have a child on the layer DFD</p> Signup and view all the answers

The reason building of a context diagram is important is to:

<p>Identify sources and links (B)</p> Signup and view all the answers

The process to carry out the task is a good logical functional decomposition

<p>True (A)</p> Signup and view all the answers

The data stores and data flows are validated across DFDs to ensure what?

<p>the level is balance</p> Signup and view all the answers

Documentation of DFD details extra what to be created?

<p>descriptions</p> Signup and view all the answers

What is the primary goal of requirements analysis in software engineering?

<p>To transform system specifications into a form suitable for designers. (A)</p> Signup and view all the answers

Name two types of models that are composed during requirements analysis.

<p>static and dynamic UML models</p> Signup and view all the answers

Structured analysis considers ______ and processes as separate entities.

<p>data</p> Signup and view all the answers

Which of the following is NOT an objective of the analysis phase in software development?

<p>To define a set of test cases for quality assurance. (D)</p> Signup and view all the answers

The analysis model should focus on requirements that are hidden within the technical implementation details.

<p>False (B)</p> Signup and view all the answers

What is the primary characteristic of events listed in an event list?

<p>They represent stimuli from the outside world. (C)</p> Signup and view all the answers

In a System Context Diagram (SCD), data stores can directly communicate with each other.

<p>False (B)</p> Signup and view all the answers

What are the three components of the Environmental Model in Structured Analysis?

<p>Statement of Purpose, Context Diagram, and Event List</p> Signup and view all the answers

In a System Context Diagram (SCD), the single bubble represents the system as a ______.

<p>whole</p> Signup and view all the answers

What is the primary purpose of a System Context Diagram (SCD)?

<p>To define the boundary between the system and its environment. (D)</p> Signup and view all the answers

In a DFD, a process can only have one input and one output data flow.

<p>False (B)</p> Signup and view all the answers

Name two notations used for drawing System Context Diagrams (SCDs).

<p>Yourdon and Coad notation</p> Signup and view all the answers

In DFD, If a process requires combining structured programming with narrative English, it is called ______

<p>structured English</p> Signup and view all the answers

Match the following DFD symbols with their descriptions:

<p>Process = Transforms input data into output data. Data Flow = Shows path for data to move from one DFD symbol to another Data Store = Represents long-term storage of data. External Entity = Represents external source or destination of data.</p> Signup and view all the answers

What is the main purpose of creating levels in Data Flow Diagrams (DFDs)?

<p>To manage complexity by organizing diagrams hierarchically. (A)</p> Signup and view all the answers

A level 0 DFD must contain every external entity featured at level 1.

<p>True (A)</p> Signup and view all the answers

Which of the data stores below cannot be shown on SCD, shared stores or internal stores?

<p>internal stores</p> Signup and view all the answers

Data flows hold ______ together and one end of the data flow will always come from or go to a process

<p>processes</p> Signup and view all the answers

Flashcards

Requirements Analysis

Specifies software's operational characteristics, indicates its interface with other system elements, and establishes constraints the software must meet.

Analysis Role

Transforms system specifications into a form suitable for designers, based on requirement elicitation results and a systematic procedure.

Value of Analysis

Provides the first technical representation of a system; uses graphics; differentiates essential versus implementation information.

Analysis Model

The software designer uses this as a representation of information, function, and behavior, which translates into designs.

Signup and view all the flashcards

Analysis Phase

To describe what the customer requires and establish a basis for the creation of a software design.

Signup and view all the flashcards

Analysis Model Focus

Focuses on requirements that are visible within the problem or business domain; the level of abstraction should be high.

Signup and view all the flashcards

Domain Analysis

The identification, analysis, and specification of common, reusable capabilities within a specific application domain.

Signup and view all the flashcards

Flow-oriented Modeling

Provides an indication of how data objects are transformed by a set of processing functions.

Signup and view all the flashcards

Scenario-based Modeling

Represents the system from the user's point of view.

Signup and view all the flashcards

Class-based Modeling

Defines objects, attributes, and relationships within a system.

Signup and view all the flashcards

Behavioral Modeling

Depicts the states of the classes and the impact of events on these states.

Signup and view all the flashcards

Elements of Analysis Model

High-level idea of the system from a functional perspective (scenario-based)

Signup and view all the flashcards

Flow-oriented elements

How information flows throughout the system.

Signup and view all the flashcards

Object-oriented Analysis

Focuses on defining classes and their collaborations to fulfill customer requirements.

Signup and view all the flashcards

Structured Analysis

Considers data and the processes that transform the data as separate entities.

Signup and view all the flashcards

Structured Analysis

Data and processes are considered separately.

Signup and view all the flashcards

Essential Model

Model of what the system must do, not how it will accomplish its purpose; a combination of environmental and behavioral models.

Signup and view all the flashcards

Environmental Model

Defines the scope of the proposed system, its boundary, and its interaction with the outside world; composed of a Statement of Purpose.

Signup and view all the flashcards

Behavioral Model

Model of the internal behavior and data entities of the system; models the functional requirements.

Signup and view all the flashcards

Statement of Purpose

A clear and concise textual description of the purpose for the system, intended for top level management and user management.

Signup and view all the flashcards

System Context Diagram (SCD)

Graphical system model that describes the most abstract view of a system; shows system boundary and scope, logical flow of data

Signup and view all the flashcards

Entities (Actors)

Labeled boxes representing the system and external actors.

Signup and view all the flashcards

Relationships

Labeled lines between the entities and the system

Signup and view all the flashcards

Single Bubble

Represents the system as a whole, hiding all processing details and internal stores; has a general name.

Signup and view all the flashcards

Data Flow Describes

Describes data/information passing between the system and terminators; connects the single bubble to terminators and shared stores.

Signup and view all the flashcards

Terminator (entity)

Person, organization, or another system interacting with the information system.

Signup and view all the flashcards

Data Store

Shows data; shared stores, are part of information system boundary. Name them by plural nouns

Signup and view all the flashcards

System Scope

Scope is modified by adding or deleting lines connecting the system to terminators and shared stores.

Signup and view all the flashcards

Event List

A narrative list of all stimuli that occur outside of the world, and has event occurrence.

Signup and view all the flashcards

Flow-oriented events (F-Type):

Initiated & triggered by terminator and is associated with data sent by terminator to the IS; system responds to the event once aware.

Signup and view all the flashcards

Temporal events (T-Type):

Occur at certain point in time or at certain time intervals; system acts as if it has its own clock and calendar.

Signup and view all the flashcards

Trigger

Every activity in software design should have some sort of trigger. What is that called?

Signup and view all the flashcards

F Event

Incoming is a F type event-related flow (ERF). What does it look and feel like?

Signup and view all the flashcards

Data Flow Diagrams

Data Flow Diagram is a diagram that graphically presents a flow of data through information.

Signup and view all the flashcards

DFDs in agile development

Data Flow Diagrams can be useful to analyze inefficiencies in agile systems.

Signup and view all the flashcards

DFD Data Input

Data Flow Diagrams show what type of data can be inputted to a system, and is an integral part of processes.

Signup and view all the flashcards

DFD use

DFDs provide detailed information in system design and analysis; this focuses system function design.

Signup and view all the flashcards

Process in DFD

When the activities transform with single data, it is called?

Signup and view all the flashcards

DFD Component

DFD consists of sources and data origin.

Signup and view all the flashcards

A process always denotes

Process specifications are used to denote changes in data.

Signup and view all the flashcards

What is Data Flow

Shows data flow from one process to another, but must describe directions.

Signup and view all the flashcards

Flow Arrow

An arrow shows how data proceeds throughout the system based on a variety of rules.

Signup and view all the flashcards

Data Store

Stored in collection in some collection data

Signup and view all the flashcards

External Entity

Connects system externally with some interrelationship that may be external.

Signup and view all the flashcards

What Data must Connect To

Data must connect to something what does it not connect to?

Signup and view all the flashcards

Functional decomposition

Shows what what type of flow it is, be iterative between steps.

Signup and view all the flashcards

Process amount allowed

Process has no more than 10 per DFD.

Signup and view all the flashcards

Data flow direction one direction?

Data flows need directions (no two headed)

Signup and view all the flashcards

Study Notes

Week 8 Agenda

  • Topics for this week include requirement analysis along with modeling techniques, structured analysis models, and UML models.

Requirements Analysis

  • Specifies the operational characteristics.
  • Indicates the software's interface with other system elements.
  • Establishes constraints that the software must meet.
  • Requirements analysis allows for software engineers to elaborate on basic requirements established.
  • Models are built to depict user scenarios, functional activities, problem classes and relationships, system behavior, and data flow.
  • Processes system specifications into the design which can transform the requirements from the elicitation results.
  • Systematic with heuristics.
  • Problem domain analysis occurs specifically for design.
  • Models are composed of static and dynamic UML models.
  • A model's static aspects are classes, relationships, and attributes, for modeling system structure.
  • A model's dynamic aspects capture object behavior and interactions for modeling system behavior.
  • Models should be correct, complete, consistent, and verifiable.
  • Supplies first technical representation of a system.
  • Promotes ease of understanding and maintenance.
  • Deals with size issues by partitioning the system.
  • Uses graphics when possible.
  • Differentiates between essential and implementation information.
  • Tracks and evaluates interfaces.
  • Provides tools besides narrative text to describe software logic and policy.

Purpose

  • Specifies the software's operational characteristics.
  • Indicates the software's interfaces with other system elements
  • Establishes the constraints that the software must meet.
  • Provides the software designer with a representation of these considerations: information, function, and behavior
  • This is later translated into architectural, interface, class/data and component-level designs.
  • Provides the developer and customer with the means to assess quality once the software is built.

Analysis Phase Objectives

  • Customer requirements are described.
  • Establishes a foundation for software design.
  • Provides requirements that are validated once the software is done.
  • Elements of an analysis model are traceable to parts of the design model, sometimes overlapping.

Analysis Rules of Thumb

  • Analysis models should focus on requirements that are visible within problems or business domains.
    • Level of abstraction should be relatively high
  • Each element should increase understanding of software and insights to:
    • Information domain, function, and behavior of system
  • Delay infrastructure and non-functional considerations until the design phase.
    • First complete the analysis of the problem domain
  • The model should minimize coupling throughout the system
    • Reduce the level of interconnectedness among functions and classes
  • Should provide value to all stakeholders.
  • Keep as simple as possible.

Domain Analysis

  • Identifies, analyzes and specifies common, reusable capabilities within a specific application domain.
    • Do this in common objects, classes, subassemblies, and frameworks
  • Sources of domain knowledge:
    • Technical literature
    • Existing applications
    • Customer surveys and expert advice
    • Current/future requirements
  • Outcome:
    • Class taxonomies
    • Reuse standards
    • Functional and behavioral models
    • Domain languages

Set of Models

  • Flow-oriented modeling indicates transformation of data objects by functions.
  • Scenario-based modeling represents the system from the user's point of view.
  • Class-based modeling defines objects, attributes, and relationships.
  • Behavioral modeling depicts the states of the classes and the impact of events on these states.

Elements of the Analysis Model

  • Scenario-based elements.
    • Use-case diagrams
    • Use case-text
    • Activity Diagrams
    • Swim lane diagrams
  • Flow-oriented elements.
    • Data-flow diagrams
    • Control flow diagrams
    • Processing narratives
  • Class-based elements.
    • Class diagrams
    • Analysis Packages
    • CRC Models
    • Collaboration diagrams
    • ER Diagrams
  • Behavioral elements.
    • State diagrams
    • Sequence diagrams
  • Scenario-based elements focuses on a high level of the system from the user or a functional perspective.
  • How information flows throughout the system is the focus of flow-oriented elements: data and control flow.
  • Behavioral elements respond to the systems external events and models the internal behavior.
  • Class-based elements focuses on a static view of the system and relating the different parts, with object-oriented development.

Analysis Modeling Approaches

  • The definition of classes is the focus of Object-oriented analysis (UML).
    • Classes collaborate with inter-relationships.
    • Predominantly object-oriented
  • Considers data and the processes that transform the data as separate entities in a structured analysis.
  • Data is modeled with only attributes and relationships (but no operations).
    • The processes will transform the data to show input data, transformations on the data and resulting output.

Object-Oriented, UML-based Analysis Model (Bruegge and Dutoit, 2000)

  • Includes:
    • Operation's pre-and post-conditions
    • Class invariants

Analysis Model (alternative to Object-Oriented, UML-based)

  • Focus of Structured Analysis.
    • Considers separately.
  • Attributes and relationships are used to models.
  • Transformations between data models.
  • Analysis model does not focus on a type.
    • can be applied and used to OO or structured design

Structural Analysis

  • The essential model is the element of a structural analysis.
  • Contains environmental and behavioral models.

Structured Analysis: Essential Model

  • The model describes what the system must do.
  • Defines what how the system will achieve its goals
  • Model is combined from behavioral and environmental model.

Structured Analysis : Environmental Model

  • Defines the scope of the proposed system.
  • Defines the boundary and interaction between the system and the outside world.
  • Contains:
    • Statement of Purpose,
    • Context Diagram, and
    • Event List.

Structured Analysis : Behavioral Model

  • Behavioral analysis models the system's internal behaviour and data entities.
  • Functional requirements are modelled.
  • Consists of
    • Data Dictionary
    • Data Flow Dlagram
    • Entity Relationship Diagram
    • Process Specification, and State Transition Diagram.

Structured Analysis : Environmental Model

  • Contains a statement of purpose.
  • Contain text diagrams.
  • An event list.

Statement of Purpose

  • Clear and concise textual description
  • For top level management, user management, and others not directly in the system.

System-Context Diagram (SCD)

  • Context Diagrams are used to define a system's or component's boundary with external entities, shown as high-level systems similar to block diagrams.
  • SCDs are graphical system models describing the most abstract system view.
  • System boundary and scope as well as interacting people, organizations, and systems are defined.
  • Includes logical data flows, non-physical. System Context Diagram (SCD)
  • Used early to agree on scope.
  • Written plainly for all project stakeholders.

System Context Diagram (SCD)

  • Two building blocks:
    • Entities (Actors)
    • labeled boxes in the center, representing the system. Also around it, multiple boxes for actors.
    • Relationships: labeled lines between the entities.

Yourdon and Coad Notation

  • Includes the terminator on where the datastore is located.

SCD Elements: Single Bubble

  • Represents system as a whole, hiding local processing / internal details and stores.
  • Has a general name. such as a company and department

SCD Elements: Data Flow

  • Normally flows are IN and OUT of the system.
  • Data flow describes data/information passing between system (single bubble) and terminators.
  • Connects single bubble to terminators and connects terminators to shared stores.
    • Shared stores become part of system boundary
  • Data flow labels: data item, collection of data items, record,

SCD Elements: Terminator (entity)

  • Person, organization, another system interacting with the information system.
  • Always connected to single bubble and shared store.
  • Name them with singular noun describing role: customer, manager.
  • There are no terminators.

SCD Elements: Data Store

  • Shows databases/files
  • Internal are not shown but shared are.
  • Shared stores part of IS boundary.
  • Name then by plural nouns (eg. Sales)
  • They don't communicate directly, passive.

Boundary and Scope

  • System Boundary: Number of terminators and shared stores.
    • Modify it adding or deleting and adding a shared store.
  • System Scope: Number of lines connected. -Can be modified by adding or deleting lines connecting to share stores or terminators.

Steps to Draw a Context Diagram

  • List activity
  • Draw system bubble
  • Identify external data stores
  • Recognize all details of the store.

Practical Exercise: University Enrollment System

  • A student sends an application form containing his personal and desired course.
  • The university checks the course availability.
  • If the course is available, the student is registered, and the university confirms the enrollment by sending a confirmation letter.
  • If the course is unavailable or the student is not registered/ the university sends a rejection letter.

Event List

  • A narrative list of "stimuli" in the outside world.
  • Time/place events which should be remembered by target system.
  • IS must prep responses to what occurs.
  • Respond only to some events and functions.

Types of Events: F-Type

  • Flow-oriented events (F-Type)
    • Initiated & triggered by terminator
    • Associated with data sent by terminator to IS
    • External, the system makes respond aware of them. -Triggered by the environment with data sent to IS -One response

Types of Events: T-Type

  • Occurs at a point of time.
    • Daily
  • Acts based on the clock
    • Time pre programmed
  • Is an outgoing flow

Events Table

  • Outlines everything about how the diagrammed actions occur.
  • The Event is whatever initiates the action.
  • The Trigger describes what starts the Event.
  • The Source is whoever is doing the action
  • The Activity describes the outcome of the action
  • Lists if its temporal or a response action.

F-Event and ERF

  • Is every incoming flow an F-Type?
    • No, can be flows related.
  • Long break between events create separate.
  • Short pause causes the second event to require to “"ERF” and is not listed on Event Table"

Structured Analysis : Behavioral Model

  • Data Dictionary
  • Data Flow Diagram
  • Entity Relationship Diagram
  • Process Specification, and State Transition Diagram.

Data Flow Diagram(DFD)

  • Proposed by Larry Constantine of structured design based on Martin and Estrin's "Graph Model" of computation.
  • Became a popular way to visualize the major steps and data in software system processes.
  • Used to show the process of modeling data.
  • Useful to documentation.

DFD

  • A Data Flow Diagram models "flow" of data, process aspects. and information through a system.
  • Used as prelinary to overview or used to for data processing for structured design.

Data Flow Diagram

  • Shows what information is to and from system
  • Shows timing / information

Why DFDs

  • View systems as networks of data transformation.
  • Show systems functional model
  • SSAD uses organize for it.

Applications

  • Used in business analysis in for finding inefficiencies using processes.
  • To visualizing things.

Data Flow Diagram

  • Is a structured analysis technique for creating a graphical representation of data flow.
  • Is series of steps and decisions
  • Shows input proccessed put, stored

DFD Consists of:

  1. Sources (originator of data)
  2. Processes
  3. Data stores (e.g. file or database)
  4. Sinks (consumer of data)
  5. Data Flow (arrow)

A Process

  • Transformation of data is placed here
  • Input and give an output
  • Processes needs: Name, Number, Description
  • Represented by rounded rectangle

Examples

  • Used to show look if you are able to have

Process Modeling

  • May be of two types can be use
    • Logic
    • physical

Description

  • Writing method for specs
  • Combines methods.
  • Logic for steps.
  • Good for loops.

Description

  • To if a customer then proceed to next step
  • While adding to check what being.

A process with description

  • Logic description of the process.

Processes Rules:

  • More has than one out/Input
  • Needs to be followed by all functions.

Data Flow

  • Must be followed with data
  • has names /description

DFD Consists of:

  • Most can be found using data flow

Data Store

  • Data put away long time
  • Named with an ID and description
  • Used for data

External Entity (Source of Sink)

  • Connects to the system that takes/sends out
  • Can be used multi
  • Has name and name details

Types

  • Rules connect
  • Processes to processes

Data Flow

  • Some incorrect ones exist , use all the connection for DFD.

Evaluation

  • If is correct that should be followed through each step.

Levels

  • Each need to start with data, all DFD.

Building

List 1 data and major functions system processes Identify which process produce data and which process require data production from external identities.

Evaluation

  • Name and description
  • Follow these details as name
  • Number must be follow 10

Rules summary and validation

  • DFDs must be valid based on the Context Diagram, Decomposition, and Balance

Types

  • Errors can be committed in making
  • Evaluation of DFD can can improve process

Validating evaluation

  • Evaluation is done as you look for details and issues.

<

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser