Professional Documents
Culture Documents
System Guide
System Guide
CANDIDATE AND MARK MANAGEMENT SYSTEM (SYSTEM GUIDE) GROUP: 22 SUPERVISOR: Msc. VU THI HAU
PARTICIPANTS: NGUYEN THU HIEN (TEAM LEADER) HOANG THU HA NGUYEN THI NGOC HOA NGUYEN NGOC HUNG
Copyright Genetic Computer School, Singapore HANOI, VIET NAM Jun 2013
System guide
Studying in Genetic Computer School for a long time, we have been well provided and imparted for all the necessary and high valuable of professional knowledge by our lecturers. Besides, we have our faithful, careful style and creative mind in studying and working. They are very necessary characters to gain successes in the next steps of our future. Project is a very good opportunity to examine our knowledge and promote our work group ability. During executing this project, we have received a lot of helping from our guides, teachers, and study- management department. Firstly, We would like to give special thanks to Msc. Vu Thi Hau for her great moral support; guidance and feedback enable us to complete this project.
Secondly, we wish to give our thankfulness to Mr. William Goh Principle of Genetic Computer School, Mr Nguyen Trung Dung Director of Hanoi Open University, Prof. Dr. Nguyen Thi Viet Huong. Moreover, we wish to give our thankfulness to all the teachers of Genetic Computer School, who gave us the knowledge and enthusiastically helped us in studying, Because our project cannot avoid some mistakes, we wish to sympathize to professors, lecturers. To make the criticism, suggestion of our teachers is the precious experiences for our actual work in the future. In addition, we wish respectfully our teachers healthy, happiness; achieve the great results in study and career of education. Extra special thanks our parents and all of our friends in D13 for their help. We would like to thank sincerely! Group 22 HUT Genetic Singapore International Join Program- 2013
Group 22
System guide
CHAPTER I: SYSTEM SPECIFICATION ................................................................................ 3 1.1 SCENARIO...................................................................................................................... 3 1.2 INFRASTRUCTURE ...................................................................................................... 5 1.4 SCHEDULE OF PROJECT ............................................................................................. 6 1.5 METHOD OF INVESTIGATION ................................................................................... 7 1.6 UML (THE UNIFIED MODELING LANGUAGE) .................................................................... 9 1.6.1 USER CASE ................................................................................................................ 9 1.6.2 CLASS DIAGRAM .................................................................................................... 10 1.6.3 SEQUENCE DIAGRAM ........................................................................................... 14 1.6.4 ACTIVITY DIAGRAM ............................................................................................... 21 1.6.4.1 ADD NEW CANDIDATE ACTIVITY DIAGRAM ................................................ 22 1.6.4.2 ADD NEW MARK BY HAND ACTIVITY DIAGRAM.......................................... 23 1.6.4.3 ADD NEW MARK BY FILE ACTIVITY DIAGRAM .......................................... 24 1.7 DATABASE DESIGN (INCLUDING ERD) ................................................................ 37 1.7.1 Normalized Forms ................................................................................................. 37 CHAPTER 2: INPUT AND OUTPUT SPECIFICATION ....................................................... 43 2.1 FILE SPECIFICATION ................................................................................................... 43 2.2 RECORD SPECIFICATION ......................................................................................... 43 2.3 OUTPUT SPECIFICATION............................................................................................ 45 CHAPTER 3: PROGRAM DESIGN AND TESTING ............................................................. 46 3.1 PROGRAM DESIGN ...................................................................................................... 47 3.1.1 DECISION TABLE ................................................................................................... 47 3.1.2 UML (ACTIVITY DIAGRAM) ............................................................................... 50 3.2 PROGRAM TESTING .................................................................................................. 65 3.2.1 TEST PLAN ............................................................................................................... 65 3.2.2 TEST DATA............................................................................................................... 66 Table dbo.Info_Candidate ............................................................................................. 66 Tabledbo.Candidate_Code ............................................................................................ 66 Tabledbo.Mark .............................................................................................................. 66 Tabledbo.Subject ........................................................................................................... 67 CHAPTER 4: OPERATING INSTRUCTIONS........................................................................ 68 4. OPERATING INSTRUCTIONS ........................................................................................... 68 4.1 HARDWARE ARE REQUIREMENT ............................................................................ 70 4.2 SOFTWARE ARE REQUIREMENT .............................................................................. 71 CONCLUSION .......................................................................................................................... 72
Group 22
System guide
Phuong Dong University (PDU) was established since 1994. After nearly 20 years of construction and development, PDU has been continuously growing thousands of students each year. PDU has a periodic examination of Candidates who want to enter for PDU. Formerly, they managed all the information of candidates and their marks by manual. It took so much time but the effect is not good because the accuracy was low, cost high expense. Nowadays information technology has been developing dramatically and is one of the most important roles in our lives. With development of Information Technology, especially Internet, people can easily access information from anywhere, at any time they want. It also blurs boundaries, makes people closer as if they are face to face and sharing information become easiest than ever. Information technology is applied flexibly and creatively in many areas and it actually gets many amazing achievements. So Managers decide to create a system to manage candidates and marks automatically. In this project we choose PDU for our system to develop. However, it got many benefits in a short time, especially everyone can easily use. However, it has been taken place in a limited or small scale, which is impossible to meet the huge demand of customer, especially who are busy or far from the school. For these reasons, we built the project to give out the solution for solving the limitations. Our System mainly focuses on candidate and mark which help customers easily lookup scores they want just by one click on system everywhere event at home. The systems function: 1) (User)Admin must log on to use the program. Accounts of admin are stored in the database. 2) Admin can input data, edit data, delete data, view data about Candidates and Marks. 3) Admin can manage room-exam and subject. 4) Admin can search information of candidates and marks by many criteria: a. Search Candidates by Candidates code b. Search Candidates by Candidates name c. Search Marks by Candidates code d. Search Marks by Candidates name HUT-Genetic Computer School Group 22 3
System guide
vii. Advice note of the beginning of term for candidates who pass the exam 6) Admin must manage the files of the beginning of term. 7) Admin can backup and recovery the database.
Group 22
System guide
1.2 INFRASTRUCTURE Genetic Computer School has 5 computer labs with 150 networked PCs that hook up to the school intranet. These computers also have direct Internet access. There is a server run by system administration and several computers used by school registrar staff. Meanwhile, centralized, multi-user functionalities are performed by the server. The database can be stored in a server for data safety.
Group 22
System guide
SCHEDULE OF PROJECT Our project has been started at December 2012 and finished at 20th May 2013. Schedule
Group 22
System guide
The using of some method for investigation is the first work before analyzing and designing programming. Although interviewing is the most commonly used, the others are also valuable and effective techniques for requirement determination. But we also use some other methods such as: Observation method: There are two kinds of observation methods o Official observation: Its not a good method to observe every single element while collecting information to develop system. The future system youre building up may be deemed to change the current way of working. Moreover, those youre looking at may be uncomfortable and may behave unusually, which will affect your surveys quality. o Unofficial observation: Researching through document is the final food method to get important. We choose unofficial observation method to collect data and develop our system. Survey methods: o The interview: An interview is a planned meeting during which you obtain information from another person. The process of interviewing consists of six steps: Determine who to interview Establish objectives for the interview Prepare for the interview Conduct the interview Document the interview Evaluate the interview o Questions: You should carefully choose the kind of question you will ask. As each kind of question serves a particular context, you will suffer if you choose it wrongly. You should take those questions which show your prediction and use the words that can help emphasize your idea. HUT-Genetic Computer School Group 22 7
System guide
Learn to know how to be quiet and listen to your interviewers. Dont present a question while he/she thinks or manage to answer a question. Dont try to ask in a way so as to lead the interviewee to your own direction, you wouldnt get much information that way. o Communications: The language you use and the way you talk about technical stuff should in some way create a close contact between you and the one youre interviewing. Questionnaire method: This method requires your clear instructions to the user. In general, this method is complicated and ineffective for inexperienced analyzers.
Group 22
System guide
Introduce about Use Case A use case is a description of a systems behavior as it responds to a request that originates from outside of that system. The use case technique is used in software and system engineering to capture the functional requirements of a system. USE CASE diagram contains following elements: Actor may be a person or an external system that provides or receives information from the system. Use case is the function that the system performs General Use Case diagram symbol: <<Include >> Include e <<Extend >> Extend e
Generalization System boundary Use case: A use case represents a declaration of an offered behavior Association: An association represents the collaboration between an actor and a use case. Include: Include is a directed relationship between two use cases, which implies that the behavior of the included use case is inserted into the behavior of the including use case. Extend: Extend is a relationship between two use cases, which specifies how and when the extended use case insert the behavior defined in the extending use case. Actor: An actor specifies a role played by human users, external hardware, or other subjects that interacts with the subject System boundary: Represents the boundary of the subject Generalization: A generalization relationship relates a more general use case and a more specific use case. Group 22 9
Actor
System guide
Main
View Candidates code Manage Room Exam View Room Exam Exam_paper_code View Exam_paper_code Mark management Admin View mark Search
User
Report
Report
Manage User
Group 22
10
System guide
Class is a description of an entity group that has the same attributes, meanings, behaviors and relationship with others. Therefore, class is a form to create entities. Class diagrams are the most common diagram in modeling object-oriented systems. A class diagram shows a set of classes, interfaces and collaborations and their relationships. We use class diagrams to model the static design view of a system. For the most part, this involves modeling the vocabulary of the system, modeling collaborations, or modeling schemas. General Class Diagram Symbol: Class
<<Interface>> Class
Class: A class is a classifier that has objects as its instances. A class provides the template from which objects are created (instantiated). It also defines its attributes and operations.
Interface: An interface is a kind of classifier that defines a set of related public operations and responsibilities.
Group 22
11
System guide
<<Intergace>> Manage Candidates - IDCard: Nchar - Candidate_LastName: Nvarchar - Candidate_FirstName: Nvarchar - DOB: Datetime -Sex: Text -Address: Nvarchar -Phone: Nvarchar -Speciality: Text - Notice: Ntext Add_new_candidate() Edit_candidate() Delete_candidate() Search_candidate()
<<Interface>> Manage Rooms -Rooms: Nchar -Place: Nchar -Date: Nchar -Time: Nchar Add_new_room() Edit_room() Delete_room() Search_room()
Group 22
12
System guide
<<Intergace>> View Candidates - IDCard: Nchar - Candidate_LastName: Nvarchar - Candidate_FirstName: Nvarchar - DOB: Datetime -Sex: Text -Address: Nvarchar -Phone: Nvarchar -Speciality: Text - Notice: Ntext - View_candidate()
<<Interface>> Manage Rooms -Rooms: Nchar -Place: Nchar -Date: Nchar -Time: Nchar - View_room()
Group 22
13
System guide
1.6.3 SEQUENCE DIAGRAM Introduce about Sequence Diagram Sequence diagrams belong to a group of UML diagrams called Interaction Diagram. Sequence diagrams show the functional flows through the use cases. They describe the interactions between the objects and concentrate on describing the order of the messages by the time. So each function in the use case diagram would produce a sequence diagram. A single sequence diagram often represents the flow of events for a single use case. Instance: An instance of a class shows a sample configuration of an object. On the sequence diagram, each instance has a lifeline box underneath it showing its existence over a period of time. Actor: An actor is anything outside the system that interacts with the system. It could be a user or another system. Message: The message indicates communication between objects. The order of messages from top to bottom on your diagram should be the order in which the messages occur. Horizontal dimension shows Objects Vertical dimension shows time sequencing of object Object is shown as a vertical dashed line, its lifeline.
Group 22
14
System guide
Lifeline
Call Message
Return Message
Lifeline
Lifeline: An individual participant in the Interaction. Call Message: A type of message which represents an operation call. Return Message: A type of message which represents an execution end and return to the caller.
Self Message: A type of message which represents the execution or operation call in the same lifeline.
Actor: Actor specifies a role played by human users, external hardware, or other subjects that interacts with the subject.
Group 22
15
System guide
Administrator
Login Form
Login Process
Database
2:Click btn_login
3: Login Process
5: Respond result
7: Error notification
Group 22
16
System guide
Administrator
Database
4: Input process
5: Save to database
6: Respond result
7: Error notification
Group 22
17
System guide
Administrator
Database
4: Delete process
5: Save to database
6: Respond result
7: Error notification
Group 22
18
System guide
Administrator
Database
2:Click btn_edit
4: Edit process
5: Save to database
6: Respond result
7: Error notification
Group 22
19
System guide
Administrator
Database
2:Click btn_search
3: Search process
6: Respond result
7: Error notification
Group 22
20
System guide
An activity diagram which is related to program flow plans (flowcharts) is used to illustrate activities. In external view, we use activity diagrams for the description of those business processes that describe the functionality of the system. General Activity Symbol:
Initial Activity
Activity
Decision
Final Activity
Initial Activity: This shows the starting point or first activity of the flow. Denoted by a solid circle. This is similar to the notation used for Initial State.
Activity: Represented by a rectangle with rounded edges. Decision: a logic where a decision is to be made is depicted by a diamond. Final Activity: The end of the Activity diagram is shown by a bull's eye symbol,
Group 22
21
System guide
1.6.4.1
Error message
Invalid
Check validation
No Yes Continue No
Save to database
Group 22
22
System guide
Error message
Invalid
Check data
Continue
No
Group 22
23
System guide
1.6.4.3
Error message
Invalid
Select criteria
Processing
Success message
Continue
Group 22
24
System guide
1.6.4.3
Error message
Invalid Valid
Check data
Continue
Continue edit
No
Group 22
25
System guide
Error message
Invalid Valid
Check data
Continue
No
No
Group 22
26
System guide
Error message
Invalid Valid
Continue
No
Yes
Group 22
27
System guide
Error message
Invalid Valid
Process in database
Success message
Continue
No
Yes
1.6.4.7
System guide
Error message
Invalid Valid
Process in database
Success message
Continue
No
Yes
1.6.4.8
Group 22
29
System guide
Error message
Invalid Valid
Continue
Show information
Group 22
30
System guide
Error message
Invalid Valid
Continue
Show information
No Yes
Figure 1.18: Reporting All candidate's mark activity diagram REPORTING DIAPOSE CANDIDATES MARK ACTIVITY DIAGRAM Group 22 31
1.6.4.10
System guide
Error message
Invalid Valid
Continue
Show information
No Yes
1.6.4.11
Group 22
32
System guide
Error message
Invalid Valid
Continue
Error message
Figure 1.20: Reporting Generate candidate who pass the exam activity diagram
1.6.4.12
Group 22
33
System guide
Error message
Invalid Valid
Continue
Error message
Group 22
34
System guide
Error message
Invalid Valid
Continue
Error message
No Yes
Figure 1.22: Reporting Ratio of candidate who passes the exam activity diagram
Group 22
35
System guide
REPORTING ADVICEOF CANDIDATES AND THE BEGINNING OF THE TERM OF CANDIDATES WHO PASS THE EXAM ACTIVITY DIAGRAM
Error message
Invalid Valid
Access to database
Continue
Insert data
Error message
No Yes
Insert
Report
Figure 1.23: Reporting Advice of candidates and the beginning of the term of candidates who pass the exam activity diagram
Group 22
36
System guide
Normalization is a process by which we identify and correct inherent problems and complexities in our record design. The Normalization is the process of normalizing entity tables through 1NF, 2NF, 3NF, and further. An entity table is in 1NF if, and only if, it contains no repeating groups. An entity table is in 2NF if, and only if, all of its must depend on the entire identifier of its entity or its value. In other words it is in 1NF and every non-key attribute is dependent on all parts of the primary key. An entity table is in 3NF if, and only if: it is in 2NF, and no non-key attribute is functionally dependent on another non-key attribute. This means that, every attribute must not depend on anything except the unique identifier of its entity for a value. Un-Normalization IDCard Candidate_LastName Candidate_FirstName DOB Sex Address Phone Speciality Candidate_Code Room Place Date Time Subject_code
Group 22
37
System guide
1NF
IDCard Candidate_LastName Candidate_FirstName DOB Sex Address Phone Speciality Candidate_Code Room Place Date Time Exam_paper_code Subject_code Subject_name Mark
Group 22
38
System guide
Group 22
39
System guide
Group 22
40
System guide
Room * ( PK) Place Date Time Exam paper code Table in 3NF
Group 22
41
System guide
Group 22
42
System guide
2.1 FILE SPECIFICATION In this program, the Mark_Candidate_managementSystem file would be used when the user enter data into this file. The information is stored in Mark_Candidate_managementSystem file. So the input file is described as follow: Mark_Candidate_managementSystem File: FILE NAME FILE ID FILE ORGANISATION SQL MODE Mark_Candidate_managementSystem file Mark_Candidate_managementSystem.MDF SERIAL SERIAL
2.2 RECORD SPECIFICATION In this system, we have used SQL Server 2005 to store all data the user posted via internet to the system or updated, edit, temporary data do by this system members. The information are stored in tables on Mark_Candidate_managementSystem database file, this file would be used. So this file is the input files. Table Candidate
Group 22
43
System guide
Table Exam_paper_code
Table Mark
Table Room_Exam
Group 22
44
System guide
Table Users
Group 22
45
System guide
Group 22
46
System guide
3.1 PROGRAM DESIGN 3.1.1 DECISION TABLE Decision table for LOGIN procedure Condition Stub 1. Valid username 2. Valid password 3. Continue Action Stub 1. Error message 2. Input data again 3. Access System X X X X Y Y Y Y Y N Y N Y Condition Entry Y N N N Y Y N Y N N N Y N N N
Action Entry X X X X X X X
Condition Stub 1. Existing Data 2. Continue Action Stub 1. Error message 2. Input data again 3. Insert Database X X Y Y
Condition Entry Y N N Y N N
Action Entry X
Group 22
47
System guide
Condition Stub 1. Data existing in record table 2. Continue 3. Edit data Action Stub 1. Error message 2. Input data again 3. Save data to database X X Y Y Y Y Y N Y N Y
Condition Entry Y N N N Y Y N Y N N N Y N N N
Action Entry X X X X X X
Condition Stub 1. Data existing in record table 2. Continue 3. Delete confirmation Action Stub 1. Error message 2. Input data again 3. Delete data and save to database X X Y Y Y Y Y N Y N Y
Condition Entry Y N N N Y Y N Y N N N Y N N N
Action Entry X X X X X X
Group 22
48
System guide
Condition Stub 1. find or show data 2. continue Action Stub 1. Error message 2. Input data again 3. Show, view and report data X Y Y
Condition Entry Y N N Y N N
Action Entry X X X X
Condition Stub 1. Data existing in record table 2. Continue Action Stub 1. Error message 2. Input data again 3. Show, view and report data X Y Y
Condition Entry Y N N Y N N
Action Entry X X X X
Group 22
49
System guide
Error message
Invalid
Check validation
No Yes Continue No
Save to database
Group 22
50
System guide
Error message
Invalid
Check data
Continue
No
Group 22
51
System guide
3.1.2.3
Error message
Invalid
Select criteria
Processing
Success message
Continue
Group 22
52
System guide
Error message
Invalid Valid
Check data
Continue
Continue edit
No
Group 22
53
System guide
Error message
Invalid Valid
Check data
Continue
No
No
Group 22
54
System guide
Error message
Invalid Valid
Continue
No
Yes
Group 22
55
System guide
Error message
Invalid Valid
Process in database
Success message
Continue
No
Yes
Group 22
56
System guide
Error message
Invalid Valid
Process in database
Success message
Continue
No
Yes
Figure 3.8: Regulating Room -exam activity diagram 3.1.2.9 REPORTING EXAMINEE LIST ATTEDING EXAMINATION ATIVITY DIAGRAM HUT-Genetic Computer School Group 22 57
System guide
Error message
Invalid Valid
Continue
Show information
Group 22
58
System guide
Error message
Invalid Valid
Continue
Show information
No Yes
Figure 3.10: Reporting All candidate's mark activity diagram REPORTING DIAPOSE CANDIDATES MARK ACTIVITY DIAGRAM Group 22 59
3.1.2.11
System guide
Error message
Invalid Valid
Continue
Show information
No Yes
3.1.2.12
System guide
Error message
Invalid Valid
Continue
Error message
Figure 3.12: Reporting Generate candidate who pass the exam activity diagram
Group 22
61
System guide
DIAGRAM
Error message
Invalid Valid
Continue
Error message
Group 22
62
System guide
ACTIVITY DIAGRAM
Error message
Invalid Valid
Continue
Error message
No Yes
Figure 3.14: Reporting Ratio of candidate who passes the exam activity diagram
Group 22
63
System guide
Error message
Invalid Valid
Access to database
Continue
Insert data
Error message
No Yes
Insert
Report
Figure 3.15: Reporting Advice of candidates and the beginning of the term of candidates who pass the exam activity diagram
Group 22
64
System guide
3.2.1 TEST PLAN Testing accomplishes a variety of things, but most importantly it measures the quality of the project. The requirements section of the project specification does more than set benchmarks and list features. It also provides the basis for all testing on the product. After all, testing generally identifies defects that create, cause, or allow behavior not expected in the project based on descriptions in the specification. Specification writers should maintain the following standards when presenting requirements:
All requirements should be unambiguous and interpretable only one way. All requirements must be testable in a way that ensures the program complies. All requirements should be binding because customers demand them. Analyze each specification from the viewpoint of how well it supports the development
of test cases.
Purpose of test 1. Test for open all input and output file 2. Test for adding into the data.mdb file 3. Test for delete record
Test data
Expected Result All input and output file are opened All input are written to the specific files Particular record is deleted and refresh in data.mdb file Particular record is updated and refresh in data.mdb file File is read carefully and display the data that the file contained All process are performed successfully Whole program run successfully with test data
Group 22
65
System guide
Test data is a valid checking system of data, so we used some data for the program and have found what data is valid or invalid. Table dbo.Info_Candidate
Valid test data IDCard Candidate_ LastName 07010230145 Dang Tra Candidate_ FirstName My 6/10/1984 Female Bac Giang 0988303339 B DOB Sex Address Phone Speciality
Invalid data IDCard Candidate_ LastName 07010230145 Tabledbo.Candidate_Code Valid test data IDCard 0701-023-0145 Candidate_Code A101 Room 12 134 Candidate_ FirstName 568 6/10/1984 Female 232 098303339 B DOB Sex Address Phone Speciality
Invalid data IDCard 0701-023-0145 Tabledbo.Mark Valid test data HUT-Genetic Computer School Group 22 66 Candidate_Code A101 Room xyz
System guide
Invalid data Exam_paper_code A1234 Tabledbo.Subject Valid test data Subject_code Gs0011 Subject_name English Description Dsfshdlf232 Mark XT1
Group 22
67
System guide
4. OPERATING INSTRUCTIONS
Firstly, your system must be installed .Net framework and SQL server 2005.Run setup to install program, window for setup will display and choose folder for new install program, and then click close to finish setup.
Group 22
68
System guide
Group 22
69
System guide
Group 22
System guide
RAM
Hard-disk
4.2 SOFTWARE ARE REQUIREMENT Software is the program instructions that tell a computer what to do. It plays the main role of the information handling. As the software is written in C#, to execute and modify the program we need the following software installed: Windows 2000 or higher version SQL Server 2005(Database) Microsoft Visio 2003 or higher Microsoft Word 2007 or higher (Text Editor) At least 500 Mb free disk space .NET Framework
Group 22
71
System guide
CONCLUSION
EFFICIENCIES Professional management. Help officers manage information easy and limiting errors. LIMITATION In each project, developing is implemented through many specified phases before to be completed program. But beside positive aspects, its also existing negative aspects. These are shortcoming of designing, analysis, and initialize the program. Our project is not an exception: This system only use for an admin. It does not allow many people use. -This is a small program, so it can only be used for small or medium Offices. Small program, little function May have error when enter to many data. This program is only applied for single computer, so it does not support sharing data through Network or Local Area Network. If you want to use this program, you have to administrators account to manage. FUTURE DEVELOPMENT In future, we will development this system with larger scale, more functions, such as the average, memory are higher than.and user more than one admin
Group 22
72