Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
(2018-19)
NAME:
REGNO:
SEMESTER: V SEM
SRIRAM ENGINEERING COLLEGE
Perumalpattu, Thiruvallur Dist-602 024.
Register No:
BONAFIDE CERTIFICATE
7 E-TICKETING
11 RECRUITMENT SYSTEM
EXTRA EXPERIMENT
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 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.
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 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:
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
The UML class diagram is also known as object modeling. It is a static analysis diagram. These
diagrams show the static structure of the model. A class diagram is a connection of static model
elements, such as classes and their relationships, connected as a graph to each other and to their
contents.
2. Use-case diagram:
The functionality of a system can be described in a number of different use cases, each of which
represents a specific flow of events in a system. It is a graph of actors, a set of use-cases enclosed in a
boundary, communication, associations between the actors and the use-cases, and generalization
among the use-cases.
3. Behavior diagram:
It is a dynamic model unlike all the others mentioned before. The objects of an object oriented
system are not static and are not easily understood by static diagrams. The behavior of the class‟s
instance (an object) is represented in this diagram. Every use-case of the system has an associated
behavior diagram that indicates the behavior of the object. In conjunction with the use-case diagram
we may provide a script or interaction diagram to show a time line of events. It consists of sequence
and collaboration diagrams.
4.Interaction diagram
It is the combination of sequence and collaboration diagram. It is used to depict the flow of
events in the system over a timeline. The interaction diagram is a dynamic model which shows how
the system behaves during dynamic execution.
It consists of state, events and activities. State diagrams are a familiar technique to describe the
behavior of a system. They describe all of the possible states that a particular object can get into and
how the object's state changes as a result of events that reach the object. In most OO techniques, state
diagrams are drawn for a single class to show the lifetime behavior of a single object
6.Activity diagram:
It shows organization and their dependence among the set of components. These diagrams are
particularly useful in connection with workflow and in describing behavior that has a lot of parallel
processing. An activity is a state of doing something: either a real-world process, or the execution of a
software routine.
7.Implementation diagram:
It shows the implementation phase of the systems development, such as the source code structure
and the run-time implementation structure. These are relatively simple high level diagrams compared
to the others seen so far. They are of two sub diagrams,the component diagram and the deployment
diagram.
8.Component diagram:
These are organizational parts of a UML model. These are boxes to which a model can be
decomposed. They show the structure of the code itself. They model the physical components such as
source code, user interface in a design. It is similar to the concept of packages.
9.Deployment diagram:
The deployment diagram shows the structure of the runtime system. It shows the configuration
of runtime processing elements and the software components that live in them. They are usually used
in conjunction with deployment diagrams to show how physical modules of code are distributed on
the system.
Notation elements:
These are explanatory parts of UML model. They are boxes which may apply to describe and
remark about any element in the model. They provide the information for understanding the necessary
details of the diagrams.
These are four kinds of relationships used in an UML diagram, they are:
Dependency
Association
Generalization
Realization
Dependency:
It is a semantic relationship between two things in which a change one thing affects the
semantics of other things. Graphically a dependency is represented by a non-continuous line.
Association:
It is a structural relationship that describes asset of links. A link is being connected among
objects. Graphically association is represented as a solid line possibly including label.
Generalization:
It is a specialized relationship in which the specialized elements are substitutable for object of
the generalized element.
Realization:
UML you need to form the conceptual model of UML. This requires three major elements:
Description:
A use case is a set of scenarios tied together by a common user goal. A use case is a behavioral
diagram that shows a set of use case actions and their relationships.
Purpose:
Main flow:
First, the sender gives his id and enters his login. Now, he enters the message to the receiver id.
Alternate flow:
If the username and id by the sender or receiver is not valid, the administrator will not allow
entering and “Invalid password” message is displayed.
Pre-condition:
Post-condition:
The user is not allowed to enter if the password or user name is not valid.
Class diagram:
Description:
A class diagram describes the type of objects in system and various kinds of relationships that
exists among them. Class diagrams and collaboration diagrams are alternate representations of object
models. During analysis, we use class diagram to show roles and responsibilities of entities that
provide email client system behaviors design. We use to capture the structure of classes that form the
email client system architecture.
<<Class name>>
<<Attribute 1>>
<<Attribute n>>
<<Operation ()>>
Relationship used:
Generalization:
It is a kind of relationship
Description:
The state chart diagram made the dynamic behavior of individual classes.State chart
shows the sequences of states that an object goes through events and state transitions.
A state chart contains one state „start‟ and multiple „end‟ states.
Decision:
It represents a specific location state chart diagram where the work flow may branch
based upon guard conditions.
Synchronization:
It gives a simultaneous workflow in a state chart diagram. They visually define forks and
joints.
State:
Transition:
Start state:
A start state shows the beginning of a workflow or beginning of a state machine on a state
chart diagram.
End state:
Activity diagram
Description:
Activity:
An activity represents the performance of a task on duty. It may also represent the execution
of a statement in a procedure.
Message icon:
A message icon represents the communication between objects indicating that an action
will follow. The message icon is the horizontal solid arrow connecting lifelines together.
Collaboration diagram:
Description:
Collaboration diagram is an interaction diagram that shows the order of messages that
implement an operation or a transaction.
They can also contain simple class instances and class utility instances. During, analysis
indicates the semantics of the primary and secondary interactions. Design, shows the semantics of
mechanisms in the logical design of system.
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.
Ex NO: 1 INTRODUCTION TO CREATE THE UML DIAGRAMS
DATE:
Use Oval symbols for operations Use arrow symbols for associations
Logical view New Class diagram
Insert the class symbol, right click new attributes, new operations
Logical New Sequence Diagram
Drag the actor from the left side of the logical view and give a name
Component viewnewComponent
Diagram Draw a component
diagram and assign a name Right
click on it, select the open
specification option
In the dialog window click on the General tab, set the language
(VB,C,C++,etc any one ) Click on the Realize tab
PROBLEM STATEMENT:
Passport automation system is used in the effective dispatch of passport to all of the applicants.
This system adopts a comprehensive approach to minimize the manual work and schedule resource,
time in a cogent manner. The online register form is filled by applicant and is being verified by the
passport administrator system and entered in the database. The application is processed manually based
on the report produced by system and any forfeiting might cause the applicant liable to penalty. The
admin will display the current status of application to the applicant which they can view in online
interface. After all formalities all the original information added to database the passport is sent to the
applicant.
GLOSSARY:
APPLICANT:
One who applies through online interface and checks the status of application to obtain the
passport.
ADMIN:
One who checks the genuine of the info of the applicant and provide the passport.
REGISTRATION:
BRIEF DESCRIPTION:
The application register for the passport. Applicant request for registration and fills in the
details and then submits to the system.
BASIC WORKFLOW:
The system provides the registration form; the applicant fills in the details and submits.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The system must provide the proper registration from and the applicant fills it.
POST-CONDITION:
If the applicant fills in wrong details, then he is liable to penalty as per the law.
CHECK STATUS:
BRIEF DESCRIPTION:
The applicant fills up the registration form and then submits. The admin via the online
interface responds by sending the status.
BASIC WORKFLOW:
The applicant after submitting the details in registration form, receives the status message.
ALTERNATIVE FLOW:
PRE-CONDITION:
POST-CONDITION:
PROCESS APPLICATION:
BRIEF DESCRIPTION:
The administrator processes the application. The details of the applicant which has been submitted are
verified for genuine.
BASIC WORKFLOW:
The administrator enter the applicant id to the database and send back status message to the applicant.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The applicant must submit his details and his id has to be checked for validity.
POST-CONDITION:
If there is any mistake in the way of filling, then the application is resent to the applicant to recheck
the details.
DISPATCH PASSPORT:
BRIEF DESCRIPTION:
After the application is completely verified by the administrator, sends the passport to the applicant.
BASIC WORFLOW:
The details sent by the applicant are verified thoroughly by the administrator before further
proceedings.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
Before the administrator dispatches the passport to the applicant through post, verification is done to
check if the details given by the applicant id valid.
POST-CONDITION:
The passport is finally dispatched to the applicant by the administrator.
Risk Management:
Risk Identification:
(i) Authenticity problem
(ii) Updation problem.
(iii) Data coherency risk
Risk Analysis:
Authenticity problem: Wrong details given by the applicant which may be more convincing.
Updation problem: The problem with renewal is that you can have a separate thread to check the renewal
status of all entries in the database.
Data coherency risk: The entered data may be inadvertently modified in the phase transitions.
Risk Monitoring:
The practice of unauthenticated detail submission can be stated as a punishable offence by international
law.
The passport renewal date must always be noted by the verifiers before its use.
The database should be compared before and after a phase transaction.
GANTT CHART:
Passport Automation System
UML DIAGRAMS:
Registration
Administrator
process Application
Dispatch passport
ACTIVITY DIAGRAM:
NEW REGISTRATION:
Passport automation
system
New
registration
Enter
details
Register
CHECK STATUS:
ADMIN PANEL:
CLASS DIAGRAM
SEQUENCE DIAGRAM:
NEW REGISTRATION:
2.Registration form
3.Fill in details
4.Submit
5.Give Applicant id
1.Enter Applicant id
2.fetch details for applicant
ADMIN PANEL:
6.give details
COLLABORATION DIAGRAM:
NEW REGISTRATION:
1: 1.Request for registration
3: 3.Fill in details
4: 4.Submit
Applicant System
2: 2.Registration form
5: 5.Give Applicant id
CHECK STATUS:
1: 1.Enter Applicant id
Applicant System
ADMIN PANEL:
applicant
Database
UI
MS ACCESS WEB
VB
DOMAIN
Applicant
ADMIN
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
Registration status Admin Panel Authentication
Database
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
FORMS:
Code for Form1:
GENERATED CODE:
New Registration:
Option Explicit
'##ModelId=532C405001C7
Private name As String
'##ModelId=532C405001C8
Private age As Number
'##ModelId=532C405001C9
Private date_of_birth As Date
'##ModelId=532C405001CA
Private place_of_birth As String
'##ModelId=532C405001CB
Private gender As Variant
'##ModelId=532C405001CC
Private father_name As String
'##ModelId=532C405001CD
Private mother_name As String
'##ModelId=532C405001CE
Private address As String
'##ModelId=532C405001C6
Public Sub newregistration()
End Sub
Application Status:
Option Explicit
'##ModelId=532C405001DB
Private Application_no As Number
'##ModelId=532C405001DA
Public Sub Application_Status()
End Sub
Admin Panel:
Option Explicit
'##ModelId=532C405001E7
Private YetToBeProcessedApplication As dategrid
'##ModelId=532C405001E8
Private DispatchApplication As dategrid
'##ModelId=532C405001E9
Private Application_id As Number
'##ModelId=532C405001E6
Public Sub adminpanel()
End Sub
Admin Authentication:
Option Explicit
'##ModelId=532C405001E0
Private User_name As String
'##ModelId=532C405001E1
Private Password As Password
'##ModelId=532C41EB0273
Public Sub adminAuthentication()
End Sub
Gender:
Option Explicit
'##ModelId=532C405001D5
Private Male As radio_button
'##ModelId=532C405001D6
Private Female As radio_button
'##ModelId=532C405001D4
Public Sub gender()
End Sub
Result:
EX.NO: 3 BOOK BANK MANAGEMENT SYSTEM
DATE:
PROBLEM STATEMENT:
A book bank system is a software project used to maintain the book details of a book bank. In
this project the scenario lets us know the details of the book issue and return by the student and
administrator of the book bank. This allows the student to obtain the book and return the books to the
administrator to verify the student id as soon they student. This project mainly helps database to
maintain the issue and return of books which helps a administrator.
GLOSSARY:
STUDENT:
One who borrows the books and return it to the book bank.
ADMINISTRATOR:
One who issues the books , maintains the student and book details.
DATABASE:
One which maintains details of book, student and branches of book bank.
SUBMIT ID:
BRIEF DESCRIPTION :
BASIC WORKFLOW:
ALTERNATIVE WORKFLOW:
PRE-CONDITION:
POST-CONDITION:
None.
VERIFY-ID:
BRIEF DESCRIPTION:
This use-case allows to verify whether the student belongs to book bank.
BASIC WORKFLOW:
If the student does not belong to the book bank then don’t issue bank.
PRE-CONDITION:
POST-CONDITON:
None.
BOOK ISSUE:
BRIEF DESCRIPTION:
BASIC WORKFLOW:
ALTERNATE WORKFLOW:
PRE-CONDITION:
POST CONDITION:
None.
BOOK RETURN:
BRIEF DESCRIPTION:
This use-case allows returning the books to the administrator of the book bank.
BASIC WORKFLOW:
ALTERNATE FLOW:
Nil.
PRE-CONDITION:
RETURN DATE:
BRIEF DESCRIPTION:
This use-case allows the administrator to store return dates of book in database.
BASIC WORKFLOW:
Date of book return.
ALTERNATE WORKFLOW:
None.
PRE-CONDITION:
POST-CONDITION:
None.
UML DIAGRAMS:
USECASE DIAGRAM:
Submit id
Admin
Verify id
Student
Book issue
Book Return
Issue Date
Data base
Return Date
ACTIVITY DIAGRAM:
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
available or not
available
COLLABORATION DIAGRAM:
3: available or not
4: available
Library
STATE CHART DIAGRAM:
Id Book
transfer
Databas
e
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
students books
administrator
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
Database
DEPOLYMENT DIAGRAM:
MOUS
E
CPU
KEYB
OARD
PRINT
ER
Student details
BookDetails
Forms:
Code for Form1:
Private Sub Command1_Click()
If Text1.Text = "111" And Text2.Text = "vimal" And Text3.Text = " shameer"Then
Form2.Show
Else
End
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Option Explicit
'##ModelId=532C692601E2
Private Id As Integer
'##ModelId=532C692601E3
Private Password As String
'##ModelId=532C692601E1
Public Sub admin()
End Sub
Author:
Option Explicit
'##ModelId=532C692601DB
Private Authorname As String
'##ModelId=532C692601DC
Private Publication As String
'##ModelId=532C692601DD
Private Price As Integer
'##ModelId=532C692601DA
Public Sub author()
End Sub
Student:
Option Explicit
'##ModelId=532C692601D3
Private StudentID As Integer
'##ModelId=532C692601D4
Private Name As String
'##ModelId=532C692601D5
Private Address As String
'##ModelId=532C692601D2
Public Sub student()
End Sub
RESULT:
EX.NO: 4 EXAM REGISTRATION SYSTEM
DATE:
PROBLEM STATEMENT:
The student registers for an examination student fills in the application and submits it.
The student has to send the DD to the mentioned address. The authority checks details of the student
and validates. The student details is registered to the database where the register number is provided.
The authority sends the acknowledgement along with the hall ticket to the student. The student
checks for the date and venue and attends the exam.
GLOSSARY:
STUDENT:
AUTHORITY:
Receives the application and checks details. Send the acknowledgement and the hall
ticket.
DATABASE:
Stores the student’s details and generates a unique register number to all the students.
WORKFLOW:
BRIEF DESCRIPTION:
The student registers for the examination by filling up and submitting the filled
application to the authority.
BASIC FLOW:
The student gets the application and based on his qualification he fills the application.
ALTERNATE FLOW:
Nil.
PRECONDITION:
POSTCONDITION:
SEND DD:
BRIEF DESCRIPTION:
The authority in prior tells the added to submit the DD. The student obtains a DD and
posts it to the specified address.
ALTERNATE FLOW:
Nil
PRECONDITION:
POST CONDITION:
REGISTER STUDENT:
BRIEF DESCRIPTION:
The students when the details are validated are provided the register number by database.
BASIC FLOW:
ALTERNATE FLOW:
If the details are not valid or illegal, then the student registration is registered.
PRECONDITION:
POST CONDITION:
NiL
USE CASE DIAGRAM:
pay DD
bank
university
update stu details
DB
ACTIVITY DIAGRAM:
collecting info
abt fees
yes
adding arrear
details
applying for
DD in bank get details
and money
get DD provide DD
from bank
get
bonafide
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
exam details
student details
apply for DD
providing DD
pay DD
ack
ack
hall ticket
hall ticket
COLLABORATION DIAGRAM:
3: student details
6: pay DD
12: ack
student college
2: exam details
11: confirm hall ticket
17: hall ticket
4: apply for DD
1: exam details
5: providing DD 10: confirm hall ticket
16: hall ticket
send
acknowledgement
store student
details
PACKAGE DIAGRAM:
Entity boundaries
Control
college university
COMPONET DIAGRAM:
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
FORMS:
GENERATED CODE:
Authority:
Option Explicit
'##ModelId=531AD6100393
Private Name As String
'##ModelId=531AD6100394
Private designation As String
'##ModelId=531AD6100395
Private id As Integer
'##ModelId=531AD6100392
Public Sub Authority()
End Sub
Database:
Option Explicit
'##ModelId=531AD610039A
Private studentid__ As Variant
'##ModelId=531AD6100399
Public Sub Database()
End Sub
Student:
Option Explicit
'##ModelId=531AD610038B
Private Name As String
'##ModelId=531AD610038C
Private dept As String
'##ModelId=531AD610038D
Private year As Integer
'##ModelId=531AD6100388
Public Sub student()
End Sub
'##ModelId=531AD6100389
Public Sub fillApplication()
End Sub
'##ModelId=531AD610038A
Public Sub submit()
End Sub
RESULT:
EX.NO: 5 STOCK MAINTENANCE SYSTEM
DATE:
PROBLEM STATEMENT:
A Stock Management System is a software project used to maintain the stock details of a Super Market. In this
project it is a useful scenario which is used to know the details of the product of the super market by the
customer. This project keeps track of the product sales of the Super Market. This project alerts the Supervisor
of the super market for less quantity products availability or if any product is not available in the super market.
This project allows the customer to view the availability of any product and it shows the rate of the product.
This project allows the supervisor to set the price for the product.
GLOSSARY:
CUSTOMER:
SUPERVISOR:
One who purchases the product from the manufacturer and maintain the stock details of the stock market.
WORKFLOW:
USER:
BRIEF DESCRIPTION:
This use case allows the user to know the details of the products of the super market.
BASIC WOKFLOW:
Customer is requesting the system for knowing the details of the product which is currently available in the
super market.
ALTERNATE FLOW:
If the products are not available in the super market, then it displays the error message.
PRE CONDITION:
The system must display the list of products available in the super market to the customer.
POST CONDITION:
ADMIN LOGIN:
BRIEF DESCRIPTION:
This use case allows the supervisor to login on to the system for maintaining the stock details.
BASIC WOKFLOW:
Supervisor is provided with the username and password to login into the system.
ALTERNATE FLOW:
If the supervisor enters the wrong username and password, then the admin is blocked by the system.
PRE CONDITION:
The supervisor must have username and password allotted for him to access the system.
POST CONDITION:
The supervisor is allowed to do changes in the stock availability of the stock market
ADMIN MAINTANANCE:
BRIEF DESCRIPTION:
This use case allows the supervisor to keep track of information about the products availability, rate,
and etc..,
BASIC WOKFLOW:
Admin has a control for editing the various activities of the project management and maintains the
record in the database.
ALTERNATE FLOW:
NIL
PRE CONDITION:
POST CONDITION:
UML DIAGRAMS:
UER/ADMIN OPTION
CUSTOMER
AVALABILITY
ADMIN LOGIN
ADMIN
MANAGE
ACTIVITY DIAGRAM:
ADMIN LOGIN:
LOGIN
USERID/PASS
NO
YES
VALID INVALID
ADMIN ADMIN
ADMIN MAINTANANCE:
MAINTAIN
STOCK
DETAILS
NO
YES
USER
OPTIONS
AMOUNT
YES NO
AMOUNT ACCOUNT
W ITHDRAW N BLOCKED
CLASS DIAGRAM:
USER OPTION:
SEQUENCE DIAGRAM:
ADMIN LOGIN:
LOGIN
: ADMIN
CHECK
VALID
INVLAID
USER OPTIONS:
ADMIN MAINTANANCE:
COLLABORATION DIAGRAM:
ADMIN LOGIN:
2: CHECK
3: VALID
: ADMIN 4: INVLAID
UESR OPTIONS:
1: STOCK ID
AVAILABIL
ITY
: CUSTOMER
3: SEARCH
4: DISPLAY 2: VIEW
DATABAS
E
ADMIN MAINTANANCE:
: ADMIN
3: SEARCH
4: DISPLAY 2: CHECKS
7: STOCK UPDATED 6: UPDATE
MAINTAIN
DATABASE
STATECHART DIAGRAM:
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
user Database
ADMIN
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
Forms:
Login:
Private Sub Command1_Click()
If Text1.Text = "srec" And Text2.Text = "student" Then
User.Show
Else
MsgBox "Invalid Password, try again!"
End If
End Sub
User:
Private Sub Command1_Click()
Database.Show
End Sub
Database:-
Private Sub Command2_Click()
Adodc1.Recordset.AddNew
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.Delete
End Sub
Private Sub Command4_Click()
Adodc1.Recordset.Update
End Sub
Private Sub Command5_Click()
End
End Sub
Code generation:
Database:
Option Explicit
'##ModelId=530B07530148
Private id As Integer
'##ModelId=530B077C0399
Private name As String
'##ModelId=530B0784008C
Private quantity As Integer
'##ModelId=530B078E0119
Private price As Integer
'##ModelId=530B079E01C5
Public Sub database()
End Sub
RESULT:
EX.NO: 6 ONLINE COURSE RESERVATION SYSTEM
DATE:
PROBLEM STATEMENT:
A Course Reservation Project is a software which is used to manage the seats allocation of the various
colleges of various departments for the eligible students. It also gives full access to the students to check the
availability of the seats in the colleges according to the community which the students belong to. The student
can check for the information of the college, such as the year which the college is started, where the college is
situated and the chairman of the college.This software allows the administrator to allot the seat for the eligible
candidates to the group which they wish and the group and college which are available at that tilme.
GLOSSARY:
STUDENT:
One who check for the information of the college and availability of the seats in the specified college
ADMINISTRATOR:
One who allocates seats for the eligible candidates according to their wish and also the seats available at that
time.
WORKFLOW:
USER OPTIONS:
BRIEF DESCRIPTION:
This use case allows the user to know the information and the guidance provided to the students.
BASIC WOKFLOW:
Student request the system for gathering the facility that is provided by the university to the user.
ALTERNATE FLOW:
NIL.
PRE CONDITION:
The system must display the list of options available in the university to the user.
POST CONDITION:
ADMIN LOGIN:
BRIEF DESCRIPTION:
This use case allows the administrator to login on to the system for maintaining the course allocation.
BASIC WOKFLOW:
Administrator is provided with the username and assword to login in to the system.
ALTERNATE FLOW:
If the administrator enters the wrong username or password then the admin is blocked by the system.
PRE CONDITION:
The administrator must have username and password allotted for him to access the system.
POST CONDITION:
The administrator is allowed to allocate the course to the eligible candidates by the universities.
COURSE RESERVATION:
BRIEF DESCRIPTION:
This use case allows the administrator to allocate the course for the candidates according to their wish and
maintains the clear database of them.
BASIC WOKFLOW:
Administrator has a control of allocating the seats to the eligible candidates according to their marks and
maintains their details in the clear database.
ALTERNATE FLOW:
PRE CONDITION:
POST CONDITION:
AVALABILITY:
BRIEF DESCRIPTION:
This use case allows the user to check for the availability of the seats in accordance with the groups and
community.
BASIC WOKFLOW:
User had specified the college name and search for the seats in accordance with groups and community.
ALTERNATE FLOW:
NIL
PRE CONDITION:
POST CONDITION:
INFORMATION:
BRIEF DESCRIPTION:
This use case allows the user to know the information of the college which they specified.
BASIC WOKFLOW:
User specifies the college name and system shows the respective details of the college such as address, phone
number etc..,
ALTERNATE FLOW:
NIL
PRE CONDITION:
POST CONDITION:
The system shows the information of the college specified by the user.
UML DIAGRAMS:
USER OPTION:
USER
OPTIONS
AVAILABILITY/INFORMATION
NO
YES
AVAILABILITY INFORMATION
AVAILABILITY:
INFORMATION:
INFORMATION
COLLEGE ID
NO
YES
COLLEGE INVALID
DETAILS
ADMIN LOGIN:
LOGIN
USER ID/PASS
NO
YES
RESERVATION
NO
YES
SEAT NO SEAT
ALLOCATED AVAILABLE
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
COLLABORATION DIAGRAM:
STATE CHART DIAGRAM:
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
Database
DEPLOYMENT DIAGRAM:
FORMS:
Administration:
Option Explicit
'##ModelId=53144E0303B9
Private username As Variant
'##ModelId=53144E1B01E4
Private password As Variant
'##ModelId=53144E3A0148
Public Sub login()
End Sub
College information:
Option Explicit
'##ModelId=53144E6103C8
Private college_name As Variant
'##ModelId=53144E690261
Private address As Variant
'##ModelId=53144E6D0232
Private phone_no As Variant
'##ModelId=53144E810271
Public Sub view()
End Sub
Database:
Option Explicit
'##ModelId=53144DBA030D
Private student_no As Variant
'##ModelId=53144DC4000F
Private seat_allocated As Variant
'##ModelId=53144DD90148
Public Sub allot()
End Sub
Reservation seats:
Option Explicit
'##ModelId=53144F0901A5
Private student_no As Variant
'##ModelId=53144F13036B
Private seat_allocated As Variant
'##ModelId=53144F1D01A5
Public Sub allots()
End Sub
Seats:
Option Explicit
'##ModelId=53144ED403C8
Private groupname As Variant
'##ModelId=53144EDD0280
Private no_of_seats As Variant
User option:
Option Explicit
'##ModelId=53144D8902BF
Private information As Variant
'##ModelId=53144D950271
Private availablity As Variant
'##ModelId=53144DA40271
Public Sub view()
End Sub
RESULT:
EX.NO: 7 E-TICKETING
DATE:
PROBLEM STATEMENT:
An online reservation system is a software that helps in reservation of airline tickets in the internet and check
for the availability of tickets. This system shows all the information about the transport services including
their source and destination, and the time arrival and departure of all flights and the availability of seats in all
the flights. This system also has the facility of cancellation of tickets. If the tickets are not available then the
current status of the system also known through this system.The online reservation system maintains the full
details of the entire passenger who are reserving the tickets in the specified airline services.
GLOSSARY:
PASSENGER:
One who reserve tickets for traveling in the specified airline services.
ADMINISTRATOR:
One who book the tickets for the passenger needs and cancel the tickets, if the passenger doesn’t need
it or cancellation of the trip. Administrator maintains all the details in the airline and passenger database.
DATABASE:
One which stores the details of the arrival and departure of the airlines. It also stores the details of the
passengers who were booked the ticket for the specified airlines. It also stores the current status of the ticket in
the specified airlines.
WORKFLOW:
ADMIN LOGIN:
BRIEF DESCRIPTION:
This use case allows the administrator to login onto the system for maintaining the seats allocation.
BASIC WORKFLOW:
Administrator is provided with the username and password to login into the system.
ALTERNATE FLOW:
If the administrator enters the wrong username or password then the admin is blocked by the system.
PRE CONDITION:
The user must have username and password allotted for him to access the system.
POST CONDITION:
AVAILABILITY:
BRIEF DESCRIPTION:
This use case allows the passenger to check for the availability of seats in accordance with the airline
services.
BASIC WORKFLOW:
Passenger wants to specify the airline services name and the arrival and departure place and the date
of boarding.
ALTERNATE FLOW:NIL
PRE CONDITION:
POST CONDITION:
The passenger comes to know the information about the airline which they specified
INFORMATION:
BRIEF DESCRIPTION:
This use case allows the passenger to know the information about the airline which they specified.
BASIC WORKFLOW:
Passenger specifies the airline name and then the system shows the respective details of the airline
such as arrival and departure place ant time.
PRE CONDITION:
POST CONDITION:
The system shows the information of the airlines specified by the user.
SEATS RESERVATION:
BRIEF DESCRIPTION:
This use case allows the administrator to allocate the seats for the passenger to their wish and
maintains the clear database of them.
BASIC WORKFLOW:
Administrator has a control of allocating the seats to the passenger who are reserving the seats for the
specific airlines and maintains their details in the clear database.
ALTERNATE FLOW:
PRE CONDITION:
POST CONDITION:
SEATS CANCELLATION:
BRIEF DESCRIPTION:
This use case allows the administrator to cancel the seats for the passengers who are canceling their
trips and maintains the clear database of them.
BASIC WORKFLOW:
Administrator has a control of canceling the seats to the passenger who are reserved the seats for the
specific airlines and they don’t need to board.
ALTERNATE FLOW:
PRE CONDITION:
POST CONDITION:
UML DIAGRAMS:
Login
Reserve/Cancel
system admin
Availability
user Details
Database
ACTIVITY DIAGRAMS:
ADMIN LOGIN:
ADMIN
USERNAME/
PASSWORD
INVALID
VALID
FLIGHT DETAILS:
USER
FLIGHT
DETAILS
NO
YES
NO DETAILS
DETAILS FOUND
AVAILABILITY:
USER/ADMIN
AVAILABILTY
YES NO
SEATS
AVAILABLE FILLED
SEATS
RESERVATION/ CANCELLATION:
ADMIN
RES/CANC
RES CAN
CANCELLED
RESERVED
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
ADMIN LOGIN:
Login
: system admin Database
Login
Username/Password
Verify
Valid/Invalid
FLIGHT DETAILS:
Login Database
: system admin
Login
Access
Update/View
Result
AVAILABILITY:
Login Availability
: user
Login
Availability
Check
Result
RESERVATION / CANCELLATION:
login
Res/Cancel
Register
Update
Result
COLLABORATION DIAGRAM:
ADMIN LOGIN:
1: Login
Login
: system admin
3: Verify
4: Valid/Invalid 2: Username/Password
Database
FLIGHT DETAILS:
1: Login
Login
: system admin
3: Update/View
4: Result 2: Access
Database
AVAILABILITY:
1: Login
Login
: user
3: Check
4: Result 2: Availability
Availability
RESERVATION/ CANCELLATION:
1: login
Log in
: user
5: Result
2: Res/Cancel
4: Update
Database Reserve/Ca
ncel
3: Register
login
reserve/c
ancel
availabilit
y
details
UML PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
system user
admin
DATABASE
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
FORMS:
CODE GENERATION:-
Class login:-
Option Explicit
'##ModelId=531D88420213
Private username As Variant
'##ModelId=531D884B003E
Private password As Variant
'##ModelId=531D88530177
Public Sub login()
End Sub
Database1:-
Option Explicit
'##ModelId=531D886B003E
Private username As Variant
'##ModelId=531D887001E4
Private password As Variant
'##ModelId=531D8888009C
Public Sub verify()
End Sub
Database2:-
Option Explicit
'##ModelId=531D892B00EA
Private register As Variant
'##ModelId=531D89320280
Private reserve_cancel As Variant
'##ModelId=531D8949009C
Public Sub update()
End Sub
reservation:
Option Explicit
'##ModelId=531D890A01A5
Private reserve As Variant
'##ModelId=531D8910029F
Private cancel As Variant
'##ModelId=531D8916037A
Public Sub register()
End Sub
View:
Option Explicit
'##ModelId=531D889A0213
Private availabl_ity As Variant
'##ModelId=531D88B8034B
Private flight_details As Variant
'##ModelId=531D88A50167
Public Sub view()
End Sub
RESULT:
EX.NO: 8 SOFTWARE PERSONNEL MANAGEMENT SYSTEM
DATE:
PROBLEM STATEMENT:
To compute the gross pay of a person using the software personnel management system software and to add
new details to the existing database and update it, using visual basic 6.0 and MS Access.The employ details,edit
details,exit command buttons are present.we can choose the required command button.fill in the form with details
such as employee id,employee name,department,experience and basic pay in the text boxand submit using
calculate command button update it in the database using update command button.uddate database would be
present.we can search for required pay details using search command button.
GLOSSARY:
EMPLOYEE:
HR:
The HR has the employee details. The HR asks his employee to create a software .After the employee
submits the software ,the HR checks for the correctness of the software and verifies it.
DB:
If the HR is satisfied with the software, then stores the details about the software into the database.
BRIEF DESCRITPION:
The HR asks the employee to create the software for which the correctness has to be proved.
BASIC WORKFLOW:
The HR has employee details and asks the apt employee to create the software.
ALTERNATE WORKFLOW:
Nil
PRE-CONDITION:
Nil
POST-CONDITION:
Nil
BRIEF DESCRIPTION:
The employee works hard to create the software which the HR has ordered and then submits the
finished software.
BASIC WORKFLOW:
The employee submits the software .The HR receives the software and verifies if it is valid.
ALTERNATE WORKFLOW:
If the software is not valid and incorrect,then HR rejects it and also asks the employee to reconstruct
the software.
PRE-CONDITION:
The employee submits the software is correct and the HR is satisfied,then the HR stores the software details
into the DB and uses the software in the project,
BRIEF DESCRIPTION:
The employee submits the software and of the HR is satisfied,then he stores the details of software
into the database.
BASIC WORKFLOW:
ALTERNATE FLOW:
If the software does not work correctly ,then the HR rejects it.
PRE-CONDITION:
POST-CONDITION:
UML DIAGRAMS:
USECASE DIAGRAM:
ACTIVITY DIAGRAM:
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
COLLABORATION DIAGRAM:
STATE CHART DIAGRAM:
employee
details
calculate
salary
edit details
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
employee Database
administrator
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
database
employe administr
e ator
DEPLOYMENT DIAGRAM:
databas
e
admin user
display
Forms:
GENERATED CODE:
Admin:
Option Explicit
'##ModelId=532C692601E2
Private Id As Integer
'##ModelId=532C692601E3
Private Password As String
'##ModelId=532C692601E1
Public Sub admin()
End Sub
Author:
Option Explicit
'##ModelId=532C692601DB
Private Authorname As String
'##ModelId=532C692601DC
Private Publication As String
'##ModelId=532C692601DD
Private Price As Integer
'##ModelId=532C692601DA
Public Sub author()
End Sub
Student:
Option Explicit
'##ModelId=532C692601D3
Private StudentID As Integer
'##ModelId=532C692601D4
Private Name As String
'##ModelId=532C692601D5
Private Address As String
'##ModelId=532C692601D2
Public Sub student()
End Sub
RESULT:
EX.NO: 9 CREDIT CARD PROCESSING
DATE:
PROBLEM STATEMENT:
The Credit Card Processing System involves the processing of credit card. When the person applies
for credit card. There takes place some actions on both sides. A person is the one who applies for credit card
and the admin is the one who verifies the details of the person and clarifies all the information and approves
the person’s request and gives a credit card. The admin should have note about the person’s account details
and gets the information for processing the credit card.
GLOSSARY:
PERSON:
The person applies for the credit card.He submits his details and the id and details of the person are
verified. If valid, then the person obtains the credit card.
ADMIN:
The admin verifies the id and details of the person who applies for the credit card.If he finds that the
details are valid, then the admin provides him the credit card.
WORK FLOW :
APPLY:
BRIEF DESCRIPTION:
The person is the one who applies for the credit card to a particular bank. The person sends the form
after filling all details.
BASIC WORKFLOW:
The person applies for that credit card providing all the necessary information.
ALTERNATE WORKFLOW:
PRECONDITION:
POSTCONDITION:
VERIFY:
BRIEF DESCRIPTION:
The admin is the one who verifies the details that are sent by the person.
BASIC WORKFLOW:
The admin after leaving all the details of the person starts the processing.
ALTERNATE FLOW:
PRECONDITION:
POSTCONDITION:
PROCESS:
BRIEF DESCRIPTION:
The admin process the credit card after he/she accepts the applicant’s form for processing.
BASIC WORKFLOW:
The processing starts when all the conditions of the bank is fulfilled by the applicant.
ALTERNATE FLOW:
PRECONDITION:
POSTCONDITION:
UML DIAGRAMS:
USECASE DIAGRAM:
apply
person
verify
admin
process
APPLY:
Apply
no
yes
Sent not sent
PROCESS:
Process
no
yes
complete incomplete
VERIFY:
verify
no
yes
Accept Reject
Obtain
credit card
no
yes
got no reply
CLASS DIAGRAM:
APPLY:
VERIFY:
PROCESS:
SEQUENCE DIAGRAM:
VERIFY:
Verify database
: admin
person name,person details
send
verify
display
PROCESS:
Process
: admin
bank details,account details
send details
display
: person
credit card no,credit card info send credit card details
check
COLLABORATION DIAGRAM:
APPLY:
Apply
: person
4: send
3: check
2: bank details
database
VERIFY:
Verify
: admin
3: verify 4: display
2: send
database
PROCESS:
3: process
2: send details
Process
database
4: display
1: bank details,account details
: admin
: person
credit card
3: check
database
STATE CHART DIAGRAM:
apply
verify
process
credit card
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
.
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
database
person admin
DEPLOYMENT DIAGRAM:
Keyboar
d
Process
or
Databas
e
FORMS:
GENERATED CODE:
Apply:
Option Explicit
'##ModelId=532CB2CE004E
Private person_name As String
'##ModelId=532CB2DB0157
Private person_details As String
'##ModelId=532CB2EA007D
Private person_bank_det As String
'##ModelId=532CB2FE01E4
Public Sub apply()
End Sub
Database1:
Option Explicit
'##ModelId=532CB313005D
Private person_name As String
'##ModelId=532CB32400EA
Private person_details As String
'##ModelId=532CB32F0138
Private person_bank_det As String
'##ModelId=532CB33E0290
Public Sub db1()
End Sub
Database2:
Option Explicit
'##ModelId=532CB3B90290
Private person_name As String
'##ModelId=532CB3C40138
Private person_bank_details As String
'##ModelId=532CB3D5032C
Public Sub db2()
End Sub
Verify:-
Option Explicit
'##ModelId=532CB38A005D
Private person_name As String
'##ModelId=532CB396009C
Private person_bank_details As String
'##ModelId=532CB3A803A9
Public Sub verify()
End Sub
RESULT:
EX.NO: 10 E-BOOK MANAGEMENT SYSTEM
DATE:
PROBLEM STATEMENT:
The user logs into the system and tries to search for a e-book online.The user enters the URL in to the address
bar,enters in to the website and finds for an option to download the e-book is being downloaded.The database
stores the details about the user and the e-book for future reference.
GLOSSARY:
USER:
The user searches for the e-book by entering the URL and then downloads the book.
LOGIN:
BRIEF DESCRIPTION:
This allows the administration to lof on to the system for searching the details for thw book.
BASIC WORKFLOW:
Administrator is provided with the username and password to login to the system.
ALTERNATIVE FLOW:
If the user enters the wrong username and password then the admin is blocked by the system.
PRE-CONDITION:
The user must have username and password allocated for him to access the system.
POST-CONDITION:
WEBSITE:
BRIEF DESCRIPTION:
This allows to enter the URL address of the required website for the purpose of searching.
BASIC WORKFLOW:
Each website has unique URL address .The user enters the URL address to the address bar for
accessing the website.
ALTERNATE FLOW:
PRE-CONDITION:
The user must know the correct URL address for the required website to access.
POST-CONDITION:
The administrator is allowed to allocate the web-page to access the details of the book.
SEARCH:
BRIEF DESCRIPTION:
The user enter the details of the required book then allow to search the particular book.
BASIC WORKFLOW:
The user provide the book id and author name of the book to the book bank.
PRE-CONDITION:
The user must know the book id and author name for required book to be downloaded.
POST-CONDITION:
The user must know the correct book-id and author name for required book to be downloaded.
BRIEF DESCRIPTION:
This allows to download the required book its details from the website.
BASIC WORKFLOW:
Enter the book id and author name for required books to download.
ALTERNATE FLOW:
PRE-CONDITION:
Nil
POST-CONDITION:
LOGIN
SEARCH
MODE OF PAYMENT
FREEWARE system
COST
user
DOWNLOADING BOOK
CANCEL
update
MONEY TRANSFER
banker
database
ACTIVITY DIAGRAM:
SEARCH:
Search
Enter the
edition
Display
MODE OF PAYMENT:
Mode of Payment
No
Cost? Freeware?
Yes
Yes
Enter your bank account no
No
Verify?
Yes
Accepted
LOGIN:
Enter your
username
Enter your
password
false
Re-enter
Verification? password
true
Accept
DOWNLOADING BOOK:
DOWNLOADING BOOK
no
ok
Download file?
yes
yes
File
downloaded
CANCEL:
Cancel
File cancelled
Money
Refunded
Update
Database
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
SEARCH: SEARCH
: us er : s ystem
Book found
Dis play
Mode of payment
: banker : us er : s ys tem
Cos t
verify
Receipt received
Accept
LOGIN:
Login
: us er : s ys tem
Enter us ernam e
Verification
Accept
DOWNLOADING BOOK:
Downloading file
: us er : s ys tem
Download file
File downloaded
CANCEL:
Cancel
: user : system
: banker : database
Cancel the
download
File cancelled
COLLABORATION DIAGRAM:
SEARCH:
4:
book found
5: display
MODE OF PAYMENT:
7: receipt received
banker user
4: money transfer
system
LOGIN:
verification
3:
1: Enter username
2:
Enter password
user system
4: Accept
DOWNLOAD BOOK:
user system
3:
file downloaded
CANCEL:
1: money refunded
banker user
file cancelled
2:
3: cancel the download
4: update dataabase
system database
STATECHART DIAGRAM:
Login
Search
Mode of
Payment
Downloading
book
Cancel
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
database
user system
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
FORMS:
Generated Code:
Author:
Option Explicit
'##ModelId=532D5971039D
Private Book_Name As String
'##ModelId=532D59810392
Private AuthorName As String
'##ModelId=532D59A103BA
Public Sub author()
End Sub
Database
Option Explicit
'##ModelId=532D59F8023B
Private Id As String
'##ModelId=532D5A05027E
Public Sub database()
End Sub
System:
Option Explicit
'##ModelId=532D59D00369
Private speed As Integer
'##ModelId=532D59E001D7
Private Memory As String
'##ModelId=532D5A100129
Public Sub system()
End Sub
'##ModelId=532D5A190293
Public Sub downloadBook()
End Sub
USER:
Option Explicit
'##ModelId=532D594400B2
Private Name As String
'##ModelId=532D594D0299
Private Id As String
'##ModelId=532D595A00C8
Private Password As String
'##ModelId=532D599501A3
Public Sub login()
End Sub
'##ModelId=532D599B007C
Public Sub user()
End Sub
RESULT:
EX.NO: 11 RECRUITMENT SYSTEM
DATE:
PROBLEM STATEMENT:
A recruitment system project is a software which is used for the recruitment purpose of various
company’s or organization for the person who is eligible for the post. It alos gives access for the person who
sends the resume details to check the availability and for the details of organization .This allows the person to
send the resume online and alos software allows the administration of organization to check the details and
eligibility of each person.
GLOSSARY:
PERSON:
One who send his/her resume to the organization afterverifying the company details and eligibility
factor.
ADMINISTRATOR:
One who verifies the resume of the person who has posted his/her resume.Also checks the eligibility
nothing the post availability.
BRIEF DESCRIPTION:
This username allows the person know the information and details about the organization.
BASIC WORFLOW:
The person requests the system for gathering information that is provided by the organization.
PRE-CONDITION:
The system must display the list of available post in the organization to the user.
POST-CONDITION:
ADMINISTRATION OPTION:
BRIEF DESCRIPTION:
This use-case allows the administrator to login to the system for maintaining the post allocation.
BASIC WORKFLOW:
ALTERNATE FLOW:
If the administrator enters wrong username and password then the admin is blocked by the system.
PRE-CONDITION:
The administrator must have username and password allocated for hiom to access the system.
POST-CONDITION:
The administrator is allowed to allocate the post according to the eligibility.
RESUME:
BRIEF DESCRIPTION:
This use-case allows the person to login for sending his/her resume and maintain a database.
BASIC WORKFLOW:
The person can have full details about the organization to which the resume is sent according to the
eligibility.
PRE-CONDITION:
POST-CONDITION:
VERIFY:
BRIEF DESCRIPTION:
This use-case allows the administrator for checking the resume that is send by the person.
BASIC WORKFLOW:
The administrator should check for the qualification and experience considering the post.
ALTERNATE FLOW:
PRE-CONDITION:
POST-CONDITION:
INTERVIEW:
BRIEF DESCRIPTION:
This use-case allows the admin to decide whether to select or reject the candidate.
BASIC WORKFLOW:
PRE-CONDITION:
POST-CONDITION:
The administrator conducts the interview and may or maynot be satisfied with person performance.
RESULT INTIMATION:
BRIEF DESCRIPTION:
This use-case allows the admin decide on whether to selct or reject the candidate.
BASIC WORKFLOW:
The admin sends the results intimation along with same information about selection.
PRE-CONDITION:
POST-CONDITION:
USECASE DIAGRAM:
ACTIVITY DIAGRAM FOR RECRUITMENT PROCESS:
CLASS DIAGRAM:
COLLABORATION DIAGRAM:
SEQUENCE DIAGRAM:
STATECHART DIAGRAM:
DEPLOYMENT DIAGRAM:
FORMS:
CODE GENERATED:
Candidate:-
Option Explicit
'##ModelId=530D2C50003E
Private Name As String
'##ModelId=530D2C6100AB
Private D_O_B As String
'##ModelId=530D2C7A005D
Private Gender As String
'##ModelId=530D2C8601B5
Private Address As String
'##ModelId=530D2C9201A5
Private Qualification As String
'##ModelId=530D2CD9031C
Public Sub candidate()
End Sub
HR:-
Option Explicit
'##ModelId=530D2D9C0157
Private Name As String
'##ModelId=530D2DA90290
Private Gender As String
'##ModelId=530D2DBD0167
Private idNumber As String
'##ModelId=530D2DD2000F
Public Sub recruit()
End Sub
'##ModelId=530D2DD9033C
Public Sub HR()
End Sub
JOB PORTAL:-
Option Explicit
'##ModelId=530D2CB4037A
Private OrgReg As String
'##ModelId=530D2CC70000
Private OnlineReg As String
'##ModelId=530D2CE70196
Public Sub JobPortal()
End Sub
'##ModelId=530D2D060148
Public Sub send()
End Sub
'##ModelId=530D2D0D032C
Public Sub receive()
End Sub
'##ModelId=530D2D14037A
Public Sub infoDetails()
End Sub
ORGANISATION ATTENDER:-
Option Explicit
'##ModelId=530D2E3700FA
Private Name As String
'##ModelId=530D2E660167
Private Gender As String
'##ModelId=530D2E720280
Private idNumber As String
'##ModelId=530D2E8502CE
Public Sub OrganisationAttender()
End Sub
ORGANISATION ONDB:-
Option Explicit
'##ModelId=530D2DF703C8
Private Name As String
'##ModelId=530D2E020222
Public Sub OrganisationOnDb()
End Sub
RESULT:
EX.NO: 12 FOREIGN TRADE SYSTEM
DATE:
AIM:
PROBLEM STATEMENT:
The main activity of international marketing is the export-import procedure. This procedure
involves the actual and operational procedure of export and import trade. It also involves
documentation, procedures, rules and regulations imposed by both the exporting and importing
countries. These procedures include excise clearance, foreign exchange, etc.
INTRODUCTION
Foreign trading system is the interface between the exporter and buyer. It aims at improving
the efficiency in the production, export process and reduce the complexities involved in it to the
maximum possible extent.
PURPOSE
Considering the fact that the number of buyer is increasing every year, an Automated System
becomes essential to meet the demand. So this system uses several programming and database
techniques to elucidate the work involved in this process. The system has been carefully verified
and validated in order to satisfy it.
SCOPE
The System provides an online interface to the buyer where they can fill in their personal
details and submit the necessary documents (may be by scanning). The authority concerned with the
production and shipment of goods can use this system to reduce his workload and process the
application in a speedy manner.
TECHNOLOGIES TO BE USED
HTML
JSP
Java script
Java
TOOLS TO BE USED
1.7 OVERVIEW
Overall description will describe major role of the system components and inter-
connections.
Specific requirements will describe roles & functions of the actors.
This system tries to make the interface as simple as possible and at the same time not risking the
security of data stored in. This minimizes the time.
Front End Client - The exporter online interface is built using JSP and HTML.
Web Server – Apache Tomcat Server (Oracle Corporation)
Back End - Oracle 11g database
2.3 HARDWARE INTERFACE
The server is directly connected to the client systems. The client systems have access to the
database in the server.
(III)USE-CASE DIAGRAM:
1. Preliminaries
2. Offer order
3. Production of goods
4. Shipment
5. Negotiation of documents
ACTORS INVOLVED:
1. Exporter
2. Buyer
Offer is a proposal submitted by an exporter expressing his intention to export specific goods at a
specific price with specific terms and conditions. Exporter usually makes an offer in the form of a
‘Performa Invoice’.
The exporting house after obtaining a confirmed order should produce the goods exactly as
specified in the invoice. If the exporting house does not have facilities, it has to procure the
products from others.
The exporter submits the relevant documents to his buyer (banker) for getting the payment for the
goods exported.
ACTIVITY DIAGRAM:
An activity diagram is a variation or special case of a state machine in which the states or activity
representing the performance of operation and transitions are triggered by the completion of
operation.
The purpose is to provide view of close and what is going on inside a use case or among several
classes. An activity is shown as rounded box containing the name of operation.
Perform preliminaries activities ie, getting IEC number from regional licensing
authorities
Submit a proposal order to the buyer
After obtaining a confirmed order should produce the goods exactly as specifies in the
invoice.
If the exporting house does not have production facilities, it has to procure the
products from others.
Transport the goods to the buyer.
The exporter submits the relevant documents to his buyer (banker) for getting the
payment for the goods exported.
STATE DIAGRAM:
A state–chart diagram shows a state machine that depicts the control flow of an object from one state to
another. A state machine portrays the sequences of states which an object undergoes due to events and their
responses to events.
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.
1. ExporterInfo
2. OfferOrder
3. Production
4. BuyerInfo
1) EXPORTER INFO:
It consists of six attributes and two operations. The attributes are exportername, IEC_No,
Reg_no, address, contactno, and Email_id. The operations of this class are getIECNo() and getReg().
2) OFFERORDER:
This class is used to maintain the buyer information such as buyer name, buyer address, etc.
SEQUENCE DIAGRAM:
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.
Fig. SEQUENCE DIAGRAM FOR FOREIGN TRADING SYSTEM
COLLABORATION DIAGRAM:
Collaboration diagrams are interaction diagrams that illustrate the structure of the objects
that send and receive messages.
Notations − In these diagrams, the objects that participate in the interaction are shown using
vertices. The links that connect the objects are used to send and receive messages. The message is
shown as a labeled arrow
DEPLOYMENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical components
of a system where the software components are deployed.
/**
@roseuid 515917A5029F
*/
public BuyerInfo()
{
}
/**
@roseuid 515916D502DE
*/
/**
@roseuid 515917A50213
*/
public exporterInfo()
/**
@roseuid 51591524006D
*/
/**
@roseuid 51591530035B
*/
/**
@roseuid 515917A502DE
*/
public OfferOrder()
{
}
/**
@roseuid 515917A502DE
*/
public OfferOrder()
/**
@roseuid 515916510213
*/
/**
@roseuid 5159165A009C
*/
{
private String Order_no;
/**
@roseuid 515917A50261
*/
public Production()
/**
@roseuid 5159157C0186
*/
/**
@roseuid 5159158C0261
*/
/**
@roseuid 5159158F037A
*/
WWW.VIDYARTHIPLUS.COM
/**
@roseuid 5159159602BF
*/
RESULT:
EX.NO: 13 CONFERENCE MANAGEMENT SYSTEM
DATE:
AIM:
PROBLEM STATEMENT:
1.0 INTRODUCTION
This software specification document consists full set of features and function for online
conference management system. In this we give specification about the system requirements
that are apart from the functionality of the system to perform the candidate paper valuation. It
tells the usability, reliability defined in use case specification.
1.1 PURPOSE
The purpose of the conference management system is that the system can easily review
the process. The main process in this document is the submission of paper by the candidate,
reviewing process by the reviewer and sending of acknowledgement to the candidates whose
paper is selected.
SCOPE
The scope of this conference management process is to select the best candidate from
the list of candidates based on their performance in the process.
CANDIDATE - The candidate can login and submit the paper to the reviewer.
After getting acknowledgement the candidate will submit the revised and camera
ready paper then registration process will be carried out.
REVIEWER - Reviewer will reviews the paper and sending acknowledgement to
the candidate
DATABASE - Database is used to verify login and store the details of selected
candidates.
HTML - Markup Language used for creating web pages.
J2EE – Java 2 Enterprise Edition is a programming platform java platform for
developing and running distributed java applications.
• HTML
• JSP
• Java
TOOLS TO BE USED
OVERVIEW
Overall Description will describe major role of the system components and inter-
connections.
OVERALL DESCRIPTION
The process of the candidates is to login the conference system and submit the paper through
online. Then the reviewer reviews the paper and sends the acknowledgement to the candidate
either paper selected or rejected.
Front End Client - The exporter online interface is built using JSP and HTML.
The BPO system’s server is directly connected to the client systems via ftp. The client systems
have access to the database in the server.
Candidate - Logins the conference system and submits the paper then do the
registration process.
Reviewer – Review the paper, select best candidate and send
acknowledgement to them.
2.6 CONSTRAINTS
The candidate and reviewer must have basic knowledge of computers and English
Language.
Provide privacy and security for the documents and candidate information
( III )USECASE DIAGRAM:
Actor is any external entity that makes use of the system being modeled. It is
represented using stick figure.
1. Paper submission
Send confirmation
3. details
5. Registration
ACTORS:
Candidate
Reviewer
ACTORS DOCUMENTATION:
Candidate - Logins the conference system and submits the paper then do the
registration process.
Review the paper– The paper is been reviewed by the reviewer and the paper is
selected.
Paper confirmation details – The reviewer can send the confirmation details
to the candidate.
Revised and camera ready paper – After the paper is selected and the camera
ready paper should be submitted to the reviewer by candidate.
Registration – After submitting the revised paper the candidate wants to register.
USECASE:
ACTIVITY DIAGRAM
The purpose is to provide view of close and what is going on inside a use case or
among several classes. An activity is shown as rounded box containing the name of
operation.
This class diagram has three classes candidate, reviewer and database.
• Candidate – Its attributes are name , collegename , department , paper title. The
operations performed in the candidate class are login, submit the paper, submit revised and
camera ready paper and registration.
• Reviewer – Its attributes are name, department, reviewer ID The operations performed
are review the paper and send the paper confirmation details.
• Database –The operations performed are storing candidate details and verifying login .
142
A sequence diagram illustrates a kind of format in which each object interacts via
message. It is generalizing between two or more specialized diagram.
143
COLLABRATION DIAGRAM
COMPONENT DIAGRAM
Component diagrams are integral to building your software system. Drawn out with UML
diagramming software, they help your team understand the structure of existing systems and
then build new ones. Keep reading to learn more about component diagrams.
144
/**
@roseuid 5142F919001F
*/
public Candidateinfo()
/**
@roseuid 5142F3D10119
*/
/**
146
@roseuid 5142F3D202CE
*/
/**
@roseuid 5142F3D4031C
*/
/**
void CandidateInfo.register(){
CandidateInfo.CandidateInfo()
void CandidateInfo.submitPaper(){
void CandidateInfo.sendCamReadyPaper(){
*/
/**
@roseuid 513441B80222
*/
public conferenceInfo()
/**
@roseuid 513440F60167
*/
/**
@roseuid 5134410002BF
*/
/**
@roseuid 513441B80177
*/
public registration()
/**
@roseuid 5134416402FD
149
*/
/**
@roseuid 5134416D0196
*/
/**
@roseuid 5142F89301F4
*/
150
public reviewer()
/**
@roseuid 5142F3E300AB
*/
/**
@roseuid 5142F3E6008C
*/
/**
String reviewer.reviewPaper(){
return null;
151
String reviewer.sendConfirmMsg(){
*/
RESULT:
152
DATE:
PROBLEM STATEMENT:
The BPO management system deals with the interaction between the employee and the customer.
Here the voice process and non-voice process takes place. In the voice process, the employee gives the
product description and queries regarding to it will be asked by the customer.
In the non-voice process, the product description is through mail. The relation between employee
and H.R is that the H.R will have the complete official and personal details of the employee.
GLOSSARY:
EMPLOYEE:
The employee gives the details about the product via voice or non-voice process to the customer.
CUSTOMER:
The customer gives the feedback on the conversation between the employee and them.
H.R:
The H.R will have the official and the personal details about the employee.
VOICE PROCESS:
BRIEF DESCRIPTION:
The voice process gives the queries asked by the customer to the employee.
BASIC WORKFLOW:
The customer asks about the product details and employee clarifies it.
PRE-CONDITION:
POST-CONDITION:
The customer can give the feedback from the response by the employee
PERSONAL DETAILS:
BREIF DESCRIPTION:
153
The employee gives his/her basic details about himself to the company.
BASIC WORKFLOW:
The employee has to provide their personal details to the company which will be maintained by H.R.
PRE-CONDITION :
OFFICIAL DETAILS:
BRIEF DESCRIPTION:
The salary details,shift details,technical and non-technical details of the employee are maintained
by H.R.
BASIC WORKFLOW:
PRE-CONDITION: Nil
POST-CONDITION:
QUERIES/COMPLAINTS:
BRIEF DESCRIPTION:
The queries and complaints related to the voice/non-voice of the employee’s conversation
regarding the product is asked by the customer.
BASIC WORKFLOW:
The cutomers asks queries related to the conversation with the employee .
ALTERNATE FLOW:
If the clarification given by the employee is not satisfactory then the customer gives a complaint
regarding the issue.
PRE-CONDITION: Nil.
POST-CONDITION:
The customer gives the feedback on the voice/non-voice process by the employee.
154
ACTIVITY DIAGRAM:
Enter Personal
details
Enter Official
details
Give Product
Information
Attend Complaints
and give query
Voice Process
Non Voice
Process
155
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
Make Calls
COLLABORATION DIAGRAM:
STATE DIAGRAM:
Invalid details
[Invalid Customer]
Valid Service
Solution
Ask Solution
157
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
employee customer HR
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
database
158
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
FORMS:
CODE GENERATION:
Customer:
Option Explicit
'##ModelId=530CD73A031C
Private queries_complaints As String
'##ModelId=530CD79701B5
Public NewProperty As h.r1
'##ModelId=530CD7480242
Public Sub customer()
End Sub
HRCLASS
Option Explicit
'##ModelId=530CD75B0196
Private official_detail As String
'##ModelId=530CD76E00CB
Public Sub h_r1()
End Sub
Employee
160
Option Explicit
'##ModelId=530CD62D01A5
Private personal_details As String
'##ModelId=530CD6410157
Private official_details As String
'##ModelId=530CD79003C8
Public NewProperty As customer1
'##ModelId=530CD6AE029F
Public Sub employee()
End Sub
RESULT:
161
DATE:
PROBLEM STATEMENT:
Library Management system is used in the effective use of library to all of the users. This system
adopts a comprehensive approach to minimize the manual work and schedule resource, time in a cogent
manner. The user will register for the library service and admin will validate the user credentials. Users
will search for the books which is stored in the database. The system will search the database for the book
opted by the users. The librarian will display the details of the book which they can view in online
interface. The users(members) will get the books from the librarian and then return it back to the librarian.
If the user exceeded the return date for books, then member has to pay the fine also.
GLOSSARY:
MEMBER:
One who registers for library service through online interface and searches for books.
LIBRARIAN:
One who validates the user and issue book to the member.
REGISTRATION:
BRIEF DESCRIPTION:
The user register for the library service. Users request for registration and fills in the details and
then submits to the system.
BASIC WORKFLOW:
The system provides the registration form; the users fills in the details and submits.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The system must provide the proper registration from and the user fills it.
POST-CONDITION:
If the user fills in wrong details, then he is liable to penalty as per the law
162
VERIFY MEMBER:
BRIEF DESCRIPTION:
The user fills up the registration form and then submits. The admin via the online interface
responds by sending the status.
BASIC WORKFLOW:
The user after submitting the details in registration form, receives the status message.
ALTERNATIVE FLOW:
PRE-CONDITION:
POST-CONDITION:
ISSUE BOOK:
BRIEF DESCRIPTION:
The librarian checks for the book suggested by the user and issues it if the book is available and
exist.
BASIC WORKFLOW:
The administrator enter the author name to the database and send back status message to the user.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The user must submit the book details and his id has to be checked.
POST-CONDITION:
If there is any mistake in the details then the application is resent to the user to recheck the
details.
RETURN BOOK:
BRIEF DESCRIPTION:
163
The user will return the book to the librarian and pays if there is any fine.
BASIC WORKFLOW:
The user returns book and updates the database. It sends back status message to the user.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The user must submit the book to the librarian and his id has to be checked.
POST-CONDITION:
If there is any mistake in the details then the application is resent to the user to recheck the
details.
Risk Management:
Risk Identification:
(iv) Authenticity problem
(v) Updation problem.
(vi) Data coherency risk
Risk Analysis:
Authenticity problem: Wrong details given by the applicant which may be more convincing.
Updation problem: The problem with renewal is that you can have a separate thread to check the
renewal status of all entries in the database.
Data coherency risk: The entered data may be inadvertently modified in the phase transitions.
Risk Monitoring:
The practice of unauthenticated detail submission can be stated as a punishable offence by
international law.
The book renewal date must always be noted by the verifiers before its use.
164
UML DIAGRAMS:
.
165
ACTIVITY DIAGRAM:
166
CLASS DIAGRAM:
167
SEQUENCE DIAGRAM:
ISSUE BOOK:
RETURN BOOK:
168
COLLABORATION DIAGRAM:
ISSUE BOOK:
RETURN BOOK:
169
PACKAGE DIAGRAM:
170
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
Processor
Students
Printer
Database
Scanner Books
Staffs
171
CODE GENERATION:-
BOOKS:
public class Books
{
private int bookid;
private int author;
private int name;
private int price;
public Books()
{
}
public void dispdetails()
{
}
public void update()
{
}
}
LIBRARIAN:
public class Librarian
{
private int name;
private int password;
/**
* @roseuid 5601132A024D
*/
public Librarian()
{
}
172
/**
* @roseuid 5601132A026D
*/
public Transaction()
{
/**
* @roseuid 55F91EF302D7
*/
public void transaction()
{
}
}
173
MEMBER RECORD:
public class Memberrecord
{
private int memberid;
private int type;
private int date;
private int maxbooklimit;
private int name;
private int address;
public Memberrecord()
{
}
public void mem()
{
}
public void paybill()
{
}
}
BILL:
public class Bill
{ /**
* @roseuid 5601132A02BB
*/
public Bill()
{
}
}
RESULT:
174
PROBLEM STATEMENT:
GLOSSARY:
STUDENT:
One who applies through online interface and checks the status of application to obtain the
students details.
ADMIN:
REGISTRATION:
BRIEF DESCRIPTION:
The application register for the student’s details. Student request for registration and fills in the
details and then submits to the system.
BASIC WORKFLOW:
The system provides the registration form; the student fills in the details and submits.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The system must provide the proper registration from and the student fills it.
POST-CONDITION:
CHECK STATUS:
175
BRIEF DESCRIPTION:
The student fills up the registration form and then submits. The admin via the online interface
responds by sending the status.
BASIC WORKFLOW:
The student after submitting the details in registration form, receives the status message.
ALTERNATIVE FLOW:
PRE-CONDITION:
POST-CONDITION:
PROCESS APPLICATION:
BRIEF DESCRIPTION:
The administrator processes the application. The details of the student which has been submitted
are verified for genuine.
BASIC WORKFLOW:
The administrator enters the student id to the database and send back status message to the
student.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
The student must submit his details and his id has to be checked for validity.
POST-CONDITION:
If there is any mistake in the way of filling, then the application is resent to the student to recheck
the details.
VERIFICATION:
BRIEF DESCRIPTION:
176
After the application is completely verified by the administrator, sends the details to the student.
BASIC WORFLOW:
The details sent by the student are verified thoroughly by the administrator before further
proceedings.
ALTERNATIVE FLOW:
Nil
PRE-CONDITION:
Before the administrator dispatches the details to the student through post ,verification is done to
check if the details given by the student id valid.
POST-CONDITION:
Risk Management:
Risk Identification:
(vii) Authenticity problem
(viii) Updating problem.
(ix) Data coherency risk
Risk Analysis:
Authenticity problem: Wrong details given by the student which may be more convincing.
Updating problem: The problem with renewal is that you can have a separate thread to check the
renewal status of all entries in the database.
Data coherency risk: The entered data may be inadvertently modified in the phase transitions.
Risk Monitoring:
The practice of unauthenticated detail submission can be stated as a punishable offence by
international law.
The database should be verified accordingly
177
UML DIAGRAMS:
ACTIVITY DIAGRAM:
179
CLASS DIAGRAM
SEQUENCE DIAGRAM:
180
COLLABORATION DIAGRAM:
1: Login
3: Add Course
4: Add Teacher
5: Add Student
Admin 6: Add login user
Database
2: Credentials Verified
8: Login Verified
7: Student Login
9: View Course and Fees details
Student
Admin Student
Add student
details
verify login
PACKAGE DIAGRAM:
UI
MS ACCESS WEB
VB
DOMAIN
.
TECHNICAL SERVICE
persistent logging
object rules engine
COMPONENT DIAGRAM:
admin
applicant
managing
fees
students
enrollment
perform security
check
182
DEPLOYMENT DIAGRAM:
KEYBOARD
CPU
MOUSE
PRINTER
CODING:
login :
/**
* @roseuid 5602430D03A0
*/
public login()
{
/**
* @roseuid 560243650123
*/
public void validtion()
{
183
/**
* @roseuid 5602436B01BF
*/
public void get_data()
{
}
student details:
public class studentDetails
{
private int address;
private int age;
private int course;
private int department;
private int phoneNo;
private int name;
/**
* @roseuid 5602447202E3
*/
public studentDetails()
{
/**
* @roseuid 5602437C00C6
*/
public void get_data()
{
/**
* @roseuid 5602438402AB
}
}
184
Update details:
public class updateDetails
{
private int studentDetails;
private int updateDetails;
/**
* @roseuid 560244720302
*/
public updateDetails()
{
/**
* @roseuid 560243E5030C
*/
public void updateInf()
{
/**
* @roseuid 560243EF029F
*/
public void get_data()
{
/**
* @roseuid 560243F403D8
*/
{
public void display()
}
}
Result:
185
EXTRA EXPERIMENT
This system also monitors the doctor appointments, when the ID is generated the
patient receives the appointment time and number from the receptionist and
accordingly visit the doctor. This system also deals with testing appointments as and
when ID is generated the patient receives the appointment time and number and
accordingly undergoes the test,
It also deals with bed allotments to various patients by checking their ID. It also
undergoes various operations by diagnosing the patients. The system identifies whether
the person is a doctor or staff and handles various activities such as draw salary and give
salary, also it adds doctor/staff information into database. This system is responsible for
handling various other activities like deleting, editing doctor/staff information into the
database. As per doctor diagnoses the patient, gives treatment and gives suggestions to
patients and prescribe laboratory tests and medicines.
This system also takes care of medical equipment, doctor visit, vitals recording, patient
case sheet, diet ordering, blood requisition, transfer information and discharge
information, maintenance of wards, inter and intrawards transfers also it generates
patient’s discharge summary which includes patients health at the time of discharge,
medical history, various diagnosis and drug prescriptions, history of patients illness and
course in hospital. Patient can pay bill through credit card, cash or cheque whose
information is maintained by this system,
186
Activity Diagram:
188
Class Diagram:-
189
Sequence Diagram
191
Collaboration Diagram: -
192
Component Diagram:-
Deployment Diagram:-
193
Option Explicit
Dim k, l As ADODB.Recordset
Dim i As Integer
Dim rs As ADODB.Recordset
da = Format(DTPicker1.Value, "mm/dd/yy")
dn = Format(Now, "mm/dd/yy")
Exit Sub
End If
Exit Sub
End If
If da < dn Then
Exit Sub
194
End If
sqlcmd = "insert into appt38 values (" & Text1.Text & "," & Text2.Text & ", to_date('" & da &
"','mm/dd/yy'),'" & Text3.Text & "',NULL)"
MsgBox sqlcmd
cn.Execute sqlcmd
Text1.Text = ""
If (pat = 0) Then
Text2.Text = ""
End If
Text3.Text = ""
Call refresh_grid2
Exit Sub
errdesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
Dim rs As ADODB.Recordset
DataGrid2.Col = 0
pat_id = DataGrid2.Text
DataGrid2.Col = 1
195
emp_id = DataGrid2.Text
DataGrid2.Col = 2
da = CDate(DataGrid2.Text)
sqlcmd = "delete from appt38 where pat_id = " & Str(emp_id) & " and emp_id = " &
Str(pat_id) & " and appt_date = to_date('" & da & "','mm/dd/yy')"
MsgBox sqlcmd
cn.Execute sqlcmd
Text1.Text = ""
Text3.Text = ""
Call refresh_grid2
Else
End If
Exit Sub
errdesc:
End Sub
If return_to_main = 1 Then
Reception.Show
Else
Appt_doc.Show
End If
Unload Me
196
End Sub
DataGrid1.Col = 0
Text2.Locked = False
Text1.Text = DataGrid1.Text
Text1.Locked = True
End Sub
Dim i As Integer
With cn
.ConnectionString = cmd1
.CursorLocation = adUseClient
.Open
End With
Call clear_form
Text2.Locked = False
Text2.Text = Str(pat)
Text2.Locked = True
End If
l.Close
Else
Set DataGrid1.DataSource = l
End If
DataGrid1.Refresh
Text2.Locked = False
Call refresh_grid2
Exit Sub
errordesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
Text1.Text = ""
Text3.Text = ""
End Sub
DataGrid2.Visible = False
k.Close
Else
DataGrid2.Visible = True
Set DataGrid2.DataSource = k
End If
DataGrid2.Refresh
End Sub
Dim rs As ADODB.Recordset
Dim i As Integer
sqlcmd = "select * from rooms38 where TYPE = '" & Combo3.Text & "' and pat_id = -1"
Else
Set DataGrid1.DataSource = rs
End If
199
DataGrid1.Refresh
Exit Sub
errordesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
Dim ad As Date
ind = DataGrid1.Col
DataGrid1.Col = 0
ad = Now
DataGrid1.Col = ind
End If
i = DataGrid1.Text
If i <> -1 Then
If MsgBox("Are you Sure you want to allocate Bed/Room '" & Str(i) & "' ?", vbOKCancel,
"Update?") = vbOK Then
sqlcmd = "Update rooms38 set PAT_ID = " & Str(temp) & ",ALLOC_DATE=to_date('" &
ad & "','mm/dd/yyyy hh:mi:ss am') where ID = " & Str(i)
MsgBox sqlcmd
cn.Execute sqlcmd
Reception.Show
Unload Me
End If
End If
Exit Sub
errordesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
Reception.Show
Unload Me
End Sub
BILLS FORM
Dim rs As ADODB.Recordset
Dim i As Integer
sqlcmd = "select * from rooms38 where TYPE = '" & Combo3.Text & "' and pat_id = -1"
Else
Set DataGrid1.DataSource = rs
End If
DataGrid1.Refresh
Exit Sub
errordesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
Dim ad As Date
ind = DataGrid1.Col
DataGrid1.Col = 0
ad = Now
DataGrid1.Col = ind
End If
i = DataGrid1.Text
If i <> -1 Then
If MsgBox("Are you Sure you want to allocate Bed/Room '" & Str(i) & "' ?", vbOKCancel,
"Update?") = vbOK Then
202
sqlcmd = "Update rooms38 set PAT_ID = " & Str(temp) & ",ALLOC_DATE=to_date('" &
ad & "','mm/dd/yyyy hh:mi:ss am') where ID = " & Str(i)
MsgBox sqlcmd
cn.Execute sqlcmd
Reception.Show
Unload Me
End If
End If
Exit Sub
errordesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
Reception.Show
Unload Me
End Sub
With cn
.ConnectionString = cmd1
.CursorLocation = adUseClient
203
.Open
End With
Exit Sub
errordesc:
i = MsgBox(Err.Description, vbCritical)
End Sub
RESULT: