dbms mini project

52
EX: NO: 13 REPORT GENERATION AIM To design a report for employee database using Visual Basic. PROCEDURE STEP 1: Start STEP 2: Create the form with essential controls for employee details. STEP 3: Insert the data environment for report generation STEP 4: Connect the database STEP 5: Write the code for doing the appropriate operations in the employee database. STEP 6: Save the forms and project. STEP 7: Execute the form. STEP 8: Stop EXECUTION MAIN FORM CODE: Private Sub Command1_Click() Unload Me Form1.Visible = False Form2.Visible = True Load Form2 Form2.Show 1

Upload: kaushalya-munuswamy

Post on 21-Oct-2015

50 views

Category:

Documents


0 download

DESCRIPTION

its mini project with front end visual basic and back end sql

TRANSCRIPT

EX: NO: 13 REPORT GENERATION

AIM

To design a report for employee database using Visual Basic.

PROCEDURE

STEP 1: Start

STEP 2: Create the form with essential controls for employee details.

STEP 3: Insert the data environment for report generation

STEP 4: Connect the database

STEP 5: Write the code for doing the appropriate operations in the employee database.

STEP 6: Save the forms and project.

STEP 7: Execute the form.

STEP 8: Stop

EXECUTION

MAIN FORM CODE:Private Sub Command1_Click()Unload MeForm1.Visible = FalseForm2.Visible = TrueLoad Form2Form2.ShowEnd Sub

Private Sub Command2_Click()Unload MeForm1.Visible = FalseForm3.Visible = TrueLoad Form4Form3.ShowEnd Sub

1

Private Sub Command3_Click()Unload MeForm1.Visible = FalseForm4.Visible = TrueLoad Form3Form4.ShowEnd SubPrivate Sub Command4_Click()EndEnd Sub

Private Sub Command5_Click()DataReport1.ShowEnd Sub

FORM2 CREATION CODE:

General DeclarationDim con As New ADODB.ConnectionDim gp, ded, net As Double

Private Sub Command1_Click()gp = Val(Combo1.ItemData(Combo1.ListIndex)) + Val(Text7.Text)ded = Val(Text4.Text) + Val(Text5.Text) + Val(Text6.Text)net = gp - dedcon.Execute "insert into emp values('" & Text1.Text & "','" & Text2.Text & "','" & Combo1.Text & "','" & Text3.Text & "','" & Val(Combo1.ItemData(Combo1.ListIndex)) & "','" & Val(Text4.Text) & "','" & Val(Text5.Text) & "','" & Val(Text6.Text) & "','" & Val(Text7.Text) & "','" & gp & "','" & net & "',0)"MsgBox ("Records Created!!!!!!!!!!!")Unload Form2Load Form1Form1.ShowEnd Sub

Private Sub Form_Load()con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Program Files\Microsoft Visual Studio\VB98\subbu\employee.mdb;Persist Security Info=False"End Sub

Private Sub Form_Unload(Cancel As Integer)con.CloseEnd Sub

2

FORM3 UPDATION CODE:

General DeclarationDim con As New ADODB.ConnectionDim rs As New ADODB.RecordsetDim n As Double

Private Sub Command1_Click()rs.Open "select * from emp where id='" & Text1.Text & "'", conn = rs.Fields(10) + Val(Text2.Text)con.Execute "update emp set others='" & Val(Text2.Text) & "',net_salary='" & n & "' where id='" & Text1.Text & "'"MsgBox ("Records Updated!!!!!!!!!!!!!")Unload Form3Load Form1Form1.ShowEnd Sub

Private Sub Form_Load()con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Program Files\Microsoft Visual Studio\VB98\subbu\employee.mdb;Persist Security Info=False"End Sub

Private Sub Form_Unload(Cancel As Integer)con.CloseEnd Sub

FORM4 DISPLAY CODE:

General DeclarationDim con As New ADODB.ConnectionDim rs As New ADODB.RecordsetDim num As String

Private Sub Command1_Click()num = Text1.Textrs.Open "select * from emp where id='" + num + "'", conSet DataReport1.DataSource = rsDataReport1.ShowEnd Sub

Private Sub Form_Load()con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Program Files\Microsoft Visual Studio\VB98\subbu\employee.mdb;Persist Security Info=False"End Sub

3

Private Sub Form_Unload(Cancel As Integer)con.CloseEnd Sub

DATABASE: EMPLOYEE DETAILS

EMPLOY INFORMATION

EMPLOYEE CREATE FORM

4

DATABASE RECORDS:

5

UPDATE EMPLOYEE DETAILS:

UPDATED DATABASE:

DISPLAY:

6

DATA REPORT:

7

8

EX: NO: PAYROLL PROCESSING SYSTEM

AIM

To develop an application software for Payroll processing of an organization .

DESIGN PLAN

The Design plan consists of the following:

Project Plan

Software requirement Analysis

Implementation and Coding

Software testing

Software Debugging

Conclusion

PROJECT PLAN

The Project plan consists of three sections:

Personal Details of an employee

Allowances

Deduction and Checking the increment and Net pay

SOFTWARE REQUIREMENT ANALYSIS

The purpose of the Payroll as to provide Payroll for the Employee with allowance and deduction individually and to update the Net pay. Functionality of System:

1. Personal Details of an Employee:

It includes Employee Name ,Employee id,Address,Designation and Date of Birth.

9

EXECUTION

FORM 1:Private Sub Command1_Click()Unload MeForm2.ShowEnd Sub

Private Sub Command2_Click()Unload MeForm3.ShowEnd Sub

Private Sub Command3_Click()Unload MeForm4.ShowEnd Sub

Private Sub Command4_Click()EndEnd Sub

Private Sub Command5_Click()Unload MeForm5.ShowEnd Sub

10

FORM 2:Private Sub Command1_Click()Adodc1.Recordset.AddNewAdodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.Fields("e_no") = Val(Text2.Text)Adodc1.Recordset.Fields("des") = Text3.TextAdodc1.Recordset.Fields("age") = Val(Text4.Text)Adodc1.Recordset.Fields("sex") = Text5.TextAdodc1.Recordset.Fields("dob") = Val(Text6.Text)Adodc1.Recordset.Fields("doj") = Val(Text7.Text)Adodc1.Recordset.Fields("sal") = Val(Text8.Text)Adodc1.Recordset.Fields("ph") = Val(Text9.Text)Adodc1.Recordset.Fields("e_mail") = Text10.Text'Adodc1.Recordset.UpdateEnd Sub

Private Sub Command2_Click()Adodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

Private Sub Command3_Click()a = InputBox("Enter the Employee Number", Emp_no)Adodc1.Recordset.MoveFirstOn Error GoTo divaWhile Not Adodc1.Recordset.Fields("e_no") = Val(a)Adodc1.Recordset.MoveNextWenddiva:End Sub

Private Sub Command4_Click()b = MsgBox("Are you sure you want to delete it....", vbOKCancel + vbExclamation)If b = 1 ThenAdodc1.Recordset.DeleteAdodc1.Recordset.MoveNextMsgBox "Record is Deleted"ElseEnd IfEnd Sub

Private Sub Command5_Click()Unload MeLoad Form1: Form1.Visible = TrueEnd Sub

11

FORM 3:Dim c As VariantPrivate Sub Command1_Click()Adodc1.Recordset.AddNewAdodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.Fields("e_no") = Val(Text2.Text)Adodc1.Recordset.Fields("sal") = Val(Text3.Text)Adodc1.Recordset.Fields("loan") = Val(Text4.Text)Adodc1.Recordset.Fields("loan_left") = Val(Text5.Text)Adodc1.Recordset.Fields("ma") = Val(Text6.Text)Adodc1.Recordset.Fields("hra") = Val(Text7.Text)Adodc1.Recordset.Fields("ins_left") = Val(Text8.Text)Adodc1.Recordset.Fields("da") = Val(Text9.Text)Adodc1.Recordset.Fields("total_allow") = Val(Text10.Text)'adodc1.Recordset.UpdateEnd Sub

Private Sub Command2_Click()Adodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

Private Sub Command3_Click()a = InputBox("Enter the Employee Number", "Diva")Adodc1.Recordset.MoveFirstOn Error GoTo divaWhile Not Adodc1.Recordset.Fields("e_no") = Val(a)Adodc1.Recordset.MoveNextWenddiva:End Sub

Private Sub Command4_Click()b = MsgBox("Are you sure you want to delete it....", vbOKCancel + vbCritical, "Diva")If b = 1 ThenAdodc1.Recordset.DeleteAdodc1.Recordset.MoveNextMsgBox "Record is Deleted"ElseEnd IfEnd Sub

Private Sub Command5_Click()Unload MeLoad Form1: Form1.Visible = TrueEnd Sub

12

Private Sub Form_Load()c = (Val(Text6.Text) + Val(Text7.Text) + Val(Text9.Text))Text10.Text = cAdodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

Private Sub Text3_Change()x = Val(Text3.Text)Text6.Text = (x / 2)Text7.Text = (x / 3)Text9.Text = (x / 4)c = (Val(Text6.Text) + Val(Text7.Text) + Val(Text9.Text))Text10.Text = cAdodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

FORM 4:Dim c As VariantPrivate Sub Command1_Click()Adodc1.Recordset.AddNewAdodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.Fields("e_no") = Val(Text2.Text)Adodc1.Recordset.Fields("sal") = Val(Text3.Text)Adodc1.Recordset.Fields("spf") = Val(Text4.Text)Adodc1.Recordset.Fields("fa") = Val(Text5.Text)Adodc1.Recordset.Fields("hf") = Val(Text6.Text)Adodc1.Recordset.Fields("hr") = Val(Text7.Text)Adodc1.Recordset.Fields("income_tax") = Val(Text8.Text)Adodc1.Recordset.Fields("others") = Val(Text9.Text)Adodc1.Recordset.Fields("total_ded") = Val(Text10.Text)'adodc1.Recordset.UpdateEnd Sub

Private Sub Command2_Click()Adodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

Private Sub Command3_Click()a = InputBox("Enter the Employee Number", "Diva")Adodc1.Recordset.MoveFirstOn Error GoTo divaWhile Not Adodc1.Recordset.Fields("e_no") = Val(a)

13

Adodc1.Recordset.MoveNextWenddiva:End Sub

Private Sub Command4_Click()b = MsgBox("Are you sure you want to delete it....", vbOKCancel + vbCritical, "Diva")If b = 1 ThenAdodc1.Recordset.DeleteAdodc1.Recordset.MoveNextMsgBox "Deleted"ElseEnd IfEnd SubPrivate Sub Command5_Click()Unload MeLoad Form1: Form1.Visible = TrueEnd SubPrivate Sub Form_Load()x = Val(Text3.Text)Text4.Text = (x / 0.2)Text5.Text = (x / 0.2)Text6.Text = (x / 0.2)Text7.Text = (x / 0.2)Text8.Text = (x / 0.2)Text9.Text = (x / 0.2)c = (Val(Text4.Text) + Val(Text5.Text) + Val(Text6.Text) + Val(Text7.Text) + Val(Text8.Text) + Val(Text9.Text))Text10.Text = cAdodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

Private Sub Text2_Change()c = (Val(Text4.Text) + Val(Text5.Text) + Val(Text6.Text) + Val(Text7.Text) + Val(Text8.Text) + Val(Text9.Text))Text10.Text = cEnd Sub

Private Sub Text3_Change()x = Val(Text3.Text)Text4.Text = (x / 0.2)Text5.Text = (x / 0.2)Text6.Text = (x / 0.2)Text7.Text = (x / 0.2)Text8.Text = (x / 0.2)

14

Text9.Text = (x / 0.2)Adodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

FORM 5:Private Sub Command1_Click()Unload MeLoad Form1: Form1.Visible = TrueEnd Sub

Private Sub Command2_Click()EndEnd Sub

Private Sub Command3_Click()a = InputBox("Enter the Employee Number", "Diva")Adodc1.Recordset.MoveFirstOn Error GoTo divaWhile Not Adodc1.Recordset.Fields("e_no") = Val(a)Adodc1.Recordset.MoveNextWenddiva:End Sub

Private Sub Form_Load()Adodc1.Recordset.Fields("e_name") = Text1.TextAdodc1.Recordset.UpdateEnd Sub

Private Sub Text1_Change()b = Val(Text3.Text) + Val(Text4.Text)c = b - Val(Text5.Text)Text6.Text = cEnd Sub

15

16

17

18

19

CONCLUSION

The Payroll Software can be used in Corporate offices, Organizations and Institutes for calculating the net pay feasibly. The software is user-friendly and can be handled by anyone.

20

EX.NO: 17 LIBRARY MANAGEMENT SYSTEM

AIM

To develop an application software for Library Management System.

DESIGN PLAN

The Design plan consists of the following:

Project Plan

Software requirement Analysis

Implementation and Coding

Software testing

Software Debugging

Conclusion

PROJECT PLAN

The Project plan consists of three sections:

Student Information

Book Information

Borrowing and returning Process

SOFTWARE REQUIREMENT ANALYSIS

The purpose of the Library Management System is to manage Borrowing and receiving books from the student and updating book information for every transaction ( both Borrowing & receiving) . Functionality of System: 2. Student Information:

It includes the student information for Borrowing and returning the books with the updated books information.

21

3. Book Information:

It includes Book Information such as Author name ,Code, account number , Publisher name,Date of Issue and Date of returning ..

4. Borrowing and ending Process

It displays the information about the books issued ,burrower,returning date ,duration to have the books.

SOFTWARE TESTING

The main objectives of testing to maximize the test case , minimize the number of errors,

focus on correctness and efficiency of program.It helps to find out details of the student

who have borrowed the particular books.Both the Book information ,student information

can be obtained.

EXECUTION

FORM 1:Private Sub Command1_Click()Me.HideLoad Form5Form5.Visible = TrueEnd Sub

Private Sub Command2_Click()Me.HideLoad Form3Form3.Visible = TrueEnd Sub

Private Sub Command3_Click()Me.HideLoad Form4Form4.Visible = TrueEnd Sub

Private Sub Command4_Click()EndEnd Sub

22

FORM 2:Private Sub Command1_Click()Data1.Recordset.AddNewData1.Recordset.Fields("roll_no") = Val(Text1.Text)Data1.Recordset.Fields("name") = Text2.TextData1.Recordset.Fields("dep") = Text3.TextData1.Recordset.Fields("year") = Val(Text4.Text)Data1.Recordset.UpdateEnd Sub

Private Sub Command2_Click()b = MsgBox("Are you sure u want to delete it...", vbOKCancel + vbExclamation)If b = 1 ThenData1.Recordset.DeleteData1.Recordset.MoveNextMsgBox "Record is deleted"ElseEnd IfEnd Sub

Private Sub Command3_Click()a = InputBox("Enter the student roll number", roll_no)Data1.Recordset.MoveFirstOn Error GoTo jvm

While Not Data1.Recordset.Fields("roll_no") = Val(a)Data1.Recordset.MoveNextWendjvm:End Sub

Private Sub Command5_Click()EndEnd Sub

Private Sub Command6_Click()Unload MeLoad Form1: Form1.Visible = TrueEnd Sub

FORM 3:Private Sub Command1_Click()Data1.Recordset.AddNewData1.Recordset.Fields("book_id") = Val(Text1.Text)

23

Data1.Recordset.Fields("name") = Text2.TextData1.Recordset.Fields("author") = Text3.TextData1.Recordset.Fields("copies") = Val(Text4.Text)Data1.Recordset.UpdateEnd Sub

Private Sub Command2_Click()b = MsgBox("Are you sure u want to delete it...", vbOKCancel + vbExclamation)If b = 1 ThenData1.Recordset.DeleteData1.Recordset.MoveNextMsgBox "Record is deleted"ElseEnd IfEnd Sub

Private Sub Command3_Click()Dim a As Stringa = InputBox("Enter the book name", book_name)Data1.Recordset.MoveFirstOn Error GoTo jvm

Do Until Data1.Recordset.EOFIf Data1.Recordset("book_name") = a ThenText1 = Data1.Recordset.Fields("book_id")MsgBox "The book id is " + Data1.Recordset.Fields("book_id") + " It has " + Data1.Recordset.Fields("copies")End IfData1.Recordset.MoveNextLoopjvm:

End Sub

Private Sub Command5_Click()EndEnd Sub

Private Sub Command6_Click()Unload MeLoad Form1: Form1.Visible = TrueEnd Sub

Private Sub Text6_Change()If Text6.Text = 0 ThenMsgBox "No copies Available"

24

End IfEnd SubFORM 4:Dim x As DatePrivate Sub Command1_Click()Data1.Recordset.AddNewData1.Recordset.Fields("roll_no") = Val(Text1.Text)Data1.Recordset.Fields("name") = Text2.TextData1.Recordset.Fields("book_id") = Val(Text3.Text)Data1.Recordset.Fields("book_name") = Text4.TextData1.Recordset.Fields("curr_date") = Val(Text5.Text)Data1.Recordset.Fields("date_of_return") = Val(Text6.Text)Data1.Recordset.UpdateEnd Sub

Private Sub Command2_Click()b = MsgBox("Are you sure u want to delete it...", vbOKCancel + vbExclamation)If b = 1 ThenData1.Recordset.DeleteData1.Recordset.MoveNextMsgBox "Record is deleted"ElseEnd IfEnd Sub

Private Sub Command3_Click()a = InputBox("Enter the student roll number", roll_no)Data1.Recordset.MoveFirstOn Error GoTo jvm

While Not Data1.Recordset.Fields("roll_no") = Val(a)Data1.Recordset.MoveNextWendjvm:End Sub

Private Sub Command4_Click()Text6.Text = DateValue(Text5) + 15End Sub

Private Sub Command5_Click()EndEnd Sub

Private Sub Command6_Click()Unload Me

25

Load Form1: Form1.Visible = TrueEnd SubPrivate Sub Command7_Click()Dim n As Doublen = (DateValue(Text7) - DateValue(Text5))If n > 15 Thenn = n - 15n = n / 2Text8 = nEnd IfEnd Sub

Private Sub Text5_Click()If Val(Text4.Text) = 0 ThenMsgBox "No copies Available"End IfEnd Sub

FORM 5:Private Sub Command1_Click()Form2.ShowEnd Sub

Private Sub Command2_Click()Form6.ShowEnd Sub

Private Sub Command3_Click()Form1.ShowEnd Sub

FORM 6:Private Sub Command1_Click()Form1.ShowEnd Sub

26

27

28

29

30

Conclusion

This Software provides an efficient way of managing the library and it makes easier for the user to work with application software. This project is user friendly and it reduces the time for the user to manage the library.

31

EX. NO: AUTOMATING BANKING SYSTEM

AIM

To develop an application software for Automating Banking System.

DESIGN PLAN

The Design plan consists of the following:

Project Plan

Software requirement Analysis

Implementation and Coding

Software testing

Software Debugging

Conclusion

PROJECT PLAN

The Project plan consists of three sections:

Authentication

Client details

Savings and Withdrawal process

SOFTWARE REQUIREMENT ANALYSIS

The purpose of the Automating Banking System as to provide client services. Functionality of System :

5. Authentication:

It includes validation of client user name and password.

6. Client Details:

It includes client details such as Customer name ,Code, account number , phone number and balance amount.

32

7. Savings and Withdrawal process

It displays the current balance amount before and after depositing and withdrawing the amount.

SOFTWARE TESTING

The main objectives of testing to maximize the test case , minimize the number of errors, focus on

correctness and efficiency of program.It helps to find out details of the customer and displays the

current financial position of the customer.

EXECUTION

FORM 1:Public ind As IntegerPublic mo As LongPrivate Sub Command1_Click()Adodc1.Recordset.MoveFirstDo Until Adodc1.Recordset.EOFIf (Adodc1.Recordset.Fields("name") = Text1.Text) And (Adodc1.Recordset.Fields("pass") = Text2.Text) ThenMe.ind = Adodc1.Recordset.Fields("index")Unload MeForm2.ShowEnd IfAdodc1.Recordset.MoveNextLoopText1.Text = ""Text2.Text = ""End Sub

Private Sub Command2_Click()EndEnd Sub

Private Sub Form_Load()Text1.Text = ""Text2.Text = ""End Sub

33

FORM 2:

Private Sub Command1_Click()Unload MeForm3.ShowEnd Sub

Private Sub Command2_Click()Unload MeForm4.ShowEnd Sub

Private Sub Command3_Click()Unload MeForm5.ShowEnd Sub

Private Sub Command4_Click()EndEnd Sub

Private Sub Command5_Click()EndEnd Sub

Private Sub Command6_Click()Adodc1.Recordset.AddNewEnd Sub

Private Sub Command7_Click()Adodc1.Recordset.DeleteEnd Sub

Private Sub Command8_Click()Unload MeForm1.ShowEnd Sub

Private Sub Form_Load()mo = Form1.indIf mo = 0 ThenCommand1.Visible = FalseCommand2.Visible = FalseCommand3.Visible = FalseCommand4.Visible = FalseElse

34

Command5.Visible = FalseCommand6.Visible = FalseCommand7.Visible = FalseDataGrid1.Visible = FalseEnd IfEnd Sub

FORM 3:Private Sub Command3_Click()Unload MeForm2.ShowEnd Sub

Private Sub Command1_Click()Unload MeForm2.ShowEnd Sub

Private Sub Command2_Click()EndEnd Sub

Private Sub Form_Load()mo = Form1.indAdodc1.Recordset.Move (mo)End Sub

35

FORM 4:Private save As IntegerPrivate temp As LongPrivate Sub Command1_Click()save = InputBox("Enter the amount to be saved to your a/c")Text4.Text = Val(save)temp = Adodc1.Recordset.Fields("total_amt")temp = Val(temp) + Val(save)Adodc1.Recordset.Fields("total_amt") = Val(temp)Adodc1.Recordset.UpdateCommand2.Enabled = TrueEnd Sub

Private Sub Command2_Click()c = MsgBox("Are you sure to cancel current saving transaction...", vbOKCancel + vbInformation)If c = 1 Thensave = Val(Text4.Text)temp = Val(temp) - Val(save)Text4.Text = ""Adodc1.Recordset.Fields("total_amt") = Val(temp)Adodc1.Recordset.UpdateEnd IfCommand2.Enabled = FalseEnd Sub

Private Sub Command3_Click()Unload MeForm2.ShowEnd Sub

Private Sub Form_Load()mo = Form1.indAdodc1.Recordset.Move (mo)Command2.Enabled = FalseEnd Sub

36

FORM 5:Private withd As IntegerPrivate temp As LongPrivate Sub Command3_Click()Unload MeForm2.ShowEnd SubPrivate Sub Form_Load()mo = Form1.indAdodc1.Recordset.Move (mo)Command2.Enabled = FalseEnd SubPrivate Sub Command1_Click()x = Adodc1.Recordset.Fields("total_amt")withd = InputBox("Enter the amount to be Withdrawal to your a/c")Text4.Text = Val(withd)If ((Text4.Text) > Val(x)) ThenMsgBox "withdrawal cannot be possible"Exit SubElsetemp = Adodc1.Recordset.Fields("total_amt")temp = Val(temp) - Val(withd)Adodc1.Recordset.Fields("total_amt") = Val(temp)Adodc1.Recordset.UpdateCommand2.Enabled = TrueEnd IfEnd SubPrivate Sub Command2_Click()c = MsgBox("Are you sure to cancel current Withdrawal transaction...", vbOKCancel + vbInformation)If c = 1 Thenwithd = Val(Text4.Text)temp = Val(temp) + Val(withd)Text4.Text = ""Adodc1.Recordset.Fields("total_amt") = Val(temp)Adodc1.Recordset.UpdateEnd IfCommand2.Enabled = FalseEnd Sub

37

38

39

40

41

Conclusion

Thus the Software provides efficient way for Automating Banking process,It provides way for depositing and withdrawing the amount.

42

EX: NO: STUDY EXPRIMENT TO DESIGN E-R MODEL

AIM

To design an Entity-relationship model.

PROCEDURE

STEP 1: Start

STEP 2: Specify attributes and identify the primary key for Entity.

STEP 3: Formulate the relation between entities.

STEP 4: Ensure that all the entities have been modeled.

STEP 5: Normalize the entire model.

STEP 6: Stop

DESCRIPTION OF ENTITY-RELATIONSHIP SYMBOLS

1. Rectangle It represents Entity Sets

2. Ellipse It represents Attributes

3. Diamond It represents Relation Set

4. Lines It represents Link between attributes to entity set and entity set to relationship set.

5. Doubled Ellipse It represents derived attributes.

6. Dashed Ellipse It represents primary key

7. Double Lines It represents participation of an entity in a relationship set.

8. Weak Entity Set An entity which does not pass any attribute for primary key

9. Strong Entity Set An entity which passes a dominant parametric feature for unique identification.

43

E-R MODEL FOR BANKING ENTERPRISE

Result: Thus the E-R Model has been studied and acquired the knowledge.

44

45