Object Oriented Analysis and Design (OOAD) Lab Manual: Passport Automation System, Exercises of Computer Programming

Object oriented programming language

Typology: Exercises

2017/2018

Uploaded on 01/22/2018

nageswara-rao-1
nageswara-rao-1 🇮🇳

1 document

1 / 350

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
GOPAL RAMALINGAM MEMORIAL ENGINEERING COLLEGE
Rajeshwari nagar, Panapakkam, Near Padappai, Chennai-601301.
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
OOAD LAB MANUAL
Sub. Code/Sub. Name: CS2357-Object Oriented Analysis and Design
Year/Sem: III/VI
Submitted by
S.NISHAA M.TECH),
AP/IT
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Object Oriented Analysis and Design (OOAD) Lab Manual: Passport Automation System and more Exercises Computer Programming in PDF only on Docsity!

GOPAL RAMALINGAM MEMORIAL ENGINEERING COLLEGE

Rajeshwari nagar, Panapakkam, Near Padappai, Chennai-601301. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

OOAD LAB MANUAL

Sub. Code/Sub. Name: CS2357-Object Oriented Analysis and Design Year/Sem: III/VI

Submitted by

S.NISHAA M.TECH),

AP/IT

CS2357 OOAD LAB OBJECTIVE: To develop a mini-project following the 12 exercises listed below.

**1. To develop a problem statement.

  1. Develop an IEEE standard SRS document. Also develop risk management and project plan (Gantt chart).
  2. Identify Use Cases and develop the Use Case model.
  3. Identify the business activities and develop an UML Activity diagram.
  4. Identity the conceptual classes and develop a domain model with UML Class diagram.
  5. Using the identified scenarios find the interaction between objects and represent them using UML Interaction diagrams.
  6. Draw the State Chart diagram.
  7. Identify the User Interface, Domain objects, and Technical services. Draw the partial layered, logical architecture diagram with UML package diagram notation.
  8. Implement the Technical services layer.
  9. Implement the Domain objects layer.
  10. Implement the User Interface layer.
  11. Draw Component and Deployment diagrams. Suggested domains for Mini-project.
  12. Passport automation system.
  13. Book bank
  14. Exam Registration
  15. Stock maintenance system.
  16. Online course reservation system
  17. E-ticketing
  18. Software personnel management system
  19. Credit card processing
  20. e-book management system
  21. Recruitment system
  22. Foreign trading system
  23. Conference Management System
  24. BPO Management System**

SOFTWARE REQUIREMENTS SPECIFICATION

SNO SOFTWARE REQUIREMENTS

SPECIFICATION

Introduction Purpose Scope Definition, Acronyms and Abbreviations Reference Technology to be used Tools to be used Overview

Overall description Productive description Software interface Hardware interface System function User Characteristic Constraints Assumption and Dependences 1.0 INTRODUCTION Passport Automation System is an interface between the Applicant and the Authority responsible for the Issue of Passport. It aims at improving the efficiency in the Issue of Passport and reduces the complexities involved in it to the maximum possible extent. 1.1 PURPOSE If the entire process of 'Issue of Passport' is done in a manual manner then it would take several months for the passport to reach the applicant. Considering the fact that the number of applicants for passport is increasing every year, an Automated System becomes essential to meet the demand. So this system uses several programming and database techniques to elucidate the work involved in this process. As this is a matter of National Security, the system has been carefully verified and validated in order to satisfy it. 1.2 SCOPE The System provides an online interface to the user where they can fill in their personal details. The authority concerned with the issue of passport can

use this system to reduce his workload and process the application in a speedy manner.Provide a communication platform between the applicant and the administrator Transfer of data between the Passport Issuing Authority and the Local Police for verification of applicant's information. 1.3 DEFINITIONS, ACRONYMS AND THE ABBREVIATIONS

  1. Administrator - Refers to the super user who is the Central Authority who has been vested with the privilege to manage the entire system. It can be any higher official in the Regional Passport Office of Ministry of External Affairs.
  2. Applicant - One who wishes to obtain the Passport.
  3. PAS - Refers to this Passport Automation System. 1 .4 REFERENCES IEEE Software Requirement Specification format. 1.5 TECHNOLOGIES TO BE USED • Microsoft Visual Basic 6. 1.6 TOOLS TO BE USED • Rational Rose tool (for developing UML Patterns) 1.7 OVERVIEW SRS includes two sections overall description and specific requirements - Overall description will describe major role of the system components and inter- connections. Specific requirements will describe roles & functions of the actors. 2.0 OVERALL DESCRIPTION 2.1 PRODUCT PERSPECTIVE The PAS acts as an interface between the 'applicant' and the 'administrator'. This system tries to make the interface as simple as possible and at the same time not risking the security of data stored in. This minimizes the time duration in which the user receives the passport. 2.2 SOFTWARE INTERFACE
  4. Front End Client - The applicant and Administrator online interface is built using Microsoft Visual Basic 6.0.
  5. Back End – MS Access database 2.3 HARDWARE INTERFACE The server is directly connected to the client systems. The client systems have access to the database in the server.

7 Activity diagram 8 Component diagram 9 Deployment diagram 10 Package diagram DOCUMENTATION OF USECASE DIAGRAM a. The actors in use case diagram are Applicant, regional administrator, database, passport Administrator, Police. b. The use cases are Login, givedetails, logout, collectdetails, verification, issue. c. The actors use the use case are denoted by the arrow d. The login use case checks the username and password for applicant, regional administrator, passport administrator and police. e. The submit details use case is used by the applicant for submitting his details

f. The check status use case is used by the applicant for checking the status of the application process. g. The get details, verify and store verification use case is used by passport administrator, regional administrator, and police. h. The details use case is used for getting the details form the database for verification

  1. The verify use case is used for verifying the details by comparing the data in the database. a. The store verification use case is to update the data in the database b. And finally the issue passport use case is used by the passport administrator for issuing passport who’s application verified successfully by all the actor. CLASSDIAGRAM A class is drawn as rectangle box with three compartments or components separated by horizontal lines. The top compartment holds the class name and middle compartment holds the attribute and bottom compartment holds list of operations.

e. THE POLICE - The police has attribute such as name and operation are get details, verify details and send. The police get the details form database and verify with their database , update the verification in the database SEQUENCE DIAGRAM A sequence diagram shows an interaction arranged in time sequence, It shows object participating in interaction by their lifeline by the message they exchange arranged in time sequence. Vertical dimension represent time and horizontal dimension represent object. DOCUMENTATION OF SEQUENCE DIAGRAM. a. The applicant login the database and give his details and database store the details.

b. The passport administrator get the details from the database and do verification and the forward to regional administrator. c. The regional administrator get details form passport administrator and perform verification and send report to passport administrator. d. The police get the details form passport administrator and perform verification and send report to passport administrator COLLABORATION DIAGRAM A collaboration diagram is similar to sequence diagram but the message in number format. In a collaboration diagram sequence diagram is indicated by the numbering the message. A collaboration diagram, also called a communication diagram or interaction diagram, A sophisticated modeling tool can easily convert a collaboration diagram into a sequence diagram and the vice versa. A collaboration diagram resembles a flowchart that portrays the roles, functionality and behavior of individual objects as well as the overall operation of the system in real time STATE CHART DIAGRAM The state chart diagram contains the states in the rectangle boxes and starts in indicated by the dot and finish is indicated by dot encircled. The purpose of state chart diagram is to understand the algorithm in the performing method. DOCUMENTATION OF STATE CHART DIAGRAM a. The states of the passport automation system are denoted in the state chart diagram b. Login state represent authentication for login the passport automation system. c. In this state, it checks whether the applicant has provided all the details that is required. d. Police, regional administrator and passport administrator get necessary details and verification of the applicant are denoted from the Get detail state and verification state

DOCUMENTATION OF COMPONENT DIAGRAM

a. The components in the passport automation system are passport automation system, applicant, passport administrator, regional administrator, and police. b. Applicant ,passport administrator, regional administrator and police are dependent on passport automation system are shown by the dotted arrow DEPLOYMENT DIAGRAM It is a graph of nodes connected by communication association. It is represented by a three dimensional box. A deployment diagram in the unified modeling language serves to model the physical deployment of artifacts on deployment targets. Deployment diagrams show "the allocation of artifacts to nodes according to the Deployments defined between them. It is represented by 3-dimentional box. Dependencies are represented by communication association. The basic element of a deployment diagram is a node of two types DEVICE NODE – A physical computing resource with processing and memory service to execute software, such as a typical computer or a mobile phone.

EXECUTION ENVIRONMENT NODE

This is a software computing resource that runs within an outer node and which itself provides a service to host an execute other executable software element. DOCUMENTATION OF DEPLOYMENT DIAGRAM The device node is passport automation system and execution environment node are applicant passport administrator, regional administrator, and police. PACKAGE DIAGRAM A package diagram is represented as a folder shown as a large rectangle with a top attached to its upper left corner. A package may contain both sub ordinate package and ordinary model elements. All uml models and diagrams are organized into package. A package diagram in unified modeling language that depicts the dependencies between the packages that make up a model. A Package Diagram (PD) shows a grouping of elements in the OO model, and is a Cradle extension to UML. PDs can be used to show groups of classes in Class Diagrams (CDs), groups of components or processes in Component Diagrams (CPDs), or groups of processors in Deployment Diagrams (DPDs). There are three types of layer. They are o User interface layer o Domain layer o Technical services layer

DOCUMENTATION OF PACKAGE DIAGRAM

The three layer in the passport automation system are user interface layer, domain layer, technical service layer a. The user interface layer- represents the user interface components such as web, applicant, passport administrator, police, and regional administrator. b. The domain layer- has major actions such as give and get details, verification and issues. c. Technical service layer - authenticated user only can access the technical services. FORMS: FORM1: FORM2:

FORM3:

FORM5: