Tải bản đầy đủ (.doc) (73 trang)

Tài liệu Genetic Computer School Final Project: Knowledge Base System - Book 1 - User Guide ppt

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (902.25 KB, 73 trang )

Knowledge Base System User Guide
TABLE OF CONTENTS
CHAPTER 1 – SYSTEM SPECIFICATION.....................................................................3
1.1 SCENARIO AND QUESTION PAPER..............................................................................3
1.1.1Scenario.......................................................................................................................3
1.1.2Question 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.1Normalized Forms.....................................................................................................10
1.6.2Entity Relationship Diagram.....................................................................................16
CHAPTER 2 – PROGRAM SPECIFICATION..............................................................18
2.1PROGRAM IDENTIFICATION.........................................................................................18
2.2PROGRAM DESCRIPTION...............................................................................................19
2.3PROGRAM OUTLINE.......................................................................................................20
2.4PROGRAM SCHEDULE....................................................................................................21
2.5PROGRAM ESTIMATION................................................................................................21
CHAPTER 3 – INPUT SPECIFICATION.......................................................................22
3.1FILE SPECIFICATION......................................................................................................22
3.2RECORD SPECIFICATION...............................................................................................27
CHAPTER 4 – OUTPUT SPECIFICATION...................................................................30
4.1FILE SPECIFICATION......................................................................................................30
4.2RECORD SPECIFICATION...............................................................................................34
4.3PRINT LAYOUT CHART..................................................................................................39
CHAPTER 5 – PROGRAM DESIGN...............................................................................43
5.1FLOW CHART...................................................................................................................43
CHAPTER 6 – PROGRAM LISTING.............................................................................50
6.1PROGRAM LISTING.........................................................................................................50
HUT – Genetic Computer School Page1


Knowledge Base System User Guide
6.2REPORT LISTING.............................................................................................................51
CHAPTER 7 – PROGRAM TESTING............................................................................52
7.1TEST DATA........................................................................................................................52
7.1.1Test data for Article Table........................................................................................52
7.1.2Test data for ArticleType Table................................................................................52
7.1.3Test data for Attachment Table.................................................................................52
7.1.4Test data for Category Table.....................................................................................53
7.1.5Test data for Comment Table....................................................................................53
7.1.6Test data for User Tale..............................................................................................53
7.2TEST LOG SHEET.............................................................................................................54
7.3GRID CHART.....................................................................................................................56
CHAPTER 8 – OPERATING INSTRUCTIONS.............................................................57
8.1OPERATING INSTRUCTIONS.........................................................................................57
8.1.1Installation for SQL Server 2000..............................................................................57
8.1.2Installation for IIS.....................................................................................................65
8.1.3How to run total program..........................................................................................65
8.2HARDWARE REQUIREMENT.........................................................................................66
8.3SOFTWARE REQUIREMENT..........................................................................................66
CHAPTER 9 – LIMITATIONS........................................................................................67
9.1SCOPE AND LIMITATIONS............................................................................................67
CHAPTER 10 - GLOSSARY............................................................................................68
HUT – Genetic Computer School Page2
Knowledge Base System User Guide
CHAPTER 1 – SYSTEM SPECIFICATION
1.1 SCENARIO AND QUESTION PAPER
1.1.1 Scenario
Information technology is becoming increasingly clear that the growth of computing and
communications technology is exceeding our understanding of its economic and social
impacts. Information technology is being used by organizations in a wide variety of settings

and ways and that information technology is critical for the smooth operation of many
organizations. Further, its usage is positively correlated with organizational productivity and
efficiency.
Change driven by information technology is having a significant impact on every aspect of
life and is an increasingly critical issue for education. Information technology is able to
improve the delivery of education and enhance student achievement. They are not only make
teaching, learning, study more convenient and easy but also ensure desired efficiency and
scientific methods. Because of the following rationales that government attempts encouraging
the use of information technology in education. The education system can prepare students to
participate fully in an advanced information society in which they live (a social rationale).
Environments equipped with computers and network access are extremely useful for
providing a foundation for learning, promoting independent learning, and creating better
environment. To create universities that disclose information using the Internet (web sites) is
an extremely useful tool for sharing information on what goes on in universities and
classrooms and for establishing a new level of exchange with caregivers and the community.
It also provides the potential to deepen and expand the understanding on students across the
entire student curriculum (a learning effectiveness rationale). And it helps them to overcome
problems of distance and isolation (an efficiency rationale). Each of these there rationales
supports each other.
The Internet has penetrated rapidly and extensively into U.S. public universities. A U.S.
Department of Education survey found that as of fall 1996, 65 percent of universities had
HUT – Genetic Computer School Page3
Knowledge Base System User Guide
access 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 of being 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 technology and the deficiency of
infrastructure when referring to this problem. In fact, the impact on the bulk of teaching and
learning has been minimal. Developments in paper/printing technologies have had far more

influence, with the consequence that face-to-face discussion and paper resources still
dominate public education. As the matter of fact, there is a communication gap between
lectures and students only in classrooms because of the passive way of learning. In an attempt
to handle the knowledge, students have no choice except for the 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 of
knowledge. Therefore, applying the information technology in the field of education becomes
more and more important and pressing. And it gives us the reason to hope that the quality 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?
(This question helps programmer building password or security mode part in your program).
HUT – Genetic Computer School Page4
Knowledge Base System User Guide
10. What level do you allow to modify input data?
11. 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 people
gain knowledge. Knowledge Base System also is a communication tool that helps people
share knowledge quickly and easily.
HUT – Genetic Computer School Page5
Knowledge Base System User Guide
Objectives of Web-based Knowledge Base System
Web-based Knowledge Base System changes significantly the roles of traditional lecturer and
student. Students assume increasing responsibility for their learning while lecturers become
resources, facilitators and evaluators, guiding students in their problem-solving efforts. For

you as a learner, the ability to concentrate and to use your time well is the key to succeed.
Since the dawn of the Internet age, the online Knowledge Base System was supposed to let
great lecturers reach any student, any subject, any time, and anywhere. Online
teaching/learning are not fixed in time or space. Many students find the flexibility of online
learning a practical alternative to sitting in a campus classroom for hours on end. Students can
interact with the lecturer and their classmates at any time from anywhere to seek clarification
for issues they encounter in their homework assignment, to discuss topics in the course
contents, or to initiate new discussions on related topics. A successful online discussion has
the same synergistic effect as group or in-class discussion, in which students build on one
another's perspectives to gain a deeper understanding of the materials form different
perspectives.
Online Knowledge Base System engages and empowers students, increase their enjoyment
and encourage them to share and participate in their learning process. In an effective
collaborative learning environment a group of students comes together to share and learn from
one another. You are held together by a common interest in a body of knowledge and are
driven by desire and need to share problems, experiences, insights, templates, tools, and best
practices. Active participation in collaborative learning deepens your knowledge by
interacting on a daily basis. It is a channel for knowledge to flow and is a means to strengthen
the social fabric in online learning environment.
Facilitating creative dialogues between lecturers and students is the Internet's greatest
contribution to enhancing education, much more important than just putting lecture notes
online. Most face-to-face courses involve a low-level of collaboration among students and
lecturers. A Web-based environment is where the students can think and experience a
sequential flow of learning allowing "teach-yourself" by way of thinking for yourself.
Subsequently, it must allow the students interacting freely with the lecturer whenever they
need to.
HUT – Genetic Computer School Page6
Knowledge Base System User Guide
Unlike face-to-face setting, where the responsibilities are ranked with emphasis on teaching
then learning, for the online learning the emphasis is on learning then teaching. From the

experience in both settings, we have realized that for online Knowledge Base System students
and lecturers are partners in the learning process. Partnership makes the success faster, less
expensive, and easier to achieve. There is great opportunity in putting this concept into the
hands of lecturers and supporting their change in thinking with exposure to excellent
mentoring. Therefore web-based system is for both students and lecturers as a team without
any separation.
Students today no longer spend all their time in a noisy lecture room or the deadly silence in
the huge reading room of a university library. These components of learning environment still
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 from paper
and making it organized and transportable opens enormous possibilities for re-thinking whole
curricula: the evaluation of faculty, assessment of programs. Besides the required 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-based learning/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 students now may be possible
with 100 students.
Online Knowledge Base System allows knowledge to spread near-instantly, and makes it
accessible 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 prove
successful not only economically, but could exploit also human resources that would foster
innovation and strengthen the democratic foundation of a knowledge-based society.
HUT – Genetic Computer School Page7
Knowledge Base System User Guide
1.3 INFRASTRUCTURE
The faculty has an Information Center with more than 300 networked PCs that connect
directly to the Internet. A broadband will be implemented in a near future. The faculty also
has a server running MS Windows 2000 Server, IIS Web server and MS SQL Server 2000.
1.4 FUNCTIONAL DIAGRAM

Knowledge Base System
Member
Management
Category
Management
Content
Management
Search
Member
registration
Update
Member Info
Post an article
Update article
information
Add a category
Update category
information
Quick Search
Statistics
Rate articles
Member statistics
Content statistics
Article browsing
Comment
Article Type
management
Advanced Search
HUT – Genetic Computer School Page8
Knowledge Base System User Guide

1.5 CONTEXT DIAGRAM
Knowledge Base System
Students Lecturers
Administrators
Statistic
Member information
Articles management
Articles information
Membet management
Search result
Search query
Statistic infornation
Member information
Articles information
Search result
Statistic infornation
Category information
Statistic
Articles management
Membet management
Search query
Category management
Member information
Articles information
Search result
Statistic infornation
Statistic
Articles management
Membet management
Search query

As 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 information user,
add article, edit category, statistic and so on)
HUT – Genetic Computer School Page9
Knowledge Base System User Guide
1.6 DATABASE DESIGN
1.6.1 Normalized Forms
Normalized database of the Knowledge Base System has six tables in 3NF: User Table,
Category Table, ArticleType Table, Article Table, Attachment Table and Comment Table
User Table in 3NF
HUT – Genetic Computer School Page10
No Data Items
1
UserID*
2
MCode
3
FullName
4
Gender
5
DateOfBirth
6
Address
7
Telephone
8
Email
9
Website

10
Occupation
11
PersonalInfo
12
Username
13
RegDate
14
Password
15
Role
Knowledge Base System User Guide
Category Table in 3NF
HUT – Genetic Computer School Page11
Knowledge Base System User Guide
ArticleType Table in 3NF
HUT – Genetic Computer School Page12
No Data items
1
CatID*
2 CatName
3 CatDescription
4 ReadPermission
5 WritePermission
6 EditPermission
7 DeletePermission
No Data Items
1
ArticleTypeID*

2 ArticleTypeName
3 ArticleTypeDesc
4 ReplyPermission
Knowledge Base System User Guide
HUT – Genetic Computer School Page13
Knowledge Base System User Guide
Article Table in 3NF
HUT – Genetic Computer School Page14
No Data items
1
ArticleID*
2
ArticleName
3
CatID
4
ArticleTypeID
5 ArticleKeyword
6
AuthorID
7 PostDate
8 OriginalPostID
9 ArticleRatePoint
10 ArticleRateCount
11 ArticleViews
12 ArticleLastUpdated
13
ArticleContent
Knowledge Base System User Guide
Attachment Table in 3NF

HUT – Genetic Computer School Page15
No Data items
1
AtttachmentID*
2
ArticleID*
3
AttachmentName
4
AttachmentDesc
5
AttachmentPath
6
AttachmentDownload
Knowledge Base System User Guide
Comment Table in 3NF
1.6.2 Entity Relationship Diagram
The following diagram shows the relationship between entities in the Knowledge Base
System
HUT – Genetic Computer School Page16
No Data items
1
CommentID*
2
ArticleID*
3
CommentUserID
4
CommentText
Knowledge Base System User Guide

HUT – Genetic Computer School Page17
Knowledge Base System User Guide
CHAPTER 2 – PROGRAM SPECIFICATION
2.1 PROGRAM IDENTIFICATION
Project Name: ONLINE KNOWLEDGE BASE SYSTEM
Programming Languages: Active Server Pages (ASP)
Database: Microsoft SQL Server 2000
Web server: Microsoft Internet Information Services (IIS)
Platform: Window 2000 Server
Design tool: Photoshop 7.0, Macromedia Dreamwaver MX
Project Supervisor: Prof. Dr. NGUYEN VIET HUONG
Hanoi University of Technology
Developers:
Project Group 5, Batch 4 of Genetic Computer School, Singapore
Program Size: 2.5 MB
Start Date: January 2004
End Date: 14
th
May 2004
HUT – Genetic Computer School Page18
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
Knowledge Base System User Guide
2.2 PROGRAM DESCRIPTION

Overviews
The Knowledge Base System is created to run on Web, its objective is to delete
communication gap between students and lecturers and support information exchanging
effectively. 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 and
password. If user provides wrong username and password, his/her accessing requirement will
be denied, vice versa, main page will be displayed. You can use functions of the system based
on the permissions that assigned by administrators.
If you are an administrator, you can access all functions of the system such as managing
contents, 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’s
permissions, can give instructions, material, reply information for students or delete articles
with bad contents.
How the program works
The Knowledge Base System includes five main functions: User Management, Content
Management, Category Management, Search and Statistics. These functions include several
sub-functions. In general, all three objects (administrators, lecturers and students) joining in
the system can interact with these functions but in different levels. In more details, let us
consider 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 and
password. User Management will verify if this username exists or not, if it is a new username,
it will saved information of this user into the system’s database, on the contrary there is a
announcement “this username existed” on the screen. To log in the system each of students
HUT – Genetic Computer School Page19
Knowledge Base System User Guide
must provide his/her username and password. If it is invalid user name and password, 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. Content

Management allows all users to post articles, rate articles, give comments, and require
instructions 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 and moderators 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 to
control accessing level of users.
Search functions allows user search information according to different criterions (search by
author name, postdate, keywords, attachment and etc.)
The last function is Statistics; user can require the system return statistics such as number of
users, number of articles and so on. Users also can require other information statistics about
top favorite articles, articles that have highest rate points or something like that.
2.3 PROGRAM OUTLINE
Input Tab Process
MCode, FullName, Gender, DateOfBirth,
Address, Telephone, Email, Website,
Occupation, PersonalInfo, Username,
Password, Role
User Table
Insert, Update, Edit,
Delete
CatName, CatDescription, ReadPermission,
WritePermission, EditPermission,
DeletePermission
Category Table
Insert, Update, Edit,
Delete
ArticleName, ArticleTypeDesc,
ReplyPermission
ArticleType Table

Insert, Update, Edit,
Delete
ArticleName, ArticleKeyword, ArticleContent,
ArticleRatePoint, ArticleRateCount
Article Table
Insert, Update, Edit,
Delete
AttachmentName, AttachmentDesc,
AttachmentPath,
Attachment Table
Insert, Update, Edit,
Delete
CommentText
Comment
Insert, Update, Edit,
Delete
Output FileName
Article List, Recent Articles, Top Favorite
Articles, Unanswered Questions
KBS .mdf
HUT – Genetic Computer School Page20
Knowledge Base System User Guide
2.4 PROGRAM SCHEDULE
This project is start in January 2004 and ended at 14
th
May 2004, the implementing process is
divided into 4 periods as the following figure:
2.5 PROGRAM ESTIMATION
In order to accomplish this project, the cost is estimated as following as:
Hardware $7,000

Software $1,000
Material $300
Manpower $1,500
Total $9,800
HUT – Genetic Computer School Page21
Preliminary Investigation
(15 days)
System Design
(1month)
Coding
(1 month)
Testing and Documentation
(20 days)
System Analysis
(1month)
Knowledge Base System User Guide
CHAPTER 3 – INPUT SPECIFICATION
3.1 FILE SPECIFICATION
User File
User file or User Table stores information about users registered to join the system.
No Field Name Description
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.
No Field Name Description
HUT – Genetic Computer School Page22
Knowledge Base System User Guide
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

HUT – Genetic Computer School Page23
Knowledge Base System User Guide
ArticleType File
ArticleType file or ArticleType table stores information about the types of article such as
types of articles, description of each type and permission to reply a certain type.
No Field Name Description
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
No Field Name Description
1
AttachmentID
The unique number defines an
attachment
2
ArticleID

Number defines the article of the
attachment
3
AttachmentName Name of an attachment
4
AttachmentDesc
General description of an
attachment
5
AttatchmentPath Path of an attachment
6
AttachmentDownload
Download numbers of an
attachment
Comment File
Comment file or Comment table stores information about comments for each article.

No Field Name Description
1
CommentID
The unique number defines a
comment
2
ArticleID
Number defines the article that
concerns with the comment
HUT – Genetic Computer School Page24
Knowledge Base System User Guide
3
CommentUserID

Name of user who commented the
article
4
CommentText Comments about an article
HUT – Genetic Computer School Page25

×