ITC LAB 4 - Flowcharts
ITC LAB 4 - Flowcharts
LAB # 4
Theory
The start and the end of a problem solving process are indicated using the ellipse. The two
numbers A and B data or information are represented by parallelograms. The next step is to
add these two numbers, which is called processing. The detail of processing of data is
represented in a rectangle.
1
Introduction to Computing LAB 4: Flow chart and UML diagrams
No
A diamond with two branches is used to
show the decision making step in a
flowchart. A question is specified in the
Diamond
diamond. The next step in the sequence is
Yes based on the answer to the question which
is “Yes” or “No”.
Drawing a flowchart
2
Introduction to Computing LAB 4: Flow chart and UML diagrams
UML diagrams:
The Unified Modeling Language (UML) is graphical language that lets you model
or visualizes systems and software. UML is widely used in industry to design,
develop and document complex software. Diagrams are easier to understand than
Text, so they are more appropriate to document systems than comments in millions
of lines of code.
There are two main categories with 14 different types of UML diagrams, each of
which is used in a different situation.
1. Structure diagrams: show the static relationships between the components in
the system.
2. Behavior diagrams: show how the components in the system react to each
other, they capture how the system changes, and in some diagrams, how it
changes over time.
3
Introduction to Computing LAB 4: Flow chart and UML diagrams
4
Introduction to Computing LAB 4: Flow chart and UML diagrams
Use cases are defined from a user/actor’s point of view. An actor is a role that
people (users) or devices play as they interact with the software. In use case
diagrams actors may be users or processes that interact with your system Use cases
are the description of the functionality of the system from a user’s perspective. It is
used to show the functions to be provided by the system, also defines which user
will use which function. These are represented by stick figures.
Actor
• Anything that needs to exchange information with the system.
• Could be people, or other external systems.
• Define roles that users can play while using the system.
Use cases
Use-case is a business requirement and a pattern of behavior which the new system
is required to display. To find use-case, examine each actor and its task. e.g.
5
Introduction to Computing LAB 4: Flow chart and UML diagrams
6
Introduction to Computing LAB 4: Flow chart and UML diagrams
Lab Task _
Lab Task. 4.1 ) The following empty flowchart gives the steps to be followed while
taking admission to Hamdard University. The phrases to be filled in the boxes are
also given. Complete the flowchart by filling in the number of the correponding
phrase, inside each box.
Lab Task. 4.2 ) Create a Use Case diagram for HU LMS, show its users and tasks that
users perform. Users included Students, Faculty, Management, IT officer.