Sunteți pe pagina 1din 26

1.

COURSE REGISTRATION SYSTEM


1.1 PROBLEM DESCRIPTION:
The allotment of courses during the start of the academic year can consume more time when done by physical means. By implementing the registration of course online, it would be efficient for both college and students to add more seats and register for course respectively. 1.2 INTERFACES: The whole system is divided into 5 levels. They are Selecting User Adding a course Display Availability Register Course Display information

1.2.1 SELECTING STUDENT: This module is to select the type of studentaccessing the project. By determining the studentthe authentication for the rest of the project is provided for safety concerns. 1.2.2 ADDING A COURSE : This module is used for the colleges. Adding course has three sub modules namely, Admin module Student module Report module 1.2.2.1 LOGIN: This module is used to store the information of the students studentname and password. 1.2.2.2 COLLEGE SELECTION: This module is to let the student to select which college does he want to add the seats for this academic year. 1.2.2.3 SLOTS ACCOTDING TO THE QUOTA: This module provides the student with the slots to fill the specified seats in the college according to the quota as category. 1.2.3 DISPLAY AVAILABILITY: This module is to display the students with the seats available for them to register. This again has 2 other modules, Department selection Check availability

1.2.3.1 DEPARTMENT SELECTION: This module contains the deprtments for the students to select. The users would be able to select the course under the department choosen. 1.2.3.2 CHECK AVAILABILITY: This module is used to check the selected course is occupied of free in the project database for security concerns. 1.2.4 REGISTER COURSE: This module lets the students to select the course the preferred for and then register for it. The order form is generated at last. 1.3 SECURITY AND PRIVACY: The students can only register for the seats that the college decides to give which ensures no data loss for the college. The students are asked only few reasonable details to match their choice of course. 1.4 RELIABLITY: There is no atomicity problem. 1.5 SAFETY: No data loss occurs in this system. It is very much protected in such a way that it gives permission to college to access only to modify to the course availability assignment. 1.6 QUALITY: The VB tool which has graphic interface features makes the project a quality one. 1.7 DATA STRUCTURE: The data in this project are maintained in the tabular form using Oracle as the Back-End and VB6.0 as the Front-End, which is user friendly. 1.8USEFULNESS OF PROJECT: This system guides the students and the concerned staff personals to find the course which they preferred to take and to fill out the course available for the academic year by providing authentication. Thus providing an easier means of filling the seats for the colleges.

1.9 DATA MODELING 1.9.1 USE CASE DIAGRAM:

1.9.2 CLASS DIAGRAM:

1.9.3 SEQUENTIAL DIAGRAM:

1.9.4 ACTIVITY DIAGRAM:

1.9.5 COLLABORATION DIAGRAM:

1.10 DATABASE DESIGN: 1.10.1 C_LOGIN: FIELD NAME USERNAME PASSWORD 1.10.2 C_DEPT: FIELD NAME DID SEATS DNAME 1.10.3 STUDENT DETAILS: FIELD NAME NAME DOB AGE GENDER FNAME MNAME ADDRESS EID TENPERCENT TWELVEPERCENT ATTEMPT REGNO QE DEPT DATA TYPE NUMBER NUMBER VARCHAR DATA TYPE VARCHAR DATE NUMBER VARCHAR VARCHAR VARCHAR VARCHAR NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR VARCHAR DATA TYPE VARCHAR VARCHAR

1.11 FORM DESIGN: 1.11.1 LOGIN FORM:

LOGIN FORM CODE: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command2_Click() While Not rs.EOF If USERNAME.Text = "sneha" And PASSWORD.Text = "prag" Then

Load Form2 Form2.Show Unload Me rs.MoveFirst Else MsgBox ("wrong password or ID ") End If If USERNAME.Text = rs.Fields(0) And PASSWORD.Text = rs.Fields(1) Then Load Form4 Form4.Show End If rs.MoveNext Wend End Sub Private Sub Command3_Click() Load Form9 Form9.Show End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from c_login", cn, adOpenDynamic, adLockOptimistic End SubLogin Form:-

1.11.2 ADMIN FORM:

ADMIN FORM CODE:

Dim ID As Integer Dim s As Integer Dim s1 As Integer Dim did As Integer Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub A_Click() Load Form8 Form8.Show End Sub Private Sub AS_Click() rs.MoveFirst ID = InputBox("ENTER DEPARTMENT ID", "DEPARTMENT ID") rs.MoveFirst While Not rs.EOF If rs.Fields(0) = ID Then s = InputBox("ENTER THE NO OF SEATS", "SEATS") s1 = rs.Fields(2) s1 = s1 + s cn.Execute "update c_dept set seats =" & s1 & " " End If rs.MoveNext Wend End Sub Private Sub CI_Click() Load Form7 Form7.Show End Sub Private Sub D_Click() did = InputBox("ENTER DEPARTMENT ID", "DEPARTMENT ID") cn.Execute "delete from c_dept where dept_id =" & did MsgBox ("department deleted") End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from c_dept", cn, adOpenDynamic, adLockOptimistic End Sub Private Sub SI_Click() Load Form6 Form6.Show End Sub

1.11.3 ADD DEPARTMENT FORM:

ADD DEPARTMENT CODING: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() did.Text = "" dname.Text = "" seats.Text = "" did.SetFocus End Sub Private Sub Command2_Click() cn.Execute "insert into c_dept values(" & did.Text & ",'" & dname.Text & "'," & seats.Text & ")" MsgBox ("New Department ADDED") End Sub Private Sub Command3_Click() Unload Me End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from c_dept", cn, adOpenDynamic, adLockOptimistic End Sub 1.11.4 REGISTER ACCOUNT FORM:

REGISTER ACCOUNT CODING: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() did.Text = "" dname.Text = "" seats.Text = "" did.SetFocus End Sub Private Sub Command2_Click() cn.Execute "insert into c_dept values(" & did.Text & ",'" & dname.Text & "'," & seats.Text & ")" MsgBox ("New Department ADDED") End Sub Private Sub Command3_Click() Unload Me End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from c_dept", cn, adOpenDynamic, adLockOptimistic

End Sub 1.11.5 ADDING PERSONAL AND ACADEMIC DETAILS FORM:

ADDING PERSONAL AND ACADEMIC DETAILS CODE: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim s As String Private Sub Command1_Click() MsgBox ("ARE YOU SURE OF THE DEPARTMENT YOU HAV SELECTED? ") R = InputBox("TYPE YES FOR SURE AND NO FOR SELECTING AGAIN") If R = "YES" Then cn.Execute "insert into studentdetail values('" & nam.Text & "','" & dob.Text & "'," & AGE.Text & ",'" & GENDER.Text & "','" & fname.Text & "','" & mname.Text & "','" & address.Text & "','" & eid.Text & "'," & tenpercent.Text & "," & twelvepercent.Text & ",'" & attempt.Text & "'," & regno.Text & ",'" & qe.Text & "','" & dep.Text & "')" MsgBox (" personal and academic details added !! ") Load Form5 Form5.Show

Else Unload Me End If End Sub Private Sub Command4_Click() unlaod Me End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from studentdetail", cn, adOpenDynamic, adLockOptimistic End Sub

1.11.6 LIST OF DEPARTMENTS FORM:

LIST OF DEPARTMENTS CODE: Dim D As String Dim s As Integer Private Sub Command1_Click() rs.MoveFirst While Not rs.EOF If rs.Fields(1) = dep.Text Then s = rs.Fields(2) s=s-1 cn.Execute "update c_dept set seats =" & s & " " End If rs.MoveNext

Wend Load Form3 Form3.Show End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from c_dept", cn, adOpenDynamic, adLockOptimistic rs.MoveFirst While Not rs.EOF rs.MoveFirst Label1.Caption = rs.Fields(1) rs.MoveNext Label2.Caption = rs.Fields(1) rs.MoveNext Wend End Sub

1.11.7 DISPLAY OF INFORMATION TO STUDENT FORM:

DISPLAY OF INFORMATION TO STUDENT CODE:Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim na, s As String Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from studentdetail", cn, adOpenDynamic, adLockOptimistic

na = InputBox("enter the name", na) rs.MoveFirst While Not rs.EOF If na = rs.Fields(0) Then nme.Text = rs.Fields(0) dob.Text = rs.Fields(1) AGE.Text = rs.Fields(2) Text12.Text = rs.Fields(3) fname.Text = rs.Fields(4) mname.Text = rs.Fields(5) address.Text = rs.Fields(6) eid.Text = rs.Fields(7) tenpercent.Text = rs.Fields(8) twelvepercent.Text = rs.Fields(9) Text11.Text = rs.Fields(10) regno.Text = rs.Fields(11)

qe.Text = rs.Fields(12) Text14.Text = rs.Fields(13) End If rs.MoveNext Wend End Sub

1.11.8 DISPLAY OF INFORMATION FOR ADMINISTARTOR:

1.11.8 DISPLAY OF STUDENT INFORMATION FORM:

DISPLAY OF STUDENT INFORMATION CODE: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() rs.MoveNext If rs.EOF Then rs.MoveFirst End If End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from studentdetail", cn, adOpenDynamic, adLockOptimistic rs.MoveFirst ame.Text = rs.Fields(0) dob.Text = rs.Fields(1) AGE.Text = rs.Fields(2) Text12.Text = rs.Fields(3) fname.Text = rs.Fields(4) mname.Text = rs.Fields(5)

address.Text = rs.Fields(6) eid.Text = rs.Fields(7) tenpercent.Text = rs.Fields(8) twelvepercent.Text = rs.Fields(9) Text11.Text = rs.Fields(10) regno.Text = rs.Fields(11) qe.Text = rs.Fields(12) Text14.Text = rs.Fields(13) End Sub

1.11.9 DISPLAY OF COLLEGE INFORMATION FORM:

DISPLAY OF COLLEGE INFORMATION CODE: Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() rs.MoveNext If rs.EOF Then rs.MoveFirst End If End Sub Private Sub Form_Load() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.CursorLocation = adUseClient cn.Open "dsn=sneha;uid=scott;pwd=tiger" rs.Open "select *from c_dept", cn, adOpenDynamic, adLockOptimistic rs.MoveFirst Text1.Text = rs.Fields(1) Text11.Text = rs.Fields(2) End Sub

CONCLUSION: Thus the project for Course Registration with oracle database was developed and executed successfully.

S-ar putea să vă placă și