Академический Документы
Профессиональный Документы
Культура Документы
CONTENTS
i. Section A
Introduction
Problem identification……………………………………………… 2
Sample documents…………………………………………… 5
(Questionnaires & interview questions)
Requirements specification…………………………………………. 8
Objectives…………………………………………………………… 9
Aims…………………………………………………………………. 9
ii. Section B
Alternative method ……………………………………………….. 10
Input Design ……………………………………………………….. 12
Output Design……………………………………………………… 18
Overall Plan………………………………………………………… 20
iii. Section C
Pseudocodes………………………………………………………... 22
Technical Documentation………………………………………….. 21
Program listing……………………………………………………… 26
User documentation………………………………………………… 37
iv. Section D
Testing & Evaluation
Testing……………………………………………………………… 40
Evaluation of System
Limitations………………………………………………………….. 50
Development………………………………………………………... 50
Appendices
Questionnaire........................................................................................ i
Screen Layouts.................................................................................. ii
1|Page
HOSTEL ALLOCATION
SECTION A
SELECTION, INVESTIGATION AND ANALYSIS
Hostel Allocation
Mount St Mary’s High School
BACKGROUND: MT ST MARY’S High School
Problem Identification
When allocating hostels they use the first come first served basis which means that students
are given dormitories randomly using a manual system .The problem arises when hostels are
full since there is no fixed number of students in each hostel. To add on, data is typically
accessible to anyone and therefore there is high risk of it being lost.
1. Interview
2. Observation
3. Questionnaire
2|Page
HOSTEL ALLOCATION
ORGANIZATIONAL STRUCTURE
PRIEST IN CHARGE
HEADMASTER
DEPUTY
HEADMASTER
SENIORS
MEMBERS OF STAFF
3|Page
HOSTEL ALLOCATION
Interview Guide
Questions about the current system they use
Q: How many dormitories do you have altogether?
Q: How long does it take to finish allocating the hostels for example to Form Ones?
Q: What are the problems which you have encountered when using this system?
Q: Have you and your staff device any solutions to this problem?
4|Page
HOSTEL ALLOCATION
Questions
Questions
2. How many years have been employed 5years and below Above 5 years
the company?
6. How long has the current system being Less Than 5 years More than 5 years
used?
10 + years
5|Page
HOSTEL ALLOCATION
5. Female warden is responsible for monitoring the hostels and checking the number of
6. Information is stored in files for a very long time and then transferred to archives
7. Records can easily get lost and they are difficult to retrieve.
9. No way to tell whether there are any free dormitories left unoccupied.
3. Hostels which have been occupied remain unknown unless one moves to each and
6|Page
HOSTEL ALLOCATION
4. System must be linked with all other departments in the school like accounts.
7. System must be able to secure each student a hostel without any problem.
Software Requirements
The proposed system has the following software requirements for its implementation.
Hardware Requirements
7|Page
HOSTEL ALLOCATION
• Reducing duplication of data and maintenance of data integrity through the use of a
database
A system which:
• Creates forms
• Creates reports
Feasibility Study
The system should be economically feasible thus it should not be costly to implement
such that the benefits of the new system should outweigh the estimated cost.
Technically feasible in the sense that it should have adequate hardware components
required in order to produce an effective system.
8|Page
HOSTEL ALLOCATION
This system should also be socially feasible such that it acts responsibly towards the
society, it should not be possessing problems or being a burden to the local rather it
should have positive impact to the society. Problems like increased paper works
which intern to cause pollution has also been reduced by this system as it will be
computerised.
Legal feasibility this system wills not violet the legal requirement of the state for
instance laws outlined in the data protection act. This system also supports the data
protection act by providing security to data from unauthorized system.
SECTION B
Design Stage
Alternative Methods To Be Used
ADVANTAGES
There’s creation of jobs
Cheaper than buying a new system
DISADVANTAGES
Requires more room to store the files
Time consuming
9|Page
HOSTEL ALLOCATION
The school might also purchase an off the shelf software that is designed for that particular
task.
Advantages
Disadvantages
Highly complex
Software contains large sections which might not be used
CHOOSEN SOLUTION
It is a customised software specifically designed to meet the demands of that particular school
using a programming language or software such as a database management system.
Advantages
INPUT DESIGN
10 | P a g e
HOSTEL ALLOCATION
Student details
Student Number...................................................................................
Student Name...................................................................................................................................
Student Surname: ............................................................................................................................
Date of Birth:......../......./......./....
Gender:......................................
Religion:..................................................................
Home Address: ..........................................................
Form.................................................................
Room Details
Name............................................................................
Room Number...................................................................
Fees Details
11 | P a g e
HOSTEL ALLOCATION
Receipt No
Date
Student Information
Studentname
……………………………………………………………………………………….
Dorm No
Class
Fees information
Total fees
Total paid
Amount due
12 | P a g e
HOSTEL ALLOCATION
FILE DESIGN
FILE DESIGN
13 | P a g e
HOSTEL ALLOCATION
FILE DESIGN
14 | P a g e
HOSTEL ALLOCATION
Relationship in database
15 | P a g e
HOSTEL ALLOCATION
OUTPUT DESIGN
Forms design
Menu
shows
option
for
printin
g 16 | P a g e
HOSTEL ALLOCATION
Button creates a
new record
Button calculates
the amount due
17 | P a g e
HOSTEL ALLOCATION
Option for
searching a
Reportsdesign record
Menu
shows
option
for
printin
g
Tables design
18 | P a g e
HOSTEL ALLOCATION
OVERALL PLAn
HOSTEL ALLOCATION
ERROR PASSWORD
Add
Add
Add
Save Save
Save
Delete Delete
Delete
Next Next
Next
19 | P a g e
Exit Exit Exit
HOSTEL ALLOCATION
Section c
Technical documentation
Password screen
START
INSERT PASSWORD
Yes
IS DISPLAY
PASSWOR WELCOME SCREEN
D =MUZE
No
DISPLAY ERROR
MESSAGE
20 | P a g e
HOSTEL ALLOCATION
PSEUDOCODES
Main menu
Begin
End if
Else
End if
Else
End if
Else
21 | P a g e
HOSTEL ALLOCATION
End if
End
Forms Menu
Begin
Accept option
End if 1
Else
End if
Else
End if
Else
22 | P a g e
HOSTEL ALLOCATION
End
Else
If Option=Back then
End if
End
Else
End if
Else
End if
End
23 | P a g e
HOSTEL ALLOCATION
Report menu
Begin
Accept option
End if
Else
End if
Else
End if
Else
24 | P a g e
HOSTEL ALLOCATION
End If
End if
End
End Sub
25 | P a g e
HOSTEL ALLOCATION
Form2.Show()
End Sub
End Sub
End Class
FEES FORM
Public Class Fees
End Sub
End Sub
'code to calculate fees
Private Sub btnCalc_Click(sender As Object, e As EventArgs) Handles btnCalc.Click
Dim AmountPaid As Integer
Dim AmountDue As Integer
AmountPaid = txtAmountPaid.Text
AmountDue = (500 - AmountPaid)
txtAmountDue.Text = AmountDue
If AmountPaid < 500 Then
MsgBox("Error!!!Fees not complete,Cannot Allocate Hostel")
Me.Hide()
FormsMenu.Show()
ElseIf AmountDue = 0 Then
MsgBox("Please Proceed")
Me.Hide()
Hostel.Show()
End If
End Sub
'code to add a record
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
26 | P a g e
HOSTEL ALLOCATION
FeesBindingSource.AddNew()
End Sub
'code to save a record
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Try
FeesBindingSource.EndEdit()
TableAdapterManager.UpdateAll(HostelsDataSet2)
MsgBox("Success")
Catch ex As Exception
MsgBox("Error occur, please recheck the fields and try again")
End Try
End Sub
' code to delete a record
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
FeesBindingSource.RemoveCurrent()
MsgBox("Current record deleted")
End Sub
'code to exit fees form and show Forms menu
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Me.Hide()
FormsMenu.Show()
End Sub
'code to search for a record
Private Sub txtSearch_Click(sender As Object, e As EventArgs) Handles
txtSearch.Click
Dim Search As String = InputBox("Name or Surname")
If Me.FeesTableAdapter.FillByName(Me.HostelsDataSet2.Fees, Search, Search)
Then
MsgBox("Record Found")
Else
MsgBox("No record Found")
End If
'code to print a record
Private Sub PrintToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles
PrintToolStripMenuItem.Click
PF.Print()
End Sub
End Sub
End Class
HOSTEL FORM
End Sub
27 | P a g e
HOSTEL ALLOCATION
Me.HostelTableAdapter.Fill(Me.HostelsDataSet3.Hostel)
End Sub
'code to save record
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Try
HostelBindingSource.EndEdit()
TableAdapterManager.UpdateAll(HostelsDataSet3)
MsgBox("Success")
Catch ex As Exception
MsgBox("Error occur, please recheck the fields and try again")
End Try
End Sub
'code to add a record
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
HostelBindingSource.AddNew()
End Sub
'code to delete a record
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
HostelBindingSource.RemoveCurrent()
MsgBox("Current record deleted")
End Sub
'code to allocate a hostel
Private Sub btnAllocate_Click(sender As Object, e As EventArgs) Handles
btnAllocate.Click
If rbtJamaica.Checked Then
MsgBox("Jamaica")
txtRoomname.Text = ("Jamaica")
ElseIf rbtAfrica.Checked Then
MsgBox("Africa")
txtRoomname.Text = ("Africa")
ElseIf rbtStates.Checked Then
MsgBox("States")
txtRoomname.Text = ("States")
ElseIf rbtMono.Checked Then
MsgBox("Mono")
txtRoomname.Text = ("Mono")
ElseIf rbtChaminuka.Checked Then
MsgBox("Chaminuka")
txtRoomname.Text = ("Chaminuka")
ElseIf rbtKaguvi.Checked Then
MsgBox("Kaguvi")
txtRoomname.Text = ("Kaguvi")
ElseIf rbtBerkinoff.Checked Then
MsgBox("Berkinoff")
txtRoomname.Text = ("Berkinoff")
ElseIf rbtEmmaculate.Checked Then
MsgBox("Emmaculate")
txtRoomname.Text = ("Emmaculate")
ElseIf rbtMarian.Checked Then
MsgBox("Marian")
txtRoomname.Text = ("Marian")
ElseIf rbtChichester.Checked Then
MsgBox("Chichester")
txtRoomname.Text = ("Chichester")
ElseIf rbtAssis.Checked Then
MsgBox("Assis")
txtRoomname.Text = ("Assis")
ElseIf rbtLoyola.Checked Then
MsgBox("Loyola")
txtRoomname.Text = ("Loyola")
ElseIf rbtPalace.Checked Then
28 | P a g e
HOSTEL ALLOCATION
MsgBox("Palace")
txtRoomname.Text = ("Palace")
ElseIf rbtMary.Checked Then
MsgBox("Mary")
txtRoomname.Text = ("Mary")
ElseIf rbtNaija.Checked Then
MsgBox("Naija")
txtRoomname.Text = ("Naija")
ElseIf rbtNehanda.Checked Then
MsgBox("Nehanda")
txtRoomname.Text = ("Nehanda")
End If
End Sub
'code to search a record
Private Sub btnSearch_Click_1(sender As Object, e As EventArgs) Handles
btnSearch.Click
Dim Search As String = InputBox("Enter Name or Surname")
If Me.HostelTableAdapter.FillByNameSurname(Me.HostelsDataSet3.Hostel, Search,
Search) Then
MsgBox("Record Found")
Else
MsgBox("No record found")
End If
End Sub
'code to exit hostel form and show fees form
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Me.Hide()
Fees.Show()
End Sub
'code to print a record
Private Sub PrintToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles
PrintToolStripMenuItem.Click
PF.Print()
End Sub
PARENT DETAILS
Public Class Form2
End Sub
End Sub
'code to save a record
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
29 | P a g e
HOSTEL ALLOCATION
Try
Parent_DetailsBindingSource.EndEdit()
TableAdapterManager.UpdateAll(HostelsDataSet)
MsgBox("Success")
Catch ex As Exception
MsgBox("Error occur, please recheck the fields and try again")
End Try
End Sub
'code to add a record
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Parent_DetailsBindingSource.AddNew()
End Sub
'code to delete a record
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Parent_DetailsBindingSource.RemoveCurrent()
MsgBox("Current record deleted")
End Sub
'code to exit form and show Forms Menu
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Me.Close()
Forms Menu.Show()
'code to search for a record
Private Sub btnSearch_Click(sender As Object, e As EventArgs) Handles
btnSearch.Click
Dim search As String = InputBox(" Enter Qualification")
If
Me.Parent_DetailsTableAdapter.FillByQualification(Me.HostelsDataSet.Parent_Details,
search, search) Then
MsgBox("RecordFound")
Else
MsgBox("No Record Found")
End If
End Sub
End Class
STUDENT FORM
End Sub
30 | P a g e
HOSTEL ALLOCATION
End Sub
'code to save a record
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Try
Student_DetailsBindingSource.EndEdit()
TableAdapterManager.UpdateAll(HostelsDataSet)
MsgBox("Success")
Catch ex As Exception
MsgBox("Error occur,please recheck the fields and try again")
End Try
End Sub
'code to add a record
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Student_DetailsBindingSource.AddNew()
End Sub
'code to delete a record
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Student_DetailsBindingSource.RemoveCurrent()
MsgBox("Current record deleted")
End Sub
'code to exit form and show Forms Menu
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Me.Close()
Forms Menu.Show()
End Sub
'code to search for a record
Private Sub btnSearch_Click(sender As Object, e As EventArgs) Handles
btnSearch.Click
Dim search As String = InputBox("Enter Name or Surname")
If
Me.Student_DetailsTableAdapter.FillByNameSurname(Me.HostelsDataSet.Student_Details,
search, search) Then
MsgBox("Record Found")
Else
MsgBox("No record Found")
End If
End Sub
End Sub
End Class
REPORTS MENU
31 | P a g e
HOSTEL ALLOCATION
Me.Hide()
FeeDatagrid.Show()
End Sub
End Sub
End Sub
FEES REPORT
Imports System.Data.OleDb
Public Class FeeDatagrid
Dim connString As String = "Provider = Microsoft.ACE.OLEDB.12.0; Data source =
C:\Users\Hostels\Desktop.mdb"
Dim Myconn As OleDbConnection
Dim da As OleDbDataAdapter
Dim ds As DataSet
Dim table As DataTableCollection
Dim source1 As New BindingSource
End Sub
End Sub
32 | P a g e
HOSTEL ALLOCATION
End Sub
End Sub
'code to print record
Private Sub PrintToolStripMenuItem1_Click(sender As Object, e As EventArgs)
Handles PrintToolStripMenuItem1.Click
PF.Print()
End Sub
33 | P a g e
HOSTEL ALLOCATION
End Sub
'code to exit report and show reports menu
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Hide()
Reports.Show()
End Sub
' code to search record
Private Sub btnSearch_Click(sender As Object, e As EventArgs) Handles
btnSearch.Click
Dim search As String = txtsearch.Text
If
Me.Hostel_FeesTableAdapter.FillByStudentNumber(Me.HostelsDataSet.Hostel_Fees, search,
search) Then
MsgBox("Record Found")
Else
MsgBox("No record Found")
End If
End Sub
End Class
End Sub
End Sub
'code to exit report and show reports menu
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Hide()
Reports.Show()
End Sub
'code to search records
Private Sub btnSearch_Click(sender As Object, e As EventArgs) Handles
btnSearch.Click
Dim search As String = txtSearch.Text
If
Me.Parent_DetailsTableAdapter.FillByQualification(Me.HostelsDataSet.Parent_Details,
search, search) Then
MsgBox("Record Found")
Else
MsgBox("No record Found")
End If
End Sub
'code to print records
34 | P a g e
HOSTEL ALLOCATION
End Sub
End Sub
'code to exit report and show reports menu
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Hide()
Reports.Show()
End Sub
'code to search records
Private Sub btnsearch_Click(sender As Object, e As EventArgs) Handles
btnsearch.Click
Dim search As String = txtsearch.Text
If
Me.Student_DetailsTableAdapter.FillByNameSurname(Me.HostelsDataSet.Student_Details,
search, search) Then
MsgBox("Record Found")
Else
MsgBox("Record not found")
End If
End Sub
'code to print record
Private Sub PrintToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles
PrintToolStripMenuItem.Click
PF.Print()
End Sub
End Sub
35 | P a g e
HOSTEL ALLOCATION
USER DOCUMENTATION
INSTALLATION-To install the system on your computer, copy the system saved on the
provided disk and copy the contents to any folder in your computer. Then right click on the
folder labelled hostel allocation system and choose the option run to install the system. Then
click ok on the option written desktop icon. A message written successfully installed should
appear on your screen after the installation.
36 | P a g e
HOSTEL ALLOCATION
37 | P a g e
HOSTEL ALLOCATION
MAIN MENU-this displays various options from which you have to choose from. These are
forms, and reports. Click close form to go back to the welcome screen.
FORMS MENU-This displays all forms from the database and from which you have to
select which form to open and edit. To go back to main menu click exit.
38 | P a g e
HOSTEL ALLOCATION
REPOR
TS MENU-This shows all report from which to select in the database and to close this form
click exit
39 | P a g e
HOSTEL ALLOCATION
SECTION D
TESTING AND EVALUATION
User testing
Field Name Purpose Test Data Comments/Expected data
Password Valid Muze Accepted! It is the correct
password
Invalid Mukundwa Rejected! Password should be
Muze
Username Valid Bervally Valid username because it
should be Bervally
inVALID PASSWORD
40 | P a g e
HOSTEL ALLOCATION
Valid password
INVALID USERNAME
Valid username
41 | P a g e
HOSTEL ALLOCATION
Invalid fees
Valid fees
42 | P a g e
HOSTEL ALLOCATION
InvalidGrade/form
Validfo
43 | P a g e
HOSTEL ALLOCATION
rm/grade
SYSTEM TESTING
Ease of use
The system will be easy to use for the user by providing relevant data only for example
alerting the user at the time an error occurs ;
RELIABILITY AND EFFECTIVENESS
To prove to the users of this system that the system produce reliable results effectively, the
system is going to be tested for security reliability and effectiveness using the login form.
The user will only gain access to the system if and only the username and password are
correct. In the case of wrong username or password the user is provided with a pop up
message for notification.
44 | P a g e
HOSTEL ALLOCATION
Below is a screen showing the login Form with a pop up message which is produced
when the user enters incorrect data;
45 | P a g e
HOSTEL ALLOCATION
To create Forms:Figure2
46 | P a g e
HOSTEL ALLOCATION
47 | P a g e
HOSTEL ALLOCATION
48 | P a g e
HOSTEL ALLOCATION
49 | P a g e
HOSTEL ALLOCATION
Sitting on the computer typing students’ names for a long time might cause health
problems to the operator.
The analyst also failed to establish automatic notification if hostel is full.
Lastly the visual basic used cannot be used by computer illiterate individuals.
RECOMMENDATIONS
In the fourth coming event that the system is upgraded or a new one is introduced the
analyst must use data entry method methods which are strain free to the operator for
example voice recognition method.
50 | P a g e