Date post: | 07-Feb-2016 |
Category: |
Documents |
Upload: | rajabala93 |
View: | 45 times |
Download: | 0 times |
Ex No: 1
Date:
PRACTICING THE DIFFERENT TYPES OF CASE TOOLS SUCH AS
(RATIONAL ROSE & OTHER OPEN SOURCE) USED FOR ALL THE PHASES
OF SOFTWARE DEVELOPMENT LIFE CYCLE.AIM:
To Practice the different types of case tools such as used for all the phases of software
development life cycle.
INTRODUCTION:
CASE tools known as Computer-Aided Software Engineering tools is a kind of component-
based development which allows its users to rapidly develop information systems. The main goal of
case technology is the automation of the entire information systems development life cycle process
using a set of integrated software tools, such as modeling, methodology and automatic code generation.
Component based manufacturing has several advantages over custom development. The main
advantages are the availability of high quality, defect free products at low cost and at a faster time. The
prefabricated components are customized as per the requirements of the customers. The components
used are pre-built, ready-tested and add value and differentiation by rapid customization to the targeted
customers. However the products we get from case tools are only a skeleton of the final product
required and a lot of programming must be done by hand to get a fully finished, good product.
Characteristics of CASE:
Some of the characteristics of case tools that make it better than customized development are;
It is a graphic oriented tool.
It supports decomposition of process.
Some typical CASE tools are:
Unified Modeling Language
Data modeling tools, and
Source code generation tools
Software Development – Case Tools Lab Lab Manual - 1
Introduction to UML
The UML is a language for specifying, constructing, visualizing, and documenting the software
system and its components. The UML is a graphical language with sets of rules and semantics. The
rules and semantics of a model are expressed in English in a form known as OCL (Object Constraint
Language). OCL uses simple logic for specifying the properties of a system. The UML is not intended
to be a visual programming language. However it has a much closer mapping to object-oriented
programming languages, so that the best of both can be obtained. The UML is much simpler than other
methods preceding it. UML is appropriate for modeling systems, ranging from enterprise information
system to distributed web based application and even to real time embedded system. It is a very
expensive language addressing all views needed to develop and then to display system even though
understand to use. Learning to apply UML effectively starts forming a conceptual mode of languages
which requires learning.
Three major language elements:
UML basic building blocks
Rules that dictate how this building blocks put together
Some common mechanism that apply throughout the language
The primary goals in the design of UML are:
1. Provides users ready to use, expressive visual modeling language as well so they
can develop and exchange meaningful models.
2. Provide extensibility and specialization mechanisms to extend the core concepts.
3. Be independent of particular programming languages and development
processes.
4. Provide formal basis for understanding the modeling language.
5. Encourage the growth of the OO tools market.
6. Support higher-level development concepts.
7. Integrate best practices and methodologies.
Every complex system is best approached through a small set of nearly independent views of a
model. Every model can be expressed at different levels of fidelity. The best models are connected to
reality.
The UML defines nine graphical diagrams:Software Development – Case Tools Lab Lab Manual - 2
1. Class diagram
2. Use-case diagram
3. Behavior diagram
3.1. Interaction diagram
3.1.1. sequence diagram
3.1.2. collaboration diagram
3.2. state chart diagram
3.3. activity diagram
4. Implementation diagram
4.1 component diagram
4.2 deployment diagram
Use Case Diagram
The behavior of the system under development (i.e. what functionality must be provided by the system) is documented in a use case model that illustrates the system's intended functions (use cases), its surroundings (actors), and relationships between the use cases and actors (use case diagrams).
Actors Are NOT part of the system – they represent anyone or anything that must interact with the
system. Only input information to the system. Only receive information from the system. Both input to and receive information from the system. Represented in UML as a stickman.
Use Case A sequence of transactions performed by a system that yields a
measurable result of values for a particular actor A use case typically represents a major piece of functionality
that is complete from beginning to end. A use case must deliver something of value to an actor.
Use Case Relationships
Between actor and use case. Association / Communication. Arrow can be in either or both directions; arrow indicates who initiates
communication. Between use cases (generalization):
– Uses• Where multiple use cases share pieces of same functionality.
– Extends• Optional behavior.
Software Development – Case Tools Lab Lab Manual - 3
• Behavior only runs under certain conditions (such as alarm). Several different flows run based on the user’s selection
Documenting Flow of events
Background
Each use case is documented with a flow of events. The flow of events for a use case is a description of the events needed to accomplish the required behavior of the use case. Activity diagrams may also be created at this stage in the life cycle. These diagrams represent the dynamics of the system. They are flow charts that are used to show the workflow of a system; that is, they show the flow of control from one activity to another in the system,
Flow of Events
A description of events required to accomplish the behavior of the use case, that:
Show WHAT the system should do, not HOW the system does it. Written in the language of the domain, not in terms of implementation. Written from an actor point of view.
A flow of events document is created for each use case:
Actors are examined to determine how they interact with the system. Break down into the most atomic actions possible.
Contents of Flow of Events
When and how the use case starts and ends. What interaction the use case has with the actors. What data is needed by the use case. The normal sequence of events for the use case. The description of any alternate or exceptional flows.
Template for the flow of events document
Each project should use a standard template for the creation of the flow of events document. The following template seems to be useful.
X Flow of events for the <name> use caseX.1 PreconditionsX.2 Main flowX.3 Sub-flows (if applicable)X.4 Alternative flowswhere X is a number from 1 to the number of use cases.
Activity Diagram
Activity diagrams are flow charts that are used to show the workflow of a system. They also:
Software Development – Case Tools Lab Lab Manual - 4
Represent the dynamics of the system. Show the flow of control from activity to activity in the system. Show what activities can be done in parallel, and any alternate paths through the flow.
Activity diagrams may be created to represent the flow across use cases or they may be created to represent the flow within a particular use case. Later in the life cycle, activity diagrams may be created to show the workflow for an operation.
Activity Diagram Notation
Activities- performance of some behavior in the workflow. Transition- passing the flow of control from activity to activity. Decision- show where the flow of control branches based on a decision point:
o Guard condition is used to determine which path from the decision point is taken. Synchronization-what activities are done concurrently? What activities must be completed
before processing may continue (join).
Class Diagram
BackgroundClasses: a description of a group of objects with common properties (attributes), common behavior (operations), common relationships to other objects and common semantics.
Object-Oriented Concepts
Attribute: the basic data of the class. Method (operation): an executable procedure that is encapsulated in a class and is designed to
operate on one or more data attributes that are defined as part of the class. Object: when specific values are assigned to all the resources defined in a class, the result is an
instance of that class. Any instance of any class is called an object.
Specifying ClassesEach class is given a name, and then you need to specify:
Attributes: initially those that capture interesting object states. Attributes can be public, protected, private or friendly/package.
Operations: can be delayed till later analysis stages or even till design. Operations also can be public, protected, private or friendly/package.
Object-Relationships: o Associations: denote relationships between classes.o An aggregation: a special case of association denoting a “consists of” hierarchy.o Composition: a strong form of aggregation where components cannot exist without the
aggregate. o Generalization relationships: denote inheritance between classes.
This will build the class diagram, which is a graphical representation of the classes (including their attributes and operations) and their relationship with other classes.
Software Development – Case Tools Lab Lab Manual - 5
Discovering Classes
Discovering and defining classes to describe the structure of a computerized system is not an easy task. When the problem domain is new or unfamiliar to the software developers it can be difficult to discover classes; a cookbook for finding classes does not exist.
Classes Categories
Classes are divided into three categories: Entity: models information and associated behavior that is long-lived, independent of the
surrounding, application independent, and accomplishes some responsibility Boundary: handles the communication between the system surroundings and the inside of the
system, provides interface, and facilitates communication with other systems Control: model sequencing behavior specific to one or more use cases. Control classes coordinate
the events needed to realize the behavior specified in the use case, and they are responsible for the flow of events in the use case.
Discovering Classes Approaches
Methods of discovering classes:
Noun Phrase Approach: Examine the requirements and underline each noun. Each noun is a candidate class; divide the list of candidate classes into:
Relevant classes: part of the application domain; occur frequently in requirements. Irrelevant classes: outside of application domain Fuzzy classes: unable to be declared relevant with confidence; require additional analysis
Common Class Patterns: Derives candidate classes from the classification theory of objects; candidate classes and objects come from one of the following sources:
Tangible things: e.g. buildings, cars. Roles: e.g. teachers, students. Events: things that happen at a given date and time, or as steps in an ordered sequence: e.g.
landing, request, interrupt. Interactions: e.g. meeting, discussion. Sources, facilities: e.g. departments. Other systems: external systems with which the application interacts. Concept class: a notion shared by a large community. Organization class: a collection or group within the domain. People class: roles people can play. Places class: a physical location relevant to the system.
Use Case Driven Method: The scenarios - use cases that are fundamental to the system operation are enumerated. Going over each scenario leads to the identification of the objects, the responsibilities of each object, and how these objects collaborate with other objects.
Software Development – Case Tools Lab Lab Manual - 6
CRC (Class-Responsibility-Collaboration): Used primarily as a brainstorming tool for analysis and design. CRC identifies classes by analyzing how objects collaborate to perform business functions (use cases).
A CRC card contains: name of the class, responsibilities of the class and collaborators of the class. Record name of class at the top; record responsibilities down the left-hand side; record other classes (collaborators) that may be required to fulfill each responsibility on the right-hand side.
CRC cards are effective at analyzing scenarios; they force you to be concise and clear; they are cheap, portable and readily available.
Mixed Approach: A mix of these approaches can be used, one possible scenario is:
Use CRC for brainstorming. Identify the initial classes by domain knowledge. Use common class patterns approach to guide the identification of the classes. Use noun phrase approach to add more classes. Use the use case approach to verify the identified classes.
Class Elicitation Guidelines
A class should have a single major role. A class should have defined responsibilities (use CRC cards if needed). Classes should be of a manageable size: if a class has too many attributes or operations,
consider splitting it. A class should have a well-defined behavior, preferably by implementing a given
requirement or an interface.
Interaction diagrams:
o Sequence diagrams o Collaboration diagrams
Background
Interaction diagrams describe how groups of objects collaborate in some behavior. An interaction diagram typically captures the behavior of a single use case.
Interaction diagrams do not capture the complete behavior, only typical scenarios.
Analyzing a System’s Behavior
UML offers two diagrams to model the dynamics of the system: sequence and collaboration diagrams. These diagrams show the interactions between objects.
Sequence DiagramsSoftware Development – Case Tools Lab Lab Manual - 7
Sequence diagrams are a graphical way to illustrate a scenario:
They are called sequence diagrams because they show the sequence of message passing between objects.
Another big advantage of these diagrams is that they show when the objects are created and when they are destructed. They also show whether messages are synchronous or asynchronous
Creating Sequence Diagrams
You must know the scenario you want to model before diagramming sequence diagrams. After that specify the classes involved in that scenario. List the involved objects in the scenario horizontally on the top of the page. Drop a dotted line beneath every object. They are called lifelines. The scenario should start by a message pass from the first object. You must know how to place the objects so that the sequence is clear. You may start the scenario by an actor. Timing is represented vertically downward. Arrows between life lines represents message passing. Horizontal arrows may pass through the lifeline of another object, but must stop at some other
object. You may add constraints to these horizontal arrows. Objects may send messages to themselves. Long, narrow rectangles can be placed over the lifeline of objects to show when the object is
active. These rectangles are called activation lines.
Collaboration Diagrams
They are the same as sequence diagrams but without a time axis:
Their message arrows are numbered to show the sequence of message sending. They are less complex and less descriptive than sequence diagrams. These diagrams are very useful during design because you can figure out how objects
communicate with each other.
Notes
Always keep your diagrams simple. For “IF... then ...” else scenarios, you may draw separate sequence diagrams for the different
branches of the “if statement”. You may even hide them, (at least during the analysis phase) and document them by the text description accompanying the sequence diagrams.
Toggling between the sequence and collaboration diagrams
When we work in either a sequence or collaboration diagram, it is possible to view the
corresponding diagram by pressing F5 key.
Software Development – Case Tools Lab Lab Manual - 8
State Diagrams
State diagrams show how one specific object changes state as it receives and processes messages:
Since they are very specific, they are used for analyzing very specific situations if we compare them with other diagrams.
A state refers to the set of values that describe an object at a specific moment in time. As messages are received, the operations associated with the object’s parent class are invoked
to deal with the messages. These messages change the values of these attributes. There is no need to prepare a state diagram for every class you have in the system.
Creating State Transition Diagrams
States are represented by rectangles with rounded corners with an attribute name with a values associated with it.
The name of the state is placed within the box. Events are shown by arrows. An event occurs when at an instant in time when a value is changed. A message is data passed from one object to another. The name of a state usually refers to the name of the attribute and the values associated to it. Example, a student object may receive a message to change its name. The state of that object
changes from the first name state to the new state name. The name of the state is placed in the top compartment. State variables are placed in the next compartment. The operations associated with the state are listed in the lowest compartment of the state box. In the operations part, we usually use one of the following reserved words:
o Entry: a specific action performed on the entry to the state.o Do: an ongoing action performed while in the state.o On: a specific action performed while in the state.o Exit: a specific action performed on exiting the state.
There are two special states added to the state transition diagram- start state and end state. Notation of start state is a solid black circle and for the end state a bull’s eye is used.
State Transition Details
A state transition may have an action and/or guard condition associated with it and it may also trigger an event.
An action is the behavior that occurs when the state transition occurs. An event is a message that is sent to another object in the system. A guard condition is a Boolean expression of attribute values that allows a state transition only
if the condition is true. Both actions and guards are behaviors of the object and typically become operations. Also they
are usually private operations (used by the object itself) Actions that accompany all state transitions into a state may be placed as an entry action within
the state. Actions that accompany all state transitions out of a state may be placed as exit actions within
the state A behavior that occurs within the state is called an activity.
Software Development – Case Tools Lab Lab Manual - 9
An activity starts when the state is entered and either completes or is interrupted by an outgoing state transition.
A behavior may be an action, or it may be an event sent to another object. This behavior is mapped to operations on the object.
State transition diagram notation:
UML Implementation Diagrams
The main implementation diagrams we have in UML are: component diagrams and deployment diagrams.
UML Component Diagram
Component diagrams capture the physical structure of the implementation.
Remember always that when you talk about components, you are talking about the physical models of code.
You can name them and show dependency between different components using arrows. A component diagram shows relationships between component packages and components. Each component diagram provides a physical view of the current model. Component diagrams contain icons representing:
o Component packages.o Components.o Main programs.o Packages.o Subprograms.o Tasks.
Software Development – Case Tools Lab Lab Manual - 10
State
[entry:…]
[do: …]
New State
[entry:…]
[do: …]
Action that occurs
Event causing transition
o Dependencies.
Deployment Diagram
A deployment diagram shows processors, devices and connections. Each model contains a single deployment diagram which shows the connections between its processors and devices, and the allocation of its processes to processors.
Deployment Diagrams: Processor
A processor is a hardware component capable of executing programs.
A processor is given a name and you should specify the processes that will run on that processor.
You can also specify the scheduling of these processes on that processor. Types of scheduling are:
o Pre-emptive: a higher priority process may take the process from lower priority one.o Non-preemptive: a process will own the processor until it finisheso Cyclic: control passes from one process to another.o Executive: an algorithm controls the scheduling of the processeso Manual: scheduling buy the user.
Deployment Diagrams: Device
A device is a hardware component with no computing power. Each device must have a name. Device names can be generic, such as “modem” or “terminal.”
Deployment diagrams: Connection
A connection represents some type of hardware coupling between two entities. An entity is either a processor or a device. The hardware coupling can be direct, such as an RS232 cable, or indirect, such as satellite-to-ground communication. Connections are usually bi-directional.
ATM SYSTEM
Problem statement:
This system is build for the bank client and the manager. The bank client must be able to deposit and withdraw amount from his/her accounts
using the ATM machine. Each transaction must be recorded and the client must be able to review all transactions performed in his/her account. Recorded transactions must include the date, time, transaction type, amount and account balance after the transaction.
Software Development – Case Tools Lab Lab Manual - 11
The bank manager must be able to view the ATM machine status that is the total balance of the ATM machine, today’s withdrawal, today’s balance and the limitations of the machine.
The bank client is provided by login verification. If it is valid he/she will access their account otherwise an appropriate message is displayed to the client.
Software requirements:Microsoft visual basic 6.0 is used as front-end for our project and ms-access is used as back-
end to store the data.
USE-CASE diagram:The ATM transaction use cases in our system are:
1. Login2. Withdraw3. Mini statement4. ATM machine status5. Deposit
Actors involved:1. User2. Bank manager
USE-CASE name: Login
The user enters a user name and password. If it is valid, the user’s account becomes available. If it is invalid, an appropriate message is displayed to the user.
USE-CASE name: Withdraw
The user tries to withdraw an amount from his or her checking account. The amount is less than or equal to the checking account’s balance, the transaction is performed and the available information is displayed. The system creates a record of the transaction and the display confirmation message is displayed to the client.
USE-CASE name: Mini statement
The bank user requests a history of transactions for a checking account. The system displays the transaction history for the checking account. The transaction history consists of amount, date, transaction type and balance of the particular account.
USE-CASE name: ATM machine status
The bank manager enters a username and password. If it is valid, the bank manager accesses the machine status. If it is invalid, an appropriate message is displayed to the user.
USE-CASE name: Deposit
Software Development – Case Tools Lab Lab Manual - 12
The bank user requests the system to deposit money to an account. The user accesses the account for which a deposit is going to be made and enters the amount. The system creates a record of the transaction and an appropriate confirmation message (display confirmation) is displayed to the client. The transaction must include the date, type, amount and account balance after the transaction.
Use-case diagram for ATM system
Class diagram
The class diagram, also referred to as object modeling is the main static analysis diagram. The main task of object modeling is to graphically show what each object will do in the problem domain. The problem domain describes the structure and the relationships among objects.
The ATM system class diagram consists of four classes:
1. User class2. ATM machine status3. Account4. Transaction
1) User class:
It consists of four attributes and two operations. The attributes are user name, password, address and DOB. The operations of this class are read (), display () and write ().
2) ATM machine status:
The attributes of this class are ATM balance, today’s withdrawal, today’s balance, and limitations. The operations are login verification (), ATM status () and display confirmation ().
Software Development – Case Tools Lab Lab Manual - 13
3) Account:
The attributes are account no. and balance and the operations are withdraw (), deposit () and display availability ().
4) Transaction:
The attributes of this class are account no, transaction type, data, amount, balance and the operations are mini statement () and create transaction ().
Class diagram for ATM system
Software Development – Case Tools Lab Lab Manual - 14
Sequence diagram:
A sequence diagram represents the sequence and interactions of a given USE-CASE or scenario. Sequence diagrams can capture most of the information about the system. Most object to object interactions and operations are considered events and events include signals, inputs, decisions, interrupts, transitions and actions to or from users or external devices.
An event also is considered to be any action by an object that sends information. The event line represents a message sent from one object to another, in which the “form” object is requesting an operation be performed by the “to” object. The “to” object performs the operation using a method that the class contains.
It is also represented by the order in which things occur and how the objects in the system send message to one another.
The sequence diagram for each USE-CASE that exists when a user withdraws, deposits, needs information about ATM machine status and account are drowned.
Sequence and collaboration diagram for deposit process
Software Development – Case Tools Lab Lab Manual - 15
The diagrams show the entire deposit process in an ATM system. The user has to login to the ATM machine and deposit the amount of money as required by the user. The user may wish to get a mini statement and a screen about the details of the transaction.
Sequence and collaboration diagram for login
Software Development – Case Tools Lab Lab Manual - 16
The diagrams show the process of login by the user to the ATM system. The user has to enter his details. The details entered are verified by the system and the user is approved if the details match, otherwise an appropriate error message is displayed.
Sequence and collaboration diagram for checking machine status
Software Development – Case Tools Lab Lab Manual - 17
The Administrator of the ATM system has to maintain the details about the ATM, He has to check if there is enough money in the ATM and if the ATM is functional without major errors. For this, he may check the ATM machine status occasionally. The process is shown in the above diagrams.
Sequence and collaboration diagram for printing mini statement
Software Development – Case Tools Lab Lab Manual - 18
After a transaction is carried out successfully, the user must get a mini statement to tell him his account’s details such as balance and transaction number. This process is depicted in the above diagrams.
Sequence and collaboration diagram for withdraw process
Software Development – Case Tools Lab Lab Manual - 19
The user can make withdraw money from his account. The process is depicted in the diagrams above. The user has to login to the system using his username and password, which are verified by the system. After successful verification, the user can choose the amount of money he wants to withdraw from his account. The amount specified by the user is checked by the system to make sure there is enough balance in his account to carry out the transaction. After the transaction is carried out the resulting amount is displayed and the details are updated to the database.
Software Development – Case Tools Lab Lab Manual - 20
RESULT:
Successfully practiced the different types of case tools such as used for all the phases of software development life cycle.
Ex No: 2
Software Development – Case Tools Lab Lab Manual - 21
Date:
DATA MODELING
AIM:
To deeper understanding of the Data modeling
INTRODUCTION:
Data modeling in software engineering is the process of creating a data model for an
information system by applying formal data modeling techniques. Data modeling is a process used to
define and analyze data requirements needed to support the business processes within the scope of
corresponding information systems in organizations. Therefore, the process of data modeling involves
professional data modelers working closely with business stakeholders, as well as potential users of the
information system.
DATA MODEL TYPES:
There are three different types of data models produced while progressing from requirements to
the actual database to be used for the information system. The data requirements are initially recorded
as a conceptual data model which is essentially a set of technology independent specifications about
the data and is used to discuss initial requirements with the business stakeholders. The conceptual
model is then translated into a logical data model, which documents structures of the data that can be
implemented in databases. Implementation of one conceptual data model may require multiple logical
data models. The last step in data modeling is transforming the logical data model to a physical data
model that organizes the data into tables, and accounts for access, performance and storage details.
Data modeling defines not just data elements, but also their structures and the relationships between
them.
USES OF DATA MODEL:
Data modeling techniques and methodologies are used to model data in a standard, consistent,
predictable manner in order to manage it as a resource. The use of data modeling standards is strongly
recommended for all projects requiring a standard means of defining and analyzing data within an
organization, e.g., using data modeling:
To assist business analysts, programmers, testers, manual writers, IT package selectors,
engineers, managers, related organizations and clients to understand and use an agreed semi-
formal model the concepts of the organization and how they relate to one another
To manage data as a resourceSoftware Development – Case Tools Lab Lab Manual - 22
For the integration of information systems
For designing databases/data warehouses
Data modeling may be performed during various types of projects and in multiple phases of projects.
Data models are progressive; there is no such thing as the final data model for a business or
application. Instead a data model should be considered a living document that will change in response
to a changing business. The data models should ideally be stored in a repository so that they can be
retrieved, expanded, and edited over time. Whitten (2004) determined two types of data modeling:
Strategic data modeling: This is part of the creation of an information systems strategy, which
defines an overall vision and architecture for information systems is defined. Information
engineering is a methodology that embraces this approach.
Data modeling during systems analysis: In systems analysis logical data models are created as
part of the development of new databases.
Data modeling is also used as a technique for detailing business requirements for specific databases. It
is sometimes called database modeling because a data model is eventually implemented in a database.
HOW DATA MODELS DELIVER BENEFIT.
Data models provide a structure for data used within information systems by providing specific
definition and format. If a data model is used consistently across systems then compatibility of data can
be achieved. If the same data structures are used to store and access data then different applications can
share data seamlessly. The results of this are indicated in the diagram. However, systems and interfaces
often cost more than they should, to build, operate, and maintain. They may also constrain the business
rather than support it. This may occur when the quality of the data models implemented in systems and
interfaces is poor.
Business rules, specific to how things are done in a particular place, are often fixed in the
structure of a data model. This means that small changes in the way business is conducted lead
to large changes in computer systems and interfaces. So, business rules need to be implemented
in a flexible way that does not result in complicated dependencies, rather the data model should
be flexible enough so that changes in the business can be implemented within the data model in
a relatively quick and efficient way.
Entity types are often not identified, or are identified incorrectly. This can lead to replication of
data, data structure and functionality, together with the attendant costs of that duplication in Software Development – Case Tools Lab Lab Manual - 23
development and maintenance. Therefore, data definitions should be made as explicit and easy
to understand as possible to minimize misinterpretation and duplication.
Data models for different systems are arbitrarily different. The result of this is that complex
interfaces are required between systems that share data. These interfaces can account for
between 25-70% of the cost of current systems. Required interfaces should be considered
inherently while designing a data model, as a data model on its own would not be usable
without interfaces within different systems.
Data cannot be shared electronically with customers and suppliers, because the structure and
meaning of data has not been standardized. To obtain optimal value from an implemented data
model, it is very important to define standards that will ensure that data models will both meet
business needs and be consistent.
CONCEPTUAL, LOGICAL AND PHYSICAL SCHEMAS:
THREE KINDS OF DATA-MODEL INSTANCE :
Conceptual schema: describes the semantics of a domain (the scope of the model). For
example, it may be a model of the interest area of an organization or of an industry. This
consists of entity classes, representing kinds of things of significance in the domain, and
relationships assertions about associations between pairs of entity classes. A conceptual schema
specifies the kinds of facts or propositions that can be expressed using the model. In that sense,
it defines the allowed expressions in an artificial "language" with a scope that is limited by the
scope of the model. Simply described, a conceptual schema is the first step in organizing the
data requirements.
Software Development – Case Tools Lab Lab Manual - 24
Logical schema: describes the structure of some domain of information. This consists of
descriptions of (for example) tables, columns, object-oriented classes, and XML tags. The
logical schema and conceptual schema are sometimes implemented as one and the same.
Physical schema: describes the physical means used to store data. This is concerned with
partitions, CPUs, table spaces, and the like.
This approach allows the three perspectives to be relatively independent of each other. Storage
technology can change without affecting either the logical or the conceptual schema. The table/column
structure can change without (necessarily) affecting the conceptual schema. In each case, of course, the
structures must remain consistent across all schemas of the same data model.
DATA MODELING PROCESS: The data modeling process. The figure illustrates the way data models are developed and used
today. A conceptual data model is developed based on the data requirements for the application that is
being developed, perhaps in the context of an activity model. The data model will normally consist of
entity types, attributes, relationships, integrity rules, and the definitions of those objects. This is then
used as the start point for interface or database design.
The process of designing a database involves producing the previously described three types of
schemas - conceptual, logical, and physical. The database design documented in these schemas are
converted through a Data Definition Language, which can then be used to generate a database. A fully
attributed data model contains detailed attributes (descriptions) for every entity within it. The term
"database design" can describe many different parts of the design of an overall database system. Software Development – Case Tools Lab Lab Manual - 25
Principally, and most correctly, it can be thought of as the logical design of the base data structures
used to store the data. In the relational model these are the tables and views. In an object database the
entities and relationships map directly to object classes and named relationships. However, the term
"database design" could also be used to apply to the overall process of designing, not just the base data
structures, but also the forms and queries used as part of the overall database application within the
Database Management System or DBMS.
In the process, system interfaces account for 25% to 70% of the development and support costs
of current systems. The primary reason for this cost is that these systems do not share a common data
model. If data models are developed on a system by system basis, then not only is the same analysis
repeated in overlapping areas, but further analysis must be performed to create the interfaces between
them. Most systems within an organization contain the same basic data, redeveloped for a specific
purpose. Therefore, an efficiently designed basic data model can minimize rework with minimal
modifications for the purposes of different systems within the organization.
MODELING METHODOLOGIES:
Data models represent information areas of interest. While there are many ways to create data models,
two modeling methodologies are stand out, top-down and bottom-up:
Bottom-up models are often the result of a reengineering effort. They usually start with existing
data structures forms, fields on application screens, or reports. These models are usually
physical, application-specific, and incomplete from an enterprise perspective. They may not
promote data sharing, especially if they are built without reference to other parts of the
organization.
Top-down logical data models, on the other hand, are created in an abstract way by getting
information from people who know the subject area. A system may not implement all the
entities in a logical model, but the model serves as a reference point or template.
Sometimes models are created in a mixture of the two methods: by considering the data needs and
structure of an application and by consistently referencing a subject-area model. Unfortunately, in
many environments the distinction between a logical data model and a physical data model is blurred.
In addition, some CASE tools don’t make a distinction between logical and physical data models.
Conceptual Data Modeling - used to figure out how major electronic and communication systems are
connected together
Software Development – Case Tools Lab Lab Manual - 26
Enterprise Data Modeling - contains many of the same aspects of conceptual data modeling, but
streamlined for unique capabilities of an individual organization.
Logical Data Modeling - has two main functions, to serve as the building block for physical data
modeling, and to document certain identified relationships in a business function
Software Development – Case Tools Lab Lab Manual - 27
Physical Data Modeling – serves as a direct representation of the implementation plan of a logical
data model
RESULT:
Successfully understand the concepts of Data Modeling.
Ex No: 3
Software Development – Case Tools Lab Lab Manual - 28
Date:
SOURCE CODE GENERATORS
AIM:
To practice and understanding the concepts of source code generation using Rational Rose Software.
Rational Rose:
Rational Rose is the design tool of choice for Java programmers. It provides many features, most interesting for us is its ability to provide design, modeling and visualization of java constructs including packages, classes, fields, interfaces, imports, inheritance, fields, methods and modifiers.
Forward engineering is the process of generating Java source from one or more classes, packages, or components in a Rational Rose model.
Some Rational Rose Terms:
Components: A component represents a software module (source code, binary code, executable, DLL, etc) with a well-defined interface. A system may be composed of several software modules of different kinds. Each software module is represented by a component in the model. Typically, a component name is the name of a file that the component represents.
In terms of Java, a .java file represents a component in a Rational Rose model. A .java file may have only one class or several classes.
Frameworks: A framework in Rational Rose is a set of predefined model elements that are needed to model a certain kind of system. The purpose of a specific framework can be to define the architecture of systems of a certain kind or to provide a set of reusable components. Frameworks are used as templates when creating a new model.
Working with Rational Rose:
Start Rational Rose. Click on File > New to start a new Model.
Setting a Model’s Language:
In a new model, click on model properties in the model browser as shown below. In the dialog box shown on the right below, select the default language as “Java” in the notation tab.
Software Development – Case Tools Lab Lab Manual - 29
Setting the Classpath:
Before attempting an example of Forward Engineering a .java class, click on Tools > Java > Project Specification and make sure the class path is correct. Rational Rose retrieves the class path from the System’s class path variable. Additional directories where you may have your own .java files may be added in the dialog box as shown below:
Software Development – Case Tools Lab Lab Manual - 30
Model Properties
Depending upon which version of JDK you are using you may give a classpath to src.jar, src.zip or other appropriate library file.
Creating a class
1. In the logical view of your new model create a class called Point.
2. Right click the class Point and click New Attribute. Name the attribute itsX and itsY.
3. Right click again, click New Operation. Name the new operation getX(), and getY().
4. Your model should now look as follows:
Software Development – Case Tools Lab Lab Manual - 31
5. In the browser window, click on Logical View and then expand on Point.
5. Double click itsX and set its type to int and also set its various modifiers [private, etc.], also for itsY.
6. Similarly, double-click getX() and getY() in the browser and set its various attributes {return type, etc.}
7. In the browser, left-click the Component View to create a new component called Point.
8. In the browser, drag the Point class to the Point component to assign the class to the Component.
9. Check the browser to make sure the class now has the component name next to it in parenthesis.
10. The browser should now look as follows:
Software Development – Case Tools Lab Lab Manual - 32
11. In the browser or in the diagram, right-click the Point class, click Java > Generate Java.
12. Since this is the first time you’ve generated code for this model, Rational Rose displays a mapping dialog prompting you to map the file it will generate to a directory in your class path. Click on the class path name to select it, click on the component name to select it, then click Map:
13. If code generation is successful, a “successful” dialog will be seen:14. Click on Java > Browse Java Source to view the Java source:
Software Development – Case Tools Lab Lab Manual - 33
15. Complete your code.
16. Save your model as Lab09.mdl file.
Creating an abstract Class:
1. Use the same technique of creating a class, create an abstract class name Shape.2. Double click on the class Shape to open Class specification and change its modifier into abstract.
Software Development – Case Tools Lab Lab Manual - 34
3. Add a member itsCenter with the type of Point. 4. Add a function getCenter() with return type is Point. 5. Add a function getArea() with return type is double and its modifier is abstract, your model should look
like the following:
6. Do step 7 – 16 as describe above, to generate Java file of this model, and save the model.
Creating Relationship between Classes:
Inheritance
1. Create a new concrete class Circle with radius (double) as a member and getRadius() (returning double) as its operation. It should be look like :
2. Generate inheritance relationship between Circle (subclass) and Shape (super class). Click on generalization icon (see below figure) or select Tool Create Generalization.
Software Development – Case Tools Lab Lab Manual - 35
3. While the pointer is displaying up arrow (generalization mode), drag it from Circle class to Shape abstract class. Your model should look like :
4. Validate your model by double-clicking the class Circle, then verify that abstract class Shape has been added in extends fields.
5. Do step 7 – 16 as describe above, to generate Java file of this model, and save the model. If it is successful then the getArea() operation will automatically added to Circle class. As following figure:
Association, Composition, Aggregation, Navigation and Multiplicity:
Association relationships capture the static relationships between entities. These generally relate to one object having an instance of another as an attribute or being related in the sense of owning (but not being composed of). For example a Shape has an association to its “center” point.
Software Development – Case Tools Lab Lab Manual - 36
Aggregation relationships define whole/part relationships. The weak form of aggregation is denoted with an open diamond. This relationship denotes that the aggregate class (the class with the white diamond touching it) is in some way the “whole”, and the other class in the relationship is somehow “part” of that whole.
Composition relationships are a strong form of containment or aggregation. The black diamond represents composition.
Multiplicity defines how many objects participate in a relationship.
Navigation is the direction of the relationships between the classes.
Suppose that we would like to create the Association relationship between Shape and Point. These are steps:
1. Select Association icon (as shown bellow) or select Tool Create Association.
2. While the pointer is displaying up arrow (Association mode), drag it from Shape class to Point class. Your model should look like:
3. Double click on the line between Shape and Point to open Association specification, to update the properties such as Name, the Roles etc.
Software Development – Case Tools Lab Lab Manual - 37
4. To modify type of relationship to Aggregate / Composition, or to add navigations and multiplicity, select either Role A detail or Role B detail accordingly.
RESULT
Successfully gained more knowledge and understood the source code generation.
EX.NO: 4 STUDENT MARK ANALYSIS SYSTEMSoftware Development – Case Tools Lab Lab Manual - 38
DATE:
ABSTRACT: The Student Mark Analysis System deals with the complete academic details of the
students .It comprises of the Roll No, Name, Mark, Total and average. It can be accessed by the faculty
who alone can change or update the marks of the student. It is also the duty of the faculty to maintain
the records, the duty of the administrator is to generate the report cards to the faculty members. The
faculty will calculate the total marks based on the percentage obtained by the student. The role of the
Student of the student is to just to view the marks entered by the faculty.
SCOPE OF THE PROJECT: The main scope of the project is to get the student mark and update it whenever necessary
and then to display it for the students and faculties.
REQUIREMENTS:HARDWARE:
Intel Pentium 4 processor
256 MB RAM
80GB HARDDISK
SOFTWARE:
Visual Studio 2005
Sql Server 2000
DESIGN:
Student details
Mark analysis
Software Development – Case Tools Lab Lab Manual - 39
USE CASE
Authentication
Student
Calculation
Admin
Reports
student
CLASS DIAGRAM
Software Development – Case Tools Lab Lab Manual - 40
Reporttotmaks : intperc : intstumarks : int
report()
calcpass : stringfail : stringdest : stringfirstclass : string2ndclass : string
result()
Admin1userid : stringpw : string
authen()
studenname : stringregno : intdept : stringYear : intBatch : intDob : dateAddress : stringpho : int
stddetails()Marks
subname : stringmarks : intstuname : string
markdetail()
SEQUENCIAL DIAGRAM
Software Development – Case Tools Lab Lab Manual - 41
Admin2Admin2 DBDB StudStud
1: Userid and pw
2: Check
3: Checking status
4: Enter reg no
5: Reg no
6: Mark analysis
7: Search
8: Mark analysis
9: Calculate
10: Report
COLLOBORATION DIAGRAM
Stud
Admin2 DB
2: Check7: Search9: Calculate
1: Userid and pw6: Mark analysis
3: Checking status8: Mark analysis
4: Enter reg no10: Report
5: Reg no
CODING:
Software Development – Case Tools Lab Lab Manual - 42
Form2:
Dim rs As Recordset
Private Sub Command1_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox ("Added")
End Sub
Private Sub Command2_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text6.Text = " "
End Sub
Private Sub Command3_Click()
If Data1.Recordset.EOF <> True Then
If Data1.Recordset.Fields(0) = Text1.Text Then
Text2.Text = Data1.Recordset.Fields(1)
Text3.Text = Data1.Recordset.Fields(2)
Text4.Text = Data1.Recordset.Fields(3)
Text5.Text = Data1.Recordset.Fields(4)
Text6.Text = Data1.Recordset.Fields(5)
End If
End If
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Command6_Click()
Form4.Show
End Sub
Private Sub Form_Activate()
Software Development – Case Tools Lab Lab Manual - 43
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text6.Text = " "
End Sub
Form3:
Private Sub Command1_Click()
If Data1.Recordset.EOF <> True Then
If Data1.Recordset.Fields(0) = Text1.Text Then
Text2.Text = Data1.Recordset.Fields(1)
Text3.Text = Data1.Recordset.Fields(2)
Text4.Text = Data1.Recordset.Fields(3)
Text5.Text = Data1.Recordset.Fields(4)
Text6.Text = Data1.Recordset.Fields(5)
Text7.Text = Data1.Recordset.Fields(6)
Text8.Text = Data1.Recordset.Fields(7)
End If
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Activate()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text6.Text = " "
Text7.Text = " "
Text8.Text = " "
Software Development – Case Tools Lab Lab Manual - 44
End Sub
Private Sub Text7_Click()
Text7.Text = ((Val(Text4.Text) + Val(Text5.Text)) + Val(Text6.Text))
End Sub
Private Sub Text8_Click()
Text8.Text = Val(Text7.Text) / 3
End Sub
Login Form:
Student Details:
Software Development – Case Tools Lab Lab Manual - 45
Student Mark Analysis:
TESTING:
Software Testing
The design of text for software and other engineered products can be challenging as the
initial design of the protect
White Box testing:
Software Development – Case Tools Lab Lab Manual - 46
White box testing sometimes called “glass box testing” is a test case design method that
users the control structures of the procedural design to device test cases
Logic errors and incorrect assumptions
Logical path is not likely executed
Typographical errors are random
Black Box testing:
It is also called behavioural testing .The testing enables the software,engineer to device set
of input condition black box testing is not an alternative to whitebox testing techniques.
Unit testing:
Unit testing forces verification effort on the smaller unit of sofrware design the software
component or module.
Integration Testing:
Integration testing is a systametic technique for constucting the program structure while at
the same time conducting tests to uncover errors associated with interfacing .Incremental integration is
the anthesis of thebig bang approach
Smoke Testing:
Smoke testing is an integration testing approach that is commonly used when “stringk
warapped”software.Products are being developed.It is designed as a pacing mechanism for time critical
projects.
CONCLUSION: This software could be installed far more quickly. It is, however, a useful tool which may help
lecturers to update the student marks easily, and it can be extended to include many more functions.
EX.NO: 5 LIBRARY MANAGEMENT SYSTEMDATE:
Software Development – Case Tools Lab Lab Manual - 47
ABSTRACT: Library management system can be used to view books, issue the books and make return and
renewal process this is the case of the prevailing system, but in this project the student could view his
own syllabus and question papers and can downloaded it as if he could do from his mail id,Student and
faculty can make use of this system to search what could do from his mail id.Student and faculty can
make use of this system to search what book he wants and where it is placed in the library without
searching through the racks.
SCOPE OF THE PROJECT: The scope of this project is to simplify the operation of a library in order to manage their
requirements. Issue and update the books easily managed by two different administrators. The total
system is maintained by main administrator.
REQUIREMENTS: HARDWARE:
Intel Pentium 4 or later
2GB RAM
80GB HARDDISK
SOFTWARE:
Macromedia Dreamweaver(PHP)
MySQL (phpmyadmin)
Member details
Book details
Software Development – Case Tools Lab Lab Manual - 48
DIAGRAMS:
USE CASE
Authentication
Specification of book
Make reservation
User
Remove reservation
Librarian
Return book
CLASS DIAGRAMS
Software Development – Case Tools Lab Lab Manual - 49
Admin
validate()
Member1mem : stringname : string
newmem()remove()
Item1bookid : stringavail : booleanissuedate : date
newbook()removebook()
Titlebtitle : stringbid : stringauthor : string
newtitle()add()
SEQUENCE DIAGRAM
MEMBERMEMBER LIBRARIANLIBRARIAN SERVERSERVER
Enter the reg no
Type of reg
Take book
Book name
Check
Check
Success
Book reserved
Terminated
COLLBORATION DIAGRAM
Software Development – Case Tools Lab Lab Manual - 50
SERVER
MEMBER
LIBRARIAN
6: Check
1: Enter the reg no3: Take book9: Terminated
2: Type of reg4: Book name
8: Book reserved
5: Check
7: Success
CODING:Form1:
Private Sub Option1_Click()
Form3.Show
End Sub
Private Sub Option2_Click()
Form4.Show
End Sub
Private Sub Option3_Click()
Form5.Show
End Sub
Private Sub Option4_Click()
Form6.Show
End Sub
Private Sub Option5_Click()
Form7.Show
End Sub
Form2:
Private Sub Command1_Click()Software Development – Case Tools Lab Lab Manual - 51
Data1.Recordset.AddNew
MsgBox "Record Added"
End Sub
Private Sub Command2_Click()
If Text1.Text = Data1.Recordset.Fields(0) Then
Text2.Text = Data1.Recordset.Fields(1)
Text3.Text = Data1.Recordset.Fields(2)
Text4.Text = Data1.Recordset.Fields(3)
End If
End Sub
Private Sub Command3_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
End Sub
Private Sub Command4_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox "Record Updated"
End Sub
Form3:
Private Sub Command1_Click()
Data1.Recordset.AddNew
MsgBox "Record added"
End Sub
Private Sub Command2_Click()
If Data1.Recordset.Fields(4) = Text1.Text Then
Text2.Text = Data1.Recordset.Fields(5)
Text3.Text = Data1.Recordset.Fields(6)
Text4.Text = Data1.Recordset.Fields(7)
Text5.Text = Data1.Recordset.Fields(8)
Text6.Text = Data1.Recordset.Fields(9)
Software Development – Case Tools Lab Lab Manual - 52
End If
End Sub
Private Sub Command3_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox "Record Updated"
End Sub
Private Sub Command4_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text6.Text = " "
End Sub
Private Sub Command5_Click()
End
End Sub
Private Sub Text6_Click()
Text6.Text = Val(Text4.Text) - Val(Text5.Text)
End Sub
Form4:
Private Sub Command1_Click()
Data1.Recordset.AddNew
MsgBox "Record Added"
End Sub
Private Sub Command2_Click()
If Text1.Text = Data1.Recordset.Fields(4) Then
Text2.Text = Data1.Recordset.Fields(5)
Text3.Text = Data1.Recordset.Fields(0)
Text4.Text = Data1.Recordset.Fields(1)
Text5.Text = Data1.Recordset.Fields(10)
Text6.Text = Data1.Recordset.Fields(11)
Software Development – Case Tools Lab Lab Manual - 53
End If
End Sub
Private Sub Command3_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox "Record Update"
End Sub
Private Sub Command4_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text6.Text = " "
End Sub
Private Sub Command5_Click()
End
End Sub
Private Sub Form_Activate()
'Text1.Text = " "
'Text2.Text = " "
'Text3.Text = " "
'Text4.Text = " "
'Text5.Text = " "
'Text6.Text = " "
End Sub
Form5:
Private Sub Command1_Click()
If Text1.Text = Data1.Recordset.Fields(4) Then
MsgBox "Book Returned"
End If
End Sub
Private Sub Command2_Click()
Software Development – Case Tools Lab Lab Manual - 54
End
End Sub
Private Sub Form_Activate()
'Text1.Text = " "
End Sub
Form6:
Private Sub Command1_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox "book Reneval"
End Sub
Form1:
Software Development – Case Tools Lab Lab Manual - 55
Form2:
Form3:
Form4:Software Development – Case Tools Lab Lab Manual - 56
Form5:
Form6:Software Development – Case Tools Lab Lab Manual - 57
Form7:
TESTING:Generate report cards:
Software Development – Case Tools Lab Lab Manual - 58
This module allows the faculty to generate the report cards that are going to contain the
student academic details.
Software Estimation:
A successful project is one delivered “on time,within budget and with the required
quality”.A porjcet manager producer estimate of effort,which affect costs and of activity durations
which affect the delivery time.
Cost Estimation:
Project cost can be obtained by multiplexing the estimated effort with the man power cost
per month.
The overhead cost would include the costs of hardware and software required for the porject
and the company overheads for adminstrations,office space.
Software Testing
The design of text for software and other engineered products can be challenging as the
initial design of the protect
White Box testing:
White box testing sometimes called “glass box testing” is a test case design method that
users the control structures of the procedural design to device test cases
Logic errors and incorrect assumptions
Logical path is not likely executed
Typographical errors are random
Black Box testing:
It is also called behavioural testing .The testing enables the software,engineer to device set
of input condition black box testing is not an alternative to whitebox testing techniques.
Unit testing:
Unit testing forces verification effort on the smaller unit of sofrware design the software
component or module.
Integration Testing:
Integration testing is a systametic technique for constucting the program structure while at
the same time conducting tests to uncover errors associated with interfacing .Incremental integration is
the anthesis of thebig bang approach
Smoke Testing:
Software Development – Case Tools Lab Lab Manual - 59
Smoke testing is an integration testing approach that is commonly used when “stringk
warapped”software.Products are being developed.It is designed as a pacing mechanism for time critical
projects.
Software Debugging :
Software debugging is one of the major tasks of programming with advent of concurrent
programming with complexity was added to the already difficut debugging process.
The basic concept inheritance in software debugging as well as list of error related to
concurrency.
CONCLUSION:
From our conclusion we declare that the project is completely based on spell checking and the
error words will be displayed in red color font as well as the count of the errors will be displayed. We
have successfully presented the program progress without any backend support and connecting with
local disk directory has been done.
EX.NO: 6 TELEPHONE DIRECTORYDATE:
Software Development – Case Tools Lab Lab Manual - 60
ABSTRACT:
To develop a project that manages the telephone line numbers under a single platform for effective
searching and viewing the information of the any telephone subscribers that any customer want to
know. A customer can demand any type of information such as telephone numbers, address, or name
of the particular person by specifying any one of the details mentioned above in the search column or
he/she can browse through the list of pages for the information he wants. He can also know the latest
news and call tariffs and new facilities available for the existing customers.
The yellow page consists of the information of various private agencies and organizations
under single category. This will be very useful for the people who are involved in the business field
and people in the field of commerce.
The search is the function and this connected to the server. The Server searches the value in
the database (Ms access or oracle) and returns the match found. If it doesn’t found any match an error
message is given.
The Std&Isd Search is associated with Std and Isd number, which is stored in the server. The
user can specify the number to find the address or the user can give the subscriber name and get the
phone number from the various set information displayed.
The Emergency numbers can also be displays according to the selected options like Hospitals,
ambulance, etc, the address of the nearest available home will also be displayed in an interactive
format.
The call tariff also gives the various options available and customer is allowed to choose any
scheme. The user can make use of the listed facilities. The user can further link to the
www.chennaibsnl.nic.in website for further enquiry details.
SCOPE OF THE PROJECT: The scope of this project is to simplify the operation of a telephone in order to manage their
requirements. Issue and update the calls easily managed by two different administrators. The total
system is maintained by main administrator.
Software Development – Case Tools Lab Lab Manual - 61
REQUIREMENTS: HARDWARE:
Intel Pentium 4 or later
2GB RAM
80GB HARDDISK
SOFTWARE:
Macromedia Dreamweaver(PHP)
MySQL (phpmyadmin)
DESIGN:
Search by name
Addnew
DIAGRAMS:USECASE DIAGRAMS
Software Development – Case Tools Lab Lab Manual - 62
Actor
Search by city
Admin
Add new ph.no
Add new STD code
Search by name
Search by number
Search STD codeDB
CLASS DIAGRAMS
Software Development – Case Tools Lab Lab Manual - 63
Actor1phno : numbername : stringadress : stringcity : string
serachbyname()searchbynum()searchbycity()searchSTDcode()
Admin1STDcode : numbercity : stringph.no : numbername : stringaddr : string
addSTDcode()add new entry()
DB1phno : numbername : stringaddr : sringcity : stringSTDcode : number
SEQUENCE DIAGRAM
USERUSER DBDB ADMINADMIN
Add number
Add STD code
Search by name
Search by number
Search STD code
Search by city
Software Development – Case Tools Lab Lab Manual - 64
COLLOBORATION DIAGRAM
DBUSER
ADMIN
3: Search by name4: Search by number5: Search STD code
6: Search by city
1: Add number2: Add STD code
CODING:
Login Form:
Private Sub Command1_Click()
If Trim(Text1.Text = "admin") And Trim(Text2.Text = "sec") Then
Form2.Show
Else
MsgBox "Check UserName and Password"
End If
End Sub
Private Sub Command2_Click()
End
End Sub
MainForm:
Private Sub Command1_Click()
Form3.Show
End Sub
Private Sub Command2_Click()
Form4.ShowSoftware Development – Case Tools Lab Lab Manual - 65
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Private Sub Command4_Click()
Form6.Show
End Sub
Private Sub Command5_Click()
Form7.Show
End Sub
Private Sub Command1_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox "Record added"
End Sub
Private Sub Command2_Click()
Text1.Text = Data1.Recordset.Fields(0)
Text2.Text = Data1.Recordset.Fields(1)
End Sub
Private Sub Command3_Click()
Text1.Text = " "
Text2.Text = " "
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Form_Activate()
Text1.Text = " "
Text2.Text = " "
End Sub
AddNewEntry:
Private Sub Command1_Click()
Data1.Recordset.AddNew
Software Development – Case Tools Lab Lab Manual - 66
MsgBox "Record Added"
End Sub
Private Sub Command2_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
End Sub
Private Sub Command3_Click()
End
End Sub
Update Entry:
Private Sub Command1_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
MsgBox "data updated"
End Sub
Private Sub Command2_Click()
End
End Sub
Search Standard Code:
Private Sub Command1_Click()
If Combo1.Text = Data1.Recordset.Fields(4) Then
Label4.Caption = Data1.Recordset.Fields(1)
End If
End Sub
Search By Name:
Private Sub Command1_Click()
If Combo1.Text = Data1.Recordset.Fields(2) Then
Label3.Caption = Data1.Recordset.Fields(2)
Label4.Caption = Data1.Recordset.Fields(3)
Label5.Caption = Data1.Recordset.Fields(4)
Label6.Caption = Data1.Recordset.Fields(5)
Software Development – Case Tools Lab Lab Manual - 67
End If
Output Form:Login Form:
Form1:
Form2:
Software Development – Case Tools Lab Lab Manual - 68
Form3:
Form4:Software Development – Case Tools Lab Lab Manual - 69
Form5:
TESTING:
Generate report cards:
Software Development – Case Tools Lab Lab Manual - 70
This module allows the faculty to generate the report cards that are going to contain the
student academic details.
Software Estimation:
A successful project is one delivered “on time,within budget and with the required
quality”.A porjcet manager producer estimate of effort,which affect costs and of activity durations
which affect the delivery time.
Cost Estimation:
Project cost can be obtained by multiplexing the estimated effort with the man power cost
per month.
The overhead cost would include the costs of hardware and software required for the porject
and the company overheads for adminstrations,office space.
Software Testing
The design of text for software and other engineered products can be challenging as the
initial design of the protect
White Box testing:
White box testing sometimes called “glass box testing” is a test case design method that
users the control structures of the procedural design to device test cases
Logic errors and incorrect assumptions
Logical path is not likely executed
Typographical errors are random
Black Box testing:
It is also called behavioural testing .The testing enables the software,engineer to device set
of input condition black box testing is not an alternative to whitebox testing techniques.
Unit testing:
Unit testing forces verification effort on the smaller unit of sofrware design the software
component or module.
Integration Testing:
Integration testing is a systametic technique for constucting the program structure while at
the same time conducting tests to uncover errors associated with interfacing .Incremental integration is
the anthesis of thebig bang approach
Smoke Testing:
Software Development – Case Tools Lab Lab Manual - 71
Smoke testing is an integration testing approach that is commonly used when “stringk
warapped”software.Products are being developed.It is designed as a pacing mechanism for time critical
projects.
Software Debugging :
Software debugging is one of the major tasks of programming with advent of concurrent
programming with complexity was added to the already difficut debugging process.
The basic concept inheritance in software debugging as well as list of error related to
concurrency.
CONCLUSION:
The TELEPHONE DIRECTORY SYSTEM is the greatest improved achieved and implemented
over the manual system using case fields and paper. The computerization of the system has speeded up
the process to a greater extent. The telephone directory system by large proves to be very reliable. The
system has been checked with some dummy values and has been explored as much as it could be
possible.
EX.NO: 7 TEXT EDITORDATE:
ABSTRACT:The text editor mainly aims at developing an application that helps us in creating and editing
text files. The application is more user friendly and platform independent.
Creating a new file, opening an existing file, saving a file and editing the typed text.
SCOPE OF THE PROJECT:CREATE FILE:
This option allow user to create a new file and perform various functions on that file.
OPEN FILE:
Software Development – Case Tools Lab Lab Manual - 72
This option allow the user to open an already existing file. We should make sure that the file is
already available in the hard disk of the system being used.
SAVE A FILE:
This is an usual operation which is performed before closing the file.
CLOSE FILE:
This option allow the required file to be closed. The file is saved before closing.
CUT THE TEXT:
Another option that can be enabled only when atleast one file is opened.
COPY THE TEXT:
Very similar to the “cut” option is the “copy” option.
PASTE THE TEXT:
This option is enabled only when a “cut” or “copy” is already performed.
DOCUMENTATION:
Usecase specification:<CUT THE TEXT>
REQUIREMENTS: HARDWARE:
Intel Pentium 4 or later
2GB RAM
80GB HARDDISK
SOFTWARE:
Macromedia Dreamweaver(PHP)
MySQL (phpmyadmin)
USECASE DIAGRAM
Software Development – Case Tools Lab Lab Manual - 73
about
new open
exit
save
filesaveas
cutcopy
clear
paste
edit
delete
date &time
selectall
font
format
align
User
topic
help
CLASS DIAGRAM
Software Development – Case Tools Lab Lab Manual - 74
Tracking
new()openfile()savefile()saveas()print()exit()
Help
about()topic()
Date&time
date & time()
format1
color()align()font()
User1
creating()editing()format()help()date()
Editing
copy()cut()paste()selectall()clear()delete()end()
SEQUENCE DIAGRAM
FILEFILE USERUSER FORMATFORMAT DATE&TIMEDATE&TIME HELPHELP
Create a file
open a file
add font
add color
add date & time
save file
help
print file
COLLOBORATE DIAGRAMSoftware Development – Case Tools Lab Lab Manual - 75
DATE&TIME
FILE USER FORMAT
HELP
1: Create a file2: open a file
3: add font4: add color
5: add date & time
6: save file
7: help8: print file
CODING:Dim t As String
Dim a As String
Private Sub ffont_Click()
C2.Flags = cdlCFBoth
C2.ShowFont
r1.SelFontName = C2.FontName
r1.SelFontSize = C2.FontSize
End Sub
Private Sub mabout_Click()
MsgBox ("version 1.1")
End Sub
Private Sub mcentre_Click()
r1.SelAlignment = rtfCenter
End Sub
Private Sub mcolor_Click()
C2.ShowColor
r1.SelColor = C2.ColorSoftware Development – Case Tools Lab Lab Manual - 76
End Sub
Private Sub mcopy_Click()
a = r1.SelText
End Sub
Private Sub mcut_Click()
r1.SelText = ""
End Sub
Private Sub mdelete_Click()
a = r1.SelText
r1.SelText = ""
End Sub
Private Sub mexit_Click()
End
End Sub
Private Sub mfind_Click()
t = InputBox("find what")
r1.Find t
End Sub
Private Sub mleft_Click()
r1.SelAlignment = rtfLeft
End Sub
Private Sub mnew_Click()
Dim h As String
If r1.Text = "" Then
r1.SetFocus
Else
h = MsgBox("the text in the file has changed, Do you want to save?", vbExclamation + vbYesNo)
If h = vbYes Then
C2.Filter = "*txt"
Software Development – Case Tools Lab Lab Manual - 77
C2.ShowSave
r1.SaveFile (C2 > FileName)
If h = vbNo Then
'h = vbNo
r1.Text = ""
r1.SetFocus
End If
End If
End If
r1 = ""
End Sub
Private Sub mopen_Click()
C2.Filter = "*txt"
C2.DefaultExt = "txt"
C2.ShowOpen
r1.SaveFile (C2.FileName)
End Sub
Private Sub mpaste_Click()
r1.SelText = a
End Sub
Private Sub mprint_Click()
C2.ShowPrinter
End Sub
Private Sub mright_Click()
r1.SelAlignment = rtfRight
End Sub
Private Sub msave_Click()
C2.Filter = "*.txt"
C2.ShowSave
Software Development – Case Tools Lab Lab Manual - 78
r1.SaveFile (C2.FileName)
End Sub
Private Sub msaveas_Click()
C2.Filter = "*txt"
C2.DefaultExt = "txt"
C2.ShowSave
r1.SaveFile (C2.FileName)
End Sub
LOGIN FORM
Software Development – Case Tools Lab Lab Manual - 79
TESTING:
Software Testing
The design of text for software and other engineered products can be challenging as the
initial design of the protect
White Box testing:
White box testing sometimes called “glass box testing” is a test case design method that
users the control structures of the procedural design to device test cases
Logic errors and incorrect assumptions
Logical path is not likely executed
Typographical errors are random
Black Box testing:
It is also called behavioural testing .The testing enables the software,engineer to device set
of input condition black box testing is not an alternative to whitebox testing techniques.
Unit testing:
Unit testing forces verification effort on the smaller unit of sofrware design the software
component or module.
Software Development – Case Tools Lab Lab Manual - 80
Integration Testing:
Integration testing is a systametic technique for constucting the program structure while at
the same time conducting tests to uncover errors associated with interfacing .Incremental integration is
the anthesis of thebig bang approach
Smoke Testing:
Smoke testing is an integration testing approach that is commonly used when “stringk
warapped”software.Products are being developed.It is designed as a pacing mechanism for time critical
projects.
Software Debugging :
Software debugging is one of the major tasks of programming with advent of concurrent
programming with complexity was added to the already difficut debugging process.
The basic concept inheritance in software debugging as well as list of error related to
concurrency.
CONCLUSION: The TEXT EDITOR to perform the cut, copy, paste operations. Then also performing the font
format. The computerization of the system has speeded up the process to a greater extent.
Software Development – Case Tools Lab Lab Manual - 81
EX.NO: 8 DICTIONARYDATE:
ABSTRACT:The Dictionary projects ongoing, voluntary program that provides information to its members
regarding membership details, new words to update, and the detail specified by the members. It is
intended to provide intensive facilities to its members.
SCOPE OF THE PROJECT:1. To provide new words and their synonyms and antonyms
2. To update the database
3. To maintain the words that are inserted
FUNCTIONALITIES:
The main functionalities in the dictionary are user administrator and maintain database. After
getting the access by the user they will do search of the particular word.
REQUIREMENTS: HARDWARE:
Intel Pentium 4 or later
2GB RAM
80GB HARDDISK
SOFTWARE:
Macromedia Dreamweaver(PHP)
MySQL (phpmyadmin)
DATABASE DESIGN:ADDNEW
Software Development – Case Tools Lab Lab Manual - 82
SCANNING:
DIAGRAMS:USE CASE DIAGRAMS
Administrator
User
Add word
Update
delete1
Search
Scan
DB
CLASS DIAGRAMS
Software Development – Case Tools Lab Lab Manual - 83
User1
Search()Scan()
Admin
add()update()delete()
Dictionary1word : stringsynonyms : stringAntonyms : string
add()delete()search()update()
SEQUENCE DIAGRAM
ADMINISTRATORADMINISTRATOR DICTIONARYDICTIONARY USERUSER
Add
Update
Delete
Search
Scan
COLLOBORATION DIAGRAMS
Software Development – Case Tools Lab Lab Manual - 84
DICTIONARY
ADMINISTRATOR
USER
1: Add2: Update
3: Search
4: Delete
5: Scan
FORM2: DICTIONARYPrivate Sub Command1_Click()
Form3.Show
End Sub
Private Sub Command2_Click()
Form4.Show
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Private Sub Command4_Click()
End
End Sub
FORM3:ADDNEW
Private Sub Command1_Click()
Data1.Recordset.AddNew
MsgBox ("recordes is added")
Data1.Recordset.Update
End SubSoftware Development – Case Tools Lab Lab Manual - 85
Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
End Sub
Private Sub Command3_Click()
Form2.Show
End Sub
FORM4:SEARCH BY WORD
Private Sub Command2_Click()
Data1.Recordset.MoveFirst
While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields(0) Then
Text1.Text = Data1.Recordset.Fields(1)
Text1.Text = Data1.Recordset.Fields(2)
End If
Data1.Recordset.MoveNext
Wend
End Sub
Private Sub Command3_Click()
Form2.Show
End Sub
FORM5: SCANNING
Private Sub Command1_Click()Software Development – Case Tools Lab Lab Manual - 86
Data1.Recordset.MoveFirst
While Data1.Recordset.EOF = False
If Data1.Recordset.Fields(0) = List1.Text Then
Text2 = Data1.Recordset.Fields(1)
End If
Data1.Recordset.MoveNext
Wend
End Sub
Private Sub Command2_Click()
End
End Sub
LOGIN:
DICTIONARY
Software Development – Case Tools Lab Lab Manual - 87
ADD NEW
SEARCH BY WORD
Software Development – Case Tools Lab Lab Manual - 88
SCANNING THE WORD
TESTING:
Software Testing
The design of text for software and other engineered products can be challenging as the
initial design of the protect
White Box testing:
White box testing sometimes called “glass box testing” is a test case design method that
users the control structures of the procedural design to device test cases
Logic errors and incorrect assumptions
Logical path is not likely executed
Typographical errors are random
Black Box testing:
It is also called behavioural testing .The testing enables the software,engineer to device set
of input condition black box testing is not an alternative to whitebox testing techniques.
Software Development – Case Tools Lab Lab Manual - 89
Unit testing:
Unit testing forces verification effort on the smaller unit of sofrware design the software
component or module.
Integration Testing:
Integration testing is a systametic technique for constucting the program structure while at
the same time conducting tests to uncover errors associated with interfacing .Incremental integration is
the anthesis of thebig bang approach
Smoke Testing:
Smoke testing is an integration testing approach that is commonly used when “stringk
warapped”software.Products are being developed.It is designed as a pacing mechanism for time critical
projects.
Software Debugging :
Software debugging is one of the major tasks of programming with advent of concurrent
programming with complexity was added to the already difficut debugging process.
The basic concept inheritance in software debugging as well as list of error related to
concurrency.
CONCLUSION:
The CREATING DICTIONARY to perform the search by name, scanning process. The
computerization of the system has speeded up the process to a greater extent.
Software Development – Case Tools Lab Lab Manual - 90
EX.NO: 9 INVENTORY SYSTEMDATE:
ABSTRACT: The main objective of this project is to overcome the work load and time consumption
which makes the maintenance of the stock In an organization as a tedious process. This project
provides complete information about the details of the stock to the users. This project Identifies the
amount of stock available, the product that is purchased faults in the product ,products that are
replaced, products that have been sold and date at which are bought and sold in a particular
concern.Seperate modules have been created for purchasing, viewing stock details,selling,details and
delivery details. As a whole, marketing process can be improved if stock has been maintained properly.
SCOPE OF THE PROJECT: The Internet and other technologies have opened up innovative new ways to give and
maintain and to communicate and collaborate across boundaries. This application is able to provide
following functionalities. Basic share trading functionalities such as user can busy share, sell the share,
view the company portfolio,etc. and admin can add company, delete company, edit company
information, news information, change the company share price etc,. Modules of a user these
application facilities like share the company share and viewing transaction.
REQUIREMENTS: HARDWARE:
Intel PENTIUM 4 OR LATER
CPU Speed 1.0 GHZ
2 GB RAM
SOFTWARE:
Visual Studio 2008
SQL Server Management Studio 2005
Software Development – Case Tools Lab Lab Manual - 91
DATABASE DESIGNBILL:
PURCHASE
SALES
DIAGRAMS:USECASE DIAGRAM
Admin
User
Purchase
Sales
DB
Get item
CLASS DIAGRAM
Software Development – Case Tools Lab Lab Manual - 92
USERName : stringQuantity : number
Getitem()
ADMIN1Iitemno : numberitemname : stringQuantity : numberprice : number
purchase()sales()
DB1itemno : numberitemname : stringQuantity : numberprice : number
SEQUENCE DIAGRAM
ADMINADMIN DBDB USERUSER
Purchase
Sales
Get items
COLLOBORATION DIAGRAM
Software Development – Case Tools Lab Lab Manual - 93
DBADMIN
USER
1: Purchase2: Sales
3: Get items
CODING:
INVENTORY REPORT FORM
Private Sub command2_Click()
Data1.Recordset.Update
MsgBox ("records are updated")
End Sub
Private Sub Command3_Click()
Data1.Recordset.Delete
MsgBox ("records are deleted")
End Sub
Private Sub Command4_Click()
If Data1.Recordset.EOF <> True Then
If Data1.Recordset.Fields(0) = Text1.Text Then
Text1.Text = Data1.Recordset.Fields(0)
Text2.Text = Data1.Recordset.Fields(1)
Text3.Text = Data1.Recordset.Fields(2)
Text4.Text = Data1.Recordset.Fields(3)
Text5.Text = Data1.Recordset.Fields(4)
Software Development – Case Tools Lab Lab Manual - 94
End If
End If
End Sub
Private Sub Command5_Click()
End
End Sub
Private Sub Command6_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
End Sub
PURCHASE FORM
Private Sub Command1_Click()
Data1.Recordset.AddNew
MsgBox ("RECORDS ARE ADDED")
Data1.Recordset.Update
End Sub
Private Sub command2_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
End Sub
Private Sub Command4_Click()
Data1.Recordset.Delete
Software Development – Case Tools Lab Lab Manual - 95
MsgBox ("records are deleted")
End Sub
Private Sub Command3_Click()
If Data1.Recordset.EOF <> True Then
If Data1.Recordset.Fields(0) = Text1.Text Then
Text1.Text = Data1.Recordset.Fields(0)
Text2.Text = Data1.Recordset.Fields(1)
Text3.Text = Data1.Recordset.Fields(2)
Text4.Text = Data1.Recordset.Fields(3)
End If
End If
End Sub
Private Sub Command5_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Command6_Click()
End
End Sub
SALES FORM
Private Sub Command1_Click()
Data1.Recordset.AddNew
MsgBox ("DATA IS ADDED")
Data1.Recordset.Update
End Sub
Private Sub command2_Click()
If Data1.Recordset.EOF <> True Then
If Data1.Recordset.Fields(0) = Text1.Text Then
Text1.Text = Data1.Recordset.Fields(0)
Text2.Text = Data1.Recordset.Fields(1)
Text3.Text = Data1.Recordset.Fields(2)
Software Development – Case Tools Lab Lab Manual - 96
Text4.Text = Data1.Recordset.Fields(3)
End If
End If
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
LOGIN:
Form2: INVENTORY REPORT
Software Development – Case Tools Lab Lab Manual - 97
PURCHASE FORM
TESTING:Generate report cards:
This module allows the faculty to generate the report cards that are going to contain the
student academic details.
Software Estimation:
A successful project is one delivered “on time,within budget and with the required
quality”.A porjcet manager producer estimate of effort,which affect costs and of activity durations
which affect the delivery time.
Cost Estimation:
Project cost can be obtained by multiplexing the estimated effort with the man power cost
per month.Software Development – Case Tools Lab Lab Manual - 98
The overhead cost would include the costs of hardware and software required for the porject
and the company overheads for adminstrations,office space.
Software Testing
The design of text for software and other engineered products can be challenging as the
initial design of the protect
White Box testing:
White box testing sometimes called “glass box testing” is a test case design method that
users the control structures of the procedural design to device test cases
Logic errors and incorrect assumptions
Logical path is not likely executed
Typographical errors are random
Black Box testing:
It is also called behavioural testing .The testing enables the software,engineer to device set
of input condition black box testing is not an alternative to whitebox testing techniques.
Unit testing:
Unit testing forces verification effort on the smaller unit of sofrware design the software
component or module.
Integration Testing:
Integration testing is a systametic technique for constucting the program structure while at
the same time conducting tests to uncover errors associated with interfacing .Incremental integration is
the anthesis of thebig bang approach
Smoke Testing:
Smoke testing is an integration testing approach that is commonly used when “stringk
warapped”software.Products are being developed.It is designed as a pacing mechanism for time critical
projects.
Software Debugging :
Software debugging is one of the major tasks of programming with advent of concurrent
programming with complexity was added to the already difficut debugging process.
The basic concept inheritance in software debugging as well as list of error related to
concurrency.
Software Development – Case Tools Lab Lab Manual - 99
CONCLUSION:The INVENTOTORY STSTEM is the greatest improvement achieved by design and implementation
of an online personal stock trading system that would be deliverable over the World Wide Web replete
with interactive modules.
EX.NO: 10DATE:
QUIZ SYSTEM AIM:
To implement the Quiz System using Rational Software.
ALGORITHM:
Step 1: Identify the Actors and Use cases.
In this system,the actors and use cases are:
Actors: User ,System and Database.
Use cases: Login,Option,answering questions,calculating marks and Display score
card.
Step 2: Build the relationship between actors and use cases.
The use case diagram for the quiz system is given in Fig(1).
Software Development – Case Tools Lab Lab Manual - 100
Fig (1): Use case diagram for the Quiz System
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 101
WWW.VIDYARTHIPLUS.COM
2. ALGORITHM FOR SEQUENCE DIAGRAM:
Step 1: Identify the objects.
In this system, the objects are: User, System and Database.
Step 2: Identify the sequence of events.
Step 3: Login to the system to check the validity.
Step 4: Select the option in the system.
Step 5: Answer the questions for the selected options
Step 6: Evaluate the answer and calculate the mark.
Step 7: Save the score in the database.
Step 8: Display the score.
USER
ENTER THE LOGIN NAME
Software Development – Case Tools Lab Lab Manual - 102
SYSTEM
DATABASE
DISPLAY CATAGORIES FORM
SELECT ANY CATAGORIES
DISPLAY THE QUESTIONS
ANSWER THE QUESTIONS
DISPLAY THE SCORE
STORE THE SCORE
Fig(2): Sequence diagram for Quiz System
WWW
Software Development – Case Tools Lab Lab Manual - 103
WW.VIDYARTHIPLUS.COM
3. ALGORITHM FOR CLASS DIAGRAM:
Step 1: Create class diagram for each identified objects under sequence diagram.
Identified objects are: User, System and Database.
Step 2: Class diagram for each object is divided into three parts.
Top portion represents the Class Name.
Middle portion represents the Attributes.
Bottom portion represents the Methods.
The Class diagram for Quiz System is shown in Fig(3).
Fig(3):Class diagram for Quiz system
Procedure to write the software for the Quiz System using Rational Software tool
Selecting the Software:
1. Click start-> Rational Software->Rational Rose Enterprise Edition.
Create the project:
2. In the Create New Model window select VB6 Standard Framework->A screen appears;select
the untitled project from the browser window and save it
To draw the diagram:
3.Right Click the Use case view->New->Use case diagram->Sequence diagram->Class
diagram(name and save the files)
4. Click Use case diagram->using the tool box build the use case diagram.
5. Click Sequence diagram->using the tool box build the sequence diagram.
6. Click Class diagram-> using the tool box build the class diagram.
Software Development – Case Tools Lab Lab Manual - 104
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 105
WWW.VIDYARTHIPLUS.COM
Generate the coding form:
7.Right click component view -> component diagram-> open specification -> select the
stereotype as DLL-> select the language as visual basic ->switch from general tab to realizes
tab-> select the classes you created in class diagram-> right click ->Assign->Ok.
8.Right click component view -> update code form model-> the tool window for converting
diagrams to code appears->next->finish->the skeleton code in VB is generated automatically
for the class diagram designed.
SOURCE CODE
LOGIN FORM:
Option Explicit
Public LoginSucceeded As Boolean
Private Sub cmdCancel_Click()
LoginSucceeded = False
End
End Sub
Private Sub cmdOK_Click()
If txtUserName = "mca" Then
If txtPassword = "mca" Then
LoginSucceeded = True
Form1.Show
Me.Hide
Else
MsgBox "Invalid Password, try again!", vbInformation, "Login"
Software Development – Case Tools Lab Lab Manual - 106
txtPassword.SetFocus
End If
Else
MsgBox "Invalid Username, try again!", vbInformation, "Login"
End If
.IDYARTHIPLUS.COM
End Sub
Form 1:
Private Sub Option2_Click()
Form2.Show
Me.Hide
End Sub
Private Sub Option3_Click()
Form5.Show
Me.Hide
End Sub
Private Sub Option4_Click()
Form6.Show
Me.Hide
End Sub
Form 2:
Dim a As Integer
Software Development – Case Tools Lab Lab Manual - 107
Private Sub Command1_Click()
Text1.Text = ""
If Option2.Value = True Then
Text1.Text = Val(Text1.Text) + 10WW.VIDYARTHIPLUS.COM
Else
Text1.Text = Val(Text1.Text) + 0
End If
Frame2.Visible = True
Frame1.Visible = False
End Sub
Private Sub Command2_Click()
If Option7.Value = True Then
Text1.Text = Val(Text1.Text) + 10
Else
Text1.Text = Val(Text1.Text) + 0
End If
Form3.Show
Me.Hide
End Sub
Private Sub Form_Load()
Frame2.Visible = False
End Sub
Software Development – Case Tools Lab Lab Manual - 108
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 109
WWW.VIDYARTHIPLUS.COM
Private Sub Timer1_Timer()
Me.Hide
Form1.Show
End Sub
Form 3:
Private Sub Command1_Click()
If Option4.Value = True Then
Text1.Text = Val(Text1.Text) + 10
Else
Text1.Text = Val(Text1.Text) + 0
End If
Frame2.Visible = True
Frame1.Visible = False
End Sub
Private Sub Command2_Click()
If Option13.Value = True Then
Text1.Text = Val(Text1.Text) + 10
CO V+ TEAM
Software Development – Case Tools Lab Lab Manual - 110
WWW.VIDYARTHIPLUS.COM
Else
Text1.Text = Val(Text1.Text) + 0
End If
Form8.Show
Me.Hide
End Sub
Private Sub Form_Load()
Frame2.Visible = False
End Sub
RESULT FORM:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
rs(0) = lable2.Caption
rs(1) = Text1.Text
rs(2) = Text2.Text
AddNew
End Sub
Software Development – Case Tools Lab Lab Manual - 111
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 112
WWW.VIDYARTHIPLUS.COM
Private Sub Command2_Click()
End
End Sub
Private Sub Command3_Click()
If Form1.Option2.Value = True Then
Label2.Caption = Val(Form3.Text1.Text) + Val(Form2.Text1.Text)
ElseIf Form1.Option3.Value = True Then
End If
End Sub
Private Sub Form_Load()
MDIForm1.Label1.Caption = ""
MDIForm1.Picture1.Visible = False
Set db = OpenDatabase("D:\PROJECTS\tittu pro\RESULT.MDB")
Set rs = db.OpenRecordset("res")
End Sub
Software Development – Case Tools Lab Lab Manual - 113
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 114
WWW.VIDYARTHIPLUS.COM
OUTPUT:
LOGIN FORM :
FORM 1:
Software Development – Case Tools Lab Lab Manual - 115
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 116
WWW.VIDYARTHIPLUS.COM
FORM 2:
Software Development – Case Tools Lab Lab Manual - 117
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 118
WWW.VIDYARTHIPLUS.COM
FORM 3:
Software Development – Case Tools Lab Lab Manual - 119
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 120
WWW.VIDYARTHIPLUS.COM
RESULT FORM:
RESULT:
Thus the above program has been successfully completed and drawn in Rational Rose.
Software Development – Case Tools Lab Lab Manual - 121
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 122
WWW.VIDYARTHIPLUS.COM
EX.NO: 11DATE:
ATM SYSTEM
AIM
To implement the ATM System using Relational Software.
ALGORITHM
1. ALGORITHM FOR USE CASE DIAGRAM:
Step1: Identify the Actors and Use cases.
In the system, the actors and use cases are:
Actors: User, System and Database.
Use cases: Login, Deposit, withdrawal, updation, balance enquiry
Step2: Build the relationship between actors and Use cases.
The use case diagram for the expect system is given in Fig (1).
Fig (1): Use case diagram for the ATM System
Software Development – Case Tools Lab Lab Manual - 123
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 124
WWW.VIDYARTHIPLUS.COM
2. ALGORITHM FOR SEQUENCE DIAGRAM:
Step1: Identify the objects.
In this System, the objects are: User, System and Database.
Step2: Identify the sequence of events.
Step3: Login to the system to check the validity.
Step4: Select the option in the system.
Step5: For the user to deposit or withdraw the amount ,they should enter the option in the
System.
Step6: The System will do the corresponding processing with proper Updation in the Database.
Step7: Finally the balance is displayed to the user.
The sequence diagram for ATM System is give4n in Fig(2).
Fig (2): Sequence diagram for ATM System
Software Development – Case Tools Lab Lab Manual - 125
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 126
WWW.VIDYARTHIPLUS.COM
3. ALGORITHM FOR CLASS DIAGRAM:
Step1: Create class diagram for each identified objects under sequence diagram.
Identified objects are: User, System and Database.
Step2: Class diagram for each object is divided into three parts.
Top portion represents the Class name.
Middle portion represents the Attributes.
Bottom portion represents the methods.
The class diagram for ATM system is shown in Fig (3).
<Implements> <Implements> <Implements> <Implements>
Fig (3): class diagram for ATM system
Software Development – Case Tools Lab Lab Manual - 127
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 128
WWW.VIDYARTHIPLUS.COM
Procedure to write the software for the ATM system using rational Software tool
Selecting the Software:
1. Click startRational SoftwareRational Rose Enterprise Edition.
Create the project:
2. In the Create New model window select VB6 Standard FrameworkA screen appears; select the untitled project from the browser window and save it.
To draw the diagram:
3. Right Click the use case viewNewUse case diagramSequence diagramclass diagram (name and save the files)
4. Click use case diagramusing the tool box build the use case diagram.
5. Click sequence diagramusing the tool box build the sequence diagram.
6. Click class diagramusing the tool box build the class diagram.
Generate the coding form:
7.Right click Component viewcomponent diagramOpen specificationselect the Stereotype as DLLSelect the language as Visual BasicSwitch from General tab to Realize tabSelect the classes you created in class diagramright clickAssignOk.
8. Right click component viewupdate code from modelthe tool window for converting
diagrams to code appearsnextFinishthe skeleton code in VB is generated automatically for
the class diagram.
Software Development – Case Tools Lab Lab Manual - 129
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 130
WWW.VIDYARTHIPLUS.COM
SOURCE CODE:
PINPROCESS CODING:
Dim DB As Database
Dim RS As Recordset
Dim A As Integer
Private Sub Command1_Click()
A = Val(Text1.Text)
RS.MoveFirst
While (True)
If Val(A) = Val(RS(3)) Then
form2.Show
GoTo AA
Else
RS.MoveNext
End If
If RS.EOF = True Then
MsgBox "YOUR PIN NUMBER IS WRONG"
GoTo AA
End If
Wend
AA:
End Sub
Private Sub Form_Load()
Set DB = OpenDatabase("E:\atm\STORAGE.mdb")
Set RS = DB.OpenRecordset("CUSDET")
End Sub
Software Development – Case Tools Lab Lab Manual - 131
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 132
WWW.VIDYARTHIPLUS.COM
DISPLAY CODING:
Dim DB As Database
Dim RS As Recordset
Private Sub Command1_Click()
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
Form3.Show
GoTo AA
Else
RS.MoveNext
End If
Wend
AA:
End Sub
Private Sub Command2_Click()
Form4.Show
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Private Sub Command4_Click()
Form6.Show
End Sub
Private Sub Command6_Click()
Form1.Show
End Sub
Software Development – Case Tools Lab Lab Manual - 133
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 134
WWW.VIDYARTHIPLUS.COM
Private Sub Form_Load()
Set DB = OpenDatabase("E:\atm\STORAGE.mdb")
Set RS = DB.OpenRecordset("CUSDET")
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
Label2.Caption = RS(2)
GoTo AA
Else
RS.MoveNext
End If
Wend
AA:
End Sub
BALANCE ENQUIRY CODING:
Dim DB As Database
Dim RS As Recordset
Private Sub Command1_Click()
Unload Me
Form1.Show
Form1.Text1.Text = ""
Form1.Text1.SetFocus
End Sub
Private Sub Command3_Click()
Form1.Show
End Sub
Software Development – Case Tools Lab Lab Manual - 135
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 136
WWW.VIDYARTHIPLUS.COM
Private Sub Form_Load()
Set DB = OpenDatabase("E:\atm\STORAGE.mdb")
Set RS = DB.OpenRecordset("CUSDET")
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
Label2.Caption = RS(4)
Label4.Caption = RS(5)
GoTo AA
Else
RS.MoveNext
End If
Wend
AA:
End Sub
WITHDRAW CODING:
Dim DB As Database
Dim RS As Recordset
Dim B As Double
Private Sub Command1_Click()
B = 0
B = Val(Text1.Text)
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
If (Val(B) > Val(RS(4))) Then
Software Development – Case Tools Lab Lab Manual - 137
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 138
WWW.VIDYARTHIPLUS.COM
MsgBox "YOUR BALANCE IS LOW"
Text1.Text = ""
Text1.SetFocus
GoTo BB
Else
MsgBox "TAKE YOUR CASH "
Text1.Text = ""
B = Val(RS(4)) - Val(B)
RS.Edit
RS(4) = Val(B)
RS(5) = Val(RS(4))
RS.Update
GoTo AA
End If
Else
RS.MoveNext
End If
Wend
AA:
BB:
Form1.Show
Form1.Text1.Text = ""
Form1.Text1.SetFocus
End Sub
Private Sub Command2_Click()
Text1.Text = ""
Form1.Show
Software Development – Case Tools Lab Lab Manual - 139
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 140
WWW.VIDYARTHIPLUS.COM
End Sub
Private Sub Form_Load()
Set DB = OpenDatabase("E:\atm\STORAGE.mdb")
Set RS = DB.OpenRecordset("CUSDET")
Text1.Text = ""
End Sub
MOBILE NUMBER CHANGE CODING:
Dim DB As Database
Dim RS As Recordset
Dim B As Double
Private Sub Command1_Click()
B = 0
B = Val(Text1.Text)
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
If (Val(B) > Val(RS(4))) Then
MsgBox "YOUR BALANCE IS LOW"
Text1.Text = ""
Text1.SetFocus
GoTo BB
Else
MsgBox "TAKE YOUR CASH "
Text1.Text = ""
B = Val(RS(4)) - Val(B)
RS.Edit
Software Development – Case Tools Lab Lab Manual - 141
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 142
WWW.VIDYARTHIPLUS.COM
RS(4) = Val(B)
RS(5) = Val(RS(4))
RS.Update
GoTo AA
End If
Else
RS.MoveNext
End If
Wend
AA:
BB:
Form1.Show
Form1.Text1.Text = ""
Form1.Text1.SetFocus
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Form_Load()
Set DB = OpenDatabase("E:\atm\STORAGE.mdb")
Set RS = DB.OpenRecordset("CUSDET")
Text1.Text = ""
End Sub
Software Development – Case Tools Lab Lab Manual - 143
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 144
WWW.VIDYARTHIPLUS.COM
PIN NUMBER CHANGE CODING:
Dim DB As Database
Dim RS As Recordset
Private Sub Command1_Click()
RS.MoveFirst
While (True)
If Val(Text1.Text) = Val(RS(3)) Then
MsgBox "PIN ALREADY EXIST"
Text1.Text = ""
GoTo BB
Else
RS.MoveNext
End If
If RS.EOF = False Then
GoTo CC
End If
Wend
CC:
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
RS.Edit
RS(3) = Val(Text1.Text)
Form1.Text1.Text = Val(Text1.Text)
RS.Update
MsgBox "YOUR PIN NO WILL BE CHANGE"
Text1.Text = ""
Software Development – Case Tools Lab Lab Manual - 145
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 146
WWW.VIDYARTHIPLUS.COM
GoTo AA
Else
RS.MoveNext
End If
Wend
AA:
Form1.Show
Form1.Text1.Text = ""
Unload Me
BB:
End Sub
Private Sub Command2_Click()
Text1.Text = ""
Form1.Show
End Sub
Private Sub Form_Activate()
RS.MoveFirst
While (True)
If Val(Form1.Text1.Text) = Val(RS(3)) Then
Label2.Caption = RS(3)
GoTo AA
Else
RS.MoveNext
End If
Wend
AA:
End Sub
Software Development – Case Tools Lab Lab Manual - 147
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 148
WWW.VIDYARTHIPLUS.COM
Private Sub Form_Load()
Set DB = OpenDatabase("E:\atm\STORAGE.mdb")
Set RS = DB.OpenRecordset("CUSDET")
End Sub
Software Development – Case Tools Lab Lab Manual - 149
WWW.VIDYARTHIPLUS.COM
OUTPUT:
PIN NUMBER PROCESS FORM:
MENU FORM:
Software Development – Case Tools Lab Lab Manual - 150
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 151
WWW.VIDYARTHIPLUS.COM
BALANCE ENQUIRY FORM:
WITHDRAW FORM:
Software Development – Case Tools Lab Lab Manual - 152
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 153
WWW.VIDYARTHIPLUS.COM
PIN NUMBER CHANGE FORM:
MOBILE NUMBER CHAGE FORM:
Software Development – Case Tools Lab Lab Manual - 154
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 155
WW.VIDYARTHIPLUS.COM
CHECK YOUR BALANCE FORM:
CHECK YOUR PIN NUMBER:
RESULT:
Thus the above program has been successfully completed and drawn in Rational Rose.
Software Development – Case Tools Lab Lab Manual - 156
EX.NO: 12DATE:
TICKET RESERVATION SYSTEM
AIM
To implement the Ticket Reservation System using Rational Software.
ALGORITHM
1. ALGORITHM FOR USE CASE DIAGRAM (TICKET RESERVATION):
Step1:Identify the Actors and Usecases.
In the system ,the actors and use cases are:
Actors :Passenger,System,and Database.
Usecases :Details,seats available,reservation of ticket,and
Print the journey of reservation ticket.
Step2:Build the relationship between actors.
The Use case diagram for Ticket Reservation is given in fig(1).
Information_Cancellation
Seats _Available
Sys
Passenger
Reservation_of_Ticket
Reserve_the_Ticket
Database
View_and_print_the_journey_r...
Fig(1):Use case Diagram for Ticket Reservation
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 157
WWW.VIDYARTHIPLUS.COM
2. ALGORITHM FOR USE CASE DIAGRAM (TICKET CANCELLATION):
Step1:Identify the Actors and Usecases.
In the system ,the actors and use cases are:
Actors :Passenger,System,and Database.
Use cases: cancellation of ticket,cancel the ticket,view the cancelled details.
Step2: Build the relationship between actors and use cases.
The Use case diagram for Ticket Cancellation is given in fig(2).
Cancellation_of_Ticket
passenger sys
Cancel_the _Ticket
database View_and_Print_Cancelled_Details
Fig(2):Use case Diagram for Ticket Cancellation
Software Development – Case Tools Lab Lab Manual - 158
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 159
WWW.VIDYARTHIPLUS.COM
3. ALGORITHM FOR SEQUENCE DIAGRAM (TICKET RESERVATION):
Step1:Identify the objects.
In this system,the odjects are:Passenger,System Database and Reservation.
Step2:Identify the sequence of events.
Step3:Select the required information for reservation.
Step4:Perforn the reservation process.
Step5:Save the details in database.
Step6:Send the details to the system.
Step7:View and print the journey of reservation ticket details.
The Sequence diagram for Ticket Reservation is given in fig(3).
p a s s e n ge r sys t e m d a t ab a s e
Software Development – Case Tools Lab Lab Manual - 160
r e s er v a t i o n
1.Get the seat availablity
Software Development – Case Tools Lab Lab Manual - 161
WWW.VIDYARTHIPLUS.COM
4. ALGORITHM FOR SEQUENCE DIAGRAM (TICKET CANCELLATION):
Step1:Identify the objects.
In this system,the objects are:Passenger,System Database and Cancellation.
Step2:Identify the sequence of events.
Step3:Enter the PNR number.
Step4:Perform the cancellation process.
Step5:Send the details to the system.
Step6:View the completion process of ticket cancellation.
The Sequence diagram for Ticket Cancellation is given in fig(4).
s y s t em
1.Enter the PNR no
database
Software Development – Case Tools Lab Lab Manual - 162
pas s eng e r
can c e l lat i on
Software Development – Case Tools Lab Lab Manual - 163
WWW.VIDYARTHIPLUS.COM
5. ALGORITHM FOR CLASS DIAGRAM (TICKET RESERVATION):
Step1:Create class diagram for each identified Objects under sequence diagram.
Identified objects are:User,System and Database and reservation.
Step2:Class diagram for each object is divided into three parts.
Top portion represents the class Name.
Middle portion represents the Attributes.
Bottom portion represents the Methods.
The Class diagram for Ticket Reservation is shown in fig(5).
Software Development – Case Tools Lab Lab Manual - 164
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 165
WWW.VIDYARTHIPLUS.COM
6. ALGORITHM FOR CLASS DIAGRAM (TICKET CANCELLATION):
Step1:Create class diagram for each identified Objects under sequence diagram.
Identified objects are:User,System and Database and reservation.
Step2:Class diagram for each object is divided into three parts.
Top portion represents the class Name.
Middle portion represents the Attributes.
Bottom portion represents the Methods.
The Class diagram for Ticket Cancellation is shown in fig(6).
Software Development – Case Tools Lab Lab Manual - 166
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 167
WWW.VIDYARTHIPLUS.COM
Procedure to write the software for the Online Ticket Reservation System Using Rational Software tool
Selecting the software:
1.click start->Rational Software->Rational Rose Enterprice Edition.
Create the project:
2.In the Create New Model window select VB6 Standard Framework->A screen
appears;select the untitled project from the browser window and save it.
To draw the diagram:
3.Right click the Use case view->New->Use case diagram->Sequence diagram->
Class diagram(name and save the files)
4.Click Use case diagram->Using the tool box build the use case diagram.
5.Click Sequence diagram->Using the tool box build the sequence diagram.
6.Click class diagram->Using the tool box build the class diagram.
Software Development – Case Tools Lab Lab Manual - 168
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 169
WWW.VIDYARTHIPLUS.COM
SOURCE CODE:
FORM 1:
Private Sub Command1_Click()
If Text1.Text = "online" And Text2.Text = "mca" Then
MsgBox "WELCOME"
Form2.Show
Form1.Hide
Else
MsgBox "INVALIDE LOGIN"
End If
End Sub
FORM 2:
Private Sub Command1_Click()
Form2.Hide
Form3.Show
End Sub
Private Sub Command2_Click()
Form2.Hide
Form4.Show
End Sub
Software Development – Case Tools Lab Lab Manual - 170
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 171
WWW.VIDYARTHIPLUS.COM
Private Sub Command3_Click()
Form2.Hide
Form6.Show
End Sub
FORM 3:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Add_Click()
rs.AddNew
rs(0) = Combo1.Text
rs(1) = Text1.Text
rs(2) = Text2.Text
rs(3) = Text3.Text
rs(4) = Text4.Text
rs(5) = Text5.Text
rs(6) = Text6.Text
rs(7) = Text7.Text
rs(8) = Text8.Text
rs(9) = Text9.Text
MsgBox "new Record Added"
End Sub
Software Development – Case Tools Lab Lab Manual - 172
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 173
WWW.VIDYARTHIPLUS.COM
Private Sub Command1_Click()
rs.MoveFirst
Combo1.Text = rs(0)
Text1.Text = rs(1)
Text2.Text = rs(2)
Text3.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
Text9.Text = rs(9)
End Sub
Private Sub Command2_Click()
rs.MovePrevious
Combo1.Text = rs(0)
Text1.Text = rs(1)
Text2.Text = rs(2)
Text3.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Software Development – Case Tools Lab Lab Manual - 174
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 175
WWW.VIDYARTHIPLUS.COM
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
Text9.Text = rs(9)
End Sub
Private Sub Command3_Click()
rs.MoveNext
Combo1.Text = rs(0)
Text1.Text = rs(1)
Text2.Text = rs(2)
Text3.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
Text9.Text = rs(9)
End Sub
Private Sub Command4_Click()
rs.MoveLast
Combo1.Text = rs(0)
Software Development – Case Tools Lab Lab Manual - 176
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 177
WWW.VIDYARTHIPLUS.COM
Text1.Text = rs(1)
Text2.Text = rs(2)
Text3.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
Text9.Text = rs(9)
End Sub
Private Sub Command5_Click()
rs.Delete
Combo1.Text = ""
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Software Development – Case Tools Lab Lab Manual - 178
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 179
WWW.VIDYARTHIPLUS.COM
Text9.Text = ""
End Sub
Private Sub Command6_Click()
Form2.Show
Form3.Hide
End Sub
Private Sub Command7_Click()
Combo1.Text = ""
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
End Sub
Private Sub Command8_Click()
DataReport2.Show
End Sub
Software Development – Case Tools Lab Lab Manual - 180
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 181
WWW.VIDYARTHIPLUS.COM
Private Sub Delete_Click()
rs.Delete
Combo1.Text = ""
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
End Sub
Private Sub Form_Load()
db.CursorLocation = adUseClient
db.Open "Provider=MSDAORA.1;User ID=scott;password=tiger;Data Source=oracle;Persist
Security Info=False"
rs.Open "details", db, adOpenDynamic, adLockOptimistic
Combo1.Text = rs(0)
Text1.Text = rs(1)
Text2.Text = rs(2)
Software Development – Case Tools Lab Lab Manual - 182
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 183
WWW.VIDYARTHIPLUS.COM
Text3.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
Text9.Text = rs(9)
End Sub
Private Sub Home_Click()
Form3.Hide
Form2.Show
End Sub
FORM 4:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Combo1_Click()
Select Case Combo1.Text
Case "Vaigai Express"
Text4.Text = "TN 28/1234"
Text5.Text = "Chennai"
Text6.Text = "Kovai"
Software Development – Case Tools Lab Lab Manual - 184
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 185
WWW.VIDYARTHIPLUS.COM
Text7.Text = "7.00AM"
Text8.Text = "800"
Case "Kovai Express"
Text4.Text = "TN 07/1235"
Text5.Text = "Kovai"
Text6.Text = "Delhi"
Text7.Text = "2.00PM"
Text8.Text = "1500"
Case "Blue Mountain"
Text4.Text = "TN 21/876"
Text5.Text = "Trichy"
Text6.Text = "Chennai"
Text7.Text = "5.00AM"
Text8.Text = "700"
Case "Pandiyan Express"
Text4.Text = "TN 77/0742"
Text5.Text = "Salem"
Text6.Text = "Karaikudi"
Text7.Text = "7.00Pm"
Text8.Text = "900"
End Select
Software Development – Case Tools Lab Lab Manual - 186
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 187
WWW.VIDYARTHIPLUS.COM
End Sub
Private Sub Command1_Click()
Form4.Hide
Form2.Show
End Sub
Private Sub Command3_Click()
rs.Delete
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Combo1.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
End Sub
Software Development – Case Tools Lab Lab Manual - 188
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 189
WWW.VIDYARTHIPLUS.COM
Private Sub Command2_Click()
Form6.Show
Form4.Hide
End Sub
Private Sub Command5_Click()
rs.MoveFirst
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Combo1.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
End Sub
Private Sub Command6_Click()
rs.MovePrevious
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Software Development – Case Tools Lab Lab Manual - 190
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 191
WWW.VIDYARTHIPLUS.COM
Combo1.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
End Sub
Private Sub Command7_Click()
rs.MoveNext
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Combo1.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
End Sub
Software Development – Case Tools Lab Lab Manual - 192
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 193
WWW.VIDYARTHIPLUS.COM
Private Sub Command8_Click()
rs.MoveLast
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Combo1.Text = rs(3)
Text4.Text = rs(4)
Text5.Text = rs(5)
Text6.Text = rs(6)
Text7.Text = rs(7)
Text8.Text = rs(8)
End Sub
Private Sub Form_Load()
Combo1.AddItem ("Vaigai Express")
Combo1.AddItem ("Kovai Express")
Combo1.AddItem ("Blue Mountain")
Combo1.AddItem ("Pandiyan Express")
db.CursorLocation = adUseClient
db.Open "Provider=MSDAORA.1;Password=tiger;User ID=scott;Data Source=oracle;Persist
Security Info=True"
rs.Open "reser222", db, adOpenDynamic, adLockOptimistic
Software Development – Case Tools Lab Lab Manual - 194
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 195
WWW.VIDYARTHIPLUS.COM
End Sub
Private Sub Report_Click()
DataReport2.Show
End Sub
FORM 5:
Dim a As Integer
Dim b As Integer
Dim c As Integer
Dim d As Integer
Dim i As Integer
'Dim e As Integer
Private Sub Command1_Click()
If Option1 = True Then
Text3.Text = "Male"
ElseIf Option2 = True Then
Text3.Text = "Female"
End If
End Sub
Software Development – Case Tools Lab Lab Manual - 196
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 197
WWW.VIDYARTHIPLUS.COM
Private Sub Command4_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
End Sub
Private Sub Command5_Click()
If Option3 = True Then
Text8.Text = "Firstclass"
ElseIf Option4 = True Then
Text8.Text = "Secondclass"
End If
Software Development – Case Tools Lab Lab Manual - 198
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 199
WWW.VIDYARTHIPLUS.COM
If Text8.Text = "Firstclass" Then
a = Val(Combo1.Text) * 500
b = Val(Combo2.Text) * 300
c = Val(Combo3.Text) * 250
Text7.Text = a + b + c
ElseIf Text8.Text = "Secondclass" Then
a = Val(Combo1.Text) * 300
b = Val(Combo2.Text) * 150
c = Val(Combo3.Text) * 100
Text7.Text = a + b + c
Else
MsgBox "Invalid Entry"
End If
End Sub
Private Sub Form_Load()
End Sub
Private Sub Home_Click()
Form2.Show
Form6.Hide
End Sub
Software Development – Case Tools Lab Lab Manual - 200
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 201
WWW.VIDYARTHIPLUS.COM
Private Sub Text1_Change()
Combo4.Clear
d = Val(Text1.Text) + d
For i = i To Val(d) - 1
Combo4.AddItem i + 1
Next
End Sub
Software Development – Case Tools Lab Lab Manual - 202
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 203
WWW.VIDYARTHIPLUS.COM
OUTPUT:
FORM 1:
Software Development – Case Tools Lab Lab Manual - 204
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 205
WWW.VIDYARTHIPLUS.COM
FORM 2:
Software Development – Case Tools Lab Lab Manual - 206
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 207
WWW.VIDYARTHIPLUS.COM
FORM 3:
Software Development – Case Tools Lab Lab Manual - 208
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 209
WWW.VIDYARTHIPLUS.COM
FORM 4:
Software Development – Case Tools Lab Lab Manual - 210
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 211
WWW.VIDYARTHIPLUS.COM
FORM 5:
Software Development – Case Tools Lab Lab Manual - 212
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 213
WWW.VIDYARTHIPLUS.COM
FORM 6:
RESULT:
Thus the above program has been successfully completed and drawn in Rational Rose.
Software Development – Case Tools Lab Lab Manual - 214
EX. NO: 13
DATE:
PAYROLL PROCESSING
AIM:
To Implement the Payroll Processing using Rational Software.
ALGORITHM:
1. ALGORITHM FOR USE CASE DIAGRAM:
STEP1: Identify the Actors and Use Cases.
In the system, actors and use cases are:
Actors: Employee, Administrator, System and Database.
Use cases: Employee details, validity check, payroll processing, view and print the salary
details.
STEP2: Build the relationship between actors and Use case.The use case diagram for the payroll
processing is given in Fig(1).
Fig(1):Use case diagram for the payroll processing
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 215
WWW.VIDYARTHIPLUS.COM
2. ALGORITHM FOR SEQUENCE DIAGRAM:
STEP 1: Identify the objects.
In this system, the objects are: Employee, Administrator, System and Database.
STEP 2: Identify the sequence of events.
STEP 3: Enter the employee ID.
STEP 4: Perform the computation.
STEP 5: Return the computed values to the database.
STEP 6: Save the details in database.
STEP 7: View and print the salary details.
The Sequence diagram for payroll processing is given in Fig (2).
Fig (2): Sequence diagram for payroll processing
Software Development – Case Tools Lab Lab Manual - 216
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 217
WWW.VIDYARTHIPLUS.COM
3: ALGORITHM FOR CLASS DIAGRAM:
STEP 1: Create class diagram for each identified objects under sequence diagram.
Identified objects are: Employee, Administrator, System and Database.
STEP 2: Class diagram for each object is divided into three parts.
Top portion represents the class Name.
Middle portion represents the Attributes.
Bottom portion represents the Methods.
The Class diagram for Payroll Processing shown in Fig (3).
Fig (3):class diagram for payroll processing
Software Development – Case Tools Lab Lab Manual - 218
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 219
WWW.VIDYARTHIPLUS.COM
Procedure to write the software for the payroll processing using Rational software tool
Selecting the Software:
1.Click startRational SoftwareRational Rose Enterprise Edition.
Create the project:
2.In the Create New Model window select VB6 Standard FrameworkA screen appears;select the
untitled project from the browser window and save it
To draw the diagram:
3.Right Click the Use case viewNewUse case diagramSequence diagramClass diagram(name
and save the files)
4.Click Use case diagramUsing the tool box build the use case diagram.
5.Click Sequence diagramusing the tool box build the sequence diagram.
6.Click Class diagramUsing the tool box build the class diagram.
Generate the coding form:
7.Right click Component viewcomponent diagramopen specificationselect the Stereotype as
DLLSelect the language as Visual basicSwitch from General tab to Realizes tabSelect the
classes you created in class diagramright clickAssignOK.
8.Right click Component viewUpdate code from modelthe tool window for converting diagrams to
code appearsnextFinish the skeleton code in VB is generated automatically for the class diagram
designed.
Software Development – Case Tools Lab Lab Manual - 220
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 221
WWW.VIDYARTHIPLUS.COM
SOURCE CODE:
LOGIN PROCESS:
Dim db As Database
Dim rs As Recordset
Private Sub Command2_Click()
Data1.Recordset.update
MsgBox "RECORDS ARE SUCCESSFULLY UPDATED"
End Sub
Private Sub Command3_Click()
admin.Show
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Data1_Validate(Action As Integer, Save As Integer)
Data1.Visible = False
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("D:\CASE TOOLS\emp.mdb")
Set rs = db.OpenRecordset("emp1")
End Sub
Software Development – Case Tools Lab Lab Manual - 222
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 223
WWW.VIDYARTHIPLUS.COM
ADMIN PROCESS:
Dim db As Database
Dim rs As Recordset
Private Sub Form_Load()
Set db = OpenDatabase("D:\CASE TOOLS\emp.mdb")
Set rs = db.OpenRecordset("emp1")
End Sub
Private Sub Label2_Click()
addemp.Show
End Sub
Private Sub Label3_Click()
delete.Show
End Sub
Private Sub Label4_Click()
update.Show
End Sub
Private Sub Label5_Click()
login.Show
End Sub
Software Development – Case Tools Lab Lab Manual - 224
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 225
WWW.VIDYARTHIPLUS.COM
ADDING EMPLOYEE PROCESS:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Text5.Text
rs(5) = Text6.Text
rs(6) = Text7.Text
rs(7) = Text8.Text
rs(8) = Text9.Text
rs(10) = Text10.Text
rs(9) = Text11.Text
rs.update
MsgBox "RECORD IS ADDED"
End Sub
Software Development – Case Tools Lab Lab Manual - 226
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 227
WWW.VIDYARTHIPLUS.COM
Private Sub Command3_Click()
admin.Show
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
rs.AddNew
End Sub
Private Sub Data1_Validate(Action As Integer, Save As Integer)
Data1.Visible = False
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("D:\CASE TOOLS\emp.MDB")
Set rs = db.OpenRecordset("emp1")
End Sub
Software Development – Case Tools Lab Lab Manual - 228
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 229
WWW.VIDYARTHIPLUS.COM
Private Sub Text8_Change()
Text9.Text = 2 / 100 * Val(Text8.Text)
Text10.Text = 4 / 100 * Val(Text8.Text)
Text11.Text = Val(Text8.Text) + Val(Text9.Text) - Val(Text10.Text)
'Text5.Text = 12 / 100 * Val(Text3.Text)
End Sub
DELETING PROCESS:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
Adodc1.Recordset.delete
MsgBox "Record deleted"
Text1.Text = ""
End Sub
Private Sub Command2_Click()
admin.Show
End Sub
Private Sub Data1_Validate(Action As Integer, Save As Integer)
Data1.Visible = False
End Sub
Software Development – Case Tools Lab Lab Manual - 230
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 231
WWW.VIDYARTHIPLUS.COM
Private Sub Form_Load()
Set db = OpenDatabase("D:\CASE TOOLS\emp.mdb")
Set rs = db.OpenRecordset("emp1")
End Sub
UPDATING PROCESS:
Dim db As Database
Dim rs As Recordset
Private Sub Command2_Click()
Data1.Recordset.update
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Text5.Text
rs(5) = Text6.Text
rs(6) = Text7.Text
rs(7) = Text8.Text
rs(8) = Text9.Text
rs(10) = Text10.Text
rs(9) = Text11.Text
MsgBox "RECORDS ARE SUCCESSFULLY UPDATED"
Software Development – Case Tools Lab Lab Manual - 232
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 233
WWW.VIDYARTHIPLUS.COM
End Sub
Private Sub Command3_Click()
admin.Show
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Command5_Click()
rs.Edit
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Text5.Text
rs(5) = Text6.Text
rs(6) = Text7.Text
rs(7) = Text8.Text
rs(8) = Text9.Text
rs(10) = Text10.Text
rs(9) = Text11.Text
End Sub
Software Development – Case Tools Lab Lab Manual - 234
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 235
WWW.VIDYARTHIPLUS.COM
Private Sub Data1_Validate(Action As Integer, Save As Integer)
Data1.Visible = False
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("D:\CASE TOOLS\emp.mdb")
Set rs = db.OpenRecordset("emp1")
End Sub
SEARCH EMPLOYEES FORM:
Dim db As Database
Dim rs As Recordset
Dim a As Integer
Private Sub Command1_Click()
'a = Form9(rs(0))
rs.MoveFirst
While (True)
If Val(Text1.Text) = Val(rs(0)) Then
empdetails.Show
empdetails.Label2.Caption = rs(0)
empdetails.Label10.Caption = rs(1)
empdetails.Label11.Caption = rs(2)
empdetails.Label12.Caption = rs(3)
Software Development – Case Tools Lab Lab Manual - 236
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 237
WWW.VIDYARTHIPLUS.COM
empdetails.Label13.Caption = rs(4)
empdetails.Label14.Caption = rs(5)
empdetails.Label15.Caption = rs(6)
empdetails.Label17.Caption = rs(7)
empdetails.Label19.Caption = rs(8)
empdetails.Label23.Caption = rs(10)
empdetails.Label21.Caption = rs(9)
GoToaa
Else
rs.MoveNext
End If
Wend
aa:
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Data1_Validate(Action As Integer, Save As Integer)
Data1.Visible = False
End Sub
Software Development – Case Tools Lab Lab Manual - 238
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 239
WWW.VIDYARTHIPLUS.COM
Private Sub Command3_Click()
admin.Show
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("D:\CASE TOOLS\emp.MDB")
Set rs = db.OpenRecordset("emp1")
End Sub
Software Development – Case Tools Lab Lab Manual - 240
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 241
WWW.VIDYARTHIPLUS.COM
OUTPUT:
ADMIN LOGIN FORM:
ADMINISTRATOR FORM:
Software Development – Case Tools Lab Lab Manual - 242
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 243
WWW.VIDYARTHIPLUS.COM
EMPLOYEE FORM:
DELETE FORM:
Software Development – Case Tools Lab Lab Manual - 244
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 245
WW.VIDYARTHIPLUS.COM
UPDATE FORM:
EMPLOYEE ADMIN FORM:
Software Development – Case Tools Lab Lab Manual - 246
WW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 247
WWW.VIDYARTHIPLUS.COM
EMPLOYEE SEARCH FORM:
EMPLOYEE DETAILS:
RESULT:
Thus the above program has been successfully completed and drawn in Rational Rose.
Software Development – Case Tools Lab Lab Manual - 248
WWW.VIDYARTHIP
WWW.VIDYARTHIPLUS.COM V+ TEAM
Software Development – Case Tools Lab Lab Manual - 249