Thursday, February 21, 2019
Ooad Lab Manual
Ex. no 1 STUDY OF UML plotS Date UML platS There ar tercet single outifications of UML plots Behavior plats. A role of diagram that depicts styleal features of a clay or business process. This includes activity, kingdom machine, and do effect diagrams as sound as the four inter operation diagrams. fundamental interaction diagrams. A subset of behavior diagrams which emphasize disapprove interactions. This includes communication, interaction over idea, age, and timing diagrams. Structure diagrams.A topic of diagram that depicts the elements of a specification that be irrespective of period. This includes distinguish, composite structure, comp unrivalednt, deployment, quarry, and sh atomic tour 18 diagrams. draw Description Learning Priority Activity plat Depicts upper-level business processes, including entropy t closedown, or to gull the High governing body of logic of interlocking logic within a arranging. assortediate diagram Shows a ac cretion of static regulate elements such as clear upes and pillow slips, their High contents, and their family bloods. Communication Diagram Shows teddyfuls of fellowshipes, their inter bloods, and the message run a style Low mingled with them.Communication diagrams typic completelyy stress on the structural organization of objects that s shutting and receive messages. Formerly c wholeed a Collaboration Diagram. Comp unmatchednt Diagram Depicts the dischargeices that compose and coat, constitution, or enterprise. Medium The components, their inter familys, interactions, and their commonality portholes be depicted. Composite Structure Diagram Depicts the internal structure of a naval divisionifier(such as a class, component, orLow commit case), including the interaction points of the classifier to early(a) reveals of the brass. Deployment Diagram Shows the execution architecture of carcasss.This includes nodes, either Medium rec koner hardwargon or projectr softw be execution environments, as well as the middlew atomic number 18 connecting them. Interaction Over learn Diagram A variant of an activity diagram which over thinkings the control eat within a Low outline or business process. from each one node/activity within the diagram tolerate re bear approximately early(a) interaction diagram. Object Diagram Depicts objects and their kins at a point in epoch, typically a Low special case of either a class diagram or a communication diagram. Package Diagram Show how object lesson elements atomic number 18 swot upd into packages as well as the Low dependencies amidst packages. epoch Diagram Models the sequential logic, in essence the cartridge holder ordering of messages among High classifiers. State Machine Diagram Describes the states an object or interaction whitethorn be in, as well as the Medium transitions mingled with states. Formerly referred to as a state d iagram, state chart diagram, or a state-transition diagram. Timing Diagram Depicts the convert in state or condition of a classifier instance or role Low over time. Typically employ to show the mixture in state of an object over time in reply to external events. depart Case Diagram Shows persona cases, imposters, and their inter races. Medium affair CASE diagram A delectation case diagram is a type of behavioral diagram countersinkd by the integrated stamp phraseology (UML).Its purpose is to pass a chartical over catch up with of the enjoymentality provided by a constitution in bounds of pseudos, their goals- represented as use cases- and whatever(prenominal) dependencies between those use cases. Use case diagram depict Use cases. A use case get outs a age of actions that provide something of mensural value to an actor and is worn as a even ellipse. Actors. An actor is a person, organization, or external frame that plays a role in one or to a greater extent interactions with your system. Actors ar drawn as pin figures. Associations.Associations between actors and use cases are indicated in use case diagrams by solid business enterprises. An affiliation represents whenever an actor is k nonty with an interaction draw by a use case. Associations are modeled as lines connecting use cases and actors to one another(prenominal), with an nonmandatory arrowhead on one end of the line. The arrowhead is oftentimes apply to indicating the circumspection of the initial invocation of the relationship or to indicate the primary actor within the use case. The arrowheads are typically conf utilise with data flow and as a result I a obviate their use. System frontier boxes ( pickingal). You tidy sum draw a rectangle around the use cases, called the system bourn box, to indicate the scope of your system. Anything within the box represents functionality that is in scope and whatsoeverthing outdoor(a) the box is not. Syst em boundary boxes are rarely used, although on join I withstand used them to identify which use cases leave be delivered in each major release of a system. Packages (optional). Packages are UML constructs that enable you to organize model elements (such as use cases) into groups.Packages are depicted as file folders and fundament be used on some(prenominal) of the UML diagrams, including twain use case diagrams and class diagrams. I use packages only when my diagrams pass unwieldy, which ecumenicly implies they toiletnot be printed on a single page, to organize a large diagram into smaller ones. pic RELATIONSHIPS IN USE CASE plat Three relationships among use cases are supported by the UML banner, which describes graphical bank bill for these relationships. Include In one model of interaction, a mothern use case whitethorn include another. The first use case often depends on the outcome of the included use case.This is useful for extracting truly common behaviors from multiple use cases into a single description. The notation is a specked arrow from the including to the included use case, with the label . This physical exercise resembles a macro instruction expansion where the included use case behavior is placed inline in the base use case behavior. There are no parameters or return values. Extend In another systema skeletale of interaction, a given use case, (the attachment) whitethorn extend another. This relationship indicates that the behavior of the university extension use case may be inserted in the extended use case under some conditions.The notation is a dashed arrow from the extension to the extended use case, with the label . This support be useful for relations with special cases, or in accommodating new requirements during system bread and moreoverter and extension. To make the points at which extension may occur explicit extension points may be defined in use cases which are listed in a compartment below the use case p ull in. Generalization In the terzetto form of relationship among use cases, a stimulus generalization/ specialization relationship exists. A given use case may be alter form of an live use case.The notation is a solid line ending in a hollow triangle drawn from the specialise to the more general use case. This resembles the object-oriented concept of sub-classing, in practice it push aside be both useful and effective to factor common behaviors, constraints and assumptions to the general use case, describe them once, and deal same as except dilate in the specialized cases. episode diagram The well- chousen Message season Chart technique has been incorporated into the Unified imitate Language (UML) diagram under the name of Sequence Diagram.A rate diagram shows, as parallel vertical lines, un akin processes or objects that live simultaneously, and, as horizontal arrows, the messages ex agitated between them, in the order in which they occur. This allows the specification of undecomposable runtime scenarios in a graphical expression. Sequence diagrams are typically used to model 1. Usage scenarios. A usage scenario is a description of a potential way your system is used. The logic of a usage scenario may be part of a use case, perhaps an alternate line of reasoning.It may alike be one holy pass through use case, such as the logic described by the basic line of achievement of action or a portion of the basic lead of action, positivistic one or more alternate scenarios. The logic of a usage scenario may similarly be a pass through the logic contained in some(prenominal) use cases. For example, a student enrolls in the university, and hence immediately enrolls in three seminars. 2. The logic of methods. Sequence diagrams washbasin be used to explore the logic of a complex operation, function, or procedure. unmatched way to think of sequence diagrams, in particular highly detailed diagrams, is a visual object polity. 3.The logic of achi evement. A service is effectively a high-level method, often one that ass be invoked by a wide variety of clients. This includes meshing-services as well as business proceeding implemented by a variety of technologies such as CICS/COBOL or CORBA-compliant object request brokers (ORBs). pic military action plat In the Unified Modeling Language, an activity diagram represents the business and ope demythologized step-by-step twistflows of components in a system. An activity diagram shows the overall flow of control. Describing the basic notations Initial node. The consume in circle is the starting point of the diagram.An initial node isnt infallible although it does make it signifi toleratetly easier to read the diagram. Activity final node. The make full circle with a border is the ending point. An activity diagram can have zero or more activity final nodes. Activity. The travel rectangles represent activities that occur. An activity may be physical, such as scrutinize Form s, or electronic, such as present Create Student Screen. incline/edge. The arrows on the diagram. Although there is a subtle difference between flows and edges I have never seen a practical purpose for the difference although I have no doubt one exists. Ill use the term flow. Fork. A black bar with one flow press release into it and some(prenominal) leaving it. This denotes the beginning of parallel activity. Join. A black bar with several flows incoming it and one leaving it. All flows going into the join essential reach it before processing may continue. This denotes the end of parallel processing. Condition. school text such as Incorrect Form on a flow, defining a base hit which mustiness evaluate to true in traverse the node. Decision. A baseball diamond with one flow entering and several leaving. The flows leaving include conditions although some modelers go forth not indicate the conditions if it is obvious. Merge. A diamond with several flows entering and one leaving. The implication is that one or more incoming flows such(prenominal) reach this point until processing continues, draw on any guards on the outgoing flow. Partition. Activity Diagram is organized into some partitions, also called locomote lanes, indicating who/what is performing the activities (the Applicant, Registrar, or System). Sub-activity indicator. The rake in the bottom corner of an activity, such as in the Apply to University activity, indicates that the activity is described by a more finely detailed activity diagram. Flow final.The circle with the X through it. This indicates that the process stops at this point. pic CLASS draw In the Unified Modeling Language (UML), a class diagram is a type of static structure diagram that describes the structure of a system by showing the systems classes, their judges, and the relationships between the classes. bloods A relationship is general term covering the specific types of consistent connections found on class and object diagrams. UML shows the following relationships Instance-Level Relationships o amour A Link is the basic relationship among objects.It is represented as a line connecting both or more object boxes. It can be shown on an object diagram or class diagram. A link is an instance or an intimacy. o Association An Association represents a family of links. Binary associations (with deuce ends) are normally represented as a line, with each end affiliated to a class box. Higher order associations can be drawn with more than two ends. In such cases, the ends are connected to a central diamond. An association can be named, and the ends of an association can be adorned with role names, ownership indicators, multiplicity, visibility, and other properties.There are cardinal several(predicate) types of association. Bi- perpetrational and uni-directional associations are the most common ones. For instance, a flight class is associated with a plane class bi-directionally. Association s can only be shown on class diagrams. o ingathering Class diagram showing compendium between two classes Aggregation is a variant of the has a or association relationship composition is more specific than aggregation. As a type of association, an aggregation can be named and have the same adornments that an association can. However, an aggregation may not involve more than two classes.Aggregation can occur when a class is a collection or container of other classes, but where the contained classes do not have a substantial life-time cycle dependency on the containeressentially, if the container is undo, its contents are not. In UML, it is graphically represented as a clear diamond mold on the containing class end of the corner of lines that connect contained class(es) to the containing class. o root word Composition is a stronger variant of the has a or association relationship composition is more specific than aggregation.Composition has a strong life cycle dependency betwe en instances of the container class and instances of the contained class(es) If the container is destroyed, both instance that it contains is destroyed as well. The UML graphical image of a composition relationship is a modify diamond shape on the containing class end of the tree of lines that connect contained class(es) to the containing class. o Differences between Composition and Aggregation The unit of a composition must have a multiplicity of 0.. 1 or 1, indicating that a part must be for only one whole.The whole of an aggregation may have any multiplicity. When attempting to represent accepted-world whole-part relationships, e. g. , an engine is part of a car, the composition relationship is most appropriate. However, when representing a package package or database relationship, e. g. , car model engine ENG01 is part of a car model CM01, an aggregation relationship is best, as the engine, ENG01 may be also part of a different car model, CM02. This is often called a catal og relationship. Class Level Relationships o Generalization Class diagram showing generalization between one ace class and two subclassesThe generalization relationship indicates that one of the two related classes (the subtype) is considered to be a specialized form of the other (the supertype) and supertype is considered as GENERALIZATION of subtype. In practice, this means that any instance of the subtype is also an instance of the supertype. The relationship is most easily understood by the phrase A is a B. The UML graphical copy of a Generalization is a hollow triangle shape on the supertype end of the line (or tree of lines) that connects it to one or more subtypes. The generalized relationship is also known as the inheritance or is a relationship.The supertype in the generalization relationship is also known as the parent, super class, base class, or base type. The subtype in the generalization relationship is also known as the child, subclass, derived class, derived type, inheriting class, or inheriting type. Generalization-Specialization relationship A is a type of B E. g. an oak is a type of tree, a sedan is a type of vehicle o Realization In UML modelling, a realization relationship is relationship between model elements, in which one model element (the client) realizes the behavior that the other model element (the supplier) specifies.A realization is periled in the diagram editor in chief as a dashed line with an unfilled arrowhead towards the supplier. General Relationship o Dependency(UML) A dependency exists between two defined elements if a change to the definition of one would result in a change to the other. This is indicated by a dashed pointing from the dependent to the independent element. Several named varieties exist. A dependency can be between instances, class, or both. Multiplicity The association relationship indicates that (at least) one of the two related classes makes reference to the other.In product line with the gener alization relationship, this is most easily understood through the phrase A has a Ba mother cat has kittens, kittens have a mother cat. The UML representation of an association is a line with an optional arrowhead indicating the role of the object(s) in the relationship, and an optional notation at each end indicating the multiplicity of instances of that entity ( the number of objects that participate in the association). Common multiplicities are index number Meaning 0.. No instances, or one instance(optional, may) 1 Exactly one instance 0.. * or * set or more instances 1.. * One or more instances(at least one) n Exactly n instances(n1) 0.. n Zero or n instances(n1) 1.. n One or n instances(n1) pic share plot In the Unified Modeling Language, a component diagram depicts how a software system is split up into physical components and shows the dependencies among these components. individualized components could be, for example, files, header, link libraries, facultys, viables , or packages. Component diagrams can be used to model and document any systems architecture. Component diagrams are particularly useful with larger teams. Your initial architectural modeling efforts during cycle 0 should focus on identifying the initial architectural landscape for your system. UML component diagrams are great for doing this as they enable you to model the high-level software components, and more importantly the interfaces to those components.Once the interfaces are defined, and agreed to by your team, it makes it much easier to organize the breakment effort between sub teams. You exit discover the carry to evolve the interfaces to reflect new requirements or changes to your design as your visit progresses, changes that subscribe to be negotiated between the sub teams and then implemented appropriately. pic origination TO RATIONAL ROSE quick-scented rose sane rosebush is an object-oriented Unified Modeling Language(UML) software design tool intended for vis ual modeling and component construction of enterprise-level software applications.In much the same way a theatrical director blocks out a play, a software designer uses shrewd rose to visually seduce(model) the framework for an application by blocking out classes with actors(stick figures), use case elements(ovals), objects(rectangles) and messages/relationships(arrows) in a sequence diagram victimization take up-and-drop symbols. perspicacious flush documents the diagram as it is world constructed and then generates principle in the designers choice of C++, ocular rudimentary, Java, Oracle8,CORBA or Data Definition Language. Two popular features of Rational Rose are its ability to provide iterative development and round-trip engineer.Rational Rose allows designers to take advantage of iterative development(sometimes called evolutionary development) because the new application can be created in stages with the output of one iteration neat the input to the next. (This is i n contrast to waterfall development where the whole dispatch is completed from start to fire before a substance absubstance abuser gets to see it out. ) thus, as the developer begins to understand how the components interact and makes modifications in the design, Rational Rose can perform what is called round-trip engineering by going back and updating the slumber of the model to ensure the code re importants consistent.Rational rose is extensible, with downloadable sum up-ins and third-party applications. It supports COM/DCOM(ActiveX), JavaBeans, and Corba component standards. studys in UML/Rational Rose There are four assures for a model created in Rational Rose, each representing the system from a different point of skyline. The Use Case intellection The use case view contains the diagrams used in analysis(use case, sequence, and collaboration), and all the elements that compromise these diagrams(e. g. , actors). More recent versions of Rational Rose also allow for add itional documentation in the form of word-processed documents and/or URLs to Web- base materials.The purpose of the use case view is to envisage what the system must do, without dealing with the specifics of how it will be implemented. Logical View The legitimate view contains the diagrams used in object design(class diagrams and state transition diagrams). It offers a detailed view of how the system envisaged in the use case view will be implemented. The basic element in this view is the class, which includes an describe of its attributes and operations. This directly corresponds to a class created in your chosen carrying into action language.From the logical view, skeletal code can be generated for implementation into a computer language. More recent versions of Rational Rose not only can generate skeletal code for Visual C++, Visual Java, or Visual BASIC, but also reverse engineer programs created in these languages into Rational Rose models. This allows existing components to be included in documented models, if there is door to the source code. In addition, changes that need to be do during implementation can be reflected in the documentation of the design model. Component ViewThe component view is a step up from the logical view and contains diagrams used in system design(component diagrams). This includes information about the code libraries, executable programs, runtime libraries, and other software components that comprise the completed systems. Components can be preexistent for example, a Windows program in Visual C++ will utilize Microsoft Foundation Class to provide the framework for the Windows interface. Components that do not exist and need to be created by the developers will have to be designed in the logical view.Deployment View The deployment view illustrates how the completed system will be physically deployed. This view is incumbent for complex applications in which a system will have different components located on different machine s. For example, interface components may be located on a user machine while other components may be located on a network server. INTRODUCTION TO VISUAL BASIC Visual prefatorial (VB) is an event driven schedule language and associated development environment from Microsoft for its COM programming model.Visual base was derived from BASIC and enables the rapid application development(RAD) of graphical user interface(GUI) applications, access to databases employ DAO, RDO, or ADO, and creation of ActiveX controls and objects. Scripting languages such as VBA and VBScript are syntactically similar to Visual Basic, but perform differently. A programmer can put together an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations. LANGUAGE BASICSVisual Basic was designed to be easy to learn and use. The language not only allows programmers to create simple GUI a pplications, but can also develop fairly complex applications as well. Programming in VB is a combination of visually arranging components or controls on a form, specifying attributes and actions of those components, and piece additional lines of code for more functionality. Since default attributes and actions are defined for the components, a simple program can be created without the programmer having to write many lines of code.Performance problems were experienced by earlier versions, but with faster computers and inseparable code compilation this has extend less of an issue. Forms are created using drag and drop techniques. A tool is used to place controls (e. g. , text boxes, buttons, and so on ) on the form (window). Controls have attributes and event handlers associated with them. Default values are provided when the control is created, but may be changed by the programmer. Many attribute values can be modified during run time based on user actions or changes in the env ironment, providing a dynamic application.For example, code can be inserted into the form resize event handler to lurch a control so that it remains centered on the form, expands to fill up the form, etc. By inserting code into the event handler for a keypress in a text box, the program can automatically rede the case of the text being entered, or even prevent trusted characters from being inserted. Unlike many other programming languages, Visual Basic is generally not case sensitive, although it will transform keywords into a standard case configuration and force the case of variable names to conform to the case of the entry within the symbol table entry.String comparisons are case sensitive by the default, but can be made case insensitive if so coveted. The Visual Basic compiler is divided up with other Visual Studio languages(C, C++), but restrictions in the IDE do not allow the creation of some targets (Windows model DLLs) and threading models. Result and then the UML diag rams and introduction to Visual Basic was studied. PASSPORT AUTOMATION system of rules Ex. No 2. a Date Aim To Study the software requirements specification for mountain pass mechanization system. Problem Statement flip automation System is used in the effective dispatch of walk to all of the appliers.This system adopts a comprehensive approach to minimize the manual work and schedule resources, time in a cogent manner. The core of the system is to get the online adaption form (with details such as name, credit etc. ,) filled by the applicant whose testament is verified for its genuineness by the toss mechanization System with respect to the already existing information in the database. This forms the first and foremost step in the processing of passport application. subsequently the first round of verification done by the system, the information is in turn forwarded to the regional administrators (Ministry of international Affairs) office.The application is then proces sed manually based on the report given by the system, and any forfeiting identify can make the applicant liable to penalty as per the law. The system also provides the applicant the list of forthcoming dates for appointment to document verification in the administrators office, from which they can select one. The system forwards the necessary details to the guard for its separate verification whose report is then presented to the administrator. The administrator will be provided with an option to display the current perspective of application to the applicant, which they can view in their online interface.After all the necessary criteria has been met, the original information is added to the database and the passport is sent to the applicant. Software Requirements Specification 1. 0 Introduction Passport Automation System is an interface between the Applicant and the Authority responsible for the deal of Passport. It aims at improving the efficiency in the Issue of Passport and take 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 decorous 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 guardedly verified and validated in order to satisfy it. 1. 2 kitchen range The System provides an online interface to the user where they can fill in their personal details and submit the necessary documents (may be by scanning). The authority come to with the issue of passport can use this system to reduce his work load and process the application in a speedy manner. Provide a communication platform between the applicant and the ad ministrator. Transfer of data between the Passport military issue Authority and the Local Police for verification of applicants information. Users/Applicants will come to know their status of application and the date in which they must subject themselves for manual document verification. 1. Definitions, Acronyms and the Abbreviations executive director Refers to the super user who is the primordial 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. Applicant One who wishes to obtain the Passport. PAS Refers to this Passport Automation System. HTML Markup Language used for creating web pages. J2EE Java 2 Enterprise Edition is a programming platform and it is the partof the coffee tree platform for developing and running play distributed coffee bean applications. HTTP Hyper Text Transfer communications protocol. TCP/IP Transmission Control Pro tocol/Internet Protocol is the communication protocol used to connect hosts on the Internet. 1. 4 References IEEE Software Requirement Specification format. 1. 5 Technologies to be used HTML JSP Javascript Java XML AJAX 1. 6 slits to be Used Eclipse IDE ( incorporated Development Enivronment) 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 tribute of data stored in. This minimizes the time duration in which the user receives the passport. 2. 2 Software interface Front End Client The applicant and decision mak er online interface is build using JSP and HTML. The Administratorss local interface is strengthened using Java. Web host Glassfish application server(Oracle Corporation). Back End Oracle database. 2. 3 Hardware port The server is directly connected to the client systems. The client systems have access to the database in the server. 2. 4 System Functions Secure adaption of information by the Applicants. Schedule the applicants an appointment for manual verification of original documents. Panel for Passport Application Status Display by the Administrator. SMS and Mail updates to the applicants by the administrator. Administrator can generate reports from the information and is the only authorized forcefulness to add the eligible application information to the database. . 5 User Characteristics Applicant They are the people who desires to obtain the passport and submit the information to the database. Administrator He has the certain privileges to add the passport sta tus and to approve the issue of passport. He may contain a group of persons under him to verify the documents and give suggestion whether or not to approve the dispatch of passport. Police He is the person who upon receiving intimation from the PAS, perform a personal verification of the applicant and see if he has any criminal case against him before or at present.He has been vetoed with the power to decline an application by suggesting it to the Administrator if he finds any discrepancy with the applicant. He communicates via this PAS. 2. 6 Constraints The applicants require a computer to submit their information. Although the security is given high importance, there is eer a chance of intrusion in the web world which requires changeless monitoring. The user has to be careful while submitting the information. Much care is required. 2. 7 Use Case Model Description The usecase model is a representation of the interaction between the users and the system.It captures the goa ls of the users and the responsibility of the system to the users. It is a special flow of events through the system. Grouping of usecases can manages the complexities and reduce the number of usecases in the package. The usecase model describes the uses of the system and show the manakins of events that can be performed. A usecase is an interaction between user and system it captures the goals of the user and the responsibility of the system to its users. It defines what happens in the system when the usecase is performed. 2. 8 Assumptions and Dependencies The Applicants and Administrator must have basic knowledge of computers and English Language. The applicants may be required to scan the documents and send. Result Thus the software requirements specification for passport automation system was studied. Gantt Chart for Passport Automation System Ex No 2. b Date Aim To develop a risk management and project plan for passport automation system using Gantt Chart. Introduction A Ga ntt chart is a type of bar chart that illustrates a project schedule. Gantt charts illustrate the start and finish dates of the terminal elements and summary elements of a project.Terminal elements and summary elements comprise the work breakdown structure of the project. Some Gantt charts also show the dependency (i. e. , precession network) relationships between activities. Gantt charts can be used to show current schedule status using percent-complete shadings and a vertical TODAY line as shown here. pic Passport Automation System For the project, the activities considered are 1. Requirement Analysis 2. writings Survey and Specification 3. Preliminary Design 4. Detailed Design 5. test 6. Operation and Maintenance pic ResultThus the risk management and project plan for passport automation system was designed using Gantt Chart. EX. NO2 c DATE PASSPORT AUTOMATION SYSTEM take To crush and design a system for Passport Automation using Rational Rose tool. 1. PROBLEM sayMENT To cr eate a software system for the applicant(s), applying for the passport by verifying the information provided by them. 2. boilersuit explanation The facultys are for 1. Applicant Applicant has to provide the information like Name, Gender, Age, Qualification, Parents Name, Communication address, Phone no, etc. Also, they need to provide the DD details. . Passport Issuing Authority This system will verify the details provided by the applicant. And occlusive whether the applicant is provided with passport or not. The details of the applicant are stored in the Database. 3. Database This will store the details of the applicant for future reference. 2. 1 parcel REQURIEMENTS 1. Rational Rose 2. 2 HARDWARE REQURIMENTS 1. 128MB RAM 2. Pentium threesome mainframe computer 3. DESIGN 1. USE CASE DIAGRAM pic 3. 2 CLASS DIAGRAM pic 3. 2 sequence DIAGRAM pic 3. 3 COLLABORATION DIAGRAM pic 3. 4 COMPONENET DIAGRAM pic coffee berry CODING Database. java ublic class database hugger-mugger int applicantDetails customary database() everyday reverse storeTheDetails() macrocosm void issueDetailsToAuthortiy() Applicant. java humans class APPLICANT nonpublic int firstName head-to-head int surname mystical int Sex reclusive int DOB underground int placeOfBirth offstage int district private int qualification private int flower private int weight private int presnetAddress private int permanentAddress private int fathersName private int mothersName private int emailId private int phone come in private int DDNO private int DDDATE ublic passportIssueAuthority thePassportIssueAuthority public APPLICANT() PassportIssueAuthority. java public class passportIssueAuthority private int authorityName private int authorityId private int workPlace public APPLICANT theAPPLICANT public database theDatabase public passportIssueAuthority() public void issuePassport() public void verify() public void cancellation() RESULT Thus the UML diagrams for Passport Automat ion System was analyzed and designed using Rational Rose. EXNO3 DATE throw marge 1. objective lens a. To implement watchword bank system online. . To provide the students with the information on books and scheduled times of book rental available. c. To ensure validity and security in the online book bank management system. 2. SCOPE OF THE PROJECT The book bank system project is a software tool created to stand by and access the students gather required information about the various books in the institution the project is web based interactive application. Focus is fit(p) solely on the book display,schedule,categories,syllabus and payment as per required. 3. PROJECT DESCRIPTION USER PERSONAL AND CHARACTERISTICSThe target client for our software are students who vital are interested in rental of books be it either from engineering or medical genre in the institution. They can log into our website and crease the courses which they have aspiration to study. The student must under stand themselves online,which is free. The mental reservation or reservation of the books is online,the detailed description about their book package and necessary footing and condition norms would be emailed to the students registered email address which he/she may provide during the time of alteration. PRODUCT PERSPECTIVE This product requires a web browser which is capable of playing flash media. This program will not be dependent on any other software and is not a component of another program. This program does not require any new hardware. 4. REQUIREMENTS (a). FUNCTIONAL REQUIREMENTS A functional requirement defines a function of a software system on its component. A function is described as a set of inout,the behaviour and output. i. A main placard including a brief help section. ii. Login iii. Viewing book details. iv. Displaying details. v. Maintain and update book details. vi. Logout. . REQUIREMENTS The system should have the requirements of the project. The develope r should prepare the requirements of the project. The should prepare the requirements which are need for the software. 2. ANALYSIS Analyze the requirements whether it provides proper operations/output and performs the task. 3. DESIGN puke manager should design the layout of the project before going to implement time allocation,cost allocation and staff allocation wil coming under design process. 4. execution After encomposing all the diagrams,we have to generate code for each and every diagrams i. from usecase to deployment. 5. TESTING Afteer implementing the diagram with eye socket language,we have to test the particular projects. 6. MAINTAINENCE The system should be easily updated. The system should utilize the interchangeable plugins software actual should maintain the cost and time schedule of the project. (b). NON- FUNCTIONAL REQUIREMENTS Nonfunctional requirements define the needs in terms if performance, logical database requirements, design constraints, standard complia nce, reliability, availability, security, maintainability and portability. i. performance REQUIREMENTSPerformance requirements define acceptable response times for system functionality. The good time for user interface screens will take no time-consuming than two seconds. The login information shall be verified within the seconds. Queries shall results within vanadium seconds. ii. DESIGN CONSTRAINTS The software shall be a standard system running in a windows environment. The system shall be developed using rational enterprise suite and oracle 10i database. iii. RELIABILITY Specify the factors required to establish the required reliability of the software system at time of delivery. iv. accessibility The system should have an availability of 99. 99%. v. PORTABILITY The system should be passing via the usb drive. The system shall be easy to immigrate or backed up via another use drive. vi. MAINTAINABILITY The system shall utilize interchangeable plugins. The system shall be easily updateable for fixes and patches. (c). HARDWERE REQUIREMENTS 1. Processor - Intel Pentium IV-2. 0 GHZ. 2. Hardware - 40 GB. 3. RAM - 512mb 4. videodisk RAM - 1 nos. (d). SOFTWARE REQUIREMENTS 1. OS - Windows XP/vista. 2. Front end Tool - Rational Rose Enterprise suite. 3. Back end Tool - MSAccess 5. mental faculty DISCRIPTION In this project we have defined different modules to enable the guard Bank system in successful manner. i. REGISTER The register module contains the application form or registration form which contains following details. Name, Address, connectedness number, E-mail id, Password etc. ii. LOGIN The Login module contains the form which contain social rank name and member cry. It includes Username and Password. iii. SEARCH BOOKThe hunt book module contain list of books, from this list we search for the book which we need. This also contains another field called as categories where can select the category of the book. iv. DISPLAY inside information Display the details about the students particulars, the payments, the books, rental and schedule times for books etc. v. MAINTAIN BOOK DETAILS The administrator maintains the details of books. vi. LOGOUT To sign off from the webpage or your account statement log off. 6. DOMAIN MODEL A sports stadium model is a visual representation of conceptual classes or real situations object in a domain. In object oriented analysis, the domain model is the most important. It illustrates the concept in the domain. It act as a source of inspiration for designing some software objects. 7. PARTIAL forge architecture Sequence diagram is an interaction overview diagram. It provides a big moving belief overview of how a set of interaction are related in terms of logic and process flow. This Partial layer architecture shows the interface of the sequence diagram, here the administrator shows the interface by displaying actor symbol. 8. LOGICAL computer architectureThe Logical a rchitecture is large scale organization of software class into packages, sub system layer, It is called logical architecture because there is no direction about how these elements are display on different operating system. 9. happen use Personal short falls. Unrealistic schedules and budgets. ontogenesis the wrong functions and programs. Developing the wrong user interface. Continuing stream of requirements changes. Short falls in externally furnished component. Real time performance short falls. stress computer science capabilities. chance ASSESSMENT Figure out what the risks are and what to focus on. Making a list of all of the potential dangers that will affect the project. Assessing the probability of occurrence and potential ross of each item listed. RISK CONTROL Monitoring the effectiveness of the strategies and the changing levels of risk throughout the project. Techniques and strategies to migrate the highest ordered risks. 10. GANTT CHART It describes the ti me schedule for the planning to complete the synonymous and afterwards completion of core product, what the time is taken for the project action of core product. 11. POST- FUNCTION AND PRE-FUNCTION staff Registering PRE-FUNCTION Login to the website. Collection the required documents to be submitted for registration. POST-FUNCTION chit of documents submitted. Conformation email sent accessing that authentication can be prevailed for the individual. MODULE Display book details PRE-FUNCTION Analyze the course of semester of logger. POST-FUNCTION Display the required book details. 12. UML PACKAGE DIAGRAM A package diagram provides a way to group element. Here we have grouped the 6 main elements of software project grouped the in order register, login, search book.It goes to update and gross sales record. A package name may be based on tab if the package shows the member of main package. 13. TECHNICAL go LAYER Technical service layer describes the relationship between different actors, components of the software process for any admin seek the registration for new visitor. So that the new visitor can login the website and search for book and if need can buy it. 14. DOMAIN SERVICES LAYER After technical services layer from partial layered architecture, we are going to generate the tag in java or VB the project domain is now finalized in burnt umber/VB. 15. USER INTERFACE LAYER . ADMIN The administrator is used to register a new visitor for the website. Admin can keep those records update. Admin keep sales record i. e. , now much book is downloaded and how much book is buyed pertly with copy write etc. ii. REGISTERED USER Registered user can search the book whatever needs and can read the book in online. If user is satisfied with this book, can download the book but after payment. iii. VISITOR The visitor can register the application form and become a member of the website. The visitor can search books and read the boook but he must register to buy or dow nload the book.UML USECASE DIAGRAM Uml provides use case diagram notation to iilustrate the names of use case and author relationship between them. Use case diagram and case relationship are secondary in use case work use case text document. UML CLASS DIAGRAM The Uml class diagram is to illustrate class interfaces as their actions. They are used for static object modeling, we have already introduced and used their uml diagram while domain modeling. UML SEQUENCE DIAGRAM A sequence diagram illustrate a course of format in which each object interact via message. It is generalize between two or more specialized diagram.PARTIAL LAYER ARCHITECTURE DIAGRAM Sequence diagram is an interaction overview diagram. It provides a big picture overview of how a set of interaction are related in terms of logic and process flow. This Partial layer architecture shows the interface of the sequence diagram, here the administrator shows the interface by displaying actor symbol UML COLLABRATION DIAGRAM COL LABRATION diagram illustrate that object interact on a graph or network format in which object can be placed where the diagram. In collaboration diagram the object can be placed in anywhere on the diagram.The collaboration comes from sequence diagram. UML STATE CHART DIAGRAM A Uml state machine represents the interaction events and states of an object and behavior of an object in reaction to an event.. Transaction shown as allows labeled with their event. It is included with initial pseudo state and fins end state UML ACTIVITY DIAGRAM A Uml activity diagram shows sequential and parallel activates in a process, work flows, data flows and compiler algorithm. UML COMPONENT DIAGRAM Components are slightly fuzzy concept in this Uml, because both class and components can be used to model the something.UML DEPLOYEMENT DIAGRAM Deployment diagram shows the assignment of concrete software artifact to computational nodes. It shows the deployment of software elements to the physical elements. D eployment diagram are useful to communicate or deployment architecture. IMPLEMENTATION After the completion of UML diagrams for BOOK BANK SYSTEM we should generate the code. Select the tools option from main visiting card then select the sub option program module in which we are going to generate the code in JAVA/VB/J2EE. Then go ahead and select the generate code option as a result of code generation. TESTINGTo perform the testing for the generated code again select the tools option from menu bar and choose whole step architecture option a sub window gets opened. We are going to perform Unit Test and Scenario testing for our project. So, select these testing option one by one and testing activity is carried out for all the coding and testing is carried out. CONCLUSION Thus the project for BOOK BANK SYSTEM has been successfully executed and codes are generated. STOCK MAINTENANCE SYSTEM Ex. No 4 Date grade To analyze and design a system for tired Maintenance System using Rational Rose tool.Problem Statement INVENTORY SYSTEM is a real time application used in the merchants day to day system. This is a database to store the transaction that takes places between the maker, corpus and the Shop shop steward that includes stock inward and stock outward with reference to the school principal. Here we assume our self as the Dealer and proceed with the transaction as follows The Manufacturer is the producer of the items and it contains the necessary information of the item such as expenditure per item, Date of manufacture, best before use, Number of Item available and their lodge Address.The Dealer is the secondary source of an Item and he purchases Item from the shaper by requesting the required Item with its corresponding Company Name and the Number of Items required. The Dealer is only responsible for distribution of the Item to the Retailers in the townsfolk or City. The Shop custodian or Retailer is the one who is top source for selling items in the ma rket. The customers get Item from the Shop Keeper and not directly from the Manufacturer or the Dealer. The Stock is the database used in our System which records all transactions that takes place between the Manufacturer and the Dealer and the Dealer and the Retailer.USE CASE DIAGRAM pic ACTIVITY DIAGRAM pic SEQUENCE DIAGRAM pic COLLABORATION DIAGRAM pic COMPONENT DIAGRAM pic CLASS DIAGRAM pic DEPLOYMENT DIAGRAM pic Javacoding Manufacturer. java public class manufacturer private int manufacturername private int companyname private int dateofmanufactured private int addres private int contactno private int name public dealer theDealer public manufacturer() public void purchase() public void sales() Dealer. java public class dealer private int dealername private int dateofitemsreceived private int address private int contactnumber rivate int price private int noofitemsordered private int noofitemssold public manufacturer theManufacturer public shopkeeper theShopkeeper public dealer() public void purchase() public void sales() public void showstockdetails() Shopkeeper. java public class shopkeeper private int shopkeepername private int address private int contactnumber private int price private int numberofitemsordered public dealer theDealer public shopkeeper() public void purchase() public void sales() RESULT Thus the UML diagrams for Stock Maintenance was analyzed and designed using Rational Rose.Ex No 5 Date ONLINE COURSE REGISTRATION SYSTEM AIM To create a system through which students can register to the courses desired by them, using Rational Rose tool. Problem statement ? The system is built to be used by students and managed by an administrator. ? The student and employee have to login to the system before any processing can be done. ? The student can see the courses available to him and register to the course he wants. ? The administrator can maintain the course details and view all the students who have registered to a ny course. System requirements Rational Rose SoftwareUse-case diagram The course registration system has the following use-cases Login View course details Registration Display details Maintain course details Logout The actors involved in the system are 1. Student 2. Administrator Use-case name Login The user enters the username and password and chooses if the user is student or administrator. If entered details are valid, the users account becomes available. If it is invalid, an appropriate message is displayed to the user. Use-case name View course details In this use case, a student can search all the courses available to him and choose the best course he wants.The student can view the course duration, faculty and department of the courses he may choose. Use-case name Registration When a student has successfully chosen a course, he can register to that course. Upon registration, the students details are stored in the database. Use-case name Display details After registration to an y course, the student may see the details of his current course. He may wish to know details about fees and other information. The administrator also has the privilege to display details of the the students and the corresponding course for which they have registered.Use-case name Maintain course details The administrator has to perform the duties of maintaining the course details. Any change to the course structure is maintained by the administrator. Use-case name Logout After all the desired transactions are made, the user may choose to logout from the system to continue all he changes they have made. Use-case diagram for course registration system pic Class diagram The class diagram is a graphical representation of all the classes used in the system and their operations, attributes and relationships. The course registration system makes use of the following classes . Stud(student details) 2. Administrator 1) Stud It consists of the details of all the students present in the datab ase. The attributes present in this class are student id, password, name, age, sex, course and attendance. The object of this class is created as soon as the student registers to a course. The operations available to this class are login (), logout (), validation (), register (), and view course details (). 2) Administrator It consists of details of all the courses available to the student.The attributes present in this class are username, password, course fees, fees due, marks, and attendance. The operations available to this class are login (), logout (), ma course details (), display course (), and fixation (). Class diagram for course registration system pic Sequence diagram Sequence and collaboration diagram for login to the system pic pic Sequence and collabaration diagram for logout pic pic Sequence and collabaration diagram for registration to a course pic pic ACTIVITY DIAGRAM pic JAVA CODE habitual class stud Private int sidPrivate power train passwd Private int age P rivate int sex Public admin Public stud() Public void logout() Public void confirm() RESULT Thus the Online course registration system was designed and analyzed using Rational Rose. Ex No 6 Date ONLINE TICKET RESERVATION SYSTEM (E Ticket) AIM To analyze and design a system for Online Ticket Reservation System (E Ticket) using Rational Rose tool. 1. PROBLEM STATEMENT To book a shred for a user online just the ticket reservation system software and to confirm the ticket participation, making the payment, printing the tickets has to designed using Rational Rose tool. . OVERALL DESCRIPTION 1. LOGIN Before entering the system, users have to login express the username and password from existing users. Give new users the option to sign up. 2. AVAILABILITY jack off the source and destination. Provide a dropdown box for the date. Check availability of tickets. 3. reschedule If tickets are available, get the number of passengers. Get the name and age of all passengers. I f tickets are not available, reschedule. 4. PAYMENT DETAILS Print the cost of the tickets. Get the payment details from the user. Confirm the details and the ticket. Display confirmed ticket to the user. USECASE DIAGRAM pic ACTIVITY DIAGRAM pic CLASS DIAGRAM pic SEQUENCE DIAGRAM pic COLLABORATION DIAGRAM pic STATE CHART DIAGRAM pic COMPONENT DIAGRAM pic DEPLOYMENT DIAGRAM pic Javacoding Customerdetails. java public class customerdetails private int name private int address private int email private int age public booking theBooking public customerdetails() public void book() Booking. java public class booking private int booking_no private int date private int total private int status private int name public payment thePayment ublic booking() public void pay() Payment. java public class payment private int date private int step public payment() RESULT Thus the Online Ticket Reservation System have been designed and verified using Rational Rose Tool. Ex No7 Date S OFTWARE PERSONNEL MANAGEMENT SYSTEM AIM To analyze and design a system for Software Personnel oversight System using Rational Rose tool. 2. PROBLEM STATEMENT To compute the gross pay of a person using the software personnel management system software and to add new details to the existing database and update it, using Rational Rose tool. . OVERALL DESCRIPTION The three modules are 1. Login The employee details has to be entered and if needed the details can be edited. 2. Pay slip It contains details such as employee id, employee name, department, experience, and basic pay. 3. View Updated database would be present. The details of the employee can be used for further reference. 2. 1 SOFTWARE REQURIEMENTS 1. Rational Rose 2. 2 HARDWARE REQURIMENTS 4. 128MB RAM 5. Pentium III Processor 3. DESIGN USECASE DIAGRAM pic CLASS DIAGRAM pic SEQUENCE DIAGRAM picCOLLABORATION DIAGRAM pic SEQUENCE DIAGRAM pic COLLABORATION DIAGRAM pic ACTIVITY DIAGRAM pic JAVA CODING PAYROLLLOGIN. JAVA public cl ass payrolllogin private int enterdetails private int editdetails public payslip thePayslip public viewdetails theViewdetails public payrolllogin() public void exit() VIEWDETAILS. JAVA public class viewdetails private int eid private int ename private int dept private int exp private int basicpay private int hra private int da private int bpf private int gpay public viewdetails()
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment