1 UserID The unique number defines a member 2 MCode The unique string defines a student 3 FullName FullName of user 4 Gender Female, Male 5 DateOfBirth Date Of Birth of user 6 Address Co
Trang 1TABLE OF CONTENTS
CHAPTER 1 – SYSTEM SPECIFICATION 3
1.1 SCENARIO AND QUESTION PAPER 3
1.1.1 Scenario 3
1.1.2 Question Paper 4
1.2 BACKGROUND 5
1.3 INFRASTRUCTURE 8
1.4 FUNCTIONAL DIAGRAM 8
1.5 CONTEXT DIAGRAM 9
1.6 DATABASE DESIGN 10
1.6.1 Normalized Forms 10
1.6.2 Entity Relationship Diagram 13
CHAPTER 2 – PROGRAM SPECIFICATION 14
2.1 PROGRAM IDENTIFICATION 14
2.2 PROGRAM DESCRIPTION 15
2.3 PROGRAM OUTLINE 16
2.4 PROGRAM SCHEDULE 17
2.5 PROGRAM ESTIMATION 17
CHAPTER 3 – INPUT SPECIFICATION 18
3.1 FILE SPECIFICATION 18
3.2 RECORD SPECIFICATION 21
CHAPTER 4 – OUTPUT SPECIFICATION 24
4.1 FILE SPECIFICATION 24
4.2 RECORD SPECIFICATION 27
4.3 PRINT LAYOUT CHART 31
CHAPTER 5 – PROGRAM DESIGN 34
5.1 FLOW CHART 34
CHAPTER 6 – PROGRAM LISTING 41
Trang 26.2 REPORT LISTING 42
CHAPTER 7 – PROGRAM TESTING 43
7.1 TEST DATA 43
7.1.1 Test data for Article Table 43
7.1.2 Test data for ArticleType Table 43
7.1.3 Test data for Attachment Table 43
7.1.4 Test data for Category Table 44
7.1.5 Test data for Comment Table 44
7.1.6 Test data for User Tale 44
7.2 TEST LOG SHEET 45
7.3 GRID CHART 47
CHAPTER 8 – OPERATING INSTRUCTIONS 48
8.1 OPERATING INSTRUCTIONS 48
8.1.1 Installation of SQL Server 2000 48
8.1.2 Installations of IIS 56
8.1.3 How to run total program 56
8.2 HARDWARE REQUIREMENT 57
8.3 SOFTWARE REQUIREMENT 57
CHAPTER 9 – LIMITATIONS 58
9.1 SCOPE AND LIMITATIONS 58
CHAPTER 10 - GLOSSARY 60
Trang 3CHAPTER 1 – SYSTEM SPECIFICATION1.1 SCENARIO AND QUESTION PAPER
1.1.1 Scenario
Information technology is becoming increasingly clear that the growth of computing andcommunications technology is exceeding our understanding of its economic and socialimpacts Information technology is being used by organizations in a wide variety of settingsand ways and that information technology is critical for the smooth operation of manyorganizations Further, its usage is positively correlated with organizational productivity andefficiency
Change driven by information technology is having a significant impact on every aspect oflife and is an increasingly critical issue for education Information technology is able toimprove the delivery of education and enhance student achievement They are not onlymake teaching, learning, study more convenient and easy but also ensure desired efficiencyand scientific methods Because of the following rationales that government attemptsencouraging the use of information technology in education The education system canprepare students to participate fully in an advanced information society in which they live (asocial rationale) Environments equipped with computers and network access are extremelyuseful for providing a foundation for learning, promoting independent learning, and creatingbetter environment To create universities that disclose information using the Internet (websites) is an extremely useful tool for sharing information on what goes on in universities andclassrooms and for establishing a new level of exchange with caregivers and thecommunity It also provides the potential to deepen and expand the understanding onstudents across the entire student curriculum (a learning effectiveness rationale) And ithelps them to overcome problems of distance and isolation (an efficiency rationale) Each ofthese there rationales supports each other
The Internet has penetrated rapidly and extensively into U.S public universities A U.S
Trang 4access to the Internet; penetration had increased by 15 percentage points in each of the prior
2 years The Office of Technology Assessment (OTA) estimated that in 2000, U.S.universities had 7.4 million computers for use in instruction But in Viet Nam, instead ofbeing fully aware of that, we failed to apply it successfully So what are the reasons?Inadequate facilities, lack of qualified manpower, limitation on development of technologyand the deficiency of infrastructure when referring to this problem In fact, the impact onthe bulk of teaching and learning has been minimal Developments in paper/printingtechnologies have had far more influence, with the consequence that face-to-face discussionand paper resources still dominate public education As the matter of fact, there is acommunication gap between lectures and students only in classrooms because of the passiveway of learning In an attempt to handle the knowledge, students have no choice except forthe traditional means such as coming to libraries to read printed materials
Needless to say, the application of information technology is an access road to mine ofknowledge Therefore, applying the information technology in the field of educationbecomes more and more important and pressing And it gives us the reason to hope that thequality of education and training in Viet Nam will be so much improved
1.1.2 Question Paper
1 What objects does the new program apply?
2 What about student/lecturer ideas?
3 How do forms represented?
4 The Web Site needs to provide?
5 How do students and lecturers solve this problem before the program is brought out?
6 Which kind of device do you take data from?
a.Magnetical tape b.Compact Disk c.Magnetic Compact Disk
d.Hard disk e.Com port
7 How often is information exchanged?
a Daily b Weekly c Fortnight d Each month e Each year
8 Who require to program?
9 How many peoples will access to the Web Site?
Trang 511 How do you usually input data for system?
12 What information of student must you input?
13 How does program store information in order to retrieve, quickly?
14 What professional level of student and lecturer?
15 How many kinds of information services are there nowadays?
16 Are the existing information services running well?
17 Are they cost-effective and does they satisfy the student’s needs?
18 Are there any troubles for the customer when using those services?
19 Does the information provided much depends on the human knowledge?
20 Are the information provided fully and precisely?
21 Are the information services professional?
22 Does there exist any Knowledge Base System-like in Vietnam?
23 Can student get the information they desire?
24 Is the Vietnam IT infrastructure good enough for high-quality Internet services?
25 How economic benefits are for the faculty when using Knowledge Base System
compared to other types of information service?
26 Does using a Knowledge Base System require professional knowledge as compared to using Internet?
27 Complaints and suggestion for the system?
28 Does it cost much to develop a Knowledge Base System?
29 Does the administration of a Knowledge Base System require very professional
knowledge base for the administrator?
1.2 BACKGROUND
What is a Web-based Knowledge Base System?
A web-based Knowledge Base System is an online Knowledge resource on the net.Knowledge Base System creates a huge archive of information on a website that help peoplegain knowledge Knowledge Base System also is a communication tool that helps people
Trang 6Objectives of Web-based Knowledge Base System
Web-based Knowledge Base System changes significantly the roles of traditional lecturerand student Students assume increasing responsibility for their learning while lecturersbecome resources, facilitators and evaluators, guiding students in their problem-solvingefforts For you as a learner, the ability to concentrate and to use your time well is the key tosucceed
Since the dawn of the Internet age, the online Knowledge Base System was supposed to letgreat lecturers reach any student, any subject, any time, and anywhere Onlineteaching/learning are not fixed in time or space Many students find the flexibility of onlinelearning a practical alternative to sitting in a campus classroom for hours on end Studentscan interact with the lecturer and their classmates at any time from anywhere to seekclarification for issues they encounter in their homework assignment, to discuss topics in thecourse contents, or to initiate new discussions on related topics A successful onlinediscussion has the same synergistic effect as group or in-class discussion, in which studentsbuild on one another's perspectives to gain a deeper understanding of the materials formdifferent perspectives
Online Knowledge Base System engages and empowers students, increase their enjoymentand encourage them to share and participate in their learning process In an effectivecollaborative learning environment a group of students comes together to share and learnfrom one another You are held together by a common interest in a body of knowledge andare driven by desire and need to share problems, experiences, insights, templates, tools, andbest practices Active participation in collaborative learning deepens your knowledge byinteracting on a daily basis It is a channel for knowledge to flow and is a means tostrengthen the social fabric in online learning environment
Facilitating creative dialogues between lecturers and students is the Internet's greatestcontribution to enhancing education, much more important than just putting lecture notesonline Most face-to-face courses involve a low-level of collaboration among students andlecturers A Web-based environment is where the students can think and experience asequential flow of learning allowing "teach-yourself" by way of thinking for yourself
Trang 7then learning, for the online learning the emphasis is on learning then teaching From theexperience in both settings, we have realized that for online Knowledge Base Systemstudents and lecturers are partners in the learning process Partnership makes the successfaster, less expensive, and easier to achieve There is great opportunity in putting thisconcept into the hands of lecturers and supporting their change in thinking with exposure toexcellent mentoring Therefore web-based system is for both students and lecturers as ateam without any separation
Students today no longer spend all their time in a noisy lecture room or the deadly silence inthe huge reading room of a university library These components of learning environmentstill exist but their functionality has changed Web-based system delivery is the beginning of
a new wave of technology development in higher education Freeing student work frompaper and making it organized and transportable opens enormous possibilities for re-thinking whole curricula: the evaluation of faculty, assessment of programs Besides therequired textbook a collection of online resources replacing the traditional printed materials
in the libraries must be provided
The impact of class size is of concern to all parties involved on Web-basedlearning/teaching It takes 2 or 3 times as much time to teach an on-line course as a face-to-face course for both students and the Lecturers A subject that works for 15 or 20 studentsnow may be possible with 100 students
Online Knowledge Base System allows knowledge to spread near-instantly, and makes itaccessible to everyone, i.e., breaking down the walls of education Given the ease and speed
at which information travels Strategy using online Knowledge Base System could provesuccessful not only economically, but could exploit also human resources that would fosterinnovation and strengthen the democratic foundation of a knowledge-based society
Trang 81.3 INFRASTRUCTURE
The faculty has an Information Center with more than 300 networked PCs that connectdirectly to the Internet A broadband will be implemented in a near future The faculty alsohas a server running MS Windows 2000 Server, IIS Web server and MS SQL Server 2000
Add a category
Update category information
Advanced Search
Trang 9As you see, there are there types oF users interact with Knowledge Base System Depending
on each of management levels, user can use functions of the system (Update informationuser, add article, edit category, statistic and so on)
Trang 10Website10
Occupation11
Trang 131.6.2 Entity Relationship Diagram
The following diagram shows the relationship between entities in the Knowledge Base System
Trang 14CHAPTER 2 – PROGRAM SPECIFICATION2.1 PROGRAM IDENTIFICATION
Project Name: ONLINE KNOWLEDGE BASE SYSTEM
Programming Languages: Active Server Pages (ASP)
Project Supervisor: Prof Dr NGUYEN VIET HUONG
Hanoi University of Technology
Developers:
Project Group 5, Batch 4 of Genetic Computer School, Singapore
DO MINH HIEN Reg No 0701-023-0035
PHAM THU HIEN Reg No 0701-022-0025
DAO ANH QUY Reg No 0701-024-0052
NGUYEN THI THU TRANG Reg No 0701-022-0067
Trang 152.2 PROGRAM DESCRIPTION
Overviews
The Knowledge Base System is created to run on Web, its objective is to deletecommunication gap between students and lecturers and support information exchangingeffectively Because the system uses Internet environment so it has several security modes
To access the system, user must input username and password or register new username andpassword If user provides wrong username and password, his/her accessing requirementwill be denied, vice versa, main page will be displayed You can use functions of the systembased on the permissions that assigned by administrators
If you are an administrator, you can access all functions of the system such as managingcontents, updating information users, adding and deleting users or categories etc
If you are a normal user that means you are a student, you can edit personal information,post articles, ask questions, browse contents, search information or require statistics
If you are a lecturer, you have all rights of a normal user In addition, you have moderator’spermissions, can give instructions, material, reply information for students or delete articleswith bad contents
How the program works
The Knowledge Base System includes five main functions: User Management, ContentManagement, Category Management, Search and Statistics These functions include severalsub-functions In general, all three objects (administrators, lecturers and students) joining inthe system can interact with these functions but in different levels In more details, let usconsider in turn how each of functions of the system interacts with user
First, in order to become a member of the system, user need register new username andpassword User Management will verify if this username exists or not, if it is a newusername, it will saved information of this user into the system’s database, on the contrary
Trang 16students must provide his/her username and password If it is invalid user name andpassword, there is an announcement “this username does not exist or invalid password”.After becoming a member of the system you can use functions based on your role ContentManagement allows all users to post articles, rate articles, give comments, and requireinstructions and statistics But you only can edit contents of an article unless you have right
of an administrator, moderator or article’s author In addition, administrators andmoderators can delete articles if necessary
Category Management is reserved for administrator, they will determine user’s rights (read,write, edit and delete) for each of types of contents The system leans on this assignment tocontrol accessing level of users
Search functions allows user search information according to different criterions (search byauthor name, postdate, keywords, attachment and etc.)
The last function is Statistics; user can require the system return statistics such as number ofusers, number of articles and so on Users also can require other information statistics abouttop favorite articles, articles that have highest rate points or something like that
2.3 PROGRAM OUTLINE
MCode, FullName, Gender, DateOfBirth,
Address, Telephone, Email, Website,
Occupation, PersonalInfo, Username,
ArticleName, ArticleKeyword, ArticleContent,
Insert, Update, Edit, Delete AttachmentName, AttachmentDesc,
Insert, Update, Edit, Delete
Delete
Article List, Recent Articles, Top Favorite
Trang 172.4 PROGRAM SCHEDULE
This project is start in January 2004 and ended at 14th May 2004, the implementing process
is divided into 4 periods as the following figure:
Trang 18CHAPTER 3 – INPUT SPECIFICATION3.1 FILE SPECIFICATION
User File
User file or User Table stores information about users registered to join the system
1 UserID The unique number defines a member
2 MCode The unique string defines a student
3 FullName FullName of user
4 Gender Female, Male
5 DateOfBirth Date Of Birth of user
6 Address Contact address
7 Telephone Telephone number
8 Email Email address
9 Website Website address
10 Occupation Current occupation
11 PersonalInfo All concise information about one’s own self
12 Username Name used to access the system
13 Password Password is used to access the system
14 RegDate Date that user registered to join the system
15 Role Role in the system (administrator, moderator, normal user
Category File
Category file or Category table stores information about categories of the system including name of categories, description of categories and defined permissions for each types of member
1 CatID The unique number defines a category
2 CatName Name of a category
3 CatDescription General description of a category
4 ReadPermission Permission to read articles
5 WritePermission Permission to write articles
6 EditPermission Permission to edit articles
7 DeletePermission Permission to delete articles
Trang 19ArticleType File
ArticleType file or ArticleType table stores information about the types of article such astypes of articles, description of each type and permission to reply a certain type
1 ArticleTypeID The unique number defines an article type
2 ArticleTypeName Name of an article type
3 ArticleTypeDesc General description of an article type
4 ReplyPermission Permission that identifies which article type can be replied
Attachment File
Attachment file or Attachment provides information about attachments including name,description, path of attachments and download numbers of an attachment
1 AttachmentID The unique number defines an attachment
attachment
4 AttachmentDesc General description of an attachment
5 AttatchmentPath Path of an attachment
attachment
Comment File
Comment file or Comment table stores information about comments for each article
1 CommentID The unique number defines a comment
2 ArticleID Number defines the article that concerns with the comment
article
Trang 20Article File
Article file or Article table plays a central role in interacting with all remaining tables Thistable stores all information about an article such as name of an article, type of article, authorname, etc
4 ArticleTypeID Types of articles (article, material, question )
5 ArticleKeyword Words are often present at an article, using forsearch system
8 OriginalPostID The number to distinguish between an original article and a reply article
9 ArticleRatePoint Points a user rates for an article (based on 10
scale)
10 ArticleRateCount Times that an article to be rated
11 ArticleViews Times that an article to be viewed
12 ArticleLastUpdated Date, time that an article is updated lastly
13 ArticleContent Content of an article
Trang 21The unique string defines a student
Requiring format
name@domain.r oot
Email address
Requiring format domainname.roo t
Trang 22Category Record
Field name Data Type Length Scope Null Default Value Description
ArticleTypeDesc nvarchar 200 All General description of an article type
ReplyPermission bit 1 0,1 1
Permission that identifies which article type can be replied
Attachment Record
Field name Data Type Length Scope Null Default Value Description
defines an attachment
of the attachment
AttatchmentDownloa
an attachment
Trang 23Article Record
Field name Data Type Length Scope Null Default
Value Description
article
material, question )
Words are often present at an article, using for search system
article
The number to distinguish between an original article and a reply article
article (based on 10 scale)
rated
ArticleLastUpdated datetime 8 getdate() Date, time that an article is updated lastly
Comment Record
Field name Data Type Length Scope Null Default Value Description
comment
ArticleID int 4 1 2^31 Number defines the article that
concerns with the comment CommentUserI
Trang 24CHAPTER 4 – OUTPUT SPECIFICATION4.1 FILE SPECIFICATION
User File
User file or User Table information is used to displayed information of members
2 MCode The unique string defines a student or lecturer
5 DateOfBirth Date Of Birth of user
11 PersonalInfo All concise information about one’s own self
13 Password Password is used to access the system
14 RegDate Date that user registered to join the system
15 Role Role in the system (administrator, moderator,
normal user
Category File
Category file or Category information is used to displayed information about categories
1 CatID The unique number defines a category
3 CatDescription General description of a category
4 ReadPermission Permission to read articles
5 WritePermission Permission to write articles
6 EditPermission Permission to edit articles
Trang 25ArticleType File
ArticleType file or ArticleType information is used to display the information about articletypes and is used to organize system contents
1 ArticleTypeID The unique number defines an article
type
2 ArticleTypeName Name of an article type
3 ArticleTypeDesc General description of an article type
4 ReplyPermission Permission that identifies which
article type can be replied
Attachment File
Attachment file or Attachment provides information about attachments including name,description, path of attachments and download numbers of an attachment
attachment
attachment
10 AttachmentDesc General description of an
attachment
11 AttatchmentPath Path of an attachment
12 AttachmentDownload Download numbers of an attachment
Comment File
Comment file or Comment table stores information about comments on each article
comment
2 ArticleID Number defines the article that concerns with the comment
Name of user who commented the
Trang 27Article File
Article file or Article table plays an important role in the systems Article file records areused for displaying information of articles
4 ArticleTypeID Types of articles (article, material, question )
5 ArticleKeyword Words are often present at an article, using for
search system
8 OriginalPostID The number to distinguish between an
original article and a reply article
9 ArticleRatePoint Points a user rates for an article (based on 10
scale)
10 ArticleRateCount Times that an article to be rated
11 ArticleViews Times that an article to be viewed
12 ArticleLastUpdated Date, time that an article is updated lastly
13 ArticleContent Content of an article
Trang 28The unique string defines a student
Requiring format
name@domain.ro ot
Email address
Website nvarchar 100 Requiring format domainname.root Yes Website address
access the system
to join the system
Role in the system (administrator, moderator, normal user
Trang 29Category Record
Field name Data Type Length Scope Null Default Value Description
defines a category
ArticleType Record
Field name Data Type Length Scope Null Default Value Description
ArticleTypeID autonumber 2 1 32767 The unique number defines an article type
Permission that identifies which article type can be replied
Attachment Record
Field name Data Type Length Scope Null Default Value Description
Number defines the article of the attachment
AttatchmentDownloa
Download numbers of
an attachment
Trang 31Article Record
Field name Data Type Length Scope Null Default Value Description
an article
material, question )
Words are often present at
an article, using for search system
The number to distinguish between an original article and a reply article
ArticleRatePoint decimal 5(4,2) >1 0 Points a user rates for an article (based on 10 scale)
Trang 324.3 PRINT LAYOUT CHART
It is very difficult to show all layouts of the program so we will introduce some of them
Home Page