You are on page 1of 7

EXNO: 14 STUDENT INFORMATION SYSTEM

PROBLEM STATEMENT

Student Information System has to be developed for analyzing marks obtained by the students in the
semester examination. The system stores the student details in a database. When the student logs in the
system, it extracts details from the data base and provides it to the student.

DATA BASE DESIGN

LOGIN TABLEDETAILS TABLE

MARK DETAILS TABLE


STUDENT INFORMATION SYSTEM

UML DIAGRAMS

USECASE DIAGRAM

CLASS DIAGRAM

ACTIVITY DIAGRAM
DEPLOYMENT DIAGRAM COMPONENT DIAGRAM

SEQUENCE DIAGRAM

STATE CHART DIAGRAM

correct total marks check


get marks enter check
marks pass or fail
marks marks
LAYERED ARCHITECTURE DIAGRAMS:

CODINGS
MODULE
Global db As New ADODB.Connection
Global rs As New ADODB.Recordset
Global studentid As String

FORM 1 (LOGIN)
Private Sub cmdcancel_Click()
Unload Me
End Sub

Private Sub cmdlogin_Click()


query = "select * from login where studentid ='" & txtuser.Text & "' and password = '" &
txtpass.Text & "'"
Set rs = db.Execute(query)
If Not rs.EOF Then
studentid = rs(0)
rs.Close
Form2.Show
Else
MsgBox ("invalid user name or password")
txtuser.SetFocus
End If
End Sub
Private Sub Form_Load()
db.ConnectionString = "provider=microsoft.jet.OLEDB.4.0;data
source=Z:\CaseTools\student\STUDINFO.mdb;persist security info=false"
db.Open
End Sub

FORM 2 (STUDENT DETAILS)


Private Sub cmdexit_Click()
Unload Form2
Unload Form3
Load Form1
End Sub
Private Sub cmdselect_Click()
Form3.Show
End Sub
Private Sub Form_Load()
displaydetails
lockboxes
End Sub

Public Sub displaydetails()


Dim query As String
query = "select * from studentInfo where studentid= '" & studentid & "'"
Set rs = db.Execute(query)
txtcollege = IIf(IsNull(rs("collegeselected")), "", rs("collegeselected"))
txtcourse = IIf(IsNull(rs("courseselected")), "", rs("courseselected"))
txtdob = rs("dob")
txtemail = rs("email")
txtmarks = rs("marks")
txtname = rs("name")
txtphoneno = rs("phoneno")
txtstudentid = rs("studentId")
rs.Close
End Sub

Public Sub lockboxes()


txtcollege.Locked = True
txtcourse.Locked = True
txtdob.Locked = True
txtemail.Locked = True
txtmarks.Locked = True
txtname.Locked = True
txtphoneno.Locked = True
txtstudentid.Locked = True
End Sub

FORM 3 (MARK DETAILS)


Dim course As String
Dim college As String

Private Sub Command1_Click()


Unload Form2
Unload Form3
Load Form1
End Sub
Private Sub Form_Load()
dispcolldetails
End Sub
Public Sub dispcolldetails()
Dim query As String
query = "select * from college where studentid= '" & studentid & "'"
Set rs = db.Execute(query)
s1 = rs("s1")
s2.Text = rs("s2")
s3.Text = rs("s3")
cgpa.Text = rs("cgpa")
txtname = rs("name")
txtstudentid = rs("studentId")
rs.Close
End Sub

OUTPUT:

LOGIN FORM STUDENT DETAILS FORM


MARK DETAILS FORM

You might also like