Document for Design

201 249 0
Document for Design

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Document for Design

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 Lam Truong Giang (Leader) Nguyen Thi Mai Chinh Nguyen Minh Hai Nguyen Thuy Tien Le Quang Viet Email of team leader: giang.itc@gmail.com Teacher guides: Tran Dinh Tri Ha Noi 11.2008 : Copyright 2008 by Oak Group Table of Content FormNo1: Problem Definition Problem Definition Customer Requirements Specification Problem Definition Customer Requirements Specification Type of question Description .8 Type of degree .8 Number of question .8 Rate of question .8 Type of Degree Total question Testing time Type of degree .9 Total question 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 About the C# Coding Style Guide 185 File Organization 185 2.1 C# Sourcefiles .185 2.2 Directory Layout 185 Indentation .185 3.1 Wrapping Lines 185 3.2 White Spaces .186 Don't use spaces for indentation - use tabs! 186 Comments 186 i 4.1 Block Comments 186 4.2 Single Line Comments 186 4.3 Documentation Comments 187 Declarations 187 5.1 Number of Declarations per Line 187 5.2 Initialization 188 5.3 Class and Interface Declarations 188 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 White Space 191 7.1 Blank Lines 191 7.2 Inter-term spacing 191 7.3 Table like formatting 192 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 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 Class: C0605M Course: HDSE Group: I (OAK Group) Document Name: Problem Definition Document Sign: Form No.1 / PD / Ver 2.0 Problem Definition 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 “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) 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 of 200 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 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 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 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 of 200 FormNo1/PD/Ver 2.0 Problem Definition System name: 2.3 • 2.4 DTOSolution : Driving Test Online Solution Environment for development 2.4.1 Hardware 2.4.1.1 Server: • CPU Pentium IV 2.66GHZ , Ram 512MB , HDD 40GB, Card NIC, Modem 56K, Hub(Switch) 25 Port, wire net 2.4.1.2 Client: • 2.4.2 CPU Pentium III 1.7GHZ Ram 256, HDD 40GB, Card NIC, wire net Software 2.4.2.1 Server: • Window Server 2003 sp • SQL Server 2000 Person Editor Service Pack • Net framework 2.0 2.4.2.2 Client: • • 2.5 Window XP SP2 .Net framework 2.0 Tool is used for development: • • Technology: Window form, Net Remoting, ADO Net, DCOM; • Database: MS SQL Server 2000 • Tool for design: Visual Studio 2005 • DTO Solution Environment runs: Net framework 2.0 • • Languages are used: C# Net Tool for Interface: Adobe Photoshop Tool for makes UML: Rational Rose, Visio 2003, Smart Draw 2007 V2.0 © 2008 Oak Group Page of 200 C0605M Class: FormNo1/PD/Ver 2.0 Course: HDSE Group: I (OAK Group) Problem Definition Document Name: Customer Requirements Specification Document Sign: Form No.2 / CRS / Ver 2.0 Customer Requirements Specification • Person who uses DTO Solution: o Candidate o Official of Driving Test Center (Administrator) Function for candidate: 1.1 Guide for using DTO Solution: • Candidate hasn’t to sign in when uses this function • Helps for candidate understands using each function of DTO Solution 1.2 Sign in DTO Solution: • In the testing, candidate can sign in application to doing test • Candidate uses Username and Password is provided to sign in • System will check username and password of candidate If right it will allow begin doing test, and if wrong application will require candidate sign in again • Only some candidates is allowed doing test (status of candidate is normal) so this candidate will have permit sign in DTO Solution and doing test 1.3 • Doing Test: After candidate signed in DTO Solution, question and answers list are appeared, candidate can begin doing test, and Server side will begin set up testing time of candidate • Each times when candidate selected one answer, immediately it will is sent to Server and Server will solve and save it on Database to backup data when client side have problem 1.4 • Finish: When candidate selected finish option or exam time up, test of candidate won’t have validity Application at Client Side will is clocked • This time, status of candidate will change to finish and sent require making mark for Server 1.5 • Control Client side in testing time: In testing time, Client sides will is controlled by Server side, any action is wrong with exam regular (such as: using USB to read document, run another application) won’t it Function for Administrator: 2.1 • DTO Solution Sign in to manage system: Official of center signed in before use permit their management V2.0 © 2008 Oak Group Page of 200 FormNo1/PD/Ver 2.0 Problem Definition • DTO Solution Official of center needs provide Username and Password for system tests V2.0 © 2008 Oak Group Page of 200 FormNo2/CRS/Ver 2.0 Customer Requirements Specification • Only each official have status is active (Or property status of official is normal) can sign in DTO Solution • 2.2 Administrator only can use some function which is permitted by system Manage official uses system: 2.2.1 • Add new account for administrator: Administrator who has the highest permit can add new account for different administrator for official at Driving Test Center • New information of new administrator will add on database with some permit is provided which suit for their work 2.2.2 • 2.2.3 • Change account of administrator: Can update again information, also provides permission for administrator Delete account of administrator: Account of each official don’t work at center or don’t have task manage on system can delete 2.3 Manage supervisor: 2.3.1 • Add new supervisor: With each the exam will have one official of Transport and Traffic Ministry monitors with two officials of Driving Test Center • Some information of supervisor will is added and is managed by administrator of Driving Test Center 2.3.2 • Change information of supervisor: Any information of supervisor is wrong or not right can is changed by administrator of Driving Test Center 2.3.3 • Delete information of supervisor: Information of some supervisor didn’t have any times monitor can is deleted on Database • Each supervisor has more one time monitor can’t delete If that supervisor don’t have permit monitor in the future, administrator will update their status (Their status will is “Freeze”) 2.4 Manage class and day-time test: 2.4.1 DTO Solution Add new test class: V2.0 © 2008 Oak Group Page of 200 ... 83 Document about design database table 84 Database Diagram 90 Design Detail .91 Design Detail 94 Task Sheet 182 Design. .. Repair information about candidate  Delete information about candidate (A4): Teacher chooses the function “Repair information about candidate” (B3) (A5): System displays a repair information form... Repair information about exam class  Delete information about exam class (A4): Teacher chooses the function “Repair information about exam class”(B3) (A5): System displays form to repair information

Ngày đăng: 08/08/2013, 09:25

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan