Escolar Documentos
Profissional Documentos
Cultura Documentos
CONTENT
Part I:
Chapter I: System Introduction
1.1 Scenario.........................................................................................................4
1.2 The reason for choosing tools......................................................................6
1.3 Project schedule............................................................................................8
Chapter II: System Analysis
2.1 Function diagram (FD)................................................................................9
2.2 Data Flow Diagram (DFD)........................................................................11
2.2.1 Context diagram...................................................................................12
2.2.2 DFD level 0 for Function Diagram......................................................14
2.2.3 DFD level 1 for System........................................................................15
2.2.4 DFD level 1 for Management...............................................................16
2.2.5 DFD level 1 for Search.........................................................................17
2.2.6 DFD level 1 for View...........................................................................18
2.2.7 DFD level 2 for Report.........................................................................19
2.2.8 DFD level 2 for Account Management................................................20
2.2.9 DFD level 2 for Pupil...........................................................................21
2.2.10 DFD level 2 for Class.........................................................................22
2.2.11 DFD level 2 for Subject.....................................................................23
2.2.12 DFD level 2 for Pupil Subject............................................................24
Chapter III: System Design
3.1 Entity Relationship Diagram (ERD).........................................................25
3.2 Input Design (Record specification)..........................................................29
3.3 Output Design (List of output)..................................................................38
3.4 Program Design (Flow Chart)...................................................................40
3.4.1 Flow chart for Login............................................................................41
3.4.2 Flow chart for Add New Pupil’s information.....................................42
Part II:…………………………………………...……………………….. 62
Project Part I:
Emerald Primary School Management System
1.1 Scenario:
Nowadays, information technology has an important role in our
full for supplier to manage and customer to access. But also, we’re
subjects buts they’re useful for our job in the future. And we can
approach to the new way in studying, the new technology of the world
will check your ability in the IT field. With the 3rd year student as us,
unique place for the education of the children of the area for more
than 100 years, is the largest primary school and has an enrolment of
solving this.
Teacher can Input data, Edit data for pupil’s mark and information.
2.
Teacher can search information of pupil’s mark and ….
3.
Search pupil by pupil’s code
a)
Search pupil by pupil’s name
b)
Search pupil by pupil’s birthday
c)
Search pupil by pupil’s mark
d)
Teacher can view information of pupil:
4.
List all pupils’ information.
a)
List all pupils’ mark according to each subject.
b)
List all pupils’ information according each class.
c)
5. Teacher can generate the reports as following:
Participants: Regno:
So, with a program like this, we has to build this information system
with any programming language such as: VB.Net, C#, Visual Basic,
server), Oracle.…..After a long time we have made the decision the use
Database:
There are a lot of tools manage such as: Microsoft Access, SQL
following reasons:
Programming language:
the programming language that widely used in Vietnam and it’s the first
the Windows interface will make the user feel more familiar so they can
easily use it, too. And another reason that makes us choose it is because of
its features:
The “Visual” part refers to the method used to create the graphical
Basic has evolved from the original BASIC language and now contains
Visual Basic developers need to get ready for the biggest transition
they have ever had to make. The next edition of VB, called Visual
Task Time to
Planned Task Contents
# Accomplish
Complete Chapter 1(Introduction to
the system) included :
System + Scenario
February 23th -
requirements
1 February 28th + Reason for choosing tools.
analysis
(analyses user needs and user
requirements)
Complete Chapter 2(System analysis
and design part 1)included:
+ Context Diagram
System analysis March 1st - April
2
and design - Part 1 15th + Function hierarchy diagram
+ D.F.D
+ E.R.D
Complete Chapter 2(System analysis
h
System analysis April 16 - April and design part 2)included:
3 and design - Part 2 23th
+ Flow Chart
Converts the designs into the
complete information system
System includes acquiring and installing
April 24h - May 16th
4 Development system's environment; creating and
testing databases (test files, coding,
compiling....)
Demonstrates that developed system
conforms to requirements as
Integration and specified in the Functional
5 May 17th - May 22th
Test Requirements Document (includes
implementation preparation and
resolution of identified problems)
+ Complete all problems, print
Complete Project documents and Burn disks.
6 May 23th - May 26rd
and Submit
+ Prepare for presentation.
1.1 Account
Management
2.1 Pupil 3.1 Pupil’s 4.1 Pupil’s 5.1 Pupil’s
Mark Information Information
Add
Add 3.2 Pupil by 4.2 Pupil’s 5.2 Subject &
Edit Pupil’s code Mark Mark
Edit
Delete 4.3 Pupil’s 5.3 Marks of
3.3 Pupil by
Delete Info according each pupil &
Pupil’s name average mark
2.2 Class to each class
3.4 Pupil by
1.2 Backup
Add Pupil’s b-day
2.3 Subject
Add
Edit
Delete
2.4 Pupil
Subject
Add
Edit
Delete
Process
Data Flow
Data Store
External Factor
A context diagram is a data flow diagram that shows the boundaries of the
information system. The context diagram is a top-level view of the information
system.
context diagram. A context diagram is a data flow diagram that shows the
Admin
Require
Feedback
User
Fig
System”.
entity is “Management”.
The data interactions between the information system and the external
entity occur through two deferent data flows. The “ Admin” external entity
supplies data through the “Requirement Info” data flow (which requires
tblPupil
tblClass
tblSubject
tblPupilSubject
tblUser
Feedback Require
System
User Feedback User
tblPupilSubject
tblPupil
tblSubject
tblPupil
tblClass
tblSubject
Feedback Feedback
tblPupilSubject
Feedback
Require
Require
tblPupilSubject
tblPupilSubject
tblSubject
tblClass
tblClass
tblPupil
tblPupil
Feedback Feedback
User
Require
1.1
Account Tbl User
Management
Feedback
Feedback
Require
Feedback Feedback
Admin
1.3
1.2 Require Require
Recovery
Backup
tblUser
tblPupil
Require Require
tblClass
tblSubject
Feedback Feedback
tblSubject
Require Require
2.1 2.2
tblPupil tblClass
Pupil Require Require Class
Feedback Feedback
Feedback Feedback
Admin
Feedback Feedback
Require
tblPupil
Require
2.4 tblPupilSubject
tblSubject 2.3 Require Require
Pupil_ tblSubject
Subject Subject
Feedback Feedback
Require Require
Feedback
3.4
tblPupil
User Search pupil
Feedback by birthday
Feedback
Require
Require
Feedback
Require
Feedback
Feedback Require
3.3
3.2 Search
pupil by code
Admin Search pupil
Require Feedback
by name
Feedback
Require
Feedback
Require
tblPupil
Feedback
Require
User
Require Require
3.1 3.5
Search Pupil’s Search pupil
Feedback mark by mark Feedback
Require
Feedback
tblPupilSubject
tblPupilSubject
tblSubject
tblSubject
tblPupil
Require Feedback
User
Feedback Feedback
User
Require Require
Require Require
4.1 4.2
View pupil’s Admin View pupil’s
Information Feedback Feedback mark
Feedback
Require
Feedback
Feedback
Require
Require
tblPupil
Feedback 4.3
View pupil
tblPupil
tblClass info according
to class
tblPupil tblSubject
Feedback
Require
tblPupilSubject
User
Feedback
5.1
Feedback
tblPupil
Generate
User report pupil’s
Require information Require
Feedback
Order
Feedback Feedback
Admin
Require
Require
tblPupil
5.2 Require Require 5.3
Generate report tblSubject Generate report
subject and pupil’s Mark and
mark
Feedback tblPupil_Subject Feedback
average Mark
Feedback Feedback
User
Require Require
Require
1.1.1
Create new tblUser
account
Feedback
Feedback
Require
Require Require
Admin
Feedback Feedback
tblUser
Order Order
Require
2.1.1
tblPupil
Add new Pupil
Feedback
Feedback
Require
Require Require
Admin
Feedback Feedback
Feedback Feedback
2.1.2 2.1.3
tblPupil Delete Pupil
Edit Pupil
Require Require
Require
2.2.1
Add new Class tblClass
Feedback
Require
Feedback Require
Require
Admin
Feedback Feedback
Feedback Feedback
2.2.2 2.2.3
tblClass Delete Class
Edit Class
Require Require
Require
2.3.1
Add new tblSubject
subject
Feedback
Feedback
Require
Require Require
Admin
Feedback Feedback
Feedback Feedback
2.3.2 2.3.3
tblSubject Delete Subject
Edit Subject
Require Require
Order
2.4.1
Add new tblPupil_Subject
Pupil_Subject
Feedback Feedback
Order
Order Order
Admin
Feedback Feedback
about the system required by system analyst. ERD is one of the most useful
Relationship
In our database, there’re 5 tables that include the entire field for the
information that used for the program. They are: tblPupil, tblClass,
a. Table Pupil:
Table tblPupil contains the fields: with each Class ID define one class
name.
PupilID (primary key): define that the student is unique, and avoid
mistake with other students.
PupilName: describe the student name used to search, list, and sort the
result after processed.
b. Table Class:
Table tblClass contains the fields: with each Class ID define one class
name.
Figure
3.2: Table Class
c. Table Subject:
Figure
3.3: Table Subject
Table tblPupil_Subject (Mark) contains the fields: With couple key are
Subject ID and Pupil ID that define link relationship with table Pupil and
table Subject.
Figure
3.4: Table Pupil_Subject
e.Table User:
2. Table Class
Field name Data type Length Allow null Note
ClassID * Text 15 Primary Key
ClassName Text 50 Require
3. Table Subject
Field name Data type Length Allow null Note
SubjectID * Text 15 Primary Key
SubjectName Text 50 Require
SubjectHourNum Number Require
4. Table Pupil_Subject
Field name Data type Length Allow null Note
SubjectID * Text 15 Primary Key
PupilID * Text 15 Primary Key
SubjectMark Number Require
5. Table User
Field name Data type Length Allow null Note
UserName * Text 10 Primary Key
Password Text 10 Require
Role Text 15 Require
Main
Account Management
Pupil Management
Class Management
Subject Management
Mark Management
Decision or
Process
Condition
Terminator
Input/Ouput
Data Flow
The Data Flow: It is used to describe the movement information from one
part of system to another.
Begin
Input
username
and
password
True
True
End
Begin
Input
Pupil’s data
Yes
No
Confirm Add ?
Yes
Stored Pupil’s
Information record
in database
Successful
End
Begin
Input
Class’s
data
Yes
No Confirm Add ?
Yes
Stored Class’s
Information record
in database
Successful
End
Begin
Input
Subject’s
data
Yes
No
Confirm Add ?
Yes
Stored Subject’s
Information record
in database
Successful
End
Begin
Input Pupil_
Subject
data
Check Pupil_
No Error
Subject’s
message
Information
Yes
No Confirm Add ?
Yes
Successful
End
Begin
Input Pupil
ID
Yes
Confirm Delete ?
No
Yes
Update Pupil’s
Information record
Successful
End
Begin
Input
Subject ID
Yes
Confirm Delete ?
No
Yes
Update Subject’s
Information record
Successful
End
Begin
Input Class
ID
Yes
No
Confirm Delete ?
Yes
Update Class’s
Information record
Successful
End
Begin
Input Pupil
ID &
Subject ID
Yes
Confirm Delete ?
No
Yes
Update Pupil_Subject’s
Information record
Successful
End
Begin
Input Pupil
ID
True
Show
Pupil’s
information
No Confirm Edit ?
Yes
Update Pupil’s
information record
Successful
End
Begin
Input
Subject ID
True
Show
Subject’s
information
No Confirm Edit ?
Yes
Successful
End
Begin
Input Class
ID
True
Show
Class’s
information
No Confirm Edit ?
Yes
Successful
End
Begin
Input Pupil
ID and
Subject ID
Check exist
of Pupil ID and False Error
Subject ID message
True
Show
Pupil_
Subject’s
information
No Confirm Edit ?
Yes
Successful
End
Begin
Input
keyword to
Search
Search Pupil’s
Information
True
End
Begin
Input
keyword to
Search
True
End
Begin
Select type
of Report
Generate Report
Display
Report
End
Begin
Select type
of View
View information in
database
Display
Result
End
Test for open all input and All input and output records are
Valid/Invalid Data
output the records opened
Test for the limitation of data Valid/Invalid Data To find out the limitation of data
1. tblPupil
Field name Valid data Invalid data
PupilID * 001 Over 15 characters
2. tblClass:
Field name Valid data Valid data
ClassID * 001 15
3. tblSubject:
Field name Valid data Valid data
SubjectID * 001 Over 15 characters
4. tblPupil_Subject:
Field name Valid data Valid data
SubjectID * 004 Over 15 characters
PupilID * 001 Over 15 characters
5. tblUser
Field name Valid data Valid data
UserName * Admin Over 10 characters
Password admin Over 10 characters
1.Link List
1.1 Introduction
Linked lists are among the simplest are most common data structures, they
provide an easy implemetation for several important abstract data structures,
including stacks, queues, hash tables, symbolic expressions , and skip lists.
The principal benefit of a linked list over a conventional array is that the order of
the linked items may be different from the order that the data items are stored in
memory or on disk. For that reason, linked list allow insertion and removal of node
at any poin in the list, with a constant number of operations.
On the other hand, linked list by themselves do not allow random access to the
data, or any form of efficient indexing. Thus, many basic operations --- such as
obtaining the last node of the list, or finding a node that contains a given datum, or
locating the place where a new node should be inserted--- many require scanning
most of the list elements.
Linked list can be implemented in most languages. Languages such as Lisp and
Scheme have the data structure built in, along with operations to acces the linked
list. Procedural languages, such as Java, typically reply on mutable references to
create linked lists.
When you input element into link list,program will question that do you want
to add more elements.If you choose “ Yes”,you can add many othere elements.If
you choose “ No”,program will display all elements which you added into link list.
Begin
Yes
End
When program displayed all elements, program will show function menu.You
can choose delete function.If you choose delete function, program will display line
that you must input elements to delete element.When program delete that
elemment,program will display remain elements after deleting.
Begin
Yes
Delete inputted
No
element
on screen
End