Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Document for Design
Nội dung xem thử
Mô tả chi tiết
COMPUTER EDUCATION CENTER
FPT - APTECH
--- o0o ---
Document for Design
Project Name: DTO Solution
( Driving Test Online Solution )
Class : C0605M
Course : HDSE
Group : I (Oak Group)
Members join 1. Lam Truong Giang (Leader)
2. Nguyen Thi Mai Chinh
3. Nguyen Minh Hai
4. Nguyen Thuy Tien
5. Le Quang Viet
Email of team leader: [email protected]
Teacher guides: Tran Dinh Tri
Ha Noi 11.2008 : Copyright 2008 by Oak Group
Table of Content
FormNo1:
Problem Definition..........................................................................................................................1
Problem Definition......................................................................................................................2
Customer Requirements Specification............................................................................................4
Problem Definition......................................................................................................................4
Customer Requirements Specification........................................................................................6
Type of question..............................................................................................................................8
Description.......................................................................................................................................8
Type of degree.................................................................................................................................8
Number of question.........................................................................................................................8
Rate of question...............................................................................................................................8
Type of Degree................................................................................................................................9
Total question...................................................................................................................................9
Testing time.....................................................................................................................................9
Type of degree.................................................................................................................................9
Total question...................................................................................................................................9
Pass conditional...............................................................................................................................9
Requirement Analysis....................................................................................................................11
Requirement Analysis................................................................................................................11
I.Agent: .................................................................................................................................11
II.Use Case for DTO Solution (Driving Test Online Solution)............................................11
Requirement Analysis................................................................................................................13
III.Analysis chart Usecase of system:...................................................................................15
Requirement Analysis................................................................................................................16
(A5): System displays information about teacher who administrator needs find................21
Entity Relationship Diagrams........................................................................................................64
Requirement Analysi.................................................................................................................64
Entity Relationship Diagrams....................................................................................................65
Entity Relationship Diagrams....................................................................................................83
Document about design database table.....................................................................................84
Database Diagram..........................................................................................................................90
Design Detail.................................................................................................................................91
Design Detail.............................................................................................................................94
Task Sheet....................................................................................................................................182
Design Detail...........................................................................................................................182
Main Task....................................................................................................................................182
Task name....................................................................................................................................182
Task Sheet................................................................................................................................183
Coding Convention Guide...........................................................................................................185
Coding Convention..................................................................................................................185
1. About the C# Coding Style Guide...........................................................................................185
2. File Organization.....................................................................................................................185
2.1 C# Sourcefiles...............................................................................................................185
2.2 Directory Layout...........................................................................................................185
3. Indentation...............................................................................................................................185
3.1 Wrapping Lines.............................................................................................................185
3.2 White Spaces.................................................................................................................186
Don't use spaces for indentation - use tabs!............................................................................186
4. Comments................................................................................................................................186
i
4.1 Block Comments...........................................................................................................186
4.2 Single Line Comments..................................................................................................186
4.3 Documentation Comments............................................................................................187
5. Declarations.............................................................................................................................187
5.1 Number of Declarations per Line..................................................................................187
5.2 Initialization...................................................................................................................188
5.3 Class and Interface Declarations...................................................................................188
6. Statements................................................................................................................................189
6.1 Simple Statements.........................................................................................................189
6.2 Return Statements..........................................................................................................189
6.3 If, if-else, if else-if else Statements...............................................................................189
6.4 For / Foreach Statements...............................................................................................190
6.5 While/do-while Statements...........................................................................................190
6.6 Switch Statements.........................................................................................................190
6.7 Try-catch Statements.....................................................................................................191
7. White Space.............................................................................................................................191
7.1 Blank Lines....................................................................................................................191
7.2 Inter-term spacing..........................................................................................................191
7.3 Table like formatting.....................................................................................................192
8. Naming Conventions...............................................................................................................192
8.1 Capitalization Styles......................................................................................................192
8.1.1 Pascal Casing..............................................................................................................192
8.1.2 Camel Casing..............................................................................................................192
8.1.3 Upper case..................................................................................................................192
8.2. Naming Guidelines.......................................................................................................192
8.2.1 Class Naming Guidelines...........................................................................................193
8.2.2 Interface Naming Guidelines.....................................................................................193
8.2.3 Enum Naming Guidelines..........................................................................................193
8.2.4 ReadOnly and Const Field Names.............................................................................193
8.2.5 Parameter/non const field Names..............................................................................193
8.2.6 Variable Names..........................................................................................................193
8.2.7 Method Names............................................................................................................193
8.2.8 Property Names..........................................................................................................193
8.2.9 Event Names...............................................................................................................193
8.2.10 Capitalization summary............................................................................................194
9. Programming Practices............................................................................................................194
9.1 Visibility........................................................................................................................194
9.2 No 'magic' Numbers......................................................................................................194
10. Code Examples......................................................................................................................194
10.1 Brace placement example............................................................................................194
10.2 Variable naming example............................................................................................195
ii
Problem Definition
1. Project Abstract
1.1. Function of Project Abstract:
DTOSolution (Driving Test Online Solution) is the project of “OAK Group” is done with
purpose support Driving Test Center in Vietnam organize Driving Test Exam:
• It helps person who joins this exam can do “Online” one way quickly and effect,
avoid some difficult and bother of traditional exam.
• Support Driving Test Center can simplify and synchronous in manage test,
candidate, day – time exam and result after finish exam.
• Decrease making work, increase effect and professional for making exam in some
Driving Test Center in whole country.
1.2. Sphere of system is used:
• Using for some Driving Test Center confer driving degree (Car- Motorbike).
• Support for some Driving Test Center in organizes test traffic theory program.
1.3. Who uses it:
• A person who join the Driving Test Exam (Candidate).
• Official Center organizes confer driving degree (Administrator).
2. Proposed System
2.1. Overview status:
• Nowadays, with development of Vietnam Economic is very quickly and increase quickly of
traffic vehicle service for a lot of different work in social, and specially is two vehicles is
Car and Motorbike.
• With increase above is need very big for training and confer driving degree for two
vehicles above.
• And with traditional and old exam, as a result a lot of Driving Test Centre fell overload
the fuse with needing of today.
Figure 1: A few picture waiting for queue and traditional exam of candidate.
DrivingTestOnline V1.0 © 2007 OakGroup Page 1 of 200
Class: C0605M
Course: HDSE
Group: I (OAK Group)
Document Name: Problem Definition
Document Sign: Form No.1 / PD / Ver. 2.0
FormNo1/PD/Ver 2.0
Problem Definition
2.2. Purpose of project:
“OAKGroup” construct this project with purpose is help people who join Driving Test Exam
can testing one way easily and professional with trend development of Vietnam Economic and
Social. In additional, decrease overload at Driving Test Center in makes organize some exam.
Helps some exam becomes quickly, exactly, and equally than. DTO Solution is developed after
OAK Group invested and researched work at No 1 Bac Giang Driving Test Center and Gia LamHanoi Air Driving Test Center. As a result some function in DTO Solution is done with work project
(A Index) was agreed by two centers above. DTO Solution will have some function following:
• Sign in and doing test: In time testing, candidate is provided one Account
(include of user name and password) can sign in DTO Solution and do testing.
• Manage questions bank: This function helps Driving Test Center can manage (Add,
Insert, Delete) any the question have at questions bank of Driving Test Center. Each center
can add new question or delete old question to suit with current law.
• Manage person who uses DTO Solution: this function help for Center can manage each
person who joins the exam, supervisor, and official center.
• Manage testing room and day- time exam: Official Center can arrange day- time exam
for each candidate before testing.
• Automatic making test: Provides function automatic making test for each candidate with
quantity and type of question suits each driving degree.
• Organizes testing Online: In time testing, DTO Solution will confer test for Client and
each candidate can sign in and begin do testing.
• Automatic making mark and Manage test result: After finished exam, DTO
Solution will automatic making mark for each candidate and test result of
candidate will save on Database and is managed by official of center.
Figure 2: Candidate joins Driving Test Online Solution
DTO Solution V2.0 © 2008 Oak Group Page 2 of 200