My Se Report

Embed Size (px)

Citation preview

  • 8/2/2019 My Se Report

    1/42

    1

    INTRODUCTION

    Name/ Title of the Project: - University Management System (Online Website)

    In University Management System, All Colleges, students, staff members and

    administrative staff have their own user accounts and passwords. Each can view his account

    information. She/he can edit only their personal information not regarding with college and

    student information. Rather than only management there will be some other activities also

    like Online Aptitude Test, General Knowledge Questions. Desired links should be on the web

    pages such rediffmail, yahoomail, Gmail, and many more website links for downloading and

    viewing book on various subjects.

    Backgrounds:

    University is having a large no of Students, Colleges and their staff, teaching as well as non-

    teaching. University is having a big problem for maintaining their records such that their staff

    attendance, their College Records, staff salary, their duties, result of exams, merit list etc.

    Manual Databases were the older one method to handle such these problems. But now

    days these types of manual databases cant be so helpful in reducing the complexity. We have

    to implement new technologies with the time so we can make our system better.

    There will be a contact us and feedback form available on the site. By

    filling up that form he/she may contact to administrator of website. This all information of

    contact us and feedback will be stored in databases that the administrator can see as weekly

    or daily basis.

  • 8/2/2019 My Se Report

    2/42

    2

    Purpose, Scope and Applicability of the Project (Web Site):-

    Web design presents a challenge few have mastered. We have all used

    web sites that provide us with what we are looking for, and many more that don't, but what

    makes some sites more appealing than others?

    Following points are the importance of having clearly defined and prioritized

    objectives when developing web sites. So what is the purpose, or objectives of a web site?

    Objective should be to help students, colleges and staff.

    Help them buy something they need.

    Help them find Information.

    Help them to talk to the University Mgt.

    There are 4 ways for helping users, 4 web objectives, as discussed below.

    Help them find Information - Serve

    Help them to Save money and time - Save

    Help them to talk to the Organization - Speak

    Help them to enjoy a great web experienceSizzle

    Design priorities do vary. For example some sites focus on service, other sites focus

    on sales. Clarifying the key objectives, purpose or priorities helps to determine the content

    and structure of the site. This site will focus on services given to its users and have clear

    objectives. Asking "How can my web site help more to the website users?" through

    suggestion and feedback form.

    To review designed websites will:

    Ask how the site helps their Users. Rate their services.

    And also ensures:

    Quality Contents

    Easy to Use

    Quick Downloads

    Frequent Update.

  • 8/2/2019 My Se Report

    3/42

    3

    Students will be able to:

    Learn about the University.

    See Gallery Photographs

    Access a glossary of content area terms

    Link to related sites

    Notice Boards

    Teachers will be able to access:

    Lesson plans, Syllabus.

    Find related college websites

    Titles for related trade literature

    Suggestions for lesson extensions, field trips and Notice Boards.

    Hardware & Software Requirements:-

    The first step in the system development life cycle is the identification of

    the needs. This is a users request to change, improve or enhance an existing system.

    Because there is likely to be a stream of such requests, standard procedures

    must be established to deal with them. The preliminary investigation is one way of handlingthis. The objective is to determine whether the request is valid and feasible before a

    recommendation is reached to do nothing, improve or modify the existing system or build a

    new one.

    In my project, there are very simple requirements in the computer. To achieve

    my purpose my hardware and software requirements one as follows:-

    Hardware RequirementsThe basic minimum hardware requirement for operating this

    project efficiency is:

    CPU

    Type Specification

    Processor Pentium 166M Hz or up

    Speed 266 MHZ or more

    RAM 256 MB or more CacheMemory 512 KB or more

  • 8/2/2019 My Se Report

    4/42

    4

    Peripherals

    Type Specification

    Monitor VGA Color

    Mouse Serial

    Keyboard Standard

    Printer Color/black & white

    Storage Media

    Type Specification

    Hard Disk 1.2 GB or more

    Floppy Disk 1.44MB

    CD -ROM 48x/52x

    Software Requirements: The software requirements for this project are:-

    Type Specification

    Operating System Windows XP, Window Vista, Window 7

    Front End Microsoft Visual Studio 2008,Photoshop

    Back End MySQL Server, Microsoft Access

  • 8/2/2019 My Se Report

    5/42

    5

    SYSTEM STUDY AND ANALYSIS

    ANALYSIS PHASE

    The analysis phase defines the requirements of the system, independent of how theserequirements will be accomplished. This phase defines the problem that the customer is

    trying to solve. The deliverable result at the end of this phase is a requirement document.

    Ideally, this document states in a clear and precise fashion what is to be built. This analysis

    represents the ``what'' phase. The requirement document tries to capture the requirements

    from the customer's perspective by defining goals and interactions at a level removed from

    the implementation details.

    The requirement document may be expressed in a formal language based on mathematical

    logic. Traditionally, the requirement document is written in English or another written

    language.

    The requirement document does not specify the architectural or implementation details, but

    specifies information at the higher level of description. The problem statement, the

    customer's expectations, and the criteria for success are examples of high-level descriptions.

    There is a fuzzy line between high-level descriptions and low-level details.

    Sometimes, if an exact engineering detail needs to be specified, this detail will also appear in

    the requirement document. This is the exception and should not be the rule. These exceptions

    occur for many reasons including maintaining the consistency with other established systems,availability of particular options, customer's demands, and to establish, at the requirement

    level, a particular architecture vision.

    DRAWBACKS OF THE EXISTING SYSTEM

    As we know the manual processing is quite tedious, time consuming, less accurate in

    comparison to computerized processing. Obviously the present system is not is exception

    consultant encountering all the above problems.

    1. Time consuming.

    2. It is very tedious.

    3. All information is not placed separately.

    4. Lot of paper work.

    5. Slow data processing.

    6. Not user-friendly environment.

    7. It is difficult to found records due file management system.

  • 8/2/2019 My Se Report

    6/42

    6

    FEASIBILTY STUDY

    As feasibility study is the test of the system proposal according to its work ability, impact on

    the organization, ability to meet user needs and effective use of resource. It focuses on three

    major questions:

    1. What are user's demonstrable needs and how does a candidate system meet them.2. What resources are available for a given candidate system? Is the problem worth

    solving?

    3. What is likely impact of the candidate system on the organization?Each of these questions revolves around investigation evaluation of the problem,

    identification and description of the candidates system, specification of performance and the

    cost of each system and final selection of the best system.

    The objective of the feasibility study is not to solve the problem, but to acquire a sense of its

    scope. During the study, the problem definition is crystallized and various aspects of the

    problem to be included in the system are determined. Consequently costs and benefits are

    estimated with greater accuracy at this stage. The feasibility study is conducted to see

    whether the proposed system is feasible or not, means that the company is able to beer all the

    expenses and affects of the proposed system that the company will have after the system is

    installed. There are four types of feasibility study:

    1. Economical Feasibility2. Technical Feasibility3. Behavioral Feasibility4. Operational Feasibility

    ECONOMICAL FEASIBILITY

    Economical feasibility is the most frequently used method for evaluating the effectiveness of

    the employee system, commonly known as the cost benefit analysis, the procedure is to

    determine the benefit and saving that are expected from an employee system and compare

    them with costs. If benefits outweigh costs then the decision is made to design and implement

    the system. Our proposed system needs only minimum of two computers one being the actual

    working node other the backend MS-Access server and LAN. First we look at the benefits.

  • 8/2/2019 My Se Report

    7/42

    7

    The system is to be developed will be used in the organization for employee management.

    The benefit list includes:

    Easy access for the user Security in data while access, creation and modification. Distribution of file resources

    And now looking at the cost of the project, it was found that the whole project would take

    less effort and also the basic requirements for the system was fulfilled by the existing

    resources.

    This led to the conclusion that the project was economically feasible.

    TECHNICAL FEASIBILITY

    Technical feasibility centres around the hardware and software required and to what extent

    these will support our system along with the technical expertise required.

    Now looking at the technical aspect of the system to be developed, it was found that at least

    two computers will be needed which should be in LAN. Most of these requirements are

    satisfied by the existing resources available in the company while other can be easily

    satisfied.

    BEHAVIORAL FEASIBILITY

    Computers are known to facilitate change and people are usually resistant to change. In

    determining the behavioral feasibility, we make an estimate of how strong a reaction will be

    the user staff make towards the development of the computerized system and try to keep the

    user response positive.

    In case of airline reservation there is a strong social aspect. In the organization there is

    always a situation where there a need of various type of information regarding the trains, so

    the staff is openly ready to accept the new system without any hesitation. The system could

    be used to getting the promotion information, training information and personal information

    about the flights.

  • 8/2/2019 My Se Report

    8/42

    8

    OPERATIONAL FEASIBILITY

    In operational feasibility, it is estimated that the system will use if it is developed and

    implemented. Computers are known to facilitate change and people are usually resistant to

    change. So an estimate is made of how strong a reaction will the user staff make towards the

    development of the computerized system. Our proposed system is aimed to simplify the job

    without bringing much change in way of working of existing system.

    ADVANTAGES OF THE PROPOSED SYSTEM

    In new computerized system I tried to give these facilities.

    1. Manually system changes into computerized system.

    2. Friendly user interface.

    3. Time saving.

    4. Save paper work.

    5. Connecting to database so we use different type of queries, data report.

    6. Give facility of different type of inquiry.

    7. Formatted data.8. Datas are easily approachable.

    PROJECT PLANNING

    Once the project is found to be feasible, software project managers undertake project

    planning. Project planning is undertaken and completed even before any development activity

    starts. Project planning consists of the following essential activities:

    1. Estimation: The following project attributes have to be estimated.i. Cost How much is it going to cost to develop the software?

    ii. Duration How long is it going to take to develop the product?iii. Effort How much effort would be required to develop the product?

    The effectiveness of all other planning activities such as scheduling and staffing are based on

    the accuracy of these estimations.

    2. Scheduling: After the estimations are made, the schedules for manpower and otherresources have to be developed.

  • 8/2/2019 My Se Report

    9/42

    9

    3. Staffing: staff organization and staffing plans have to be made.4. Risk management: Risk identification, analysis, and abatement planning have to be

    done.

    5. Miscellaneous plans: several other plans such as quality assurance plan,configuration management plan, etc. have to be done.

    Size is the most fundamental parmeter based on which all other estimates are made.

    SYSTEM DESIGN

    DESIGN PHASE

    In the design phase the architecture is established. This phase starts with the requirement

    document delivered by the requirement phase and maps the requirements into an architecture.

    The architecture defines the components, their interfaces and behaviors. The deliverable

    design document is the architecture. The design document describes a plan to implement the

    requirements. This phase represents the ``how'' phase. Details on computer programming

    languages and environments, machines, packages, application architecture, distributed

    architecture layering, memory size, platform, algorithms, data structures, global type

    definitions, interfaces, and many other engineering details are established. The design may

    include the usage of existing components.

    The Design Phase: What are the plans?

    Phase Deliverable

    Design Architecture Document

    Implementation Plan

    Critical Priority Analysis

    Performance Analysis

    Test Plan

    The architectural team can now expand upon the information established in the requirement

    document. Using the typical and atypical scenarios provided from the requirement document,

  • 8/2/2019 My Se Report

    10/42

    10

    performance trade-offs can be accomplished as well as complexity of implementation trade-

    offs.

    Obviously, if an action is done many times, it needs to be done correctly and efficiently. A

    seldom used action needs to be implemented correctly, but it is not obvious what level of

    performance is required. The requirement document must guide this decision process. An

    example of a seldom used action which must be done with high performance is the

    emergency shutdown of a nuclear reactor.

    Analyzing the trade-offs of necessary complexity allows for many things to remain simple

    which, in turn, will eventually lead to a higher quality product. The architecture team also

    converts the typical scenarios into a test plan.

    DESIGN APPROACHES

    Design is a meaningful engineering representation of something that is to be built. It can be

    traced to a customer's requirements and at the same time assessed for for quality against a set

    of predefined criteria for 'good' design. In the software engineering context, design focuses on

    four major areas of concern, data, architecture, interfaces, and components.

    SOFTWARE DESIGN APPROACHES

    Two fundamental approaches:

    Function-Oriented Design Object-Oriented Design

    Function-Oriented Design:

    A system is viewed as something that performs a set of functions

    Example: Create-new-library Function may have Subfunction of :

    Assign-membership-number Create-member-record Print-bill

  • 8/2/2019 My Se Report

    11/42

    11

    Function Oriented design approaches:

    Structured Analysis Top Down Decomposition approach Divide and conquer Principle

    Graphical representation (DFD) Structured Design

    Structured Charts Detailed Design

    Object-Oriented Design:

    A system is viewed as a collection of objects(i.e. entities) Example-Library automation system Each library member is separate object with its own data and functions The function defined for one object cannot change data of other object

    FUNCTION ORIENTED VIEW OF DESIGN:

    Shared Memory

    F1 F2

    F5F4

    F3

  • 8/2/2019 My Se Report

    12/42

    12

    SYSTEM DESIGN

    DATA FLOW DIAGRAM

    A data flow diagram is a graphical representation to depict the flow of data in a computerbased information system. Data flow diagrams provide only logical flow of data rather than

    physical data flow.

    TYPES OF DATA FLOW DIAGRAM

    Physical data flow diagram: - Physical data flow diagram is implementationdependent. They show the actual devices, department, people etc. involved in the

    current system.

    Logical data flow diagram: - It describes the system independently of how it isactually implemented, that is , they show what takes place, rather than how an activity

    is accomplished.

    COMPONENTS OF DATA FLOW DIAGRAM:-

    a) Source or Destination: - The source or destination is graphically represented as a

    rectangle. Source or destination external entities with which the system communicates. A

    source or destination is a person or a group of persons that are outside the control of the

    system being modeled.

    b) Data Flow: - The flow is represented graphically by an arrow into or out of a process. The

    flow is used to describe the movement of chunks or packet of information from one part of

    the system to another part. The flow represents data in motion.

    c) Process: - The process shows a part of the system that transforms input into output. The

    process is represented graphically as a circle or bubble.

    d) Data Store: - The data store is used to model a collection of data packet at rest. The

    notation of a data store is two parallel lines. Data stores are typically implemented as files or

    databases in computerized system. Data stores are connected by flow to processes.

    Data Stores have two types of flow:-

    Basic Symbolsfor Data Flow Diagram:-

    1.

    = Source or destination of data

    or

  • 8/2/2019 My Se Report

    13/42

    13

    2. = Data Flow

    3. or = Process that transforms data flow

    4. or = Data Store

    In data flow diagrams a single process node on a high level diagram expanded to show a

    more detailed data flow diagram. The first level DFD shows the main processes within the

    system. Each of these processes can be broken into further processes until we reach pseudo

    code.

    The various elements used for drawing structure chart using Smart Draw are the following:

    1. Circles: Circles are used to represent the process

    2. Rectangles: Rectangles are used to represent the external entity.

    3. Straight Line: Straight line is formatted to arrow head to show the flow of control from

    one process to another and also represents the data flowing from one process to another.

    4. Edit Text: To add text to various processes and to define data flowing from one process to

    another

    The logical data flow in a computer based information system is given below in following

    steps:

    1. Data originates from source2. Undergoes some processing3. Terminates in a sink

    The processing step may require data stored elsewhere in data stores over and above what is

    supplied by the source. Similarly the output of processing may be an intermediate data store,

    which is used for subsequent processing. There are different symbols used in DFD like:

    1. CIRCLE: It is used to represent processing.2. SQUARE: It is used to represent source.3. ARROW: It is used to denote flow of data.

  • 8/2/2019 My Se Report

    14/42

    14

    Level 0 DFD of UMS

    IT Enabled

    Acedmia

    0.0

    Admin

    Data Manager

    Student

    Teacher

    Routine

    TIN

    Teacher Details

    SIN/Rollno

    Student Details

    Data Entry Routine

    gen_command

    Performance

    attende report

    Query

  • 8/2/2019 My Se Report

    15/42

    15

    Level 1 DFD of UMS

  • 8/2/2019 My Se Report

    16/42

    16

    Level 2 DFD of UMS

  • 8/2/2019 My Se Report

    17/42

    17

    Flow Chart:

    A flow chart is defined as a pictorial representation describing a process being studied or

    even used to plan stages of a project. Flow charts tend to provide people with a common

    language or reference point when dealing with a project or process. The flowchart is a meansof visually presenting the flow of data through an information processing systems, the

    operations performed within the system and the sequence in which they are performed.

    When dealing with a process flow chart, two separate stages of the process should be

    considered: the finished product and the making of the product. In order to analyze the

    finished product or how to operate the process, flow charts tend to use simple and easily

    recognizable symbols.

    Flowcharts are usually drawn using some standard symbols; however, some special symbols

    can also be developed when required. Some standard symbols, which are frequently required

    for flowcharting many computer programs are shown below:-

    Symbol Name Function

    process

    an action done by the

    program (e.g. calculate

    the area of a square)

    arrows

    shows the direction

    and sequence ofprocesses

    decision

    asks a question and

    then determines which

    route the program will

    take

    connector

    connects one part of

    the flowchart toanother part of the

    flowchart on the same

    page using matching

    symbols

    input/output

    represents when

    something is input into

    the program or output

    from the program

  • 8/2/2019 My Se Report

    18/42

    18

    The following are some guidelines in flowcharting:

    a. In drawing a proper flowchart, all necessary requirements should be listed out inlogical order.

    b. The flowchart should be clear, neat and easy to follow. There should not be any roomfor ambiguity in understanding the flowchart.

    c. The usual direction of the flow of a procedure or system is from left to right or top tobottom.

    d. Only one flow line should come out from a process symbol.

    or

    e. Only one flow line should enter a decision symbol, but two or three flow lines, one foreach possible answer, should leave the decision symbol.

    f. Only one flow line is used in conjunction with terminal symbol.

    g. Write within standard symbols briefly. As necessary, you can use the annotationsymbol to describe data or computational steps more clearly.

    h. If the flowchart becomes complex, it is better to use connector symbols to reduce thenumber of flow lines. Avoid the intersection of flow lines if you want to make it more

    effective and better way of communication.

    i. Ensure that the flowchart has a logical startandfinish.j. It is useful to test the validity of the flowchart by passing through it with a simple test

    data.

  • 8/2/2019 My Se Report

    19/42

    19

    Flow Chart for University Mgt. System

    Student reports

    for submission

    Submit

    documents

    Check

    availability of

    seats

    Admission

    Denied

    Admission

    DeniedCheck

    Criteria

    Issue roll card

    Roll Card

    Stop

    Start

  • 8/2/2019 My Se Report

    20/42

    20

    ER DIAGRAMS

    ER diagram-: In software engineering, an entity-relationship model (ERM) is an abstract

    and conceptual representation of data. Entity-relationship modeling is a database

    modeling method, used to produce a type of conceptual schema or semantic data model of a

    system, often a relational database, and its requirements in a top-down fashion. Diagrams

    created by this process are called entity-relationship diagrams, ER diagrams, or ERDs.

    The steps involved in creating an ERD are:

    1. Identify the entities.2. Determine all significant interactions.3. Analyze the nature of the interactions.4. Draw the ERD.

  • 8/2/2019 My Se Report

    21/42

    21

    APPENDIX A

    Introduction to Unified Modeling Language (UML)

    UML stands for Unified Modeling Language

    In the field of software engineering, the Unified Modeling Language (UML) is a standardized

    visual specification language for object modeling. UML is a general-purpose modeling

    language that includes a graphical notation used to create an abstract model of a system,

    referred to as a UML model. The Unified Modeling Language or UML is a mostly graphical

    modeling language that is used to express designs. It is a standardized language in which to

    specify the artifacts and components of a software system. It is important to understand that

    the UML describes a notation and not a process. It does not put forth a single method or

    process of design, but rather is a standardized tool that can be used in a design process.

    There are two broad categories of diagrams and then are again divided into sub-categories:

    1. Structural Diagrams2. Behavioral Diagrams

    1. Structural Diagrams:The structural diagrams represent the static aspect of the system. These static aspects

    represent those parts of a diagram which forms the main structure and therefore stable.

    These static parts are represents by classes, interfaces, objects, components and nodes. The

    four structural diagrams are:

    1. Class diagram2. Object diagram3. Component diagram4. Deployment diagram

    2. Behavioral Diagrams:

    Any system can have two aspects, static and dynamic. So a model is considered as complete

    when both the aspects are covered fully.

  • 8/2/2019 My Se Report

    22/42

    22

    Behavioral diagrams basically capture the dynamic aspect of a system. Dynamic aspect can

    be further described as the changing/moving parts of a system.

    UML has the following five types of behavioral diagrams:

    1. Use case diagram2. Sequence diagram3. Collaboration diagram4. State chart diagram5. Activity diagram

    Different types of diagrams and views supported in UML:

    Structural View Behavioural View

    Class diagram Sequence diagram

    Object diagram Colleboration diagram

    State-chart diagram

    Implementation View Environmental View

    Component View Deployment View

    Users View

    Use caseDiagram

  • 8/2/2019 My Se Report

    23/42

    23

    UML Diagram Types:

    WHY AND WHERE UML?

    Amodel captures the important aspects of the thing being modeled from the certainpoint of view and simplifies or omits the rest. Engineering, architecture, and many other

    creative fields use models. A model is expressed in a medium that is convenient for working.

    A model of software system is made in modeling language such as UML.

    The UML also contains organizational constructs for arranging models into packages

    that permit software teams to partition large system into workable pieces. It contains

    construct for representing implementation decisions and for organizing run-time elements

    into components.

    Well-suited to the new demands of the brave new e-world, the Unified Modeling

    Language (UML) was designed to be distributed, concurrent, and connected. It is based on

    objects.

    Objects are distributed -- each one maintains its own state, distinct from all others.

    Objects are concurrent -- each one can potentially execute in parallel with all others.

    Objects are connected -- each one can send messages to others through a Web of links.

    UML is not tied to a single platform or programming language; therefore it is well suited to

    bridge networks of different systems. UML was designed with extensibility in mind, so it can

    adapt to new issues as they arise. Let's look at the question from the point of view of theconstruction trade. Architects design buildings. Builders use the designs to create buildings.

    UML

    Structural

    Part

    ClassDiagram

    ObjectDiagram

    ComponentDiagram

    DeployementDiagram

    Behavioural

    part

    SequenceDiagram

    ActivityDiagram

    CollaborationDiagram

    Use CaseDiagram

    State ChartDiagram

  • 8/2/2019 My Se Report

    24/42

    24

    The more complicated the building, the more critical the communication between architect

    and builder. Blueprints are the standard graphical language that both architects and builders

    must learn as part of their trade.

    Writing software is not unlike constructing a building. The more complicated the

    underlying system, the more critical the communication among everyone involved in creating

    and deploying the software. In the past decade, the UML has emerged as the software

    blueprint language for analysts, designers, and programmers alike. It is now part of the

    software trade. The UML gives everyone from business analyst to designer to programmer a

    common vocabulary to talk about software design.

    The UML is applicable to object-oriented problem solving.

    Application of UML

    UML is intended to be universal, general-purpose modeling language for discrete

    systems such as those made of software, firmware, or digital logic.

    The UML is an evolutionary general-purpose, broadly applicable, tool-supported, and

    industry-standardized modeling language. It applies to a multitude of different types of

    systems, domains, and methods or processes.

    As a general-purpose modeling language, it focuses on a core set of concepts for

    acquiring, sharing, and utilizing knowledge coupled with extensibility mechanisms.

    As a broadly applicable modeling language, it may be applied to different types of systems(software and non-software), domains (business versus software), and methods or processes.

    As a tool-supported modeling language, tools are readily available to support the application

    of the language to specify, visualize, construct, and document systems.

    As an industry-standardized modeling language, it is not a proprietary and closed language

    but an open and fully extensible industry-recognized language.

    The UML enables the capturing, communicating, and leveraging of strategic, tactical,

    and operational knowledge to facilitate increasing value by increasing quality, reducing costs,

    and reducing time-to-market while managing risks and being proactive in regard to ever-

    increasing change and complexity.

    The UML more specialized tool, with a special language used for specialized domains,

    such as GUI layout, VLSI circuit design, or rule based artificial intelligence.

    The UML is intended primarily for software- intensive systems. It has been used

    effectively for such domains as

    Enterprise information systems Banking and financial services

    Telecommunication Transportation

  • 8/2/2019 My Se Report

    25/42

    25

    Defense/aerospace Retails Medical electronics Scientific Distributed web-based services

    The UML is not limited to modeling software. Infect, it is expressive enough to model

    nonsoftware systems, such as workflow in the legal system, the structure and behavior of a

    patient healthcare system, and design of hardware.

    STRUCTURE OF UML

    Classifiers:

    A classifier is a discrete concept in the model, having identity , state, behavior

    and relationships

    The UML defines 11 kinds of classifiers:

    Classifier functions notation

    Actor: an outside user of a system

    Class: a concept from the modeled system

    Classifier role: a class restricted to particular usage in a collaboration

    class-in-state : a class restricted to being in a given state

    component : a physical piece of a system

    data type : a descriptor of a set of primitive values that lack identity name

    Interface: a named set of operation that characterize behavior

    node: a computational resource

  • 8/2/2019 My Se Report

    26/42

    26

    signal : an asynchronous communication among objects

    subsystem : a package that is treated as a unit with a specification,

    implementation and identity

    use case: a specification of behavior of an entity in its interactions

    with outside agents

    Diagrams in UML

    A diagram is a graphical presentation of a set of elements . Diagrams are drawn to visualize

    a system from different perspectives, so diagram is a projection into a system .

    Diagram may contain any combination of things and relationships.

    1. Use case diagrams:

    Use case diagrams describe what a system does from the standpoint of an external observer.

    The emphasis is on whata system does rather than how.

    Use case diagrams are closely connected to scenarios. A scenario is an example of what

    happens when someone interacts with the system. Here is a scenario for a medical clinic.

    "A patient calls the clinic to make an appointment for a yearly checkup. The

    receptionist finds the nearest empty time slot in the appointment book and schedules

    the appointment for that time slot. "

    A use case is a summary of scenarios for a single task or goal. An actor is who or what

    initiates the events involved in that task. Actors are simply roles that people or objects play.

    The picture below is a Make Appointment use case for the medical clinic. The actor is a

    Patient. The connection between actor and use case is a communication association.

    Actors are stick figures. Use cases are ovals. Communications are lines that link actors to use

    cases. A use case diagram is a collection of actors, use cases, and their communications. A

    single use case can have multiple actors.

    Use case diagrams are helpful in three areas.

  • 8/2/2019 My Se Report

    27/42

    27

    Determining features (requirements). New use cases often generate newrequirements as the system is analyzed and the design takes shape.

    Communicating with clients. Their notational simplicity makes use case diagrams agood way for developers to communicate with clients.

    Generating test cases. The collection of scenarios for a use case may suggest a suiteof test cases for those scenarios.

    Use case diagram for University Management System

    Enroll In Seminar

    Attend Seminar

    Finish Seminar

    Obtain Grant

    Obtain Student Loan

    Reimburse

    FinancialInstitution

    Pay Fees

    Distribute Transcripts

    Distribute Fee Schedule

    Distribute Schedules

    RegistrarDrop seminar

    ResearcherApply For Grant

    Grade

    Admistrator

    Input Student marks

    Teach Seminar

    Instructor

    Print TeachingSchedule

    Drop out of School

    Student

    Graduate From School

    PostOffice

    Distribute Informationto Students

  • 8/2/2019 My Se Report

    28/42

    28

    2. Class diagrams:

    A Class diagram gives an overview of a system by showing its classes and the relationships

    among them. Class diagrams are static -- they display what interacts but not what happens

    when they do interact.

    Class notation is a rectangle divided into three parts: class name, attributes, and operations.

    Our class diagram has three kinds of relationships.

    Association -- a relationship between instances of the two classes. There is anassociation between two classes if an instance of one class must know about the other

    in order to perform its work

    Aggregation -- an association in which one class belongs to a collection. Anaggregation has a diamond end pointing to the part containing the whole.

    Generalization -- an inheritance link indicating one class is a superclass of the other.A generalization has a triangle pointing to the superclass.

    Class diagrams for University Mgt. System

  • 8/2/2019 My Se Report

    29/42

    29

    3. Sequence diagrams:

    Class and object diagrams are static model views. Interaction diagrams are dynamic. They

    describe how objects collaborate.

    A sequence diagram is an interaction diagram that details how operations are carried out --

    what messages are sent and when. Sequence diagrams are organized according to time. The

    time progresses as you go down the page. The objects involved in the operation are listed

    from left to right according to when they take part in the message sequence.

    Sequence Diagram for University Management System

    Student :NewClass

    :Main Screen :Enroller :SecurityLogon :Student

    :Seminarselector

    Enroll in SeminarBasic Course ofAction

    1. Student indicateswish to enroll

    wish to enroll

    name

    student number

    iseligible(student,number)

    thestudentthestudent

    selection

    2. Student inputs name &number

    3. System Verifies Student

    4. System Displays seminarList

    5. Student picks seminar

    .............

  • 8/2/2019 My Se Report

    30/42

    30

    4. Collaboration diagrams:

    Collaboration diagrams are also interaction diagrams. They convey the same information as

    sequence diagrams, but they focus on object roles instead of the times that messages are sent.

    In a sequence diagram, object roles are the vertices and messages are the connecting links.

    The object-role rectangles are labeled with either class or object names (or both). Class

    names are preceded by colons (:).

    Collaboration diagram of university system

    :SeminarDetails

    :Seminar :Course

    enrollment

    :Enrollment

    student:student

    Actually a series ofgetter invocations.

    1: getname(): seminarname2: getdescription()

    3: getlocation()

    4: getseatsleft()5: getstudentlist()

    2: getname(): string

    2.1: getnumber(): string2.2: getdescription(): string

    3: * getInfo

    4: getInfo

    5: getfullname()

  • 8/2/2019 My Se Report

    31/42

    31

    5. Statechart diagrams:

    Objects have behaviors and state. The state of an object depends on its current activity or

    condition. A statechart diagram shows the possible states of the object and the transitions

    that cause a change in state.

    States are rounded rectangles. Transitions are arrows from one state to another. Events or

    conditions that trigger transitions are written beside the arrows.

    Statechart diagram of university system

    Login To System

    ConductTest

    Value thePaper

    SubmitMarks

    Done

    NO

    YES

  • 8/2/2019 My Se Report

    32/42

    32

    6. Activity diagrams:

    An activity diagram is essentially a fancy flowchart. Activity diagrams and statechart

    diagrams are related. While a statechart diagram focuses attention on an object undergoing a

    process (or on a process as an object), an activity diagram focuses on the flow of activities

    involved in a single process. The activity diagram shows the how those activities depend on

    one another.

    Activity diagram of University Mgt. System

    Fill OutEnrollment Form

    Enroll inUniversity

    Obtain Help toFill Out Forms

    Attend UniversityOverview Presentation

    Enroll InSeminar(s)

    Make Initial TutionPayment

    Enrolling in theUniversity for ...

    [otherwise]

    [incorrect] [help availble]

    [trivial problems][correct]

  • 8/2/2019 My Se Report

    33/42

    33

    7. Component diagrams:

    A component is a code module. Component diagrams are physical analogs of class diagram.

    A component diagram provides a physical view of the system. Its purpose is to show the

    dependencies that the software has on the other software components.

    Component diagram of University Mgt. System

  • 8/2/2019 My Se Report

    34/42

    34

    8. Deployment diagrams:

    Deployment diagrams show the physical configurations of software and hardware. The

    deployment diagram shows how a system will be physically deployed in the hardware

    environment. Its purpose is to show where the different components of the system will

    physically run and how they will communicate with each other. Since the diagram models the

    physical runtime, a system's production staff will make considerable use of this diagram. The

    notation in a deployment diagram includes the notation elements used in a component

    diagram, with a couple of additions, including the concept of a node. A node represents either

    a physical machine or a virtual machine node (e.g., a mainframe node). To model a node,

    simply draw a three-dimensional cube with the name of the node at the top of the cube. Use

    the naming convention used in sequence diagrams: [instance name] : [instance type].

    Example: Deployement diagram of University Mgt. System

    : WebserverStudent Administration

    :DBServer {OS=Linux}

    Mainframe {OS=MVS}

    Course Mgt.

    :ApplicationServer{OS=Solaris}

    :EJBContainer

    Student

    Seminar

    Schedule

    Persistance

    Course Mgt.

    Facade

    University DB

  • 8/2/2019 My Se Report

    35/42

    35

    9. Object diagrams:

    In the Unified Modeling Language (UML), an object diagram is a diagram that shows a

    complete or partial view of the structure of a modeled system at a specific time. This

    snapshot focuses on some particular set of object instances and attributes, and the links

    between the instances. A correlated set of object diagrams provides insight into how an

    arbitrary view of a system is expected to evolve over time. Object diagrams are more

    concrete than class diagrams, and are often used to provide examples, or act as test cases for

    the class diagrams. Only those aspects of a model that are of current interest need be shown

    on an object diagram.

    Each object and link on an object diagram is represented by an InstanceSpecification. This

    can show an object's classifier (e.g. an abstract or concrete class) and instance name, as well

    as attributes and other structural features using slots. Each slot corresponds to a single

    attribute or feature, and may include a value for that entity.

    The name on an instance specification optionally shows an instance name, a ':' separator, and

    optionally one or more classifier names separated by commas. The contents of slots, if any,

    are included below the names, in a separate attribute compartment. A link is shown as a solid

    line, and represents an instance of an association.

    Object Diagram of University Mgt System.

    Collegestudent no.1: Student

    Nameofstudent=Sam

    Sudentid=1

    Age=28

    .

    Graduate School of Business: College

    Univname=University of Chicago

    Noofcourse: 1000

    Capacity=2000

    Areaname=HydePark

    .

    Collegestudent no.2: Student

    Nameofstudent=Nancy

    Sudentid=2

    Age=29

    .

  • 8/2/2019 My Se Report

    36/42

    36

    APPENDIX B

    Introduction to Rational Rose

    IntroductionRational Rose is the Case tool that supports the Rational Unified Process (RUP), a methodology for

    object oriented systems analysis and design, and based on the UML notation.

    The Rational Software Corporation produces a whole range of products that together form a complete

    CASE environment The Rational Suite. The whole suite is comprehensive and COMPLEX. It can

    be used for modeling business requirements, systems design, managing documentation, data

    modeling, automated code generation in several languages, implementation, testing, project planning

    and handling change requests.

    At this point we will be looking at a very small part of the Rational Rose part of the suite

    Rational Rose is a visual modeling tool, enabling the creation, analysis, design and modification of

    components in a software system.

    This guide is intended to show you how to draw the main diagrams within Rational Rose

    Setting up Rational Rose for the first time

    Start up the PC and logon as you would normally Using windows explorer or My Computer, go to the H: drive Create yourself a subdirectory/folder called Rational Then create a further sub directory/folder within it for your project Exit Windows Explorer

    Running Rational RoseWhen starting rational rose the following screen is displayed, click on cancel (unless you have already

    started the diagram in which case click on recent or existing and select the required project).

  • 8/2/2019 My Se Report

    37/42

    37

    The screen should now look like this:

    Parts of the screen

    1. Browser 2. Toolbar 3. Diagram area

    4. Documenation Window

  • 8/2/2019 My Se Report

    38/42

    38

    The browser shows the main diagrams you can produce for a project (in this case it is

    untitled) and there are three main diagrams, the use case view, the logical view and the

    component view. In this example we wish to produce a class diagram so we need to be using

    the logical view. If you click on the + beside the logical view folder it will expand to show

    what makes up the logical view. The browser will change as you add to the diagram these

    extra elements correspond to what you have added.

    1. Browser Window

    This presents a hierarchical view of the analysis and design model, including all the diagrams

    and all the individual elements that make up a diagram.

    2. Drawing ToolsThis tool presents a set of icons that indicate the different elements that can be added to a

    diagram. The elements that can be used will change, depending on the type of diagram being

    created. Different diagram types have different sets of icons. If you were creating a different

    diagram type, you would see a different set of icons. The above example is a class diagram in

    logical view.

    3. Diagram WindowThis is where the diagram is actually created. You will see that the diagram shown in the

    drawing window represents a high-level model of this course. Course content can be seen as a

    system composed of four interacting subsystems, two of which involve software. We have

    used the Package element to represent the subsystems, and the Note element to indicate

    which packages contain software.

    4. Documentation Window

    It is strongly recommended that each element added to a diagram have documentation to

    accompany it. To add documentation, right click on the element, select specification, and fill

    in the documentation field. The documentation will then be shown in the documentation

    window each time the mouse is clicked on the element. Documentation can also be added

    directly to the documentation window.

  • 8/2/2019 My Se Report

    39/42

    39

  • 8/2/2019 My Se Report

    40/42

    40

  • 8/2/2019 My Se Report

    41/42

    41

    CONCLUSION

    All the above description is about the representation of Online Shopping Cart. After

    the completion of this project any developer of Online Shopping Cart will use this project as

    a reference to computerize the Online Shopping Cart.

    Though the system still containing lot of

    scope of improvement in it. But its overall look and feel gives rough picture of on existing

    automation system.

    When looking for solid University Management System site,

    you want to find a solution that gives you the easy way of maintaining account details of

    staff, students & colleges. Naturally, you first want to find the software that meets yourneeds, both now and in the future. Engineering is based on designing different projects.

    This project represents the whole Online Shopping Cart by using nine

    diagrams of UML. This representation is easily understandable to any novice user and is

    graphical user interface based.

  • 8/2/2019 My Se Report

    42/42

    BIBLIOGRAPHY

    1. www.wikipedia.org2. www.technopedia.com3. Fundamentals of Software Engineering by Rajib Mall.4. Structured System analysis and design by Awad.