SlideShare a Scribd company logo
Ex.No : ONLINE COURSE REGISTRATION SYSTEM
Date :
AIM:
To create a system through which students and staff can register to the courses desired by them.
1.PROBLEM STATEMENT :
The student and staff login the registration system. The student view the catalog and register the
course according to them. The staff view the course catalog and select the course. The registrar
maintain the staff and student details and close the registration after the registration is completed.
All the in formations are updated in the database. Finally the system is build. Such that it can be
used by both student and staff.
2.SOFTWARE REQUIREMENT SPECIFICATION
2.1 INTRODUCTION:
There is a course registration system in which the student and staff select the course.
2.2 PURPOSE:
The purpose of this course registration system is that the user can register the course according to
them.
2.3 SCOPE:
The system provides the course registration interface to the student and staff where they can
register the course.
2.4 DEFINITIONS, ACRONYMS AND ABBREVIATION:
STUDENT:
One who view the course catalog and select the course.
STAFF:
One who submit the mark details and select the course.
COURSE CATALOG:
One who has the course list (list of course)
REGISTRAR:
One who maintains the student and staff details and close the registration.
2.5 REFERENCES:
http://en//wikipedia.org.
http://center/registartion.in
2.6 TOOLS TO BE USED:
Microsoft Visual basic, Oracle
2.7 OVERVIEW:
SRS includes two sections namely overall description and specification.
2.8 OVERALL DESCRIPTION
2.8.1 PRODUCT PERSPECTIVE:
Course registration system act as a interface between student ,staff and registrar.
2.8.2 SOFTWARE INTERFACE:
Front end client. The student ,staff and registrar interface are build using a Microsoft visual
basic.
Backend –Oracle database.
2.9 HARDWARE REQUIRMENTS:
Page No: 1
A computer with basic features can be used to operate.
2.10 SYSTEM FUNCTIONS:
 The student and staff logins.
 The student views the course catalog and register the course
 The staff submit the mark details and select the course.
 The registrar maintains student details and staff details.
 After registration the registrar will close the registration.
2.11 USER CHARACTERISTICS:
STUDENT:
View the record and select the course.
STAFF:
Submit the mark details and select the course.
COURSE CATALOG:
Contain the list of course.
REGISTRAR:
Maintain the student and staff details.
2.12 CONSTRAINTS:
The students and staff must have basic knowledge of computer and English.
2.13 SPECIFICATION REQUIREMENTS:
STUDENT:
 Login
 Logout
 View the course catalog
 Select the course.
STAFF:
 Login
 Logout
 View the course catalog
 Select the course.
REGISTRAR:
 Login
 Logout
 Maintain student details
 Maintain staff details
 Close the registration.
COURSE CATALOG:
List of course.
2.14 SOFTWARE SYSTEM ATTRIBUTES:
Reliability:
System is highly reliable and must work without any defect.
Availability:
All these courses should be available.
Page No: 2
UML DIAGRAMS
1. Use Cases Diagram:
Page No: 3
2. Activity Diagram:
Page No: 4
3. CLASS DIAGRAM
.1 STUDENT:
5.2 STAFF:
Page No: 5
4. INTERACTION DIAGRAM:
1. Sequence diagram:
6.1.1 Staff
Page No: 6
6.1.2 STUDENT
Page No: 7
2. COLLABORATION DIAGRAM :
1. STAFF
Page No: 8
2. STUDENT
Page No: 9
5. STATECHART DIAGRAM:
Page No: 10
6. Logical Architecture:
Page No: 11
7. COMPONENT DIAGRAM:
8. DEPLOYMENT DIAGRAM:
Page No: 12
9. Technical service layer:
Name Null?
NAME
ID
ADDRESS
AGE
GENDER
COURSE
VARCHAR2(7)
NUMBER(6)
VARCHAR2(20)
NUMBER(4)
VARCHAR2(4)
VARCHAR2(7)
Name
Null?
USERNAME
PASSWORD
VARCHAR2(7)
NUMBER(6)
10. USER INTERFACE AND DOMAIN OBJECT LAYER
MAIN FORM:
Page No: 13
CODING :
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub exit_Click()
End
End Sub
Private Sub Form_Load()
db.Open "course", "scott", "tiger"
rs.Open "select *from ooad2", db, 1, 2
End Sub
Private Sub registrar_Click()
Form6.Show
End Sub
Private Sub staff_Click()
Form7.Show
End Sub
Private Sub student_Click()
Form2.Show
End Sub
STUDENT : LOGIN FORM
Page No: 14
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim s As String
Dim n As Integer
Private Sub first_click()
rs.MoveFirst
Text1.Text = rs(0)
Text2.Text = rs(1)
End Sub
Private Sub next_Click()
rs.MoveNext
If rs.EOF = True Then
rs.MoveFirst
End If
Text1.Text = rs(0)
Text2.Text = rs(1)
End Sub
Private Sub Form_Load()
db.Open "course", "scott", "tiger"
rs.Open "select *from ooad2", db, 1, 2
End Sub
Private Sub signin_Click()
rs.AddNew
Text1.Text = rs(0)
Text2.Text = rs(1)
rs.Update
If s = Text1.Text Then
Form4.Show
End If
End Sub
Private Sub signup_Click()
Form3.Show
End Sub
Page No: 15
LOGIN:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub add_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs.Update
MsgBox "added..."
End Sub
Private Sub Form_Load()
db.Open "course", "scott", "tiger"
rs.Open "select *from ooad2", db, 1, 2
End Sub
Private Sub login_Click()
Form2.Show
End Sub
Page No: 16
STUDENT DETAILS :
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub clear_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
End Sub
Private Sub Form_Load()
db.Open "course", "scott", "tiger"
rs.Open "select *from ooad1", db, 1, 2
Combo1.AddItem "CSE"
Combo1.AddItem "IT"
Page No: 17
Combo1.AddItem "ECE"
End Sub
Private Sub mainform_Click()
Form1.Show
End Sub
Private Sub next_Click()
rs.MoveNext
If rs.EOF = True Then
End If
rs.MoveFirst
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
Text6.Text = rs(5)
Text7.Text = rs(6)
End Sub
Private Sub previous_Click()
rs.MovePrevious
If rs.BOF = True Then
MsgBox "u r in the first record"
Exit Sub
Else
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
Text6.Text = rs(5)
Text7.Text = rs(6)
End If
End Sub
Private Sub register_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
If female.Value = True Then
rs(4) = female.Caption
Else
rs(4) = male.Caption
End If
rs(5) = Combo1.Text
rs(6) = Text7.Text
rs.Update
MsgBox "registered"
End Sub
Page No: 18
STAFF DETAILS
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub clear_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Form_Load()
db.Open "course", "scott", "tiger"
rs.Open "select *from staff1", db, 1, 2
Combo1.AddItem ("cse")
Combo1.AddItem ("ece")
Combo1.AddItem ("it")
End Sub
Private Sub mainform_Click()
form1.Show
End Sub
Page No: 19
Private Sub next_Click()
rs.MoveNext
If rs.EOF = True Then
End If
rs.MoveFirst
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
End Sub
Private Sub previous_Click()
rs.MoveFirst
If rs.BOF = True Then
MsgBox "u r in the first record"
Exit Sub
Else
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
End If
End Sub
Private Sub submit_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
If female.Value = True Then
rs(4) = female.Caption
Else
rs(4) = male.Caption
End If
rs(5) = Combo1.Text
rs.Update
MsgBox "submited"
End Sub
Page No: 20
REGISTRAR:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub closeregistration_Click()
End
End Sub
Private Sub Form_Load()
db.Open "course", "scott", "tiger"
rs.Open "select *from ooad1", db, 1, 2
End Sub
Private Sub staffdetails_Click()
Form5.Show
End Sub
Private Sub studentdetails_Click()
Form4.Show
End Sub
RESULT:
Thus the system through which students and staff can register the course has
Page No: 21
been created and successfully executed.
Ex:No. STOCK MAINTENANCE SYSTEM
Date
AIM:
To develop a project for maintaining stocks in an Enterprise.
1. PROBLEM STATEMENT:
Stock Maintenance gives an idea about how products are maintained in a particular concern. The
products that are to be purchased and the products that are to be sold are maintained here.
And also gives additional details about the current stock available in the store. It is a computerized
way of managing stock in an enterprise and it is also useful in all the supermarkets and shops.
This project is done in an authorized way by creating Password and UserId. The Stock
Maintenance in this project is understood by going through the modules that is being involved. The
whole marketing process and the economic status has being improved if stock is maintained
properly.
2.0 SOFTWARE REQUIREMENT SPECIFICATION
2.1 Introduction:
There is a stock maintenance system, in which the customer purchases the item from the dealer.
2.2 Purpose:
The purpose of this stock management system that a person purchases a stock, the database will
be updated automatically and can be viewed.
2.3 Scope:
The System provides an interface between the customer and the shopkeeper who is
responsible for maintaining the records.
Proper selling of the stocks could be done and then the billing will be done as per the purchase
after when the database is done.
2.4 Definitions, Acronyms and Abbreviations:
Admin:
One who maintains the entire stock and is responsible for delivery and intake of the
stocks.
System:
Once a stock is sold, the database gets automatically updated also if unwanted products
are found; it is removed from the database.
2.5 References:
http://in.wikipedia.org
http://center/regstockmaintenance.in
2.6 Technologies to be used:
Microsoft Visual Basic 6.0,Oracle
2.7 Overview
SRS includes two sections namely overall description and specification.
2.8 Overall Description:
2.8.1 Product Perspective
Stock maintenance system provides an interface between the admin and the system.
2.8.2 Software Interface:
Front-end is CLIENT. The admin and user interface is built. The Backend is
Page No: 22
ORACLE Database.
2.8.3 Hardware Interface:
A computer with basic features can be used to operate.
2.8.4 System Functions:
The customer will check for availability of the stock. The System views the required details. If
available the customer purchases it.
Else, new records will be added to the database about unavailability of the stock.
2.9 User Characteristics:
Admin:
Looks after the entire stock in the company.
System:
Stores all the record about the sales of the stock and about the purchase.
2.10 Constraints:
At a time either the admin can deliver a stock or purchase a stock.
2.11 Assumption and Dependencies:
The admin of the system must have knowledge of the stock maintenance.
2.12 Specific Requirements:
2.12.1 Use case Reports
Admin:
 Login
 Logout
 View the record
 Select the required stock
System:
 Update the record
 Add the new item
 Delete unwanted item
2.13 Software System Attributes:
Reliability:
System is highly reliable and must work without any defect.
Availability: All the stock must be available
Page No: 23
UML DIAGRAMS
1. USE CASE DIAGRAM
2. ACTIVITY DIAGRAM:
a. VIEW STOCK:
Page No: 24
2.1DELIVERY
2.2 INTAKE:
Page No: 25
3. CLASS DIAGRAM:
3.1 VIEW STOCK:
3.2 DELIVERY
Page No: 26
3.3 INTAKE
4. INTERACTION DIAGRAM
4.1 SEQUENCE DIAGRAM:
4.1.1 VIEW STOCK:
Page No: 27
4.1.2 DELIVERY:
4.1.3 INTAKE
Page No: 28
4.2 COLLABORATION DIAGRAM:
4.2.1 VIEW STOCK:
4.2.2 DELIVERY:
Page No: 29
4.2.3 INTAKE:
5. STATE CHART DIAGRAM:
Page No: 30
6. LOGICAL ARCHITECTURE:
Page No: 31
7. COMPONENT DIAGRAM:
8. DEPLOYMENT DIAGRAM:
Page No: 32
9. TECHNICAL SERVICE LAYER
Name Type
Product Varchar2(10)
Brand Varchar2(10)
Quantity Number(10)
Example:
Product Brand Quantity
comp dell 30
cpu in 20
10. USER INTERFACE AND DOMAIN OBJECT LAYER:
HOME
Page No: 33
CODING:
Private Sub Command1_Click()
Form2.Show
End Sub
Private Sub command2_click()
Form3.Show
End Sub
Private Sub command3_click()
Form4.Show
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Form_Load()
Me.WindowState = 2
End Sub
STOCK:
Page No: 34
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
Form1.Show
End Sub
Private Sub command3_click()
End
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Combo1.Text = ""
End Sub
Private Sub Form_Load()
db.Open "stock1", "scott", "tiger"
rs.Open "select * from hem1", db, 1, 2
Combo1.Clear
Text1.Text = ""
Option1.Value = False
Option2.Value = False
Option3.Value = False
End Sub
Private Sub Option1_Click()
Combo1.Clear
Combo1.AddItem ("lg")
Combo1.AddItem ("dell")
End Sub
Private Sub Option2_Click()
Combo1.Clear
Combo1.AddItem ("in")
Combo1.AddItem ("hem")
End Sub
Private Sub Option3_Click()
Combo1.Clear
Combo1.AddItem ("in")
Combo1.AddItem ("hem")
End Sub
private Sub command2_click()
If Option1.Value = True Then
If Combo1.Text = "lg" Then
Text1.Text = Val(rs(2))
Else
Text1.Text = Val(rs(2))
End If
End If
If Option2.Value = True Then
If Combo1.Text = "in" Then
Text1.Text = Val(rs(2))
Else
Page No: 35
Text1.Text = Val(rs(2))
End If
End If
If Option3.Value = True Then
If Combo1.Text = "in" Then
Text1.Text = Val(rs(2))
Else
Text1.Text = Val(rs(2))
End If
End If
End Sub
DELIVERY:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
Form1.Show
End Sub
Private Sub command2_click()
If Option1.Value = True Then
If Combo1.Text = "lg" Then
Page No: 36
Text2.Text = Val(rs(2)) - Val(Text1.Text)
rs(2) = Text2.Text
Else
Text2.Text = Val(rs(2)) - Val(Text1.Text)
rs(2) = Text2.Text
End If
If Option2.Value = True Then
If Combo1.Text = "in" Then
Text2.Text = Val(rs(2)) - Val(Text1.Text)
rs(2) = Text2.Text
Else
Text2.Text = Val(rs(2)) - Val(Text1.Text)
rs(2) = Text2.Text
End If
If Option3.Value = True Then
If Combo1.Text = "in" Then
Text2.Text = Val(rs(2)) - Val(Text1.Text)
rs(2) = Text2.Text
Else
Text2.Text = Val(rs(2)) - Val(Text1.Text)
rs(2) = Text2.Text
End If
End If
End If
End If
rs.Update
MsgBox "Item delivered", vbInformation
End Sub
Private Sub command3_click()
End
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Combo1.Text = ""
Option1.Value = False
Option2.Value = False
Option3.Value = False
End Sub
Private Sub Form_Load()
db.Open "stock1", "scott", "tiger"
rs.Open "select * from hem1", db, 1, adLockOptimistic
Combo1.Clear
Text1.Text = ""
End Sub
Private Sub Option1_Click()
Combo1.Clear
Combo1.AddItem ("lg")
Combo1.AddItem ("dell")
End Sub
Private Sub Option2_Click()
Combo1.Clear
Combo1.AddItem ("in")
Page No: 37
Combo1.AddItem ("hem")
End Sub
Private Sub Option3_Click()
Combo1.Clear
Combo1.AddItem ("in")
Combo1.AddItem ("hem")
End Sub
INTAKE:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
Form1.Show
End Sub
Private Sub command2_click()
rs.AddNew
If Option1.Value = True Then
rs(0) = Option1.Caption
rs(1) = Combo1.Text
Page No: 38
Else
If Option2.Value = True Then
rs(0) = Option2.Caption
rs(1) = Combo1.Text
Else
If Option3.Value = True Then
rs(0) = Option3.Caption
rs(1) = Combo1.Text
End If
End If
End If
rs(2) = Text1.Text
rs.Update
MsgBox "item is added", vbInformation
End Sub
Private Sub command3_click()
End
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Combo1.Text = ""
Option1.Value = False
Option2.Value = False
Option3.Value = False
End Sub
Private Sub Form_Load()
db.Open "stock1", "scott", "tiger"
rs.Open "select * from hem1", db, 1, 2
Combo1.Clear
Text1.Text = ""
End Sub
Private Sub Option1_Click()
Combo1.Clear
Combo1.AddItem ("lg")
Combo1.AddItem ("dell")
End Sub
Private Sub Option2_Click()
Combo1.Clear
Combo1.AddItem ("in")
Combo1.AddItem ("hem")
End Sub
Private Sub Option3_Click()
Combo1.Clear
Combo1.AddItem ("in")
Combo1.AddItem ("hem")
End Sub
Result:
Thus the Stock maintenance system has done successfully.
Page No: 39
Ex.No.: ONLINE EXAM REGISTRATION SYSTEM
Date :
AIM :
To create a system through which student can register the exam through online.
PROBLEM STATEMENT:
Exam registration system is an online exam registration.The student should provide his/her
name,type of exam,DOB and other necessary details.Based on the type of examination the exam
fee is collected.The fee can be paid via credit/debit card only.The report generator will generate
their exam number with their details.The student will take
Printout.
SOFTWARE REQUIREMENT SPECIFICATION
2.1 INTRODUCTION :
Exam registration is an online exam registration for certain exam.It is an interface between the
student and exam authority.
2.2 PURPOSE
If the exam registration is done in person .then student has to wait in queue to submit the form
and pay money.By using online exam registration system student can register from home itself.
2.3 SCOPE
The system provides on online interface to the student where they can fill the form and submit it.
And pay the fee based on type of exam.Cashier will collect the fee.Reporter will generate an
exam number to the student and student should
Take the printout.
2.4 DEFINITIONS,ACRONYMS AND ABBREVIATION
STUDENT: select the type of exam and enter their details.based on the type of exam he/she will
pay the fees.
CASHIER: Collect the fee from the student.
REPORTER: Generate the exam number to the student.
2.5 REFERENCES :
http://annauniv.edu/registration.in
2.6 TOOLS TO BE USED
Microsoft visual basic ,Oracle
2.7 OVERVIEW
SRS includes two sections overall description, specification
2.8 OVERALL DESCRIPTION
2.8.1 PRODUCT PERSPECTIVE :
The Exam registration system act as an interface between student and exam
authority. This system tries to make the interface as simple as follow.
2.8.2 SOFTWARE INTERFACE :
FRONT END : client
BACK END :vb oracle
2.8.3 HARDWARE INTERFACE:
The server and client are directly connected.
2.8.4 SYSTEM FUNCTIONS :
Page No: 40
 student select the type of exam .
 student register for his/her exam.
 Pay the fee via credit/debit card.
 Cashier collect the fee.
 Reporter will generate the exam number and date for student.
2.8.5 USER CHARACTERISTICS :
STUDENT:
Select the type of exam and enter their details and pay the fee
CASHIER:
Collect the fee from the student.
REPORTER:
Generate report to the student.
2.8.6 CONSTRAINTS :
The student should pay the fee via credit/debit card only.
2.9 SPECIFICATION REQUIREMENT
STUDENT:
Select the type of exam.
 Enter their details.
 Pay the fee.
CASHIER:
 Collect the fee.
REPORTER:
 Generate the report
2.10 SOFTWARE SYSTEM ATTRIBUTES :
RELIABILITY:
System is highly reliable and must work without any defect.
AVAILABILITY:
Type of exam should be available.
Page No: 41
UML DIAGRAMS
1. USE CASE DIAGRAM:
Page No: 42
2. ACTIVITY DIAGRAM:
Page No: 43
3. CLASS DIAGRAM:
4. INTERACTION DIAGRAM:
4.1 COLLABORATION DIAGR
Page No: 44
4.2 SEQUENCE DIAGRAM:
Page No: 45
5. STATE CHART DIAGRAM:
6. LOGICAL ARCHITECTURE:
Page No: 46
7. COMPONENT DIAGRAM:
8. DEPLOYMENT DIAGRAM:
Page No: 47
9. TECHNICAL SERVICE LAYER :
1. SQL> desc gate1;
Name Null? Type
----------------------------------------- -------- -------------
NAME VARCHAR2(10)
DOB NUMBER(15)
CITY VARCHAR2(5)
PINCODE NUMBER(7)
EMAILID VARCHAR2(16)
2. SQL> desc tnpsc;
Name Null? Type
----------------------------------------- -------- ---------------
NAME VARCHAR2(6)
AGE NUMBER(7)
CASTE VARCHAR2(8)
QUALIFICATION VARCHAR2(9)
ADDRESS VARCHAR2(8)
MAILID VARCHAR2(10)
3. SQL> desc bank;
Name Null? Type
----------------------------------------- -------- ---------------
BANK VARCHAR2(9)
CARD NUMBER(6)
4. SQL> desc repo;
Name Null? Type
----------------------------------------- -------- ---------------
NAME VARCHAR2(12)
ID NUMBER(7)
EXAM VARCHAR2(7)
Page No: 48
10. USER INTERFACE AND DOMAIN OBJECT LAYER:
FORM 1:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
Form2.Show
End Sub
Private Sub Command2_Click()
End
End Sub
Page No: 49
FORM 2:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub CAT_Click()
Form3.Show
End Sub
Private Sub Form_Load()
db.Open "exam", "scott", "tiger"
rs.Open "select *from gate1", db, 1, 2
End Sub
Private Sub GATE_Click()
Form3.Show
End Sub
Private Sub TNPSC_Click()
Form5.Show
End Sub
Page No: 50
FORM 3:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub BACK_Click()
Form1.Show
End Sub
Private Sub CLEAR_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
End Sub
Private Sub Form_Load()
db.Open "exam", "scott", "tiger"
rs.Open "select *from gate1", db, 1, 2
End Sub
Private Sub PAYFEE_Click()
Form4.Show
End Sub
Private Sub REGISTER_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
Page No: 51
rs(3) = Text4.Text
rs(4) = Text5.Text
rs.Update
MsgBox "registered"
Form6.Show
End Sub
FORM 4:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub BACK_Click()
Form1.Show
End Sub
Private Sub Form_Load()
db.Open "exam", "scott", "tiger"
rs.Open "select *from bank", db, 1, 2
Combo1.AddItem ("HDFC")
Combo1.AddItem ("ICICI")
Combo1.AddItem ("SBI")
Combo1.AddItem ("IOB")
End Sub
Private Sub PAY_Click()
rs.AddNew
rs(0) = Combo1.Text
rs(1) = Text1.Text
rs.Update
Page No: 52
MsgBox "FEES PAID"
End Sub
FORM 5:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub BACK_Click()
Form1.Show
End Sub
Private Sub CLEAR_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
End Sub
Private Sub Form_Load()
db.Open "exam", "scott", "tiger"
rs.Open "select *from tnpsc", db, 1, 2
Combo1.AddItem ("OC")
Combo1.AddItem ("BC")
Combo1.AddItem ("MBC")
Combo1.AddItem ("SC/ST")
'Combo1.AddItem ("ST")
End Sub
Private Sub PAYFEE_Click()
Form4.Show
Page No: 53
End Sub
Private Sub REGISTER_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Combo1.Text
rs(3) = Text3.Text
rs(4) = Text4.Text
rs(5) = Text5.Text
rs.Update
MsgBox "registered"
Form6.Show
End Sub
FORM 6:
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Form_Load()
db.Open "exam", "scott", "tiger"
rs.Open "select *from repo", db, 1, 2
End Sub
Private Sub GENERATEREPORT_Click()
DataReport1.Show
End Sub
Result:
Page No: 54
Thus the online Exam Registration has done successfully.
Ex No: BOOK BANK
Date:
AIM:
To develop a project for a Book Bank system and identify the usecase and draw UML diagrams.
PROBLEM STATEMENT:
The Book Bank is a place where there is a huge collection of books which are available for
students on the semester basis. The Book Bank system must have options for new membership.
It should contain options for renewing the membership.It contains options for an amount of fees
to be refunded. The member can access the Book Bank using the given reference number. A
particular book can be searched by its Book name or version or if the sssauthor name is known.
SOFTWARE REQUIREMENT SPECIFICATION:
2.1 INTRODUCTION:
Book Bank is an interface between the user and the manager responsible for issue of books
2.2 PURPOSE:
If a person who is already a member wants a book he can login with his member ID and request
for the particular books,tshen he can come and get books.
2.3 SCOPE:
 The system provides online interface to the number where he can select the necessary
books.
 The member register with Book Bank and receives the membership ID
 With the ID he/she can know about what books are to be taken.
2.4 DEFINITIONS,ACRONYMS & ABBREVIATIONS:
MANAGER:
one who supervises the member request and the queries.
MEMBER:
Refers to the student who has joined the Book Bank.
HTTP: Hypertext Transfer Protocol
2.5 REFERENCE:
http://en.wikipedia.org
http://annabookbank/registration.in
2.6 TOOLS TO BE USED:
Visual Basic 6.0 and Oracle
2.7. OVERVIEW:
SRS include two sections Overall descriptions and Specification
2.8 OVERALL DESCRIPTION:
2.8.1 PRODUCT PERSPECTIVE:
Book Bank system acts an interface between user and manager. The interface is made easier but
at the same time does not risk the data of the member to be revealed to other.
2.8.2 SOFTWARE INTERFACE:
Front end client:the member and manger interface are built using VB and Oracle
Back end: Oracle
2.8.3 HARDWARE REQUIREMENT:
A computer with basic feature can be used to operate.
2.8.4 SYSTEM FUNCTION:
Page No: 55
 Members gets registered with the Book Bank.
 Specify the books the member want.
 Can pay via debit/credit card.
 Can check if the book is available or not.
2.8.5 USER CHARACTERISTICS:
MEMBER:
They are the people who wants to take the book from the Book Bank.
MANAGER:
He is the person who examines the member request and reply to the member. He can approve the
member to take the books.
2.8.6 CONSTRAINTS:
Member requires computer to submit his/her request to the books.
2.9 SPECIFICATION REQUIREMENTS:
MEMBER:
 Login
 Logout
 Register with Book Bank
 Know what book is available
 Provide feedback
 Appoint date to get books
 Request for extra books
MANAGER:
 Login
 Logout
 Specify data to collect books
 Monitor queries of members
 Specify data to uncollected books
2.10 SUPPLEMENTARY REQUIREMENTS:
24*7 Availability Instant reply from manager via mail and sms.
2.11 SOFTWARE SYSTEM ATTRIBUTES:
Reliability: System is highly reliable and must work without any defect.
Availability: The Book Bank must be available at any time.
Page No: 56
UML DIAGRAMS
1. USECASE DIAGRAM:
Page No: 57
2. ACTIVITY DIAGRAM:
2.1 New Member:
2.2 Book Issue:
Page No: 58
2.3 Return Books
3. CLASS DIAGRAM:
Page No: 59
4. INTERACTION DIAGRAM:
4.1 SEQUENCE DIAGRAM:
Page No: 60
4.2 COLLABORATION DIAGRAM:
5. STATE CHART DIAGRAM:
Page No: 61
6. LOGICAL ARCHITECTURE:
Page No: 62
7. COMPONENT DIAGRAM:
8. DEPLOYMENT DIAGRAM:
Page No: 63
9. TECHNICAL SERVICE LAYER:
SQL> select * from bb;
NAME COLLEGE DEPT PHONENO ID
---------- ---------------- ---------- --------------- ----------
Parthi NPSB cse 933338377 100
Hyder NPSB cse 933338378 101
Gajpat NPSB cse 933338379 102
Felix NPSB cse 933338347 103
Dines NPSB cse 933338343 104
Anand NPSB cse 933338332 105
Karthi NPSB cse 933338372 106
7 rows selected.
SQL> select * from ba;
BOOKNAME PUBLICATION EDITION
------------------ -------------------- -------------
OOAD Technical 3
PCD Technical 4
10. USER INTERFACE AND DOMAIN OBJECT LAYER
FORM DESIGN:
Page No: 64
CODING:
Form1:
Existing Member:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim s As Integer
Private Sub Command1_Click()
Form2.Show
Form1.Hide
End Sub
Private Sub Command2_Click()
s = InputBox("Enter the member id")
rs.MoveFirst
Do
If rs(4) = Val(s) Then
Form4.Show
Exit Sub
Else
rs.MoveNext
End If
Loop
While Not rs.EOF
MsgBox "Account not found"
Wend
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
db.Open "hyd", "scott", "tiger"
rs.Open "select * from bb", db, 1, 2
End Sub
Page No: 65
Form 2:
New Member:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim a As Integer
Private Sub Command1_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text5.Text
rs(4) = Val(a)
rs.Update
Form6.Text1.Text = Val(a)
Page No: 66
a = a + 1
Form6.Show
Form2.Hide
End Sub
Private Sub Form_Load()
a = 100
db.Open "hyd", "scott", "tiger"
rs.Open "select * from bb", db, 1, 2
End Sub
Form 3:
Book Issue:
Dim db1 As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs.Update
MsgBox "BOOK is ISSUED"
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Form_Load()
db1.Open "dbase", "scott", "tiger"
rs.Open "select * from ba", db1, 1, 2
End Sub
Page No: 67
RESULT:
Thus the project for a Book Bank system is done successfully
EX.NO. ONLINE RAILWAY RESERVATION SYSTEM
DATE:
AIM: To develop a project for a Online Railway Reservation system and identify the usecase
and draW UML diagrams.
PROBLEM DFINITION:
To design a system to reserve railway tickets online. To provide user with the ability to book and
cancel railway ticket online and provide the user with the facility to check their PNR status.
Ticket reservation details are stored in database can be retrieved at any time. This provides user
to check the availability of tickets from their home.
SOFTWARE REQUIREMENT SPECIFICATION:
2.1 Introduction:
It is the requirement between the traveler and ticket issue on lie.
2.2 Purpose: The traveler can book the tickets for any number of members online and pay the
money.
2.3 Scope:
 The system provides an online interface to the traveler where he can select the necessary
amounts of tickets.
 The traveler can register the number of ticket and get the PNR no.
 With the PNR no he/she can know whether tickets are confirmed.
2.4 Definition acronyms and abbreviation:
Traveler or who books or cancel the tickets.
Register Database: one who update the database
Booking clerk: One who which gives the PNR no and books
Html: Hypertext markup language
HTTP: Hypertext transfer protocol
2.5 Reference:
http://en_wikipedia.org
http://w3schools.in
2.6 Tools to be used:
VB Oracle
2.7 Overview:
SRS include two sections, overall description and specification.
2.7.1 Overall description:
2.7.1.1 Product description:
Online railway reservation act as a interface between traveler and the interface is made easier but
at the same time does not risk the data of the traveler to be revealed to other.
2.7.1.2 Software Interface:
Front end VB Backend oracle is used.
2.7.1.3 Hardware Requirement:
A computer with basics feature can be used to operate.
2..7.1.4 System Function:
 Traveler can register on online
 Specify the designation name.
 Can pay for online using credit or debit card.
 Can check the status of the ticket using the PNR no.
2.7.1.5 User Characteristics:
 Traveler: They are the people who want to book the ticket.
Page No: 68
 Booking Clerk: He is the person who exami
 nes Travelers request and reply to user. He can approve or request the ticket claimed.
2.7.1.6 Constraints:
Traveler requires a computer to submit his/her request for a ticket
2.7.2Specification Requirement:
Traveler:
 Check Availability
 Check Status
 Check Ticket
 Book Tickets
Booking Clerk:
 Issue ticket by providing the ticket number and PNR number
 Specify the number of trains available
2.8 Supplementary Requirement:
24 * 7Availability.
Instant reply from manager: mail message and Sms.
2.9 Software System Attributes:
Reliability: System is highly reliable and must work without any defect.
Availability: The Booking clerk must be available at any time
Page No: 69
1.USECASE DIAGRAM:
Page No: 70
2.ACTIVITY DIAGRAMS
2.1 Train Availability
Page No: 71
2.2 CANCELLATION
3.CLASS DIAGRAM
Page No: 72
4.INTERACTION DIAGRAM
4.1.0.SEQUENCE DIAGRAM
4. 1.1 Train Availability
Page No: 73
4. 1.2CANCELLATION
Page No: 74
5.COLLABORATION DIAGRAM
5.1Train Availability
5.2CANCELLATION
Page No: 75
6.STATE CHART DIAGRAM
Page No: 76
7.LOGICAL ARCHITECTURE DIAGRAM
Page No: 77
8.COMPONENT DIAGRAM:
9.DEPLOYMENT DIAGRAM:
Page No: 78
1. TECHNICAL SERVICE LAYER
SQL> desc sd;
Name Null?
----------------------------------------- -------- -----------
SRC VARCHAR2(7)
DOJ DATE
NAME VARCHAR2(7)
AGE NUMBER(4)
GEN VARCHAR2(4)
CARD_NUM NUMBER(4)
PNRG NUMBER(8)
DEST VARCHAR2(7)
SEAT NUMBER(3)
2. USER INTERFACE AND DOMAIN OBJECT LAYER
HOME.FRM
Page No: 79
CODING:
Private Sub AVAIL_Click()
HOME.Hide
F1.Show
End Sub
Private Sub EXIT_Click()
HOME.Hide
End Sub
Private Sub PNR_Click()
HOME.Hide
PNRS.Show
End Sub
Private Sub CANCEL_Click()
CC.Show
End Sub
F1.FRM
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
F1.Hide
rs.AddNew
Page No: 80
rs(0) = Text1.Text
rs(7) = Text2.Text
rs(1) = Text3.Text
rs.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
F2.Show
End Sub
Private Sub Form_Load()
db.Open "rlwy", "scott", "tiger"
rs.Open "select * from sd", db, 1, adLockOptimistic
End Sub
F2.FRM
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim a As Integer
Dim b As Integer
Dim s1 As Integer
Dim s2 As Integer
Private Sub Command1_Click()
F3.Show
End Sub
Private Sub book_Click()
Page No: 81
If Option1.Value = True Then
Text1.Text = Val(Text1.Text) - 1
a = Val(Text1.Text)
Else: Text1.Text = Val(Text1.Text) - 1
b = Val(Text1.Text)
End If
If Option1.Value = True Then
F3.Text2.Text = 160
Else: F3.Text2.Text = 180
End If
F2.Hide
F3.Show
End Sub
Private Sub Command2_Click()
HOME.Show
End Sub
Private Sub Option1_Click()
Text1.Text = s1
End Sub
Private Sub Option2_Click()
Text1.Text = s2
End Sub
Private Sub Form_Load()
s1 = 100
s2 = 150
db.Open "rlwy", "scott", "tiger"
rs.Open "select * from sd", db, 1, adLockOptimistic
End Sub
Page No: 82
F3.FRM
CODING:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim pn As Long
Dim seat As Integer
Private Sub Command1_Click()
rs.AddNew
seat = 14
pn = 4398451
If Text1.Text < 16 Then
MsgBox "invalid card number"
End If
rs(4) = Combo1.Text
rs(6) = Val(pn)
rs(2) = Text3.Text
rs(3) = Val(Text5.Text)
rs.Update
Text3.Text = ""
Text5.Text = ""
Text1.Text = ""
F4.Text1.Text = rs(6)
F4.Text2.Text = rs(2)
Page No: 83
F4.Text3.Text = rs(4)
F4.Text4.Text = "s1"
F4.Text5.Text = seat + 1
rs.Update
F4.Show
End Sub
Private Sub F3_Click()
HOME.Show
End Sub
Private Sub Form_Load()
Combo1.Clear
Combo1.AddItem ("M")
Combo1.AddItem ("F")
db.Open "rlwy", "scott", "tiger"
rs.Open "select * from sd", db, 1, adLockOptimistic
End Sub
F4.FRM
CODING:
Private Sub F4_Click()
HOME.Show
End Sub
Page No: 84
CC.FRM
CODING:
Private Sub Command1_Click()
F2.Text1.Text = Val(Text1.Text)
MsgBox "TICKET CANCELLED"
End Sub
Private Sub Command2_Click()
HOME.Show
CC.Hide
End Sub
Page No: 85
PNRS.FRM
CODING:
Private Sub Command1_Click()
MsgBox " Ticket Confirmed !! "
End Sub
Private Sub Command2_Click()
HOME.Show
PNRS.Hide
End Sub
RESULT:
Page No: 86
Thus the project for a Online Railway Reservation system is done successfully
Ex.no: FOREIGN TRADING SYSTEM
Date:
AIM: To create a system through which the user can import and export the items.
PROBLEM STATEMENT:
The user logs in to the system for trading the items. First the user see the country’s details to
import and export items. The user can add the exported items, delete items and search the item
and update the database.
SOFTWARE REQUIREMENT SPECIFICATION:
2.1INTRODUCTION:
There is a trading system in which the users import/export the items.
2.1.1 PURPOSE:
The user can either import/export the items.
2.1.2 SCOPE:
The system provides a foreign trading interface to the user where they can import/export the
items.
2.1.3 DEFINITIONS, ACRONYMS AND ABBREVIATIONS:
USER:
One who view the country details and import/export the items.
2.1.4 REFERENCES:
Http://en.wikipedia.org
Http://trading.in
2.1.5 TECHNOLOGIES AND TOOLS TO BE USED:
Microsoft visual basic and oracle.
2.1.6 OVERVIEW:
SRS includes two sections namely overall description and specification.
2.2.OVERALL DESCRIPTION:
2.2.1 PRODUCT PERSPECTIVE:
Foreign trading system acts as an interface to the user.
Page No: 87
2.2.2 SOFTWARE INTERFACE:
Front end client- Microsoft-VB back end client-oracle.
2.2.3 HARDWARE REQUIREMENTS:
A computer with basic features can be used to operate.
2.2.4 SYSTEM FUNCTIONS:
o The user logins
o The user views the country details
o The user import/export the items.
2.2.5 USER CHARACTERISTICS:
USER: Views the country details and import/export the items.
2.2.6 CONSTRAINTS:
The user should either import or export the items.
2.2.7 ASSUMPTION AND DEPENDENCIES:
The user should know the information about the trading.
2.3SPECIFICATION REQUIERMENT:
USER:
 Login
 Logout
 View the country details
 Import/export the items
2.3.1 SOFTWARE SYSTEM ARCHITECTURE:
RELIABILITY:
System is high reliable and must work without any defect.
AVAILABILITY
All the import/export details should be available.
Page No: 88
UML DIAGRAMS
1.USECASE DIAGRAM:
Page No: 89
2. ACTIVITY DIAGRAM:
Page No: 90
3. CLASS DIAGRAM:
4. INTERACTION DIAGRAM
4.1 SEQUENCE DIAGRAM:
LOGIN SCENARIO
Page No: 91
4.2 ADD ITEM SCENARIO
Page No: 92
4.3 DELETE ITEM SCENARIO:
Page No: 93
4.4 SEARCH ITEM SCENARIO
Page No: 94
5.COLLABRATION DIAGRAM:
5.1 LOGIN SCENARIO
5.2 ADDITEM SCENARIO
Page No: 95
5.3 DELETE ITEM SCENARIO
5.4 SEARCH ITEM SCENARIO
Page No: 96
6.STATECHART DIAGRAM:
Page No: 97
7.LOGICAL ARCHITECTURE:
Page No: 98
8. COMPONENT DIAGRAM:
9.. DEPLOYMENT DIAGRAM:
Page No: 99
10.USER INTERFACE LAYER:
Page No: 100
RESULT:
Page No: 101
Thus the foreign trading system has done successfully.
Ex.no: PASSPORT AUTOMATION SYSTEM
Date:
AIM:
To develop a project for a passport automation system and identify the use case diagrams.
1. 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
resources , time in a cogent manner. The core of the system is to get the online registration
form(With details such as name , address, etc). Filled by the applicant whose testament is
verified for its genuineness by the passport automation system with respect to the already
existing information in the database. This forms the first and the foremost step in the processing
of the passport application. The application is then processed manually based on the report given
by the system and any forfeiting identified can make the applicant liable to penalty as per the
law. The system forwards the necessary details to the police for its separate verification whose
report is then presented to the administrator. The administrator will be provided with an option to
display the current status of application to the applicant, which they can view in their online
interface. After all the necessary criteria has been met , the original information is added to the
database and the passport is sent to the applicant.
2. SOFTWARE REQUIREMENT SPECIFICATION:
Description:
2.1 INTRODUCTION:
Passport automation system is an interface between the applicant and the authority responsible
for the issue of passport. It aims at proving the efficiency in the issue of passport and reduce the
complexities involved in it to the maximum possible extent.
2.1.1 PURPOSE:
If the entire process of “ Issue of passport “ is done in a manual manner then it would take
several months for the passport to reach the applicant.
2.1.2 SCOPE:
 The system provides an online interface to the user where they can fill in their personal
details and submit the necessary documents.
 Provide a communication platform between the applicant and the administrator.
 User / Applicants will come to know their status of application and the date in which they
must subject themselves for manual document verification.
2.1.3 DEFINITIONS,ACRONYMS AND ABBREVIATIONS:
 ADMINISTRATOR - Refer to the super user who is the central authority who has been
vested with the privilege to manage the entire system. It can be any higher official in the
regional passport office of ministry of external affairs.
 APPLICANTS – One who wishes to obtain the passport.
 PAS – Refers to this passport automation system.
Page No: 102
2.1.4 REFERENCE:
IEEE software requirement specification format.
2.1.5 TOOLS TO BE USED:
VB , ORACLE ,RATIONAL ROSE.
2.1.6 OVERVIEW:
SRS includes two sections overall description and specific requirements – overall
description will describe major roll of the system components and interconnections. Specific
requirements will describe rolls and functions of the actors.
2.2 OVERALL DESCRIPTION
2.2.1 PRODUCT PERSPECTIVE
The PAS act as an interface between the ‘ applicant’ and the ‘administrator’.
This system tries to make the interface as simple as possible and at the same time not
risking the security of data stored in. This minimize the time duration in which the user receives
the passport .
2. 2.2 SOFTWARE INTERFACE:
 FRONT END CLIENT – The applicant and the administrator online interface is built
using visual basic.
 BACK END – Oracle database
2. 2.3 HARDWARE REQUIREMENT:
A computers with basic features can be used to operate.
2. 2.4 SYSTEM FUNCTION:
 Secure registration of information by the applicants.
 Schedule the applicants an appointment for manual verification of original documents
 Panel for passport application status display by the administrator
 SMS and MAIL updates to the applicants by the administrator
 Administrator can generate reports from the information and is the only authorized
personnel to add the eligible application information to the database.
2.2.5 USER CHARACTERISTICS:
 APPLICANT – They are the people who desires to obtain the passport and submit the
information to the database.
 ADMINISTRATOR – He has the certain privileges to add the passport status and to
approve the issue of passport. He may contain a group of persons under him to verify the
documents and give suggestions whether or not to approve the dispatch of passport.
 POLICE – He is the person who upon receiving intimation from the PAS,perform a
personal verification of the applicant and see if he has any criminal case against him
before or at present.He has been vetoed with the power to decline an application by
suggesting it to the administrator if he finds any discrepancy with the applicant .He
communicates via this PAS.
Page No: 103

2.2.6 CONSTRAINTS
 The applicant require a computer to submit their information.
 Although the security is given high importance ,there is always a chance of intrusion in
the web world which requires constant monitoring.
 The user has to be careful while submitting the information.Much care is required.
2.2.7 ASSUMPTIONS AND DEPENDENCIES
 The Applicants and Administrator must have basic knowledge of computers and English
Language.
 The applicants may be required to scan the documents and send.
Page No:104
1.USE CASE DIAGRAM
2.ACTIVITY DIAGRAM
2.1 New Registration
Page No:105
2.2 ADMIN PANEL
Page No: 106
3. CLASS DIAGRAM
4. INTERACTION DIAGRAM
1. SEQUENCE DIAGRAM
NEW REGISTRATION
Page No: 107
4.2 CHECK STATUS
4.3 ADMIN PANEL
Page No: 108
5.COLLABORATION DIAGRAM:
NEW REGISTRATION
CHECK STATUS
Page No: 109
ADMIN PANEL
6.STATE CHART DIAGRAM
Page No: 110
7.LOGICALARCHITECTURE:
Page No: 111
8.COMPONENT DIAGRAM
9. DEPLOYMENT DIAGRAM :
Page No: 112
9. USER INTERFACE LAYER
Page No: 113
RESULT:
Thus, the Passport automation system has done successfully.
Page No: 114
Ex.no:
Date: RECRUIMENT SYSTEM
AIM:
To create a system through which the candidates get recruited based on certain criterias.
1.PROBLEM STATEMENT:
The recruitment system collects the details of the candidates under going recruitment process and
checks whether they satisfy eligibility criteria. The system then matches the best job for the
candidate is being employed for any of the best job suggested by the system after interview.
2.SOFTWARE REQUIREMENT SPECIFICATION:
2.1 INTRODUCTION:
2.1.1 PURPOSE:
The purpose of the project is to simplify the process of recruiting employee in any organization
2.1.2 SCOPE OF THE PROJECT:
To make the process of recruitment.
2.1.3 DOCUMENT CONVERSATION:
To keep the candidate details and performance in the recruitment process.
2.1.4 REFERENCES:
http://en//wikipedia.org.
http://recruitment//wikipedia.in
2.1.5CONSTRAINTS:
Exiting recruitment system are been manually formulated and it is a time consuming task.
2.2 OVERALL DESCRIPTION:
2.2.1 PRODUCT PERSPECTIVES:
 Organizing recruitment training for the fresh candidates and
categorizing them.
 Checking eligibility and matching jobs.
2.2.2 USER INTERFACE:
Visual studio6.0 under windows platform connected with oracle database.
2.2.3 HARDWARE INTERFACE:
LAN connection for usage in an internal network.
2.2.4 SOFWARE INTERFACE:
Provider: MSDA 1 for connecting oracle database.
2.2.5 PRODUCT FEATURES:
 Easily categorizing the candidates based on their qualification.
 Maintain all details about fresh candidates.
2.2.6 USER CLASSES AND CHARACTERISTICS:
Various users are the fresh candidates entering into recruitment process
administrator and human resource manager.
2.2.7 DESIGN AND IMPLEMENTAION OF CONSTRAINTS:
 Each candidate details must to be maintained separately.
 HRM can take control over fresh candidates.
2.2.8 ASSUMPTION AND DEPENDENCIES:
No such assumption and dependencies thus each candidate to processed separately
Page No: 115
1.USECASE DIAGRAM:
Page No: 116
2.ACTIVITY DIAGRAM:
Page No: 117
3.CLASS DIAGRAM:
Page No: 118
4.INTERACTION DIAGRAM:
4.1 SEQUENCE DIAGRAM
Page No: 119
5.COLLABRATION DIAGRAM:
Page No: 120
6.STATE CHART DIAGRAM:
Page No: 121
7.LOGICAL ARCHITECTURE:
Page No: 122
8. COMPONENT DIAGRAM
9. DEPLOYMENT DIAGRAM
Page No: 123
10.USER INTERFACE LAYER
Page No: 124
Page No: 125
RESULT:
Page No: 126
Thus, the recruitment system is done successfully.
Ex.NO: E-BOOK MANAGEMENT
Date:
AIM
To create a system through which a user can get the book online.
1. PROBLEM DEFINITION
E-book management system is one of the widely used system in day today life. This system is
mostly used in the bookstores. The system has a main page with user login. Create a new user,
browse books page. Every new user has to sign up before using the system. In the signup page
the user has specification his address for delivery of books and also he has to get for any one
membership scheme and it stored in database.
The browser by book page enables user to find books by its category. Customer and any other
purchase orders all to above information are stored in the database. Finally, the payment is made
through credit card by receiving the credit card number form user.
2. SOFTWARE REQUIREMENT SPECIFICATION (SRS)
2.1.0 INRODUCTION
It is the requirement between customer and E-book requirement.
2.1.1 PURPOSE
If a person who is already a member wants to buy a book, he can login with his ID and buy
the books online. A new user has to be signup and then login to buy books.
2.1.2 SCOPE
The system provides an online interface where the user can select the desired book. The user has
to login with the E-book store else he has to signup with to required login id he can browse for
the book.
2.1.3 DEFINITION, ACRONYMS AND ABBREVIATIONS
Customer - also refers to user who register with the book-store.
Employee- member of book store.
Admin- who manages the DB.
HTTP- Hyper Text Transfer Protocol
2.1.4 REFERENCE
http://en.wikipedia.org.
http://annabookstore/register.in.
2.1.5 TOOLS TO BE USED
Microsoft visual basic, oracle.
2.1.6 OVERVIEW
SRS includes two sections overall description and specification.
2.2.0 OVERALL DESCRIPTION
2.2.1 PRODUCT PERSPECTIVE
E-book management system act as an interface between the user and management. The
interface is made easier but at some time, doesn’t risk the data if the member is to be revolved to
other.
2.2.2 SOFTWARE INTERFACE
Page No: 127
The front end user and management interface are built using VB and Oracle.
Back end: Oracle
Front end: VB
2.2.3 HARDWARE REQUIREMENT
A computer with basic feature can be used to operate.
2.2.4 SYTEM FUNCTION
User gets registration with basic state.
 Specify the membership.
 Can pay via debit or credit card.
 Can browse for books and its availability.
2.2.5 USER CHARACTERISTICS
Customer: They are the people who want to buy book from book store.
Employee: Work under the state managing the catalog, customer, request and to purchase order.
2.2.6 CONSTRAINTS
 Member request a computer to submit his/her desired book.
2.3 SPECIFICATION REQUIREMENT
Member: login
Logout
 Register with book store.
 Browse for desired books.
 Provide necessary feedback.
EMPLOYEE
 Manages the item catalog.
 Manages customer.
 Create purchased order.
 Update database.
2.3.1 SUPPLEMENTARY REQUIREMENTS
 24*7 availability.
 Instant reply from employee on availability book.
2.3.2SOFTWARE SYSTEM ATTRIBUTES
Reliability: system is light reliable and must move without default.
Availability: The book store.
Page No: 128
1. USECASE DIAGRAM:
Page No: 129
2.ACTIVITY DIAGRAM:
CUSTOMER:
Page No: 130
EMPLOYEE:
3. CLASS DIAGRAM:
Page No: 131
4INTERACTION DIAGRAM:
4.1 COLLABARATION DIAGRAM:
Page No: 132
5. SEQUENCE DIAGRAM
Page No: 133
6. STATE CHART DIAGRAM:
Page No: 134
6. LOGICAL ARCHITECTURE DIAGRAM:
Page No: 135
6. COMPONENT DIAGRAM:
9. DEPLOYMENT DIAGRAM:
Page No: 136
10.USER INTERFACE LAYER
Page No: 137
Page No: 138
RESULT :
Page No: 139
Thus the E-Book management system has done successfully.
Ex.No.: SOFTWARE PERSONAL MANAGEMENT SYSTEM
Date :
AIM:
To create a system through which the software professional management can be managed.
1. PROBLEM DEFINITION:
Software professional management system is few people who want to better organize. Their
employers information and assigned there resources. It will be useful for them to feel that it can
achieve more and to better manage their task.
Various software professional who can utilize this system are resources managers, contract
managers, directors, project manager, team leader and administration.
2. SOFTWARE REQUIERMENT SPECIFICATION:
1. INTRODUCTION:
2.1.1 PURPOSE:
The purpose of this project is for ease maintenance of software professional in an IT and ITES
organization.
2. SCOPE OF PROJECT:
To make a proper communication between employees and to maintain the security of company
resources.
2. DOCUMENT CONVENTIONS:
To maintain the privilege and hierarchy of the employee in the company.
2.1.4 REFERENCES:
Existing personal management system personal information management system salary
processing system and integrating module systems.
2. OVERALL DESCRIPTION:
1. PRODUCT PERSPECTIVE:
 Organizing employee’s employer’s information and attendance.
 Managing events scheduled and project workflow.
 Tracking employer’s task and completion of project.
 Making decisions for any new project.
1. PRODUCT FEATURES:
 Work assignment and reassignment.
 Attendance maintenance and absence balancing.
 Salary processing according to attendance.
 Managing of teams.
 Feature notices.
3. USER CLASSES AND CHARACTERISTICS:
Various users present are project manager, human resource manager, team leader administrator.
The other sub category of programmer, analyst, tester system.
4. DESIGN AND IMPLEMENTATION CONSTRAINT:
Each user should have separate access ID. The privilege should be based on the user.
Administrator and employee’s information and employer’s information must be maintained
separately.
5. ASSUMPTION AND DEPENDENCIES:
The application must not crash or any unavailability of data during retrieval attendance is
dependent of employee’s login and logout. Salary is dependent on employer’s attendance.
Page No: 140
2. SYSTEM FEATURES:
1. CLIENT SYSTEM FEATURES:
A minimum of real processor, family processor gigabytes of RAM with sufficient disk space.
2. SERVER SYSTEM FEATURES:
A minimum of blode-3 category servers with high performance query processing system.
2. EXTERNAL INTERFACE REQUIREMENT;
1. USER INTERFACE:
Visual studios 6.0 under window platform connected with oracle database.
2. HARDWARE INTERFACE:
LAN connection for usage in an internal network.
3. SOFTWARE INTERFACE:
Provider: MS: D ORA.1 for database connecting to oracle.
2. OTHER NON-FUNCTIONAL REQUIREMENTS:
1. SECURITY REQUIREMENT:
 Maintenance of admin and employers database separately
 Maintaining unique attributes of employee
 Access ID
 ID number.
2. SOFTWARE QUALITY ATTRIBUTES:
Simplified queries tester processing by simplified data manipulation.
Page No: 141
1.USE CASE DIAGRAM
Page No: 142
2.ACTIVITY DIAGRAM
Page No: 143
3.CLASS DIAGRAM
Page No: 144
4.INTERACTION DIAGRAM
4.1 SEQUENCE DIAGRAM
Page No: 145
5.COLLABORATION DIAGRAM
Page No: 146
6. STATE CHART DIAGRAM
Page No: 147
6. LOGICAL ARCHITECTURE DIAGRAM
Page No: 148
6. COMPONENT DIAGRAM
7. DEPLOYMENT DIAGRAM
Page No: 149
6. USER INTERFACE AND DOMAIN OBJECT LAYER
FORM & CODING:
HomeScreen
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub AdminLogin_Click()
AdLogin.Show
HomeScreen.Hide
End Sub
Private Sub Command1_Click()
empWin.Show
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=tiger;User ID=scott;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
End Sub
Private Sub NewUser_Click()
NwUser.Show
HomeScreen.Hide
End Sub
Private Sub SignIn_Click()
Set rs = conn.Execute("select * from swemp where accid = '" & (UserName) & "'")
If rs.EOF Then
MsgBox "You are not a registered user.", vbOKOnly + vbExclamation, " User not resgistered."
ElseIf Password.Text <> rs(1) Then
MsgBox "Password is wrong!.", vbOKOnly + vbExclamation, "Re-enter Password."
Else
empWin.lblName.Caption = rs(2)
Page No: 150
empWin.usNme = UserName.Text
Unload Me
empWin.Show
End If
End Sub
Private Sub UserName_Change()
SignIn.Enabled = True
End Sub
New User
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim sx As String
Dim dobb As String
Dim marry As String
Private Sub Adds_Change()
Pbr.Value = 10
End Sub
Private Sub Aoi_Change()
Pbr.Value = 65
End Sub
Private Sub Bg_Click()
Pbr.Value = 15
Page No: 151
End Sub
Private Sub Cancel_Click()
Unload Me
HomeScreen.Show
End Sub
Private Sub Check1_Click()
Submit.Enabled = True
End Sub
Private Sub Eas_Click()
UsrNme.Enabled = True
Pbr.Value = 95
End Sub
Private Sub Eca1_Change()
Pbr.Value = 56
End Sub
Private Sub Eca2_Change()
Pbr.Value = 58
End Sub
Private Sub Em_Change()
Pbr.Value = 23
End Sub
Private Sub Exit_Click()
Unload Me
HomeScreen.Show
End Sub
Private Sub Fie_Change()
Pbr.Value = 48
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
End Sub
Private Sub Form_Terminate()
Unload Me
HomeScreen.Show
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
Unload Me
HomeScreen.Show
End Sub
Private Sub Getaidps_Click()
If Eas.Text = "" Then
MsgBox "[Employed As] is required to get your Access Id and Password"
ElseIf UsrNme.Text = "" Then
MsgBox "Enter User name to continue."
Else
Page No: 152
Set rs = conn.Execute("select count(distinct AccId) from swemp")
Dim x As String
Dim x1 As Integer
x1 = Str(rs.Fields(0)) + 1
idNo.Text = x1
AccId.Text = UsrNme.Text + "-" + Eas.Text
x = Str(Int(Asc(UsrNme.Text) * Rnd + 1) * Int(Asc(AccId.Text) * Rnd + 1))
Pass.Text = Trim(x)
Check1.Enabled = True
Getaidps.Enabled = False
End If
End Sub
Private Sub Gra_Click()
Pbr.Value = 45
End Sub
Private Sub IsAvl_Click()
Dim nm As String
If UsrNme.Text = "" Then
MsgBox "Enter an User Name to Register"
lblAvl.Caption = "No"
Else
nm = UsrNme.Text + "-" + Eas.Text
Set rs = conn.Execute("select * from swemp where AccId = '" & (nm) & "'")
If rs.EOF Then
lblAvl.Caption = "Yes"
Getaidps.Enabled = True
Else
lblAvl.Caption = "No"
Getaidps.Enabled = False
Check1.Enabled = False
End If
End If
End Sub
Private Sub LL_Change()
Pbr.Value = 35
End Sub
Private Sub Major_Change()
Pbr.Value = 52
End Sub
Private Sub Mob_Change()
Pbr.Value = 30
End Sub
Private Sub Nme_Change()
Pbr.Value = 5
End Sub
Private Sub optNo_Click()
marry = "No"
End Sub
Private Sub optSexF_Click(Index As Integer)
Page No: 153
sx = "Female"
End Sub
Private Sub optSexM_Click(Index As Integer)
sx = "Male"
End Sub
Private Sub optYes_Click()
marry = "Yes"
End Sub
Private Sub Pc_Change()
Pbr.Value = 75
End Sub
Private Sub Pdes_Change()
Pbr.Value = 85
End Sub
Private Sub Pn_Change()
Pbr.Value = 20
End Sub
Private Sub Sal_Change()
Eas.Enabled = True
Pbr.Value = 90
End Sub
Private Sub skills_Change()
Pbr.Value = 70
End Sub
Private Sub Submit_Click()
If Check1.Value = 1 Then
dobb = dy.Text + "-" + mn.Text + "-" + yer.Text
Set rs = conn.Execute("insert into swemp values('" & (AccId) & "','" & (Pass) & "','" & (Nme) &
"','" & (Adds) & "','" & (sx) & "','" & (dobb) & "','" & (marry) & "','" & (Bg) & "','" & (Pn) & "','"
& (Em) & "','" & (Yoe) & "','" & (Mob) & "','" & (LL) & "','" & (Gra) & "','" & (Fie) & "','" &
(Major) & "','" & (Eca1) & "','" & (Eca2) & "','" & (Aoi) & "','" & (skills) & "','" & (Pc) & "','" &
(Pdes) & "','" & (Sal) & "','" & ("0") & "','" & (Eas) & "','" & (idNo) & "')")
MsgBox "Registed Sucessfully."
empWin.lblName.Caption = Nme.Text
empWin.lblDesig.Caption = Eas.Text
empWin.lblidNo.Caption = idNo.Text
empWin.usNme.Text = AccId.Text
empWin.Show
empWin.newusr
Unload Me
Else
MsgBox "Please agree to submit your details and then continue.", vbOKOnly + vbExclamation,
"Submit not accepted"
End If
End Sub
Private Sub Timer1_Timer()
Page No: 154
Pbr.Value = Pbr.Value + 5
If Pbr.Value >= 100 Then Timer1.Enabled = False
End Sub
Private Sub UsrNme_Click()
Pbr.Value = 100
IsAvl.Enabled = True
End Sub
Private Sub Yoe_Click()
Pbr.Value = 26
End Sub
AdLog
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Cancel_Click()
Unload Me
HomeScreen.Show
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
End Sub
Private Sub Login_Click()
Set rs = conn.Execute("select * from spmsad where userid = '" & (UsName) & "'")
If rs.EOF Then
MsgBox "You are not a Administrator.", vbOKOnly + vbExclamation, " You are not a
Administrator. Login as employee or register your profile."
ElseIf Pass.Text <> rs(1) Then
MsgBox "Password is wrong!.", vbOKOnly + vbExclamation, "Re-enter Password."
Else
Page No: 155
AdWin.lblAdName.Caption = rs(0)
Unload Me
Unload HomeScreen
AdWin.Show
End If
End Sub
AdWin
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim empNmSel As String
Private Sub assSal_Click()
If assSalAmt.Text = "" Then
MsgBox "Enter a salary amount and then continue", vbExclamation, "Note"
Else
Set rs = conn.Execute("update swemp set salary = ('" & (assSalAmt) & "') where accid = ('" &
(empNmSel) & "')")
lblAss.Visible = False
assSalAmt.Visible = False
assSal.Visible = False
assSalAmt.Text = ""
MsgBox "Salary is assigned"
End If
Page No: 156
End Sub
Private Sub empNameSel_Click()
empNmSel = empNameSel.Text
Set rs = conn.Execute("select name, id, salary from swemp where accid = ('" & (empNmSel) &
"')")
If rs(2) = "0" Then
lblAss.Visible = True
assSalAmt.Visible = True
assSal.Visible = True
vieSalary.Enabled = False
ElseIf rs(2) <> "0" Then
lblAss.Visible = False
assSalAmt.Visible = False
assSal.Visible = False
vieSalary.Enabled = True
End If
lblempName.Caption = rs(0)
lblidNo.Caption = rs(1)
End Sub
Private Sub empPassCng_Click()
If empNmSel = "" Then
MsgBox "Select an employee and then proceed", vbOKOnly, "Note"
Else
PassChange.lblUsr.Caption = lblAdName.Caption
PassChange.UsrName.Enabled = False
PassChange.oldPass.Enabled = False
Set rs = conn.Execute("select * from swemp where accid = ('" & (empNmSel) & "')")
PassChange.UsrName.Text = rs(0)
PassChange.oldPass.PasswordChar = ""
PassChange.oldPass.Text = rs(1)
PassChange.Show
End If
End Sub
Private Sub empProEdit_Click()
If empNameSel = "" Then
MsgBox "Select an employee"
Else
empProf.Show
empProf.adempsel
empProf.lblLogInUser.Caption = lblAdName.Caption
empProf.lblempAccId.Caption = empNmSel
empProf.lblId.Caption = lblidNo.Caption
End If
End Sub
Private Sub Exit_Click()
Unload Me
End Sub
Page No: 157
Private Sub Form_Load ()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
Set rs = conn.Execute("select * from swemp")
If rs.EOF Then
ElseIf rs.BOF Then
Else
rs.MoveFirst
Do
empNameSel.AddItem (rs(0))
rs.MoveNext
Loop Until rs.EOF
End If
Set rs = conn.Execute("select distinct evename from event")
If rs.EOF Then
ElseIf rs.BOF Then
Else
rs.MoveFirst
Do
oldEvents.AddItem (rs(0))
rs.MoveNext
Loop Until rs.EOF
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
HomeScreen.Show
End Sub
Private Sub oldEvents_Click()
Dim et As String
If oldEvents.Text = "New Event" Then
EveName.Text = ""
eventCon.Text = ""
Else
et = oldEvents.Text
Set rs = conn.Execute("select * from event where evename = ('" & (et) & "')")
EveName.Text = rs(0)
eventCon.Text = rs(1)
End If
End Sub
Private Sub Post_Click()
If EveName.Text = "" Then
MsgBox "Enter a event name"
ElseIf eventCon.Text = "" Then
MsgBox "Enter the content for the event: " + EveName, vbInformation, "Note"
Page No: 158
Else
Set rs = conn.Execute("insert into event values('" & (EveName) & "','" & (eventCon) & "','" &
(lblTime(1).Caption) & "','" & (lblTime(0).Caption) & "')")
MsgBox "Event placed on the board"
oldEvents.AddItem (EveName)
EveName.Text = ""
eventCon.Text = ""
End If
End Sub
Private Sub rmPost_Click()
If oldEvents.Text = "" Then
MsgBox "Select an event to remove"
ElseIf oldEvents.Text = "New Event" Then
MsgBox "Select an event to remove"
Else
Set rs = conn.Execute("delete from event where evename = ('" & (EveName) & "')")
oldEvents.RemoveItem (oldEvents.ListIndex)
EveName.Text = ""
eventCon.Text = ""
MsgBox "Event is removed from the board"
End If
End Sub
Private Sub Timer1_Timer()
lblTime(1).Caption = Format(Now, "dd MMM yyyy")
lblTime(0).Caption = Format(Now, "h:mm ss ampm")
End Sub
Private Sub vieAtt_Click()
attEmp.lblAdName.Caption = lblAdName.Caption
attEmp.empnm.Text = empNmSel
attEmp.lblempName.Caption = empNmSel
attEmp.Show
End Sub
Private Sub vieSalary_Click()
salProcess.empName.Caption = lblempName.Caption
salProcess.lblidnoo.Caption = lblidNo.Caption
salProcess.Show
End Sub
Page No: 159
EmpWin
Dim dy As Date
Dim sItime, sOtime, sMonth, sDay, sYr As String
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim time As String
Function newusr()
Set rs = conn.Execute("select * from swemp where accid=('" & (NwUser.AccId) & "')")
Call logon
End Function
Function logon()
If rs(24) = "HR" Then
lblSelMem.Visible = True
selMem.Visible = True
vieAtt.Visible = True
AssWork.Enabled = False
ElseIf rs(24) = "PM" Then
lblSelMem.Visible = True
AssignWork.Visible = True
selMem.Visible = True
lblAssWork.Visible = True
ElseIf rs(24) = "TL" Then
lblSelMem.Visible = True
AssignWork.Visible = True
selMem.Visible = True
lblAssWork.Visible = True
Page No: 160
Else
AssWork.Enabled = False
lblAsgWork.Visible = True
lblAssignedWork.Visible = True
End If
End Function
Function logold()
Set rs = conn.Execute("select distinct wa from workass where accid = ('" &
(HomeScreen.UserName) & "')")
If rs.EOF Then
Else
rs.MoveFirst
Do
lblAssignedWork.Caption = rs(0)
rs.MoveNext
Loop Until rs.EOF
'RmWork.Enabled = False
End If
End Function
Function oldusr()
Set rs = conn.Execute("select * from swemp where accid=('" & (HomeScreen.UserName) & "')")
Call logon
Call logold
End Function
Function logout()
sOtime = Format(Now, "hh:mm")
sDay = Format(Now, "dd")
sMonth = Format(Now, "MMM")
sYr = Format(Now, "yyyy")
Set rs = conn.Execute("insert into empatt values('" & (usNme.Text) & "','" & (lblName.Caption)
& "','" & (sDay) & "','" & (sMonth) & "','" & (sYr) & "','" & (sItime) & "','" & (sOtime) & "')")
End Function
Private Sub AssWork_Click()
If selMem = "" Then
MsgBox "Select an employee to assign work"
ElseIf AssignWork = "" Then
MsgBox "Enter work to assig."
Else
Set rs = conn.Execute("insert into workass values (('" & (selMem) & "'),('" & (AssignWork) &
"'))")
MsgBox "Assigned work for your member", vbOKOnly
End If
End Sub
Private Sub edtProf_Click()
empProf.Show
empProf.empselfedit
empProf.lblLogInUser.Caption = lblName.Caption
Page No: 161
empProf.lblempAccId.Caption = usNme.Text
empProf.lblId.Caption = lblidNo.Caption
End Sub
Private Sub events_Click()
Dim et As String
et = events.Text
Set rs = conn.Execute("select * from event where evename = ('" & (et) & "')")
If rs.EOF Then
ElseIf rs.BOF Then
Else
EveName.Caption = rs(0)
EveBody.Caption = rs(1)
EveDate.Caption = rs(2)
eveTime.Caption = rs(3)
End If
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
sItime = Format(Now, "hh:mm")
Set rs = conn.Execute("select distinct evename from event")
If rs.EOF Then
ElseIf rs.BOF Then
Else
rs.MoveFirst
Do
events.AddItem (rs(0))
rs.MoveNext
Loop Until rs.EOF
End If
Set rs = conn.Execute("select * from swemp")
If rs.EOF Then
ElseIf rs.BOF Then
Else
rs.MoveFirst
Do
selMem.AddItem (rs(0))
rs.MoveNext
Loop Until rs.EOF
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
HomeScreen.Show
End Sub
Page No: 162
Private Sub Lout_Click()
Call logout
Unload Me
HomeScreen.Show
End Sub
Private Sub PassChg_Click()
PassChange.lblUsr.Caption = lblName.Caption
PassChange.UsrName.Enabled = False
PassChange.UsrName.Text = usNme.Text
PassChange.Show
End Sub
Private Sub Timer1_Timer()
lblTime(0).Caption = Format(Now, "dd MMM yyyy")
lblTime(1).Caption = Format(Now, "h:mm ss ampm")
End Sub
Private Sub vieAtt_Click()
attEmp.lblAdName.Caption = lblName.Caption
attEmp.empnm.Text = selMem.Text
attEmp.lblempName.Caption = selMem.Text
attEmp.Show
End Sub
Page No: 163
EmpProf
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim sx As String
Dim marry As String
Function adempsel()
Set rs = conn.Execute("select * from swemp where accid = ('" & (AdWin.empNameSel) & "')")
Call userfill
End Function
Function empselfedit()
Set rs = conn.Execute("select * from swemp where accid = ('" & (empWin.usNme) & "')")
Call userfill
End Function
Function userfill()
rs.MoveFirst
Nme.Text = rs(2)
Adds.Text = rs(3)
If rs(4) = "Male" Then
optSexM(0).Value = True
sx = "Male"
Else
optSexF(1).Value = True
sx = "Female"
End If
Dob.Text = rs(5)
If rs(6) = "Yes" Then
optYes.Value = True
marry = "Yes"
Else
optNo.Value = True
marry = "No"
End If
Bg.Text = rs(7)
Pn.Text = rs(8)
Em.Text = rs(9)
Yoe.Text = rs(10)
Mob.Text = rs(11)
LL.Text = rs(12)
Gra.Text = rs(13)
Fie.Text = rs(14)
Major.Text = rs(15)
Eca1.Text = rs(16)
Eca2.Text = rs(17)
Aoi.Text = rs(18)
skills.Text = rs(19)
Page No: 164
Pc.Text = rs(20)
Pdes.Text = rs(21)
Sal.Text = rs(22)
If rs(23) = "0" Then
lblCsal.Caption = "Not yet assigned"
Else
lblCsal.Caption = rs(23)
End If
lblCdes.Caption = rs(24)
End Function
Function SaveProf()
Set rs = conn.Execute("update swemp set name = ('" & (Nme) & "'),address = ('" & (Adds) &
"'),sex = ('" & (sx) & "'),dob = ('" & (Dob) & "'),married = ('" & (marry) & "'),bg =('" & (Bg) &
"'),pno = ('" & (Pn) & "'),em =('" & (Em) & "'),yoe=('" & (Yoe) & "'),mob = ('" & (Mob) &
"'),ll=('" & (LL) & "'),gra=('" & (Gra) & "'),field=('" & (Fie) & "'),major=('" & (Major) &
"'),eca1=('" & (Eca1) & "'),eca2=('" & (Eca2) & "'),aoi=('" & (Aoi) & "'),skills=('" & (skills) &
"'),pc=('" & (Pc) & "'),des=('" & (Pdes) & "'),sal=('" & (Sal) & "')where accid = ('" &
(lblempAccId) & "')")
MsgBox "Profile is saved"
Unload Me
End Function
Private Sub Cancel_Click()
Unload Me
End Sub
Private Sub Exit_Click()
Unload Me
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
End Sub
Private Sub optNo_Click()
marry = "No"
End Sub
Private Sub optSexF_Click(Index As Integer)
sx = "Female"
End Sub
Private Sub optSexM_Click(Index As Integer)
sx = "Male"
End Sub
Private Sub optYes_Click()
marry = "Yes"
End Sub
Private Sub Sav_Click()
Call SaveProf
End Sub
Private Sub Save_Click()
Call SaveProf
Page No: 165
End Sub
AttEmp
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Combo1_Click()
Set rs = conn.Execute("select count(distinct Day) from empatt where Month = ('" & (Combo1) &
"') and userid =('" & (empnm) & "')")
Dim x As String
x = rs.Fields(0)
lblworked.Caption = Trim(x)
End Sub
Private Sub Exit_Click()
Unload Me
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from empatt", conn, adOpenDynamic, adLockOptimistic
Set rs = conn.Execute("select distinct month from empatt")
rs.MoveFirst
Do
Combo1.AddItem (rs(0))
rs.MoveNext
Loop Until rs.EOF
End Sub
Private Sub Form_Unload(Cancel As Integer)
Page No: 166
conn.Close
Unload Me
End Sub
PassChange
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOk_Click()
Set rs = conn.Execute("select pass from swemp where accid = ('" & (UsrName) & "')")
If oldPass.Text <> rs(0) Then
MsgBox "Enter a current correct password."
ElseIf newPass.Text = "" Then
MsgBox "Enter a new password to change password."
Else
Set rs = conn.Execute("update swemp set pass = ('" & (newPass) & "') where accid = ('" &
(UsrName) & "')")
MsgBox "New password has been changed", vbOKOnly + vbInformation, "Note"
Unload Me
End If
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open ("select * from swemp"), conn, adOpenDynamic, adLockOptimistic
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
End Sub
Page No: 167
SalProcess
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Da_Change()
lblDA.Caption = Val(lblPF) + Val(lblTax)
lblGA.Caption = rs(23) + Val(Da.Text) + Val(Ta.Text) + Val(lblHRA)
lblNetSal.Caption = Val(lblGA) - Val(lblDA)
End Sub
Private Sub Exit_Click()
Unload Me
End Sub
Private Sub Form_Load()
conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security
Info=False")
rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic
Set rs = conn.Execute("select * from swemp where accid = ('" & (AdWin.empNameSel) & "')")
If rs.EOF Then
ElseIf rs.BOF Then
Else
lblBp.Caption = rs(23)
lblPF.Caption = rs(23) * 0.03
lblTax.Caption = rs(23) * 0.05
lblHRA.Caption = rs(23) * 0.07
Page No: 168
lblDA.Caption = Val(lblPF) + Val(lblTax)
lblGA.Caption = rs(23) + Val(Da.Text) + Val(Ta.Text) + Val(lblHRA)
lblNetSal.Caption = Val(lblGA) - Val(lblDA)
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
conn.Close
End Sub
Private Sub Ta_Change()
lblDA.Caption = Val(lblPF) + Val(lblTax)
lblGA.Caption = rs(23) + Val(Da.Text) + Val(Ta.Text) + Val(lblHRA)
lblNetSal.Caption = Val(lblGA) - Val(lblDA)
End Sub
RESULT :
Page No: 169
Thus the Software Personnel management system has done successfully.

More Related Content

Similar to Mca pro1 online

Poject documentation deepak
Poject documentation deepakPoject documentation deepak
Poject documentation deepak
chetankane
 
Oracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSSOracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSS
Khalid Tariq
 
Mvc4 crud operations.-kemuning senja
Mvc4 crud operations.-kemuning senjaMvc4 crud operations.-kemuning senja
Mvc4 crud operations.-kemuning senja
alifha12
 
Library management system
Library management systemLibrary management system
Library management system
siddiqui241993
 
Readme
ReadmeReadme
Readme
rec2006
 
Learning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFrameworkLearning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFramework
Akhil Mittal
 
Test02
Test02Test02
Test02
testingPdf
 
Databases in Android Application
Databases in Android ApplicationDatabases in Android Application
Databases in Android Application
Mark Lester Navarro
 
Amc department managament_system
Amc department managament_systemAmc department managament_system
Amc department managament_system
RamkumarG35
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
Muhammad Wajahat Bajwa
 
ADBMS ASSIGNMENT
ADBMS ASSIGNMENTADBMS ASSIGNMENT
ADBMS ASSIGNMENT
Lori Moore
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
VERUS BRASIL
 
Django tutorial
Django tutorialDjango tutorial
Django tutorial
Ksd Che
 
Grow your own tools - VilniusRB
Grow your own tools - VilniusRBGrow your own tools - VilniusRB
Grow your own tools - VilniusRB
Remigijus Jodelis
 
E-LEARNING
E-LEARNINGE-LEARNING
E-LEARNING
Shruti Kumar
 
Ooad lab manual
Ooad lab manualOoad lab manual
Ooad lab manual
Umamurthi Umamurthi
 
My sql udf,views
My sql udf,viewsMy sql udf,views
student application form Java Netbeans
student application form Java Netbeansstudent application form Java Netbeans
student application form Java Netbeans
reshmajohney
 
IBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By Example
IBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By ExampleIBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By Example
IBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By Example
IBM Connections Developers
 
Cis 247 all i labs
Cis 247 all i labsCis 247 all i labs
Cis 247 all i labs
ccis224477
 

Similar to Mca pro1 online (20)

Poject documentation deepak
Poject documentation deepakPoject documentation deepak
Poject documentation deepak
 
Oracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSSOracle Discoverer Reports via BSS
Oracle Discoverer Reports via BSS
 
Mvc4 crud operations.-kemuning senja
Mvc4 crud operations.-kemuning senjaMvc4 crud operations.-kemuning senja
Mvc4 crud operations.-kemuning senja
 
Library management system
Library management systemLibrary management system
Library management system
 
Readme
ReadmeReadme
Readme
 
Learning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFrameworkLearning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFramework
 
Test02
Test02Test02
Test02
 
Databases in Android Application
Databases in Android ApplicationDatabases in Android Application
Databases in Android Application
 
Amc department managament_system
Amc department managament_systemAmc department managament_system
Amc department managament_system
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
ADBMS ASSIGNMENT
ADBMS ASSIGNMENTADBMS ASSIGNMENT
ADBMS ASSIGNMENT
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
 
Django tutorial
Django tutorialDjango tutorial
Django tutorial
 
Grow your own tools - VilniusRB
Grow your own tools - VilniusRBGrow your own tools - VilniusRB
Grow your own tools - VilniusRB
 
E-LEARNING
E-LEARNINGE-LEARNING
E-LEARNING
 
Ooad lab manual
Ooad lab manualOoad lab manual
Ooad lab manual
 
My sql udf,views
My sql udf,viewsMy sql udf,views
My sql udf,views
 
student application form Java Netbeans
student application form Java Netbeansstudent application form Java Netbeans
student application form Java Netbeans
 
IBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By Example
IBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By ExampleIBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By Example
IBM Connect 2014 - AD204: What's new in the IBM Domino Objects: By Example
 
Cis 247 all i labs
Cis 247 all i labsCis 247 all i labs
Cis 247 all i labs
 

More from rameshvvv

Me cse
Me cseMe cse
Me cse
rameshvvv
 
Kerala
KeralaKerala
Kerala
rameshvvv
 
It2302 information theory and codingl t p c
It2302 information theory and codingl t p cIt2302 information theory and codingl t p c
It2302 information theory and codingl t p c
rameshvvv
 
Inventory program in mca p1
Inventory program in mca p1Inventory program in mca p1
Inventory program in mca p1
rameshvvv
 
Importance of organisational behaviour
Importance of organisational behaviourImportance of organisational behaviour
Importance of organisational behaviour
rameshvvv
 
Drinks
DrinksDrinks
Drinks
rameshvvv
 
Dear consultants
Dear consultantsDear consultants
Dear consultants
rameshvvv
 
Rsa diffi-network security-itt
Rsa diffi-network security-ittRsa diffi-network security-itt
Rsa diffi-network security-itt
rameshvvv
 

More from rameshvvv (8)

Me cse
Me cseMe cse
Me cse
 
Kerala
KeralaKerala
Kerala
 
It2302 information theory and codingl t p c
It2302 information theory and codingl t p cIt2302 information theory and codingl t p c
It2302 information theory and codingl t p c
 
Inventory program in mca p1
Inventory program in mca p1Inventory program in mca p1
Inventory program in mca p1
 
Importance of organisational behaviour
Importance of organisational behaviourImportance of organisational behaviour
Importance of organisational behaviour
 
Drinks
DrinksDrinks
Drinks
 
Dear consultants
Dear consultantsDear consultants
Dear consultants
 
Rsa diffi-network security-itt
Rsa diffi-network security-ittRsa diffi-network security-itt
Rsa diffi-network security-itt
 

Recently uploaded

Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 

Recently uploaded (20)

Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 

Mca pro1 online

  • 1.
  • 2.
  • 3. Ex.No : ONLINE COURSE REGISTRATION SYSTEM Date : AIM: To create a system through which students and staff can register to the courses desired by them. 1.PROBLEM STATEMENT : The student and staff login the registration system. The student view the catalog and register the course according to them. The staff view the course catalog and select the course. The registrar maintain the staff and student details and close the registration after the registration is completed. All the in formations are updated in the database. Finally the system is build. Such that it can be used by both student and staff. 2.SOFTWARE REQUIREMENT SPECIFICATION 2.1 INTRODUCTION: There is a course registration system in which the student and staff select the course. 2.2 PURPOSE: The purpose of this course registration system is that the user can register the course according to them. 2.3 SCOPE: The system provides the course registration interface to the student and staff where they can register the course. 2.4 DEFINITIONS, ACRONYMS AND ABBREVIATION: STUDENT: One who view the course catalog and select the course. STAFF: One who submit the mark details and select the course. COURSE CATALOG:
  • 4. One who has the course list (list of course) REGISTRAR: One who maintains the student and staff details and close the registration. 2.5 REFERENCES: http://en//wikipedia.org. http://center/registartion.in 2.6 TOOLS TO BE USED: Microsoft Visual basic, Oracle 2.7 OVERVIEW: SRS includes two sections namely overall description and specification. 2.8 OVERALL DESCRIPTION 2.8.1 PRODUCT PERSPECTIVE: Course registration system act as a interface between student ,staff and registrar. 2.8.2 SOFTWARE INTERFACE: Front end client. The student ,staff and registrar interface are build using a Microsoft visual basic. Backend –Oracle database. 2.9 HARDWARE REQUIRMENTS: Page No: 1 A computer with basic features can be used to operate. 2.10 SYSTEM FUNCTIONS:
  • 5.  The student and staff logins.  The student views the course catalog and register the course  The staff submit the mark details and select the course.  The registrar maintains student details and staff details.  After registration the registrar will close the registration. 2.11 USER CHARACTERISTICS: STUDENT: View the record and select the course. STAFF: Submit the mark details and select the course. COURSE CATALOG: Contain the list of course. REGISTRAR: Maintain the student and staff details. 2.12 CONSTRAINTS: The students and staff must have basic knowledge of computer and English. 2.13 SPECIFICATION REQUIREMENTS: STUDENT:  Login  Logout  View the course catalog  Select the course. STAFF:  Login  Logout  View the course catalog
  • 6.  Select the course. REGISTRAR:  Login  Logout  Maintain student details  Maintain staff details  Close the registration. COURSE CATALOG: List of course. 2.14 SOFTWARE SYSTEM ATTRIBUTES: Reliability: System is highly reliable and must work without any defect. Availability: All these courses should be available. Page No: 2 UML DIAGRAMS
  • 7. 1. Use Cases Diagram:
  • 8. Page No: 3 2. Activity Diagram:
  • 9.
  • 10. Page No: 4 3. CLASS DIAGRAM .1 STUDENT:
  • 12. 4. INTERACTION DIAGRAM: 1. Sequence diagram: 6.1.1 Staff Page No: 6
  • 14. Page No: 7 2. COLLABORATION DIAGRAM : 1. STAFF
  • 15.
  • 16. Page No: 8 2. STUDENT
  • 17.
  • 18. Page No: 9 5. STATECHART DIAGRAM:
  • 19.
  • 20. Page No: 10 6. Logical Architecture:
  • 21.
  • 22. Page No: 11 7. COMPONENT DIAGRAM:
  • 23. 8. DEPLOYMENT DIAGRAM: Page No: 12 9. Technical service layer: Name Null?
  • 25. Page No: 13 CODING : Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub exit_Click() End End Sub Private Sub Form_Load() db.Open "course", "scott", "tiger"
  • 26. rs.Open "select *from ooad2", db, 1, 2 End Sub Private Sub registrar_Click() Form6.Show End Sub Private Sub staff_Click() Form7.Show End Sub Private Sub student_Click() Form2.Show End Sub STUDENT : LOGIN FORM
  • 28. Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim s As String Dim n As Integer Private Sub first_click() rs.MoveFirst Text1.Text = rs(0) Text2.Text = rs(1) End Sub Private Sub next_Click() rs.MoveNext If rs.EOF = True Then rs.MoveFirst End If Text1.Text = rs(0) Text2.Text = rs(1) End Sub Private Sub Form_Load() db.Open "course", "scott", "tiger" rs.Open "select *from ooad2", db, 1, 2 End Sub Private Sub signin_Click()
  • 29. rs.AddNew Text1.Text = rs(0) Text2.Text = rs(1) rs.Update If s = Text1.Text Then Form4.Show End If End Sub Private Sub signup_Click() Form3.Show End Sub Page No: 15
  • 30.
  • 31.
  • 32. LOGIN: CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub add_Click() rs.AddNew rs(0) = Text1.Text
  • 33. rs(1) = Text2.Text rs.Update MsgBox "added..." End Sub Private Sub Form_Load() db.Open "course", "scott", "tiger" rs.Open "select *from ooad2", db, 1, 2 End Sub Private Sub login_Click() Form2.Show End Sub Page No: 16 STUDENT DETAILS :
  • 34. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub clear_Click() Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = ""
  • 35. Text6.Text = "" Text7.Text = "" End Sub Private Sub Form_Load() db.Open "course", "scott", "tiger" rs.Open "select *from ooad1", db, 1, 2 Combo1.AddItem "CSE" Combo1.AddItem "IT" Page No: 17 Combo1.AddItem "ECE" End Sub Private Sub mainform_Click() Form1.Show End Sub Private Sub next_Click() rs.MoveNext If rs.EOF = True Then End If rs.MoveFirst Text1.Text = rs(0) Text2.Text = rs(1) Text3.Text = rs(2) Text4.Text = rs(3)
  • 36. Text5.Text = rs(4) Text6.Text = rs(5) Text7.Text = rs(6) End Sub Private Sub previous_Click() rs.MovePrevious If rs.BOF = True Then MsgBox "u r in the first record" Exit Sub Else Text1.Text = rs(0) Text2.Text = rs(1) Text3.Text = rs(2) Text4.Text = rs(3) Text5.Text = rs(4) Text6.Text = rs(5) Text7.Text = rs(6) End If End Sub Private Sub register_Click() rs.AddNew rs(0) = Text1.Text rs(1) = Text2.Text
  • 37. rs(2) = Text3.Text rs(3) = Text4.Text If female.Value = True Then rs(4) = female.Caption Else rs(4) = male.Caption End If rs(5) = Combo1.Text rs(6) = Text7.Text rs.Update MsgBox "registered" End Sub Page No: 18 STAFF DETAILS
  • 38. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub clear_Click() Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" End Sub
  • 39. Private Sub Form_Load() db.Open "course", "scott", "tiger" rs.Open "select *from staff1", db, 1, 2 Combo1.AddItem ("cse") Combo1.AddItem ("ece") Combo1.AddItem ("it") End Sub Private Sub mainform_Click() form1.Show End Sub Page No: 19 Private Sub next_Click() rs.MoveNext If rs.EOF = True Then End If rs.MoveFirst Text1.Text = rs(0) Text2.Text = rs(1) Text3.Text = rs(2) Text4.Text = rs(3) End Sub
  • 40. Private Sub previous_Click() rs.MoveFirst If rs.BOF = True Then MsgBox "u r in the first record" Exit Sub Else Text1.Text = rs(0) Text2.Text = rs(1) Text3.Text = rs(2) Text4.Text = rs(3) End If End Sub Private Sub submit_Click() rs.AddNew rs(0) = Text1.Text rs(1) = Text2.Text rs(2) = Text3.Text rs(3) = Text4.Text If female.Value = True Then rs(4) = female.Caption Else rs(4) = male.Caption End If
  • 41. rs(5) = Combo1.Text rs.Update MsgBox "submited" End Sub Page No: 20 REGISTRAR:
  • 42. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub closeregistration_Click() End End Sub Private Sub Form_Load() db.Open "course", "scott", "tiger" rs.Open "select *from ooad1", db, 1, 2 End Sub Private Sub staffdetails_Click() Form5.Show
  • 43. End Sub Private Sub studentdetails_Click() Form4.Show End Sub RESULT: Thus the system through which students and staff can register the course has Page No: 21 been created and successfully executed. Ex:No. STOCK MAINTENANCE SYSTEM Date AIM: To develop a project for maintaining stocks in an Enterprise.
  • 44. 1. PROBLEM STATEMENT: Stock Maintenance gives an idea about how products are maintained in a particular concern. The products that are to be purchased and the products that are to be sold are maintained here. And also gives additional details about the current stock available in the store. It is a computerized way of managing stock in an enterprise and it is also useful in all the supermarkets and shops. This project is done in an authorized way by creating Password and UserId. The Stock Maintenance in this project is understood by going through the modules that is being involved. The whole marketing process and the economic status has being improved if stock is maintained properly. 2.0 SOFTWARE REQUIREMENT SPECIFICATION 2.1 Introduction: There is a stock maintenance system, in which the customer purchases the item from the dealer. 2.2 Purpose: The purpose of this stock management system that a person purchases a stock, the database will be updated automatically and can be viewed. 2.3 Scope: The System provides an interface between the customer and the shopkeeper who is responsible for maintaining the records. Proper selling of the stocks could be done and then the billing will be done as per the purchase after when the database is done. 2.4 Definitions, Acronyms and Abbreviations: Admin: One who maintains the entire stock and is responsible for delivery and intake of the stocks. System: Once a stock is sold, the database gets automatically updated also if unwanted products are found; it is removed from the database.
  • 45. 2.5 References: http://in.wikipedia.org http://center/regstockmaintenance.in 2.6 Technologies to be used: Microsoft Visual Basic 6.0,Oracle 2.7 Overview SRS includes two sections namely overall description and specification. 2.8 Overall Description: 2.8.1 Product Perspective Stock maintenance system provides an interface between the admin and the system. 2.8.2 Software Interface: Front-end is CLIENT. The admin and user interface is built. The Backend is Page No: 22 ORACLE Database. 2.8.3 Hardware Interface: A computer with basic features can be used to operate. 2.8.4 System Functions: The customer will check for availability of the stock. The System views the required details. If available the customer purchases it. Else, new records will be added to the database about unavailability of the stock. 2.9 User Characteristics: Admin: Looks after the entire stock in the company. System: Stores all the record about the sales of the stock and about the purchase.
  • 46. 2.10 Constraints: At a time either the admin can deliver a stock or purchase a stock. 2.11 Assumption and Dependencies: The admin of the system must have knowledge of the stock maintenance. 2.12 Specific Requirements: 2.12.1 Use case Reports Admin:  Login  Logout  View the record  Select the required stock System:  Update the record  Add the new item  Delete unwanted item 2.13 Software System Attributes: Reliability: System is highly reliable and must work without any defect. Availability: All the stock must be available
  • 47. Page No: 23 UML DIAGRAMS
  • 48. 1. USE CASE DIAGRAM 2. ACTIVITY DIAGRAM: a. VIEW STOCK:
  • 51. Page No: 25 3. CLASS DIAGRAM: 3.1 VIEW STOCK:
  • 52. 3.2 DELIVERY Page No: 26 3.3 INTAKE
  • 53. 4. INTERACTION DIAGRAM 4.1 SEQUENCE DIAGRAM: 4.1.1 VIEW STOCK:
  • 54. Page No: 27 4.1.2 DELIVERY:
  • 56. Page No: 28 4.2 COLLABORATION DIAGRAM: 4.2.1 VIEW STOCK:
  • 58. Page No: 29 4.2.3 INTAKE:
  • 59. 5. STATE CHART DIAGRAM:
  • 60. Page No: 30 6. LOGICAL ARCHITECTURE:
  • 61.
  • 62. Page No: 31 7. COMPONENT DIAGRAM: 8. DEPLOYMENT DIAGRAM:
  • 63. Page No: 32 9. TECHNICAL SERVICE LAYER Name Type Product Varchar2(10) Brand Varchar2(10)
  • 64. Quantity Number(10) Example: Product Brand Quantity comp dell 30 cpu in 20 10. USER INTERFACE AND DOMAIN OBJECT LAYER: HOME
  • 65. Page No: 33 CODING: Private Sub Command1_Click()
  • 66. Form2.Show End Sub Private Sub command2_click() Form3.Show End Sub Private Sub command3_click() Form4.Show End Sub Private Sub Command4_Click() End End Sub Private Sub Form_Load() Me.WindowState = 2 End Sub STOCK:
  • 67. Page No: 34 CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() Form1.Show End Sub Private Sub command3_click()
  • 68. End End Sub Private Sub Command4_Click() Text1.Text = "" Combo1.Text = "" End Sub Private Sub Form_Load() db.Open "stock1", "scott", "tiger" rs.Open "select * from hem1", db, 1, 2 Combo1.Clear Text1.Text = "" Option1.Value = False Option2.Value = False Option3.Value = False End Sub Private Sub Option1_Click() Combo1.Clear Combo1.AddItem ("lg") Combo1.AddItem ("dell") End Sub Private Sub Option2_Click() Combo1.Clear
  • 69. Combo1.AddItem ("in") Combo1.AddItem ("hem") End Sub Private Sub Option3_Click() Combo1.Clear Combo1.AddItem ("in") Combo1.AddItem ("hem") End Sub private Sub command2_click() If Option1.Value = True Then If Combo1.Text = "lg" Then Text1.Text = Val(rs(2)) Else Text1.Text = Val(rs(2)) End If End If If Option2.Value = True Then If Combo1.Text = "in" Then Text1.Text = Val(rs(2)) Else Page No: 35 Text1.Text = Val(rs(2))
  • 70. End If End If If Option3.Value = True Then If Combo1.Text = "in" Then Text1.Text = Val(rs(2)) Else Text1.Text = Val(rs(2)) End If End If End Sub DELIVERY:
  • 71. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() Form1.Show End Sub Private Sub command2_click() If Option1.Value = True Then If Combo1.Text = "lg" Then
  • 72. Page No: 36 Text2.Text = Val(rs(2)) - Val(Text1.Text) rs(2) = Text2.Text Else Text2.Text = Val(rs(2)) - Val(Text1.Text) rs(2) = Text2.Text End If If Option2.Value = True Then If Combo1.Text = "in" Then Text2.Text = Val(rs(2)) - Val(Text1.Text) rs(2) = Text2.Text Else Text2.Text = Val(rs(2)) - Val(Text1.Text) rs(2) = Text2.Text End If If Option3.Value = True Then If Combo1.Text = "in" Then Text2.Text = Val(rs(2)) - Val(Text1.Text) rs(2) = Text2.Text Else Text2.Text = Val(rs(2)) - Val(Text1.Text) rs(2) = Text2.Text End If
  • 73. End If End If End If rs.Update MsgBox "Item delivered", vbInformation End Sub Private Sub command3_click() End End Sub Private Sub Command4_Click() Text1.Text = "" Combo1.Text = "" Option1.Value = False Option2.Value = False Option3.Value = False End Sub Private Sub Form_Load() db.Open "stock1", "scott", "tiger" rs.Open "select * from hem1", db, 1, adLockOptimistic Combo1.Clear Text1.Text = "" End Sub Private Sub Option1_Click()
  • 74. Combo1.Clear Combo1.AddItem ("lg") Combo1.AddItem ("dell") End Sub Private Sub Option2_Click() Combo1.Clear Combo1.AddItem ("in") Page No: 37 Combo1.AddItem ("hem") End Sub Private Sub Option3_Click() Combo1.Clear Combo1.AddItem ("in") Combo1.AddItem ("hem") End Sub INTAKE:
  • 75. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() Form1.Show End Sub Private Sub command2_click() rs.AddNew If Option1.Value = True Then
  • 76. rs(0) = Option1.Caption rs(1) = Combo1.Text Page No: 38 Else If Option2.Value = True Then rs(0) = Option2.Caption rs(1) = Combo1.Text Else If Option3.Value = True Then rs(0) = Option3.Caption rs(1) = Combo1.Text End If End If End If rs(2) = Text1.Text rs.Update MsgBox "item is added", vbInformation End Sub Private Sub command3_click() End End Sub Private Sub Command4_Click() Text1.Text = ""
  • 77. Combo1.Text = "" Option1.Value = False Option2.Value = False Option3.Value = False End Sub Private Sub Form_Load() db.Open "stock1", "scott", "tiger" rs.Open "select * from hem1", db, 1, 2 Combo1.Clear Text1.Text = "" End Sub Private Sub Option1_Click() Combo1.Clear Combo1.AddItem ("lg") Combo1.AddItem ("dell") End Sub Private Sub Option2_Click() Combo1.Clear Combo1.AddItem ("in") Combo1.AddItem ("hem") End Sub Private Sub Option3_Click() Combo1.Clear
  • 78. Combo1.AddItem ("in") Combo1.AddItem ("hem") End Sub Result: Thus the Stock maintenance system has done successfully. Page No: 39 Ex.No.: ONLINE EXAM REGISTRATION SYSTEM Date : AIM : To create a system through which student can register the exam through online. PROBLEM STATEMENT: Exam registration system is an online exam registration.The student should provide his/her name,type of exam,DOB and other necessary details.Based on the type of examination the exam
  • 79. fee is collected.The fee can be paid via credit/debit card only.The report generator will generate their exam number with their details.The student will take Printout. SOFTWARE REQUIREMENT SPECIFICATION 2.1 INTRODUCTION : Exam registration is an online exam registration for certain exam.It is an interface between the student and exam authority. 2.2 PURPOSE If the exam registration is done in person .then student has to wait in queue to submit the form and pay money.By using online exam registration system student can register from home itself. 2.3 SCOPE The system provides on online interface to the student where they can fill the form and submit it. And pay the fee based on type of exam.Cashier will collect the fee.Reporter will generate an exam number to the student and student should Take the printout. 2.4 DEFINITIONS,ACRONYMS AND ABBREVIATION STUDENT: select the type of exam and enter their details.based on the type of exam he/she will pay the fees. CASHIER: Collect the fee from the student. REPORTER: Generate the exam number to the student. 2.5 REFERENCES : http://annauniv.edu/registration.in 2.6 TOOLS TO BE USED Microsoft visual basic ,Oracle 2.7 OVERVIEW SRS includes two sections overall description, specification
  • 80. 2.8 OVERALL DESCRIPTION 2.8.1 PRODUCT PERSPECTIVE : The Exam registration system act as an interface between student and exam authority. This system tries to make the interface as simple as follow. 2.8.2 SOFTWARE INTERFACE : FRONT END : client BACK END :vb oracle 2.8.3 HARDWARE INTERFACE: The server and client are directly connected. 2.8.4 SYSTEM FUNCTIONS : Page No: 40  student select the type of exam .  student register for his/her exam.  Pay the fee via credit/debit card.  Cashier collect the fee.  Reporter will generate the exam number and date for student. 2.8.5 USER CHARACTERISTICS : STUDENT: Select the type of exam and enter their details and pay the fee CASHIER: Collect the fee from the student. REPORTER: Generate report to the student. 2.8.6 CONSTRAINTS : The student should pay the fee via credit/debit card only.
  • 81. 2.9 SPECIFICATION REQUIREMENT STUDENT: Select the type of exam.  Enter their details.  Pay the fee. CASHIER:  Collect the fee. REPORTER:  Generate the report 2.10 SOFTWARE SYSTEM ATTRIBUTES : RELIABILITY: System is highly reliable and must work without any defect. AVAILABILITY: Type of exam should be available.
  • 82. Page No: 41 UML DIAGRAMS 1. USE CASE DIAGRAM:
  • 85.
  • 86. Page No: 43 3. CLASS DIAGRAM: 4. INTERACTION DIAGRAM:
  • 87. 4.1 COLLABORATION DIAGR Page No: 44 4.2 SEQUENCE DIAGRAM:
  • 88.
  • 89. Page No: 45 5. STATE CHART DIAGRAM: 6. LOGICAL ARCHITECTURE:
  • 90. Page No: 46 7. COMPONENT DIAGRAM:
  • 92. Page No: 47 9. TECHNICAL SERVICE LAYER : 1. SQL> desc gate1; Name Null? Type ----------------------------------------- -------- -------------
  • 93. NAME VARCHAR2(10) DOB NUMBER(15) CITY VARCHAR2(5) PINCODE NUMBER(7) EMAILID VARCHAR2(16) 2. SQL> desc tnpsc; Name Null? Type ----------------------------------------- -------- --------------- NAME VARCHAR2(6) AGE NUMBER(7) CASTE VARCHAR2(8) QUALIFICATION VARCHAR2(9) ADDRESS VARCHAR2(8) MAILID VARCHAR2(10) 3. SQL> desc bank; Name Null? Type ----------------------------------------- -------- ---------------
  • 94. BANK VARCHAR2(9) CARD NUMBER(6) 4. SQL> desc repo; Name Null? Type ----------------------------------------- -------- --------------- NAME VARCHAR2(12) ID NUMBER(7) EXAM VARCHAR2(7) Page No: 48 10. USER INTERFACE AND DOMAIN OBJECT LAYER: FORM 1:
  • 95. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() Form2.Show End Sub Private Sub Command2_Click() End End Sub
  • 97. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub CAT_Click() Form3.Show End Sub Private Sub Form_Load() db.Open "exam", "scott", "tiger" rs.Open "select *from gate1", db, 1, 2 End Sub Private Sub GATE_Click()
  • 98. Form3.Show End Sub Private Sub TNPSC_Click() Form5.Show End Sub Page No: 50 FORM 3:
  • 99. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub BACK_Click() Form1.Show End Sub Private Sub CLEAR_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Text4.Text = " "
  • 100. Text5.Text = " " End Sub Private Sub Form_Load() db.Open "exam", "scott", "tiger" rs.Open "select *from gate1", db, 1, 2 End Sub Private Sub PAYFEE_Click() Form4.Show End Sub Private Sub REGISTER_Click() rs.AddNew rs(0) = Text1.Text rs(1) = Text2.Text rs(2) = Text3.Text Page No: 51 rs(3) = Text4.Text rs(4) = Text5.Text rs.Update MsgBox "registered" Form6.Show End Sub FORM 4:
  • 101. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub BACK_Click() Form1.Show End Sub Private Sub Form_Load() db.Open "exam", "scott", "tiger" rs.Open "select *from bank", db, 1, 2 Combo1.AddItem ("HDFC") Combo1.AddItem ("ICICI")
  • 102. Combo1.AddItem ("SBI") Combo1.AddItem ("IOB") End Sub Private Sub PAY_Click() rs.AddNew rs(0) = Combo1.Text rs(1) = Text1.Text rs.Update Page No: 52 MsgBox "FEES PAID" End Sub FORM 5:
  • 103. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub BACK_Click() Form1.Show End Sub Private Sub CLEAR_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Text4.Text = " " Text5.Text = " "
  • 104. End Sub Private Sub Form_Load() db.Open "exam", "scott", "tiger" rs.Open "select *from tnpsc", db, 1, 2 Combo1.AddItem ("OC") Combo1.AddItem ("BC") Combo1.AddItem ("MBC") Combo1.AddItem ("SC/ST") 'Combo1.AddItem ("ST") End Sub Private Sub PAYFEE_Click() Form4.Show Page No: 53 End Sub Private Sub REGISTER_Click() rs.AddNew rs(0) = Text1.Text rs(1) = Text2.Text rs(2) = Combo1.Text rs(3) = Text3.Text rs(4) = Text4.Text rs(5) = Text5.Text rs.Update
  • 105. MsgBox "registered" Form6.Show End Sub FORM 6: CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Form_Load() db.Open "exam", "scott", "tiger" rs.Open "select *from repo", db, 1, 2
  • 106. End Sub Private Sub GENERATEREPORT_Click() DataReport1.Show End Sub Result: Page No: 54 Thus the online Exam Registration has done successfully. Ex No: BOOK BANK Date: AIM: To develop a project for a Book Bank system and identify the usecase and draw UML diagrams. PROBLEM STATEMENT: The Book Bank is a place where there is a huge collection of books which are available for students on the semester basis. The Book Bank system must have options for new membership. It should contain options for renewing the membership.It contains options for an amount of fees to be refunded. The member can access the Book Bank using the given reference number. A particular book can be searched by its Book name or version or if the sssauthor name is known. SOFTWARE REQUIREMENT SPECIFICATION: 2.1 INTRODUCTION:
  • 107. Book Bank is an interface between the user and the manager responsible for issue of books 2.2 PURPOSE: If a person who is already a member wants a book he can login with his member ID and request for the particular books,tshen he can come and get books. 2.3 SCOPE:  The system provides online interface to the number where he can select the necessary books.  The member register with Book Bank and receives the membership ID  With the ID he/she can know about what books are to be taken. 2.4 DEFINITIONS,ACRONYMS & ABBREVIATIONS: MANAGER: one who supervises the member request and the queries. MEMBER: Refers to the student who has joined the Book Bank. HTTP: Hypertext Transfer Protocol 2.5 REFERENCE: http://en.wikipedia.org http://annabookbank/registration.in 2.6 TOOLS TO BE USED: Visual Basic 6.0 and Oracle 2.7. OVERVIEW: SRS include two sections Overall descriptions and Specification 2.8 OVERALL DESCRIPTION: 2.8.1 PRODUCT PERSPECTIVE: Book Bank system acts an interface between user and manager. The interface is made easier but at the same time does not risk the data of the member to be revealed to other.
  • 108. 2.8.2 SOFTWARE INTERFACE: Front end client:the member and manger interface are built using VB and Oracle Back end: Oracle 2.8.3 HARDWARE REQUIREMENT: A computer with basic feature can be used to operate. 2.8.4 SYSTEM FUNCTION: Page No: 55  Members gets registered with the Book Bank.  Specify the books the member want.  Can pay via debit/credit card.  Can check if the book is available or not. 2.8.5 USER CHARACTERISTICS: MEMBER: They are the people who wants to take the book from the Book Bank. MANAGER: He is the person who examines the member request and reply to the member. He can approve the member to take the books. 2.8.6 CONSTRAINTS: Member requires computer to submit his/her request to the books. 2.9 SPECIFICATION REQUIREMENTS: MEMBER:  Login  Logout  Register with Book Bank  Know what book is available  Provide feedback  Appoint date to get books  Request for extra books
  • 109. MANAGER:  Login  Logout  Specify data to collect books  Monitor queries of members  Specify data to uncollected books 2.10 SUPPLEMENTARY REQUIREMENTS: 24*7 Availability Instant reply from manager via mail and sms. 2.11 SOFTWARE SYSTEM ATTRIBUTES: Reliability: System is highly reliable and must work without any defect. Availability: The Book Bank must be available at any time.
  • 110. Page No: 56 UML DIAGRAMS 1. USECASE DIAGRAM:
  • 112. 2. ACTIVITY DIAGRAM: 2.1 New Member: 2.2 Book Issue:
  • 113. Page No: 58 2.3 Return Books
  • 115. Page No: 59 4. INTERACTION DIAGRAM: 4.1 SEQUENCE DIAGRAM:
  • 116.
  • 117. Page No: 60 4.2 COLLABORATION DIAGRAM: 5. STATE CHART DIAGRAM: Page No: 61
  • 119.
  • 120. 7. COMPONENT DIAGRAM: 8. DEPLOYMENT DIAGRAM:
  • 121. Page No: 63 9. TECHNICAL SERVICE LAYER: SQL> select * from bb;
  • 122. NAME COLLEGE DEPT PHONENO ID ---------- ---------------- ---------- --------------- ---------- Parthi NPSB cse 933338377 100 Hyder NPSB cse 933338378 101 Gajpat NPSB cse 933338379 102 Felix NPSB cse 933338347 103 Dines NPSB cse 933338343 104 Anand NPSB cse 933338332 105 Karthi NPSB cse 933338372 106 7 rows selected. SQL> select * from ba; BOOKNAME PUBLICATION EDITION ------------------ -------------------- ------------- OOAD Technical 3 PCD Technical 4 10. USER INTERFACE AND DOMAIN OBJECT LAYER
  • 123. FORM DESIGN: Page No: 64 CODING: Form1: Existing Member: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim s As Integer Private Sub Command1_Click() Form2.Show Form1.Hide
  • 124. End Sub Private Sub Command2_Click() s = InputBox("Enter the member id") rs.MoveFirst Do If rs(4) = Val(s) Then Form4.Show Exit Sub Else rs.MoveNext End If Loop While Not rs.EOF MsgBox "Account not found" Wend End Sub Private Sub Command3_Click() End End Sub Private Sub Form_Load() db.Open "hyd", "scott", "tiger" rs.Open "select * from bb", db, 1, 2 End Sub
  • 126. New Member: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim a As Integer Private Sub Command1_Click() rs.AddNew rs(0) = Text1.Text rs(1) = Text2.Text rs(2) = Text3.Text rs(3) = Text5.Text rs(4) = Val(a) rs.Update Form6.Text1.Text = Val(a) Page No: 66 a = a + 1 Form6.Show Form2.Hide End Sub
  • 127. Private Sub Form_Load() a = 100 db.Open "hyd", "scott", "tiger" rs.Open "select * from bb", db, 1, 2 End Sub Form 3: Book Issue: Dim db1 As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() rs.AddNew rs(0) = Text1.Text rs(1) = Text2.Text
  • 128. rs(2) = Text3.Text rs.Update MsgBox "BOOK is ISSUED" End Sub Private Sub Command2_Click() Form1.Show End Sub Private Sub Form_Load() db1.Open "dbase", "scott", "tiger" rs.Open "select * from ba", db1, 1, 2 End Sub Page No: 67 RESULT: Thus the project for a Book Bank system is done successfully EX.NO. ONLINE RAILWAY RESERVATION SYSTEM DATE: AIM: To develop a project for a Online Railway Reservation system and identify the usecase and draW UML diagrams. PROBLEM DFINITION:
  • 129. To design a system to reserve railway tickets online. To provide user with the ability to book and cancel railway ticket online and provide the user with the facility to check their PNR status. Ticket reservation details are stored in database can be retrieved at any time. This provides user to check the availability of tickets from their home. SOFTWARE REQUIREMENT SPECIFICATION: 2.1 Introduction: It is the requirement between the traveler and ticket issue on lie. 2.2 Purpose: The traveler can book the tickets for any number of members online and pay the money. 2.3 Scope:  The system provides an online interface to the traveler where he can select the necessary amounts of tickets.  The traveler can register the number of ticket and get the PNR no.  With the PNR no he/she can know whether tickets are confirmed. 2.4 Definition acronyms and abbreviation: Traveler or who books or cancel the tickets. Register Database: one who update the database Booking clerk: One who which gives the PNR no and books Html: Hypertext markup language HTTP: Hypertext transfer protocol 2.5 Reference: http://en_wikipedia.org http://w3schools.in 2.6 Tools to be used: VB Oracle 2.7 Overview: SRS include two sections, overall description and specification.
  • 130. 2.7.1 Overall description: 2.7.1.1 Product description: Online railway reservation act as a interface between traveler and the interface is made easier but at the same time does not risk the data of the traveler to be revealed to other. 2.7.1.2 Software Interface: Front end VB Backend oracle is used. 2.7.1.3 Hardware Requirement: A computer with basics feature can be used to operate. 2..7.1.4 System Function:  Traveler can register on online  Specify the designation name.  Can pay for online using credit or debit card.  Can check the status of the ticket using the PNR no. 2.7.1.5 User Characteristics:  Traveler: They are the people who want to book the ticket. Page No: 68  Booking Clerk: He is the person who exami  nes Travelers request and reply to user. He can approve or request the ticket claimed. 2.7.1.6 Constraints: Traveler requires a computer to submit his/her request for a ticket 2.7.2Specification Requirement: Traveler:  Check Availability  Check Status  Check Ticket  Book Tickets Booking Clerk:
  • 131.  Issue ticket by providing the ticket number and PNR number  Specify the number of trains available 2.8 Supplementary Requirement: 24 * 7Availability. Instant reply from manager: mail message and Sms. 2.9 Software System Attributes: Reliability: System is highly reliable and must work without any defect. Availability: The Booking clerk must be available at any time
  • 134. Page No: 70 2.ACTIVITY DIAGRAMS 2.1 Train Availability
  • 135.
  • 138. Page No: 72 4.INTERACTION DIAGRAM 4.1.0.SEQUENCE DIAGRAM 4. 1.1 Train Availability
  • 141.
  • 142. Page No: 74 5.COLLABORATION DIAGRAM 5.1Train Availability
  • 149. Page No: 78 1. TECHNICAL SERVICE LAYER SQL> desc sd; Name Null? ----------------------------------------- -------- ----------- SRC VARCHAR2(7) DOJ DATE
  • 150. NAME VARCHAR2(7) AGE NUMBER(4) GEN VARCHAR2(4) CARD_NUM NUMBER(4) PNRG NUMBER(8) DEST VARCHAR2(7) SEAT NUMBER(3) 2. USER INTERFACE AND DOMAIN OBJECT LAYER HOME.FRM
  • 151. Page No: 79 CODING: Private Sub AVAIL_Click() HOME.Hide F1.Show End Sub Private Sub EXIT_Click()
  • 152. HOME.Hide End Sub Private Sub PNR_Click() HOME.Hide PNRS.Show End Sub Private Sub CANCEL_Click() CC.Show End Sub F1.FRM
  • 153. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() F1.Hide rs.AddNew Page No: 80 rs(0) = Text1.Text rs(7) = Text2.Text rs(1) = Text3.Text rs.Update Text1.Text = "" Text2.Text = "" Text3.Text = "" F2.Show End Sub Private Sub Form_Load() db.Open "rlwy", "scott", "tiger" rs.Open "select * from sd", db, 1, adLockOptimistic End Sub F2.FRM
  • 154. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim a As Integer Dim b As Integer Dim s1 As Integer Dim s2 As Integer Private Sub Command1_Click() F3.Show End Sub
  • 155. Private Sub book_Click() Page No: 81 If Option1.Value = True Then Text1.Text = Val(Text1.Text) - 1 a = Val(Text1.Text) Else: Text1.Text = Val(Text1.Text) - 1 b = Val(Text1.Text) End If If Option1.Value = True Then F3.Text2.Text = 160 Else: F3.Text2.Text = 180 End If F2.Hide F3.Show End Sub Private Sub Command2_Click() HOME.Show End Sub Private Sub Option1_Click() Text1.Text = s1 End Sub Private Sub Option2_Click()
  • 156. Text1.Text = s2 End Sub Private Sub Form_Load() s1 = 100 s2 = 150 db.Open "rlwy", "scott", "tiger" rs.Open "select * from sd", db, 1, adLockOptimistic End Sub
  • 158. CODING: Dim db As New ADODB.Connection Dim rs As New ADODB.Recordset Dim pn As Long Dim seat As Integer Private Sub Command1_Click() rs.AddNew seat = 14 pn = 4398451
  • 159. If Text1.Text < 16 Then MsgBox "invalid card number" End If rs(4) = Combo1.Text rs(6) = Val(pn) rs(2) = Text3.Text rs(3) = Val(Text5.Text) rs.Update Text3.Text = "" Text5.Text = "" Text1.Text = "" F4.Text1.Text = rs(6) F4.Text2.Text = rs(2) Page No: 83 F4.Text3.Text = rs(4) F4.Text4.Text = "s1" F4.Text5.Text = seat + 1 rs.Update F4.Show End Sub Private Sub F3_Click() HOME.Show
  • 160. End Sub Private Sub Form_Load() Combo1.Clear Combo1.AddItem ("M") Combo1.AddItem ("F") db.Open "rlwy", "scott", "tiger" rs.Open "select * from sd", db, 1, adLockOptimistic End Sub F4.FRM CODING:
  • 161. Private Sub F4_Click() HOME.Show End Sub Page No: 84 CC.FRM
  • 162. CODING: Private Sub Command1_Click() F2.Text1.Text = Val(Text1.Text) MsgBox "TICKET CANCELLED" End Sub Private Sub Command2_Click() HOME.Show CC.Hide End Sub
  • 164. CODING: Private Sub Command1_Click() MsgBox " Ticket Confirmed !! " End Sub Private Sub Command2_Click() HOME.Show PNRS.Hide End Sub
  • 165. RESULT: Page No: 86 Thus the project for a Online Railway Reservation system is done successfully Ex.no: FOREIGN TRADING SYSTEM Date: AIM: To create a system through which the user can import and export the items. PROBLEM STATEMENT: The user logs in to the system for trading the items. First the user see the country’s details to import and export items. The user can add the exported items, delete items and search the item and update the database. SOFTWARE REQUIREMENT SPECIFICATION: 2.1INTRODUCTION: There is a trading system in which the users import/export the items. 2.1.1 PURPOSE:
  • 166. The user can either import/export the items. 2.1.2 SCOPE: The system provides a foreign trading interface to the user where they can import/export the items. 2.1.3 DEFINITIONS, ACRONYMS AND ABBREVIATIONS: USER: One who view the country details and import/export the items. 2.1.4 REFERENCES: Http://en.wikipedia.org Http://trading.in 2.1.5 TECHNOLOGIES AND TOOLS TO BE USED: Microsoft visual basic and oracle. 2.1.6 OVERVIEW: SRS includes two sections namely overall description and specification. 2.2.OVERALL DESCRIPTION: 2.2.1 PRODUCT PERSPECTIVE: Foreign trading system acts as an interface to the user. Page No: 87 2.2.2 SOFTWARE INTERFACE: Front end client- Microsoft-VB back end client-oracle. 2.2.3 HARDWARE REQUIREMENTS: A computer with basic features can be used to operate. 2.2.4 SYSTEM FUNCTIONS:
  • 167. o The user logins o The user views the country details o The user import/export the items. 2.2.5 USER CHARACTERISTICS: USER: Views the country details and import/export the items. 2.2.6 CONSTRAINTS: The user should either import or export the items. 2.2.7 ASSUMPTION AND DEPENDENCIES: The user should know the information about the trading. 2.3SPECIFICATION REQUIERMENT: USER:  Login  Logout  View the country details  Import/export the items 2.3.1 SOFTWARE SYSTEM ARCHITECTURE: RELIABILITY: System is high reliable and must work without any defect. AVAILABILITY All the import/export details should be available.
  • 168. Page No: 88 UML DIAGRAMS 1.USECASE DIAGRAM:
  • 169. Page No: 89 2. ACTIVITY DIAGRAM:
  • 171. 3. CLASS DIAGRAM: 4. INTERACTION DIAGRAM 4.1 SEQUENCE DIAGRAM: LOGIN SCENARIO
  • 172. Page No: 91 4.2 ADD ITEM SCENARIO
  • 173.
  • 174. Page No: 92 4.3 DELETE ITEM SCENARIO:
  • 175. Page No: 93 4.4 SEARCH ITEM SCENARIO
  • 177. 5.COLLABRATION DIAGRAM: 5.1 LOGIN SCENARIO 5.2 ADDITEM SCENARIO
  • 178. Page No: 95 5.3 DELETE ITEM SCENARIO 5.4 SEARCH ITEM SCENARIO Page No: 96
  • 182.
  • 183. 8. COMPONENT DIAGRAM: 9.. DEPLOYMENT DIAGRAM: Page No: 99
  • 186.
  • 187. RESULT: Page No: 101 Thus the foreign trading system has done successfully. Ex.no: PASSPORT AUTOMATION SYSTEM Date: AIM: To develop a project for a passport automation system and identify the use case diagrams. 1. 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 resources , time in a cogent manner. The core of the system is to get the online registration form(With details such as name , address, etc). Filled by the applicant whose testament is verified for its genuineness by the passport automation system with respect to the already existing information in the database. This forms the first and the foremost step in the processing of the passport application. The application is then processed manually based on the report given by the system and any forfeiting identified can make the applicant liable to penalty as per the law. The system forwards the necessary details to the police for its separate verification whose report is then presented to the administrator. The administrator will be provided with an option to display the current status of application to the applicant, which they can view in their online interface. After all the necessary criteria has been met , the original information is added to the database and the passport is sent to the applicant.
  • 188. 2. SOFTWARE REQUIREMENT SPECIFICATION: Description: 2.1 INTRODUCTION: Passport automation system is an interface between the applicant and the authority responsible for the issue of passport. It aims at proving the efficiency in the issue of passport and reduce the complexities involved in it to the maximum possible extent. 2.1.1 PURPOSE: If the entire process of “ Issue of passport “ is done in a manual manner then it would take several months for the passport to reach the applicant. 2.1.2 SCOPE:  The system provides an online interface to the user where they can fill in their personal details and submit the necessary documents.  Provide a communication platform between the applicant and the administrator.  User / Applicants will come to know their status of application and the date in which they must subject themselves for manual document verification. 2.1.3 DEFINITIONS,ACRONYMS AND ABBREVIATIONS:  ADMINISTRATOR - Refer to the super user who is the central authority who has been vested with the privilege to manage the entire system. It can be any higher official in the regional passport office of ministry of external affairs.  APPLICANTS – One who wishes to obtain the passport.  PAS – Refers to this passport automation system.
  • 189. Page No: 102 2.1.4 REFERENCE: IEEE software requirement specification format. 2.1.5 TOOLS TO BE USED: VB , ORACLE ,RATIONAL ROSE. 2.1.6 OVERVIEW: SRS includes two sections overall description and specific requirements – overall description will describe major roll of the system components and interconnections. Specific requirements will describe rolls and functions of the actors. 2.2 OVERALL DESCRIPTION 2.2.1 PRODUCT PERSPECTIVE The PAS act as an interface between the ‘ applicant’ and the ‘administrator’. This system tries to make the interface as simple as possible and at the same time not risking the security of data stored in. This minimize the time duration in which the user receives the passport . 2. 2.2 SOFTWARE INTERFACE:
  • 190.  FRONT END CLIENT – The applicant and the administrator online interface is built using visual basic.  BACK END – Oracle database 2. 2.3 HARDWARE REQUIREMENT: A computers with basic features can be used to operate. 2. 2.4 SYSTEM FUNCTION:  Secure registration of information by the applicants.  Schedule the applicants an appointment for manual verification of original documents  Panel for passport application status display by the administrator  SMS and MAIL updates to the applicants by the administrator  Administrator can generate reports from the information and is the only authorized personnel to add the eligible application information to the database. 2.2.5 USER CHARACTERISTICS:  APPLICANT – They are the people who desires to obtain the passport and submit the information to the database.  ADMINISTRATOR – He has the certain privileges to add the passport status and to approve the issue of passport. He may contain a group of persons under him to verify the documents and give suggestions whether or not to approve the dispatch of passport.  POLICE – He is the person who upon receiving intimation from the PAS,perform a personal verification of the applicant and see if he has any criminal case against him before or at present.He has been vetoed with the power to decline an application by suggesting it to the administrator if he finds any discrepancy with the applicant .He communicates via this PAS. Page No: 103 
  • 191. 2.2.6 CONSTRAINTS  The applicant require a computer to submit their information.  Although the security is given high importance ,there is always a chance of intrusion in the web world which requires constant monitoring.  The user has to be careful while submitting the information.Much care is required. 2.2.7 ASSUMPTIONS AND DEPENDENCIES  The Applicants and Administrator must have basic knowledge of computers and English Language.  The applicants may be required to scan the documents and send.
  • 192.
  • 193. Page No:104 1.USE CASE DIAGRAM 2.ACTIVITY DIAGRAM 2.1 New Registration
  • 196. Page No: 106 3. CLASS DIAGRAM 4. INTERACTION DIAGRAM 1. SEQUENCE DIAGRAM NEW REGISTRATION
  • 197. Page No: 107 4.2 CHECK STATUS
  • 198. 4.3 ADMIN PANEL Page No: 108 5.COLLABORATION DIAGRAM: NEW REGISTRATION
  • 204. Page No: 112 9. USER INTERFACE LAYER
  • 206.
  • 207. RESULT: Thus, the Passport automation system has done successfully. Page No: 114 Ex.no: Date: RECRUIMENT SYSTEM AIM: To create a system through which the candidates get recruited based on certain criterias. 1.PROBLEM STATEMENT: The recruitment system collects the details of the candidates under going recruitment process and checks whether they satisfy eligibility criteria. The system then matches the best job for the candidate is being employed for any of the best job suggested by the system after interview. 2.SOFTWARE REQUIREMENT SPECIFICATION: 2.1 INTRODUCTION: 2.1.1 PURPOSE: The purpose of the project is to simplify the process of recruiting employee in any organization 2.1.2 SCOPE OF THE PROJECT:
  • 208. To make the process of recruitment. 2.1.3 DOCUMENT CONVERSATION: To keep the candidate details and performance in the recruitment process. 2.1.4 REFERENCES: http://en//wikipedia.org. http://recruitment//wikipedia.in 2.1.5CONSTRAINTS: Exiting recruitment system are been manually formulated and it is a time consuming task. 2.2 OVERALL DESCRIPTION: 2.2.1 PRODUCT PERSPECTIVES:  Organizing recruitment training for the fresh candidates and categorizing them.  Checking eligibility and matching jobs. 2.2.2 USER INTERFACE: Visual studio6.0 under windows platform connected with oracle database. 2.2.3 HARDWARE INTERFACE: LAN connection for usage in an internal network. 2.2.4 SOFWARE INTERFACE: Provider: MSDA 1 for connecting oracle database. 2.2.5 PRODUCT FEATURES:  Easily categorizing the candidates based on their qualification.  Maintain all details about fresh candidates.
  • 209. 2.2.6 USER CLASSES AND CHARACTERISTICS: Various users are the fresh candidates entering into recruitment process administrator and human resource manager. 2.2.7 DESIGN AND IMPLEMENTAION OF CONSTRAINTS:  Each candidate details must to be maintained separately.  HRM can take control over fresh candidates. 2.2.8 ASSUMPTION AND DEPENDENCIES: No such assumption and dependencies thus each candidate to processed separately Page No: 115 1.USECASE DIAGRAM:
  • 210.
  • 212. Page No: 117 3.CLASS DIAGRAM:
  • 213.
  • 217.
  • 218. Page No: 120 6.STATE CHART DIAGRAM:
  • 219.
  • 220. Page No: 121 7.LOGICAL ARCHITECTURE:
  • 225.
  • 227.
  • 228. RESULT: Page No: 126 Thus, the recruitment system is done successfully. Ex.NO: E-BOOK MANAGEMENT Date: AIM To create a system through which a user can get the book online. 1. PROBLEM DEFINITION E-book management system is one of the widely used system in day today life. This system is mostly used in the bookstores. The system has a main page with user login. Create a new user, browse books page. Every new user has to sign up before using the system. In the signup page the user has specification his address for delivery of books and also he has to get for any one membership scheme and it stored in database. The browser by book page enables user to find books by its category. Customer and any other purchase orders all to above information are stored in the database. Finally, the payment is made through credit card by receiving the credit card number form user. 2. SOFTWARE REQUIREMENT SPECIFICATION (SRS) 2.1.0 INRODUCTION It is the requirement between customer and E-book requirement. 2.1.1 PURPOSE
  • 229. If a person who is already a member wants to buy a book, he can login with his ID and buy the books online. A new user has to be signup and then login to buy books. 2.1.2 SCOPE The system provides an online interface where the user can select the desired book. The user has to login with the E-book store else he has to signup with to required login id he can browse for the book. 2.1.3 DEFINITION, ACRONYMS AND ABBREVIATIONS Customer - also refers to user who register with the book-store. Employee- member of book store. Admin- who manages the DB. HTTP- Hyper Text Transfer Protocol 2.1.4 REFERENCE http://en.wikipedia.org. http://annabookstore/register.in. 2.1.5 TOOLS TO BE USED Microsoft visual basic, oracle. 2.1.6 OVERVIEW SRS includes two sections overall description and specification. 2.2.0 OVERALL DESCRIPTION
  • 230. 2.2.1 PRODUCT PERSPECTIVE E-book management system act as an interface between the user and management. The interface is made easier but at some time, doesn’t risk the data if the member is to be revolved to other. 2.2.2 SOFTWARE INTERFACE Page No: 127 The front end user and management interface are built using VB and Oracle. Back end: Oracle Front end: VB 2.2.3 HARDWARE REQUIREMENT A computer with basic feature can be used to operate. 2.2.4 SYTEM FUNCTION User gets registration with basic state.  Specify the membership.  Can pay via debit or credit card.  Can browse for books and its availability. 2.2.5 USER CHARACTERISTICS Customer: They are the people who want to buy book from book store. Employee: Work under the state managing the catalog, customer, request and to purchase order. 2.2.6 CONSTRAINTS  Member request a computer to submit his/her desired book.
  • 231. 2.3 SPECIFICATION REQUIREMENT Member: login Logout  Register with book store.  Browse for desired books.  Provide necessary feedback. EMPLOYEE  Manages the item catalog.  Manages customer.  Create purchased order.  Update database. 2.3.1 SUPPLEMENTARY REQUIREMENTS  24*7 availability.  Instant reply from employee on availability book. 2.3.2SOFTWARE SYSTEM ATTRIBUTES Reliability: system is light reliable and must move without default. Availability: The book store.
  • 232. Page No: 128 1. USECASE DIAGRAM:
  • 233.
  • 234. Page No: 129 2.ACTIVITY DIAGRAM: CUSTOMER:
  • 237. Page No: 131 4INTERACTION DIAGRAM: 4.1 COLLABARATION DIAGRAM:
  • 239.
  • 241. Page No: 133 6. STATE CHART DIAGRAM:
  • 246. 9. DEPLOYMENT DIAGRAM: Page No: 136 10.USER INTERFACE LAYER
  • 248.
  • 251. Page No: 139 Thus the E-Book management system has done successfully. Ex.No.: SOFTWARE PERSONAL MANAGEMENT SYSTEM Date : AIM: To create a system through which the software professional management can be managed. 1. PROBLEM DEFINITION: Software professional management system is few people who want to better organize. Their employers information and assigned there resources. It will be useful for them to feel that it can achieve more and to better manage their task. Various software professional who can utilize this system are resources managers, contract managers, directors, project manager, team leader and administration. 2. SOFTWARE REQUIERMENT SPECIFICATION: 1. INTRODUCTION: 2.1.1 PURPOSE: The purpose of this project is for ease maintenance of software professional in an IT and ITES organization. 2. SCOPE OF PROJECT: To make a proper communication between employees and to maintain the security of company resources. 2. DOCUMENT CONVENTIONS: To maintain the privilege and hierarchy of the employee in the company.
  • 252. 2.1.4 REFERENCES: Existing personal management system personal information management system salary processing system and integrating module systems. 2. OVERALL DESCRIPTION: 1. PRODUCT PERSPECTIVE:  Organizing employee’s employer’s information and attendance.  Managing events scheduled and project workflow.  Tracking employer’s task and completion of project.  Making decisions for any new project. 1. PRODUCT FEATURES:  Work assignment and reassignment.  Attendance maintenance and absence balancing.  Salary processing according to attendance.  Managing of teams.  Feature notices. 3. USER CLASSES AND CHARACTERISTICS: Various users present are project manager, human resource manager, team leader administrator. The other sub category of programmer, analyst, tester system. 4. DESIGN AND IMPLEMENTATION CONSTRAINT: Each user should have separate access ID. The privilege should be based on the user. Administrator and employee’s information and employer’s information must be maintained separately. 5. ASSUMPTION AND DEPENDENCIES: The application must not crash or any unavailability of data during retrieval attendance is dependent of employee’s login and logout. Salary is dependent on employer’s attendance.
  • 253. Page No: 140 2. SYSTEM FEATURES: 1. CLIENT SYSTEM FEATURES: A minimum of real processor, family processor gigabytes of RAM with sufficient disk space. 2. SERVER SYSTEM FEATURES: A minimum of blode-3 category servers with high performance query processing system. 2. EXTERNAL INTERFACE REQUIREMENT; 1. USER INTERFACE: Visual studios 6.0 under window platform connected with oracle database. 2. HARDWARE INTERFACE: LAN connection for usage in an internal network. 3. SOFTWARE INTERFACE: Provider: MS: D ORA.1 for database connecting to oracle. 2. OTHER NON-FUNCTIONAL REQUIREMENTS: 1. SECURITY REQUIREMENT:  Maintenance of admin and employers database separately  Maintaining unique attributes of employee  Access ID  ID number. 2. SOFTWARE QUALITY ATTRIBUTES:
  • 254. Simplified queries tester processing by simplified data manipulation.
  • 255. Page No: 141 1.USE CASE DIAGRAM
  • 256.
  • 258.
  • 260. Page No: 144 4.INTERACTION DIAGRAM 4.1 SEQUENCE DIAGRAM
  • 263. 6. STATE CHART DIAGRAM
  • 264. Page No: 147 6. LOGICAL ARCHITECTURE DIAGRAM
  • 265.
  • 266. Page No: 148 6. COMPONENT DIAGRAM
  • 267. 7. DEPLOYMENT DIAGRAM Page No: 149 6. USER INTERFACE AND DOMAIN OBJECT LAYER FORM & CODING:
  • 268. HomeScreen Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub AdminLogin_Click() AdLogin.Show HomeScreen.Hide End Sub Private Sub Command1_Click() empWin.Show End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=tiger;User ID=scott;Persist Security Info=False")
  • 269. rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic End Sub Private Sub NewUser_Click() NwUser.Show HomeScreen.Hide End Sub Private Sub SignIn_Click() Set rs = conn.Execute("select * from swemp where accid = '" & (UserName) & "'") If rs.EOF Then MsgBox "You are not a registered user.", vbOKOnly + vbExclamation, " User not resgistered." ElseIf Password.Text <> rs(1) Then MsgBox "Password is wrong!.", vbOKOnly + vbExclamation, "Re-enter Password." Else empWin.lblName.Caption = rs(2) Page No: 150 empWin.usNme = UserName.Text Unload Me empWin.Show End If End Sub Private Sub UserName_Change() SignIn.Enabled = True
  • 270. End Sub New User Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim sx As String Dim dobb As String Dim marry As String Private Sub Adds_Change() Pbr.Value = 10 End Sub Private Sub Aoi_Change()
  • 271. Pbr.Value = 65 End Sub Private Sub Bg_Click() Pbr.Value = 15 Page No: 151 End Sub Private Sub Cancel_Click() Unload Me HomeScreen.Show End Sub Private Sub Check1_Click() Submit.Enabled = True End Sub Private Sub Eas_Click() UsrNme.Enabled = True Pbr.Value = 95 End Sub Private Sub Eca1_Change() Pbr.Value = 56 End Sub Private Sub Eca2_Change() Pbr.Value = 58 End Sub
  • 272. Private Sub Em_Change() Pbr.Value = 23 End Sub Private Sub Exit_Click() Unload Me HomeScreen.Show End Sub Private Sub Fie_Change() Pbr.Value = 48 End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic End Sub Private Sub Form_Terminate() Unload Me HomeScreen.Show End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close Unload Me HomeScreen.Show End Sub
  • 273. Private Sub Getaidps_Click() If Eas.Text = "" Then MsgBox "[Employed As] is required to get your Access Id and Password" ElseIf UsrNme.Text = "" Then MsgBox "Enter User name to continue." Else Page No: 152 Set rs = conn.Execute("select count(distinct AccId) from swemp") Dim x As String Dim x1 As Integer x1 = Str(rs.Fields(0)) + 1 idNo.Text = x1 AccId.Text = UsrNme.Text + "-" + Eas.Text x = Str(Int(Asc(UsrNme.Text) * Rnd + 1) * Int(Asc(AccId.Text) * Rnd + 1)) Pass.Text = Trim(x) Check1.Enabled = True Getaidps.Enabled = False End If End Sub Private Sub Gra_Click() Pbr.Value = 45 End Sub Private Sub IsAvl_Click()
  • 274. Dim nm As String If UsrNme.Text = "" Then MsgBox "Enter an User Name to Register" lblAvl.Caption = "No" Else nm = UsrNme.Text + "-" + Eas.Text Set rs = conn.Execute("select * from swemp where AccId = '" & (nm) & "'") If rs.EOF Then lblAvl.Caption = "Yes" Getaidps.Enabled = True Else lblAvl.Caption = "No" Getaidps.Enabled = False Check1.Enabled = False End If End If End Sub Private Sub LL_Change() Pbr.Value = 35 End Sub Private Sub Major_Change() Pbr.Value = 52 End Sub
  • 275. Private Sub Mob_Change() Pbr.Value = 30 End Sub Private Sub Nme_Change() Pbr.Value = 5 End Sub Private Sub optNo_Click() marry = "No" End Sub Private Sub optSexF_Click(Index As Integer) Page No: 153 sx = "Female" End Sub Private Sub optSexM_Click(Index As Integer) sx = "Male" End Sub Private Sub optYes_Click() marry = "Yes" End Sub Private Sub Pc_Change() Pbr.Value = 75 End Sub
  • 276. Private Sub Pdes_Change() Pbr.Value = 85 End Sub Private Sub Pn_Change() Pbr.Value = 20 End Sub Private Sub Sal_Change() Eas.Enabled = True Pbr.Value = 90 End Sub Private Sub skills_Change() Pbr.Value = 70 End Sub Private Sub Submit_Click() If Check1.Value = 1 Then dobb = dy.Text + "-" + mn.Text + "-" + yer.Text Set rs = conn.Execute("insert into swemp values('" & (AccId) & "','" & (Pass) & "','" & (Nme) & "','" & (Adds) & "','" & (sx) & "','" & (dobb) & "','" & (marry) & "','" & (Bg) & "','" & (Pn) & "','" & (Em) & "','" & (Yoe) & "','" & (Mob) & "','" & (LL) & "','" & (Gra) & "','" & (Fie) & "','" & (Major) & "','" & (Eca1) & "','" & (Eca2) & "','" & (Aoi) & "','" & (skills) & "','" & (Pc) & "','" & (Pdes) & "','" & (Sal) & "','" & ("0") & "','" & (Eas) & "','" & (idNo) & "')") MsgBox "Registed Sucessfully." empWin.lblName.Caption = Nme.Text empWin.lblDesig.Caption = Eas.Text empWin.lblidNo.Caption = idNo.Text
  • 277. empWin.usNme.Text = AccId.Text empWin.Show empWin.newusr Unload Me Else MsgBox "Please agree to submit your details and then continue.", vbOKOnly + vbExclamation, "Submit not accepted" End If End Sub Private Sub Timer1_Timer() Page No: 154 Pbr.Value = Pbr.Value + 5 If Pbr.Value >= 100 Then Timer1.Enabled = False End Sub Private Sub UsrNme_Click() Pbr.Value = 100 IsAvl.Enabled = True End Sub Private Sub Yoe_Click() Pbr.Value = 26 End Sub AdLog
  • 278. Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Cancel_Click() Unload Me HomeScreen.Show End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close End Sub Private Sub Login_Click() Set rs = conn.Execute("select * from spmsad where userid = '" & (UsName) & "'")
  • 279. If rs.EOF Then MsgBox "You are not a Administrator.", vbOKOnly + vbExclamation, " You are not a Administrator. Login as employee or register your profile." ElseIf Pass.Text <> rs(1) Then MsgBox "Password is wrong!.", vbOKOnly + vbExclamation, "Re-enter Password." Else Page No: 155 AdWin.lblAdName.Caption = rs(0) Unload Me Unload HomeScreen AdWin.Show End If End Sub AdWin
  • 280. Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim empNmSel As String Private Sub assSal_Click() If assSalAmt.Text = "" Then MsgBox "Enter a salary amount and then continue", vbExclamation, "Note" Else Set rs = conn.Execute("update swemp set salary = ('" & (assSalAmt) & "') where accid = ('" & (empNmSel) & "')") lblAss.Visible = False assSalAmt.Visible = False
  • 281. assSal.Visible = False assSalAmt.Text = "" MsgBox "Salary is assigned" End If Page No: 156 End Sub Private Sub empNameSel_Click() empNmSel = empNameSel.Text Set rs = conn.Execute("select name, id, salary from swemp where accid = ('" & (empNmSel) & "')") If rs(2) = "0" Then lblAss.Visible = True assSalAmt.Visible = True assSal.Visible = True vieSalary.Enabled = False ElseIf rs(2) <> "0" Then lblAss.Visible = False assSalAmt.Visible = False assSal.Visible = False vieSalary.Enabled = True End If lblempName.Caption = rs(0) lblidNo.Caption = rs(1)
  • 282. End Sub Private Sub empPassCng_Click() If empNmSel = "" Then MsgBox "Select an employee and then proceed", vbOKOnly, "Note" Else PassChange.lblUsr.Caption = lblAdName.Caption PassChange.UsrName.Enabled = False PassChange.oldPass.Enabled = False Set rs = conn.Execute("select * from swemp where accid = ('" & (empNmSel) & "')") PassChange.UsrName.Text = rs(0) PassChange.oldPass.PasswordChar = "" PassChange.oldPass.Text = rs(1) PassChange.Show End If End Sub Private Sub empProEdit_Click() If empNameSel = "" Then MsgBox "Select an employee" Else empProf.Show empProf.adempsel empProf.lblLogInUser.Caption = lblAdName.Caption empProf.lblempAccId.Caption = empNmSel
  • 283. empProf.lblId.Caption = lblidNo.Caption End If End Sub Private Sub Exit_Click() Unload Me End Sub Page No: 157 Private Sub Form_Load () conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic Set rs = conn.Execute("select * from swemp") If rs.EOF Then ElseIf rs.BOF Then Else rs.MoveFirst Do empNameSel.AddItem (rs(0)) rs.MoveNext Loop Until rs.EOF End If Set rs = conn.Execute("select distinct evename from event") If rs.EOF Then
  • 284. ElseIf rs.BOF Then Else rs.MoveFirst Do oldEvents.AddItem (rs(0)) rs.MoveNext Loop Until rs.EOF End If End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close HomeScreen.Show End Sub Private Sub oldEvents_Click() Dim et As String If oldEvents.Text = "New Event" Then EveName.Text = "" eventCon.Text = "" Else et = oldEvents.Text Set rs = conn.Execute("select * from event where evename = ('" & (et) & "')") EveName.Text = rs(0) eventCon.Text = rs(1)
  • 285. End If End Sub Private Sub Post_Click() If EveName.Text = "" Then MsgBox "Enter a event name" ElseIf eventCon.Text = "" Then MsgBox "Enter the content for the event: " + EveName, vbInformation, "Note" Page No: 158 Else Set rs = conn.Execute("insert into event values('" & (EveName) & "','" & (eventCon) & "','" & (lblTime(1).Caption) & "','" & (lblTime(0).Caption) & "')") MsgBox "Event placed on the board" oldEvents.AddItem (EveName) EveName.Text = "" eventCon.Text = "" End If End Sub Private Sub rmPost_Click() If oldEvents.Text = "" Then MsgBox "Select an event to remove" ElseIf oldEvents.Text = "New Event" Then MsgBox "Select an event to remove" Else
  • 286. Set rs = conn.Execute("delete from event where evename = ('" & (EveName) & "')") oldEvents.RemoveItem (oldEvents.ListIndex) EveName.Text = "" eventCon.Text = "" MsgBox "Event is removed from the board" End If End Sub Private Sub Timer1_Timer() lblTime(1).Caption = Format(Now, "dd MMM yyyy") lblTime(0).Caption = Format(Now, "h:mm ss ampm") End Sub Private Sub vieAtt_Click() attEmp.lblAdName.Caption = lblAdName.Caption attEmp.empnm.Text = empNmSel attEmp.lblempName.Caption = empNmSel attEmp.Show End Sub Private Sub vieSalary_Click() salProcess.empName.Caption = lblempName.Caption salProcess.lblidnoo.Caption = lblidNo.Caption salProcess.Show End Sub
  • 288. Dim dy As Date Dim sItime, sOtime, sMonth, sDay, sYr As String Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim time As String Function newusr() Set rs = conn.Execute("select * from swemp where accid=('" & (NwUser.AccId) & "')") Call logon End Function Function logon() If rs(24) = "HR" Then lblSelMem.Visible = True
  • 289. selMem.Visible = True vieAtt.Visible = True AssWork.Enabled = False ElseIf rs(24) = "PM" Then lblSelMem.Visible = True AssignWork.Visible = True selMem.Visible = True lblAssWork.Visible = True ElseIf rs(24) = "TL" Then lblSelMem.Visible = True AssignWork.Visible = True selMem.Visible = True lblAssWork.Visible = True Page No: 160 Else AssWork.Enabled = False lblAsgWork.Visible = True lblAssignedWork.Visible = True End If End Function Function logold() Set rs = conn.Execute("select distinct wa from workass where accid = ('" & (HomeScreen.UserName) & "')")
  • 290. If rs.EOF Then Else rs.MoveFirst Do lblAssignedWork.Caption = rs(0) rs.MoveNext Loop Until rs.EOF 'RmWork.Enabled = False End If End Function Function oldusr() Set rs = conn.Execute("select * from swemp where accid=('" & (HomeScreen.UserName) & "')") Call logon Call logold End Function Function logout() sOtime = Format(Now, "hh:mm") sDay = Format(Now, "dd") sMonth = Format(Now, "MMM") sYr = Format(Now, "yyyy") Set rs = conn.Execute("insert into empatt values('" & (usNme.Text) & "','" & (lblName.Caption) & "','" & (sDay) & "','" & (sMonth) & "','" & (sYr) & "','" & (sItime) & "','" & (sOtime) & "')") End Function Private Sub AssWork_Click()
  • 291. If selMem = "" Then MsgBox "Select an employee to assign work" ElseIf AssignWork = "" Then MsgBox "Enter work to assig." Else Set rs = conn.Execute("insert into workass values (('" & (selMem) & "'),('" & (AssignWork) & "'))") MsgBox "Assigned work for your member", vbOKOnly End If End Sub Private Sub edtProf_Click() empProf.Show empProf.empselfedit empProf.lblLogInUser.Caption = lblName.Caption Page No: 161 empProf.lblempAccId.Caption = usNme.Text empProf.lblId.Caption = lblidNo.Caption End Sub Private Sub events_Click() Dim et As String et = events.Text Set rs = conn.Execute("select * from event where evename = ('" & (et) & "')") If rs.EOF Then
  • 292. ElseIf rs.BOF Then Else EveName.Caption = rs(0) EveBody.Caption = rs(1) EveDate.Caption = rs(2) eveTime.Caption = rs(3) End If End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic sItime = Format(Now, "hh:mm") Set rs = conn.Execute("select distinct evename from event") If rs.EOF Then ElseIf rs.BOF Then Else rs.MoveFirst Do events.AddItem (rs(0)) rs.MoveNext Loop Until rs.EOF End If Set rs = conn.Execute("select * from swemp")
  • 293. If rs.EOF Then ElseIf rs.BOF Then Else rs.MoveFirst Do selMem.AddItem (rs(0)) rs.MoveNext Loop Until rs.EOF End If End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close HomeScreen.Show End Sub Page No: 162 Private Sub Lout_Click() Call logout Unload Me HomeScreen.Show End Sub Private Sub PassChg_Click() PassChange.lblUsr.Caption = lblName.Caption
  • 294. PassChange.UsrName.Enabled = False PassChange.UsrName.Text = usNme.Text PassChange.Show End Sub Private Sub Timer1_Timer() lblTime(0).Caption = Format(Now, "dd MMM yyyy") lblTime(1).Caption = Format(Now, "h:mm ss ampm") End Sub Private Sub vieAtt_Click() attEmp.lblAdName.Caption = lblName.Caption attEmp.empnm.Text = selMem.Text attEmp.lblempName.Caption = selMem.Text attEmp.Show End Sub Page No: 163
  • 295. EmpProf Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim sx As String Dim marry As String Function adempsel() Set rs = conn.Execute("select * from swemp where accid = ('" & (AdWin.empNameSel) & "')") Call userfill
  • 296. End Function Function empselfedit() Set rs = conn.Execute("select * from swemp where accid = ('" & (empWin.usNme) & "')") Call userfill End Function Function userfill() rs.MoveFirst Nme.Text = rs(2) Adds.Text = rs(3) If rs(4) = "Male" Then optSexM(0).Value = True sx = "Male" Else optSexF(1).Value = True sx = "Female" End If Dob.Text = rs(5) If rs(6) = "Yes" Then optYes.Value = True marry = "Yes" Else optNo.Value = True marry = "No"
  • 297. End If Bg.Text = rs(7) Pn.Text = rs(8) Em.Text = rs(9) Yoe.Text = rs(10) Mob.Text = rs(11) LL.Text = rs(12) Gra.Text = rs(13) Fie.Text = rs(14) Major.Text = rs(15) Eca1.Text = rs(16) Eca2.Text = rs(17) Aoi.Text = rs(18) skills.Text = rs(19) Page No: 164 Pc.Text = rs(20) Pdes.Text = rs(21) Sal.Text = rs(22) If rs(23) = "0" Then lblCsal.Caption = "Not yet assigned" Else lblCsal.Caption = rs(23) End If
  • 298. lblCdes.Caption = rs(24) End Function Function SaveProf() Set rs = conn.Execute("update swemp set name = ('" & (Nme) & "'),address = ('" & (Adds) & "'),sex = ('" & (sx) & "'),dob = ('" & (Dob) & "'),married = ('" & (marry) & "'),bg =('" & (Bg) & "'),pno = ('" & (Pn) & "'),em =('" & (Em) & "'),yoe=('" & (Yoe) & "'),mob = ('" & (Mob) & "'),ll=('" & (LL) & "'),gra=('" & (Gra) & "'),field=('" & (Fie) & "'),major=('" & (Major) & "'),eca1=('" & (Eca1) & "'),eca2=('" & (Eca2) & "'),aoi=('" & (Aoi) & "'),skills=('" & (skills) & "'),pc=('" & (Pc) & "'),des=('" & (Pdes) & "'),sal=('" & (Sal) & "')where accid = ('" & (lblempAccId) & "')") MsgBox "Profile is saved" Unload Me End Function Private Sub Cancel_Click() Unload Me End Sub Private Sub Exit_Click() Unload Me End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close End Sub
  • 299. Private Sub optNo_Click() marry = "No" End Sub Private Sub optSexF_Click(Index As Integer) sx = "Female" End Sub Private Sub optSexM_Click(Index As Integer) sx = "Male" End Sub Private Sub optYes_Click() marry = "Yes" End Sub Private Sub Sav_Click() Call SaveProf End Sub Private Sub Save_Click() Call SaveProf Page No: 165 End Sub AttEmp
  • 300. Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Combo1_Click() Set rs = conn.Execute("select count(distinct Day) from empatt where Month = ('" & (Combo1) & "') and userid =('" & (empnm) & "')") Dim x As String x = rs.Fields(0) lblworked.Caption = Trim(x) End Sub Private Sub Exit_Click() Unload Me End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False")
  • 301. rs.Open "select * from empatt", conn, adOpenDynamic, adLockOptimistic Set rs = conn.Execute("select distinct month from empatt") rs.MoveFirst Do Combo1.AddItem (rs(0)) rs.MoveNext Loop Until rs.EOF End Sub Private Sub Form_Unload(Cancel As Integer) Page No: 166 conn.Close Unload Me End Sub PassChange
  • 302. Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub cmdCancel_Click() Unload Me End Sub Private Sub cmdOk_Click() Set rs = conn.Execute("select pass from swemp where accid = ('" & (UsrName) & "')") If oldPass.Text <> rs(0) Then MsgBox "Enter a current correct password." ElseIf newPass.Text = "" Then MsgBox "Enter a new password to change password." Else Set rs = conn.Execute("update swemp set pass = ('" & (newPass) & "') where accid = ('" & (UsrName) & "')") MsgBox "New password has been changed", vbOKOnly + vbInformation, "Note" Unload Me
  • 303. End If End Sub Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open ("select * from swemp"), conn, adOpenDynamic, adLockOptimistic End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close End Sub Page No: 167 SalProcess
  • 304. Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Da_Change() lblDA.Caption = Val(lblPF) + Val(lblTax) lblGA.Caption = rs(23) + Val(Da.Text) + Val(Ta.Text) + Val(lblHRA) lblNetSal.Caption = Val(lblGA) - Val(lblDA) End Sub Private Sub Exit_Click() Unload Me End Sub
  • 305. Private Sub Form_Load() conn.Open ("Provider=MSDAORA.1;password=whitman;User ID=system;Persist Security Info=False") rs.Open "select * from swemp", conn, adOpenDynamic, adLockOptimistic Set rs = conn.Execute("select * from swemp where accid = ('" & (AdWin.empNameSel) & "')") If rs.EOF Then ElseIf rs.BOF Then Else lblBp.Caption = rs(23) lblPF.Caption = rs(23) * 0.03 lblTax.Caption = rs(23) * 0.05 lblHRA.Caption = rs(23) * 0.07 Page No: 168 lblDA.Caption = Val(lblPF) + Val(lblTax) lblGA.Caption = rs(23) + Val(Da.Text) + Val(Ta.Text) + Val(lblHRA) lblNetSal.Caption = Val(lblGA) - Val(lblDA) End If End Sub Private Sub Form_Unload(Cancel As Integer) conn.Close End Sub Private Sub Ta_Change() lblDA.Caption = Val(lblPF) + Val(lblTax)
  • 306. lblGA.Caption = rs(23) + Val(Da.Text) + Val(Ta.Text) + Val(lblHRA) lblNetSal.Caption = Val(lblGA) - Val(lblDA) End Sub RESULT :
  • 307. Page No: 169 Thus the Software Personnel management system has done successfully.