




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Object oriented programming language
Typology: Exercises
1 / 350
This page cannot be seen from the preview
Don't miss anything!





























































































Rajeshwari nagar, Panapakkam, Near Padappai, Chennai-601301. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Sub. Code/Sub. Name: CS2357-Object Oriented Analysis and Design Year/Sem: III/VI
CS2357 OOAD LAB OBJECTIVE: To develop a mini-project following the 12 exercises listed below.
**1. To develop a problem statement.
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
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
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
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.
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
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: