ONLINE INTELLIGENT QUIZ SYSTEM
Md. Zaman Sarker Student ID: 02101126 Minhajur Rahman Student ID: 02201102
Department De partment of Computer Science and Engineering Summer 2007
BRAC University, Dhaka, Bangladesh
2
DECLARATION
We hereby declare that this thesis is based on the results found by ourselves. Materials of work found by other researchers are mentioned by reference. This thesis, neither in whole nor in part, has been previously submitted for any degree.
Signature of Supervisor
Signature of Author
3
ACKNOWLEDGMENTS ACK NOWLEDGMENTS
For our thesis work, we want to thank to Dr. Abdul Latif from our hearts. As a thesis supervisor, he has given all the supports that we needed. He was always there for us to give any kind of suggestion and help, as far our thesis is concern. It’s an honor for us to work with such a wonderful teacher like him. In this long two-semester thesis work, we have also gotten lots of help from Dr. Tarik Ahmed Chowdhury and Mr. Rezaul Karim. I am also very grateful to the two big-hearted persons.
4
AB STRACT
This thesis report describes an online intelligent multi ple-choiceple-choicequestion examination examination syst em, named Online Intelligent Quiz System (OIQS (OIQS), ), for students. Any university , college or school wit h a compu terized terized education sys tem can adopt adopt this syst em. Teachers Teachers can administer q uizzes uizzes usi ng t he OIQS OIQS.. There There is an expert part in our syst em, which u ses AI to generate questions. The system will d etermine etermine the participant’s performance depending depending on his answ er and and t he next question w ill be generated generated according t o the participant’s perfor mance. The system will show result after the e examination xamination is fin ished and also be able to provi de feedback feedback accordin g to the participant’s dema demand. nd. Admi Ad mi ni st rat iv e cont co nt ro roll of o f t h e who le s ys t em is pr ov id ed. A teac her has cont rol in t he question bank and is suppose to m ake schedule for qu iz.
5
TABLE OF CONTENTS Page TITLE……………...........................................................................................…i DECLARATION….........................................................................................…ii ACKNOWLEDGEMENTS................... ACKNOWLEDGEMENT S..................................................... .............................................................iii ...........................iii ABSTRACT……….................................. ABSTRACT…… ….................................................................................. .........................................................iv .........iv TABLE OF CONTENTS...........................................................................…....v LIST OF FIGURES.........................................................................................vii
1.0 INTRODUCTION……………………………………………………………….…1 2.0 CURRENT SCENARIO OF QUIZ SYSTEM………………………….…… SYSTEM………………………….……2 2 2.1 Manual Quiz System…………………………..................................2 System…………………………..................................2 2.2 Web Based Base d Quiz System………………………...............................2 System………………………...............................2 3.0 FEED BACK FROOM CURRENT SCENARIO…………………..…….…3 SCENARIO…………………..…….…3 4.0 PROPOSED PROPOSED SYSTEM.………..………………….……… SYSTEM.………..………………….………………………… …………………4 4 4.1 Survey…………………………..……… Survey…………………………..……………………… ………………......................4 ......................4 4.1.1 Teacher’s Survey…............................................................5 4.1.2 Student’s Survey….............................................................7 4.2 Survey Analysis…………… An alysis………………………… ……………………….…… ………….……...................9 ...................9
5.0 SYSTEM DESIGN…….……… DES IGN…….……………………… ……………………….…….… ……….…….……………..10 …………..10 5.1.0 Introduction................................................................................10 5.1.1 Purpose of this Document……… Docu ment………….….............................10 ….….............................10 5.1.2 Intended Intend ed Audience…………………………........................10 Audience…………………………........................10 5.1.3 Applicable Name………………………… Name…………………………...........................1 ...........................10 0 5.1.3 Summary of contents……… con tents……………………...........................11 ……………...........................11 5.2.0 System Overview......................................................................12 5.3.0 Assumption and Decencies.......................................................13 5.4.0 General Gener al Constraints……………………………...........................13 Constraints……………………………...........................13 5.4.1 Hardware and Software Environment…….......................13 5.4.2 Security Secu rity Requirements…………………..................... Requirements…………………............................14 .......14 5.4.3 Performance Requirements…………… R equirements……………............................14 ............................14 5.4.4 Network Communications………………...........................14 Communications………………...........................14 5.5.0 Goals and guidelines……..........................................................14
6
5.6.0 Architectural Strategies................................................................15 Strategies............................................ ....................15 5.6.1.0 Software…………………………… Software……………………………….……........................15 ….……........................15 5.4.1.1 Programming language………................................15 5.6.1.2 Libraries and an d Tools……………………….................16 Tools……………………….................16 5.7.0 System Architecture……..............................................................17 5.8.0 Detail System Design…...............................................................18 5.8.1 Use Case Diagram…..........................................................18 5.8.2 Interaction Diagram ……………………...............................26 ……………………...............................26 5.8.3 Class Diagram …………….……………...............................28 …………….……………...............................28 5.8.4 Flow Chart of Question Generator Algorithm......................29 5.8.5 Tree Structure View of OIQS………… OIQS…………………..…………… ………..…………….30 .30 5.8.6 E-R Diagram…………….....................................................32 5.8.7 User Interface………………................................................35
6.0 ADVANTAGE OF OIQS ………………………………………… ……………………………………………………..39 …………..39 7.0 CONCLUSION……………………… CONCLUSION…………………………………………… …………………………………… …………………...40 …...40 8.0 DOCUMENTATION.………………… DOCUMENTATION.……………………………………… …………………………………….....41 ……………….....41 8.1 Installation…………………..............................................................41 8.2 User Manual………………...............................................................47 9.0 GLOSSARY…………………………………………………………………...70 10.0 BIBLIOGRAPHY....................................................................................71
7
LIST OF FIGURES
Figure
Page
5.2 Block Diagram of OIQS ............................................ ................... ............................................ ............................12 .........12 5.7 System Architecture.................................................. Architecture......................... .................................................. ............................17 ...17 5.8.1 Use Case Diagram .......................................... ................. ............................................ ..................................18 ...............18 5.8.2 Interaction Diagram ......................................... ................ ............................................ ..................................26 ...............26 5.8.3 Class Diagram ........................................... ................. ............................................. ........................................28 .....................28 5.8.4 Flowchart of Question Generator Algorithm.......................................29 Algorithm........................ ...............29 5.8.5 Tree Structure View of OIQS ....................................... .............. ............................................ ......................30 ...30 5.8.6 E-R Diagram........................... Diagram........ ............................................ .................................................. ..................................32 .........32 5.8.7 User Interface ............................................ ................... ........................................... ........................................35 ......................35
8
1.0 INTRODUCTION INTRODUCTION
This is a web-base web-based d int elligent mult iple-choic iple-choic e-question e-question examination system, named Online Intelligent Quiz System (OIQS), for assessing students. It is a syst em by wh ich stu dents can appear appear in a quiz from anywhere of the world w here there there is no int eraction between between pencil and paper rather interaction between between c omputer and human being. We use the term intellig ent here as as the syst em generates generates questions i ntelligently. There are many definitio ns of intelligence but we use the term int elligence in the sense that the sy stem generates generates the a new question of a quiz by depending depending on the result of th e question last answered and for the same same quiz of a subject it generates generates dif ferent questions for diff erent erent st udents. The The questions vary stud ent to stud ent for the same quiz whil e they are sitting in t he quiz at the same time. Teache Teachers rs can use the OIQS OIQS for evaluating stu dents effectively, efficiently and perfectly. An y un ivers Any iv ers it y, co ll ege, sch s ch oo ooll o r educ ed uc ati onal on al i ns ti tu te c an u se th t h is syst em fo r th eir organization organization to take quizzes. quizzes. Today Today it i s the more efficient and effective methods of assessing d istant st udents. One of the main benefits of ou r syst em is automated automated marking, that is, teachers do not need to check t he answer answer sc ript as they they do in manual quiz. It It saves valuable time of a teacher. On On t he other hand, students c an s core according t o his/her merit level and it will gi ve feedback feedback about a student in w hich side he/she is weak. weak. In recent years, years, the use of onl ine quiz systems has become quit e popul ar due to pressures of increasing class sizes and the ne need ed for more efficient and effective methods of assessing dis tant students. It is due to the popularity of d istant education.
9
2.0 CURRENT SCENARIO OF QUIZ SYSTEM
Still now maximum educational institutes have been using manual system to take quiz. In the recent year a few instructors of some institutes have been using web-based M.C.Q. quiz qu iz system. system. Actually, it depends depe nds on how much web technology a country takes or uses. For example, in Bangladesh it is rare to use a web based bas ed quiz system. But in case of U.S.A. it is a general case to use a web based quiz system.
2.1 MANUAL QUIZ SYSTEM In the early days it was the most popular methods of assessing student. Still now the system is quite popular to the students as well as to the teacher. In this system there are several problems that we faces in a common way. Some of those problems are: Manual system requires pen/ pencils and paper. Teacher needs to spend time to script checking. Student needs to wait to get their result up to the teacher finishes the script checking. These are the most common problems of manual quiz system that rotated each and every time of quiz held. For these causes the popularity of manual system decreases day by day and online intelligent quiz system is system is taking the place of the manual system.
2.2 WEB BASED QUIZ SYSTEM Now a As daythe thetechnology web base quiz system is gettingout popular with the a tremendous speed. is spreading through the world automated system will also taking the places of the manual systems. Currently big institutes are running their online quiz systems at a very successful rate. As the time is progressing the online quiz is making interest to the faculties and also to the students. In the big cities and organizations people are getting understand that how the online quiz system is better and efficient. With in the recent time this system will be taken place to this techno world. But this system also has some lacking. If this system has the th e intelligent part then it will be a perfect perf ect one. The problems that may occurs with web based q quiz uiz system: Can’t evaluate the student perfectly. Can’t generate the proper feed back of the students.
10
3.0 FEED BACK FROM CURRENT SCENARIO
From the previous two systems I realize to solve s olve the problems of those systems to get a standard s tandard quiz system. In the previous two systems the things that are short from a standard quiz system, to fix it up I design an intelligent system, which will work according to the web base system. From this intelligent system we can omit the manual system’s problem criteria because it work as a web base system, which is totally automated. It also omit the general web based system because it gives the evaluate option for the students performance and feed back criteria. To get a s standard tandard quiz system I tried to join the intelligent system that I designed for my thesis project. This will help to remove the current system’s problems.
11
4.0 PROPOSED SYSTEM
In recent years, the use of electronic o nline quiz sy stems has become qui te popular due to pr essures of inc reasing reasing class sizes, and and the need for more efficient methods of assessing distances students. This This thin g mot ivates us to wo rk with web based based quiz syst em. We also have tried to eliminate the problem wit h general general web based quiz sys tem and decide to create a web based intelligent quiz sy stem. In In ou r th esis project, we have tried to develop develop an “ Online Intelligent Intelligent Quiz System” System” which w ill be popul ar in both t he students and teachers. teachers. To develop develop th e system we collected some documents from w eb. Then Then we have analyzed analyzed those documents and tried to fi nd some logic from there. As a step of development development w e collected requirements where we have conducted a survey. In that survey we too k teachers a and nd st udents opinion s to make the system more meaningf meaningf ul. For that we made a question set and gave it to some teache teachers rs and st udents. They gave their their opi nions on th ose scripts . In In below survey details are given.
4.1 SURVEY
To make an effective and efficient Online Intelligent quiz system we need some findings. We believe that our findings will help us to make the system user friendly. Here is a short description of our system. Our system name is Online Intelligent Quiz System. System . Any University, College or School can adopt our system where education system is computerized. Teachers can take quizzes using our Online Intelligent Quiz System. System . We will use an expert part in our system, which is knowledge base. This expert part will work using AI. Our system will determine participant’s and the next questions willwill be generated the according to the performance participant’s performance. Our system also be able to provide feedback according to the participant’s demand.
12
4.1.1 TEACHER’S SURVEY S URVEY We create this question for teachers to find out what type of system might be helpful for them.
For Teachers: Dept.:
Name:
Questions: 1. Would teachers edit questions from Question Bank and add new questions in the Question Bank? a) Yes
b) No
Comment: 2. Would teachers define numbers of Questions in a Quiz? a) Yes
b) No
Comment: 3. Would teachers define the time slot of a Quiz? a) Yes
b) No
Comment: 4. Would teachers reduce or increase the number of question level in the question bank. a) Yes
b) No
Comment: 5. What do teachers want after the quiz has been finished? Score will save automatically. Teachers save the score Teachers can edit and save the score Comment:
13
6. What do teachers want? In a courseSystem can keep all the quiz information (i.e. student’s mark, performance of the students in that specific quiz). System can keep only the last quiz information (i.e. student’s mark, performance of the students in that specific quiz). System can’t keep any information of a quiz. It just shows the result after the quiz end. Comment: 7. What do teachers want? In a courseSystem will be able to show the last five taken quiz. System will be able to show the last taken quiz. System will not show any quiz. Comment: 8. Would teacher make the schedule for students? Yes
b) No
Comment: 9. Would teacher want to see the overall student’s performance of the quiz at the end of the Quiz? Yes
b) No
Comment: 10. Will answer be auto submitted after time end? a) Yes Comment: Remark:
b) No
14
4.1.2 STUDENT’S SURVEY We create this question for students to find out what type of system might be helpful for them.
For Students: Dept.:
ID:
Questions: 1. What do students want? In a courseSystem will be able to show the last five quiz question. System will be able to show the last taken quiz question. System will not show any quiz question. Comment: 2. What type of system s ystem do you (students) want? a) User friendly d) All the above.
b) Stable
c) effective and efficient
Comment: 3. Would each question have a predefine time slot or the total Quiz have a predefine time slot? Each question have a predefine time slot The total Quiz have a predefine time slot Comment: 4. Would answer be auto submitted by the system after answering the question or students want to submit after answered? a) Auto-submitted Comment:
b) Submitted by student
15
5. Would answer be auto submitted after time end? a) Yes
b) No
Comment: 6. Could students see the answers at the end of the quiz? a) Yes
b) No
Comment: 7. Would student modify the submitted answers if his/her time is not end? a) Yes
b) No
Comment: 8. Would students get any help from the system during the exam? a) Yes
b) No
Comment: 9. Could student pass the questions and try for that later? a) Yes
b) No
Comment: 10. Is their any choice in the Quiz? a) Yes Comment: Remark:
b) No
16
4.1.3 SURVEY ANALYSIS What we actually foun d everyon everyon e want want s a user-friendly user-friendly enviro nment while attending t he quiz. We We also also fo und that m aximum teachers teachers want thatThey should edit questions f rom Question Question Bank and add new new question s in t he Question Question B ank and sys tem would be able able to evaluate student’s student’s performance perfectly. They wil l define numbers of questions and time of a quiz before quiz start. They want want t o make the schedule for stu dents who attend in the quiz. Some teache teachers rs w ant to f ix t he time for a q uiz. For For example, student could attend quiz 1 from 1st June 10:00a 10:00am m to 2nd June 5:00pm. They want system woul d be able to save the score automatically automatically and can keep all quizzes quizzes info rmation (i.e. student’s mark, performance etc.) of all students. Someone wants sys tem would b e able able to give feedback to the st udents based on his/her weak performance in a particular area. They want answer will b e auto They auto sub mitted after time end and they want to see the overall overall s tudent’s p erformance of the qu iz at the end of t he quiz.
We found from student’s survey survey that is Students want the who le quiz should h ave a fixed amount of time rather than for individual question. They want a system, which sh ould have the feasibility feasibility of sk ipping any confus ing questions fo r late laterr answering. They They want to submit after answering each each question and answers shoul d be auto auto s ubmitted if the tim e of t he quiz is end. At th e end of th e qu iz they t hey wan t to t o s ee their th eir perfo per fo rm anc ance e and t he cor c or rect rec t answers. They also also want th at system would be a able ble to gi ve proper feedback feedback to the students and show the last fi ve taken taken quizzes. quizzes. They They give emphasis on the user-friendly feature of t he syst em.
17
5.0 SYSTEM DESIGN DESIGN
5.1.0 INTRODUCTION This Softw are Design Design Specification Template is for the ONLINE INTELLIGENT QUIZ SYSTEM. SYSTEM. This Softw are has implemented as a thesis project of BRAC Universit y Computer Science and Engineering Engineering Department that is on e of the wellDepartment well-known known pri vate universities in Bangladesh. Banglade sh. This Design Design Specific Specific ation Template describes the Syst em Ar ch it ectur ect ur e and Detailed Detai led Syst Sys t em Desi Design gn of th e ONLINE INTELLIGENT QUIZ SYSTEM. SYSTEM.
5.1.1 PURPOSE OF THIS T HIS DOCUMENT The purpo se of this d ocument is th at it helps the progr ammer (i.e (i.e.. us) to impl ement the system correctly and easily easily . It is not pos sible for th e programmer to impl ement the system withou t a design design doc ument. In In this docum ent the designers designers are supposed to provid e a clear design design of the syst em. The design then serves as a guide to the developers who w rite the code and actually actually im plement the software. Another pur pose of thi s docum ent is that it also h elps t he designer designer to up date the system or modif y several several part o f the sy stem in fu ture. That is wh y the SDS SDS document also looks into several design considerations, including design tr adeoffs and c ode reusabilit reusabilit y.
5.1.2 INTEND I NTENDED ED A UDIENCE Intended audience of this document i s thos e people who are reuse this Intended docum ent and also who are updates or modify t his sys tem in future. Genera Ge nerally lly they are system designer and s ome of th em may be syst em developer.
5.1.3 APPLICAB APPLICAB LE NAME An app li cabl e name nam e that th at the t he sys s ys tem us uses es is i s ONLINE INTELLIGENT QUIZ SYSTEM (OI SYSTEM (OIQS QS). ). This is t he first version o f th is sy stem because we are are the people first time create this software.
18
5.1.4 SUMMARY OF CONTENTS In Sectio n 5.2 of th e SYSTE SYSTEM M DESI DESIGN GN docu ment w e give an ov erview abou t the t he ONLINE INTELLIGENT QUIZ QUIZ SYSTEM SYSTEM.. In Section Sect ion 5.3 we describ e the assumpt assumpt ions and d ependencies pendencies o f th e System. System. In Sectio Sectio n 5.4 we describ e the general general const raints and l imitations that have a sig nif nificant icant imp act on t he design o f t he ONLINE ONLINE INTELLIGEN INTELLIGENT T QUIZ QUIZ SYSTEM SYSTE M software. soft ware. In Sect Section ion 5.5 we describe the t he goals, gu id elines, prin ciples, or prioriti es, whic h dominate or embody embody t he design of ONLINE INTELLIGENT INTELLIGENT QUIZ SYSTEM SYSTEM so ft ftwar ware. e. IIn n Sect ion io n 5.6 we descr ibe Arc hi tectu ral Strategies o f ou r ONLINE ONLINE INTE INTELL LL IGEN IGENT QUIZ QUIZ SYSTEM software. In Section 5.7 we describe the System Architecture of our ONLINE INTELLIGENT QUIZ SYSTEM software. Here we have shown a high level level diagram of our syst em identifyi ng all the subsyst ems and the interactions/dependencies interactions/dependencies b etween tween the subsy stems. In Section 5.8 we h ave show n t he Detailed Design of the ONLINE INTELLIGEN INTELLIGENT T QUIZ SYSTE SY STEM M softw are. In this Sect Section ion w e inclu de a use case diagram, class diagram of subsy stem, Interaction Interaction diagrams, and an E-R diagram.
19
5.2.0 SYSTEM OVERVIEW ONLINE INTELL INTELLIGEN IGENT T QUIZ SYSTEM SYSTEM is a Web bas ed M.C.Q. Quiz System for evaluating students. This syst em is d eveloped eveloped cons idering educational instit utes like universit y, College College a and nd sch ool. Student Student can attend in a quiz from anywhere of the world b y using th is sys tem. This is the block diagram of Online Intelligent Quiz System System
Question Bank
Generator en ine Quiz
Student
Admin Teachers
Figur e 5.2 5.2:: Bloc k Diagram of OIQS Ad m in is respo Adm res po ns nsib ib le for f or reg ist is t ratio rat io n of o f t he bot b oth h t eachers each ers and s tu tuden dents ts . Teachers Tea chers define the number of q uestions, time of t he quiz, schedule for the quiz etc. According to these information quest ion will be generate generated d for st udents. Teache Teachers rs are respons respons ible for add and edit questions fr om the question bank. They add add questi on in the question b ank in different level accor accor ding to t heir level level of diff iculty . Generator Generator engine engine generate generate questions for a quiz fro m the question bank. To To generate generate the next question, Question Generator Generator check th e previous previous question answer submi tted by the student and depending depending on t hat result Question Question Generator Ge nerator decide thefeedback level ledback vel of diff iculty forents. th e next ne xt qu andar in genera generate te it. It also gi ves fee to the stud Student Stude ntestion can appear appe the quiz when his/her time slot is started. But b efore a attend ttend in a quiz he/she might be regist regist ered ered for t hat course by the admin of th e institu te. At th e end of a quiz qu iz they t hey c an see s ee the th e corr co rr ect answer ans wer s an and d tthei hei r performance. Teachers can evaluate a student at the end of the quiz. For th e same quiz of a su bject Question Generator Generator may generates diff erent erent question f or diff erent erent student. That That is question m ay very very stu dent to stu dent for the same quiz while they are appear appear in t he quiz at the same ti me. To design the softw are we use 3-tier architecture. As 3-tier architecture divid e the whole sys tem into thr ee parts, so to design t he system we divide ou r sys tem into three subsys tems. These These are are Client Client Tier/ Client Client
20
subsystem, Business Logic Tier/ Business Logic subsystem, and Database Da tabase Tier/ Database Database sub sys tem.
5.3.0 ASSUMPTIONS AND DEPENDENCIES We assume that s tudents are interested interested on i ntelligent qu iz where diff erent erent st udents might appear in answering answering diff erent erent question s for th e same quiz depending on h is/her performance. Tea Teachers also int erested erested to take intelligent quiz w here he/she he/she can evaluate evaluate a stud ent perfectly. The users of th e OIQS OIQS system are the school/college/university school/college/university students, teachers and the admin admin who c ontrol t he system and those institutes must be computerized. Any An y in st it ut e mi gh ghtt h have ave t o Inter In tern n et co c o nnect nn ectio ion n tto o us e OIQS syst sy stem em because this is a web web based application.
5.4.0 GENERAL CONSTRAINTS OIQS is a generic application as it may be use by m any users of many OIQS inst itutes. So the constraints that we have to cons ider might be in generic sense.
5.4.1 Hardware and software environment To develop t his OIQS OIQS we use HTML HTML for cli ent-tier, PHP PHP and JSP for Business-tier and MySQL for the database-tier. So the hardware environm ent r equirements equirements t o use of t his sof tware are are at least least Intel Penti Pe nti um II or equiv alent pro cesso r, at least least 64MB RAM, RAM, a database server that need a disk less server but can be the same machine machine fro m whic h the softw are will r un. So, all all of these requirements requirements may be a const raint to t he clients. There There are are four sof tware components required for t he propo sed system. The The four components are as as follo ws: Operating Opera ting System Web Server Database Web We b Brow ser Operating Opera ting System
21
As ou r s ys t em wil w il l b e plat pl atfo fo rm s in indep dep enden t; so, so , th ere i s no n o c onst on st raint rai nts s in case of operating operating syst em in using this so ftw are. are. Windows Windows and Linux operating sys tems are considered to be extremely extremely st able platform platform s. One One of the advantages advantages of usi ng the Linux operating operating s ystem is th e speed speed at at which performance enhancements enhancements and s ecurit y p atches are made available ava ilable since it is an open source prod uct. Web Server The availabl availabl e web server’ s platf orms are IIS IIS and Apach e. Sinc Sinc e Apache is open source, softw are securit securit y patches tend t o be released released faster. One of the downsides to IIS is its vulnerability to virus attacks, something that Apache rarely rarely has pro blems with . Apache off ers PHP; PHP; a language considered to be the C of The next part is th e end end u ser environment. Before we have explain that w e have have assume that th e end users are not so much aware about about t he computer and they are not so much interested to divert their activiti es to the automated automated system fro m the manual syst em.
5.4.2 Security requirements Securi ty r equirement Securi equirement i s th e next part. As we developed developed OIQS OIQS by us ing 3tier architectu re, so this s ystem is secured. Because Because end end user can’t access the database directly as in 3-tier architecture database are accessed accesse d via business lo gic.
5.4.3 Performance requirements Now w e will d iscuss about the perform ance requir requir ements. ements. This OIQS OIQS syst em might be faster than oth er web based based syst em. Because Because this sys tem is d eveloped usi ng HTML, HTML, PHP, PHP, and MySQL that are open sour ce and can run faster.
5.4.4 5.4 .4 Network Network communic ation The network network c ommunicatio n of our system will b e the web based. based. All the users might have to networ networ k connections .
22
5.5.0 5.5 .0 Goals Goals and g uid elines Our main goal is t o develop an effective effective and effici ent s ystem. To To design this syst em we gave priori ty end users expectations.
The KISS KISS princ iples The full meaning meaning of KISS is “ Keep Keep it Simple Stup Stup id” . IItt m eans we need need to design the sys tem in a very simpl e way. way. For For a good d esign, we nee need to cons ider the Criteria for g ood su b-system/UM b-system/UML L d iagram design. These These criteria are Coupling and Cohesion. Coupling measures the degree of interconn ectedness ectedness b etween design c lasses/components lasses/components /sub-systems. For a better design low co upling is preferable. Cohesion, on the other hand, measures the degree to which an element (class/component/subsystem) contri butes to a single purpo se. For a better design high cohesiveness is p referable. referable. Our Our design follow s th ese two c riteria. We We also also t ry to make the design considering us er satisfaction.
Our Emphasis We gave emphasis emphasis on the effectiveness of the sy stem that is correctn ess of the system and and then efficiency of the syst em. Efficiency incl udes various things; these are speed of the syst em, how much memory the sy stem needed needed when running, how m uch easier easier the soft ware to use etc. The The automated automated syst em is int roduced to ensure faster and secured activities of the processes. We We design the system emphasis in th ose things . One One exa example mple of emphasizing is t hat to m ake th e system faster we chose thin c lient and thick s erver. erver.
Worki ng, Lookin g, or feeling feeling Our main objective is to satisfy th e users. users. If If th ey feel good by using thi s syst em then it will b e really really a very very goo d job done.
5.6.0 ARCHITECTURAL STRATEGIES We chose all the thin gs that are software architecture, programming languages to develop thi s OIQS OIQS considering a good design strategy. After Af ter co ns id ideri eri ng t hese hes e ffact actor or s w e arriv arr ived ed at th e fol fo l low lo w ing in g arc hi tec tu ral infrastructure.
23
5.6.1 SOFTWARE 5.6.1. 5.6 .1.1 1 Programm ing Language Programming L angua anguage ge for Client Client Tier We use HTML HTML and PHP to desig n the t he cl ient t ier. Because HTML and and PHP PHP are ea easy sy to use and and it w ill be helpful fo r us to design the client tier using HTML and PHP. PHP.
Programming Language for Business-tier We use PHP PHP and and JSP to design t he Busin ess-tier ess-tier because it is an open sourc e programming language language that is wi dely popular on t he we web. b. PHP PHP is well known for fast per performance formance and and it is also well known for i ts quick and easy easy w eb d evelopment evelopment capabilit capabilit ies. PH PHP is an easier easier pr ogramming language to learn th an J avaScript avaScript because because th e core language is small. That is why it is ea easier sier to u s to d esign the Business-tier usin g PHP. PHP.
Programming Language for Database-tier We us e MYSQL MYSQL to design th e database-tier. database-tier. The MySQL database has become the world's most popul ar open source database database b becau ecause se of its cons istent f ast performance, high reliability and ease of us e. It's us ed in more than 11 11 mil lion ins tallations ranging from large corpor ation s to specialized specialize d embedded embedded applications on every cont inent in the wo rld. Not only i s MySQL MySQL the world's most pop ular open source database, database, it's also become the database database of choice fo r a new new generation of appli cations bui lt on the LAMP stack (Lin ux, Apach e, MySQL, MySQL, PHP PHP / Perl Perl / Pytho n.) MySQL runs on mor e than 20 platform MySQL platform s inc luding Linux , Wind Wind ows, OS/X OS/X,, HPP-UX UX,, AIX, Netware, Netware, giving user the k ind of flexibilit y th at puts u ser in control.
5.6.1.2 5.6.1 .2 LIB RARIES AND TOOLS 1. Macromedia Dreamweaver 8 2. Ap pserv2.5.7
24
5.7.0 SYSTEM ARCHITECTRE A RCHITECTRE System refers to bot h hardware and and so ftware. The system architectu re describes the collection of inter-connected hardware nodes on whic h the software will eventually eventually run . System System architecture consis ts of Hardware nodes, the connectivity among nodes, the location of u sers, inputs and outputs;
• Softw Softw are Archi tecture We use ThreeThree-tier tier archit ectures to design ou r sy stem. Because Because 3-tier 3-tier Ar ch it ectur ect ur e in cr eases perf or mance, man ce, f lex ibi li ty , mai nt ntain ainabi abilili t y, reusability, and scalability while hiding the complexity of distributed processing from the users/clients.
Figure 5.7: 5.7: System Archi tecture
25
CLIEN CLIE NT TIER TIER: Here client-tier is the fi rst t ier of our Syst em/Softw em/Softw are that that the end-users (students, teachers and admin) wil l us e. BUSINESS LOGIC TIER: BUSINESS TIER: System/Softw are that Client-t ier us e to get data fro m the t he Database Database Server. Server. Client-tier Client -tier cannot access Database Server Server directly . It It must request the Business Logic Server first. Upon authorization, the Business Log ic Server Server wil l get the required data from Database Server and reply to the Client appropriately. DATABASE SERVER: Central and persistent storage of all data from where Business L ogic access data. 5.8.0 DETAIL SYSTEM DESIGN 5.8.1 USE CASE DIAGRAM Use cases describe how the system-to-be from a user’s perspective. It used to show the functions to be supported by the system. Here is the use case diagram of OIQS system.
Add question Teacher <actor>
Edit question See students erformance
Schedule for exam
Sign In Sign Out Admin <actor>
Add users info/ Register user Edit users info Course Conf Co nfii urati uration on
26
View User Info View Course Info
Appear in quiz Question Get feedback
Figure 5.8.1: Use Case Diagram
Student <actor>
27
Use Case UC1: Sign In Primary Actor: Admin , Teacher, Teacher, Student Student Stakeholders Sta keholders Interests: Interests: Admi Ad mi n: Wants Want s to access acc ess th e syst sy st em as a val id us er that t hat is as a administrator. Teacher: Wants to access the system as a valid user that is as a teacher. Student: Want Want s to access the sy stem facilities as a valid user th at i s as a student. Organizations: Organiz ations: Wants to avoid thos e people people who are not registered in the syst em. Also want to ensure the se security curity . Precon Pre con dition s: Users are registered registered in the system. Post condit ions: Successful lo gin for all registered users. users. Main Ma in s uccess scenario: A user u ser st arts art s to si gn in . User enters *user id, *password and *user type. System checks weather weather user id, password and user type is valid o r not. If valid then starts a user session and give access permissi permissi on. Errors: If the user type is invalid th en system shows an error error m essage that “ Invalid User Type. Please Please R Re-e e-enter nter Correct User Type” . If the user id is inv alid then syst em shows an error message that “ Invalid User ID. Plea Please se Enter Enter Correct User User ID ID““ . If the password is invalid then sys tem shows an error message that “ Your Password Password is Invalid. Please Please Enter Correct Password“ Password“ . If the user id and password are invalid then system shows an error message that “ Invalid User ID and Passwo Passwo rd. Please Please Enter Enter Correct User ID and and Passwor Passwor d“ .
28
Use Case Case UC2: UC2: Sign Out Primary Actor: Admin , Teacher, Teacher, Student Student Stakeholders Sta keholders Interests: Interests: Admi Ad mi n: Wants Want s to clo cl o se th t h e sessi ses si on as an admi ni st rato rat o r. Teacher: Wants to close the session as a teacher. Student: Wants to cl ose the session as a student. Organizations: Organiz ations: Wants to ensure the security of t he user’s transactions. Precond Pre cond ition s: User is identif identif ied and and authenticated by starting a sign in session. Post cond itions: Ensure that that all useful and necessary necessary works is s aved aved to the server. Main s uccess scenario: Main User starts Sign Out. System closes that user session.
Use Case Case UC3 UC3:: Add Questio n Primary Actor : Teacher Stakeholders Sta keholders Interests: Interests: Teacher: Tea cher: Wants Wants to k ee eep p th e question bank up to date. Organizations: Organiza tions: Wants to take online intelligent qui z. Precon Pre con ditio ns: Teacher Teacher is identified and authenticated. Post conditions: All questions are saved. Main Ma in s uccess scenario: Teache Te acherr s tarts to add a new questio n Teacher Te acher e enters nters questio n level, question num , subject i d, question, answer option s 1 to 4, answer and mark.
29
System checks wea weather ther this q uestion level is full or not. If not ful l then add the question in the question b ank. System show s all the questions i n th at level after a successive add. Teacher Tea cher c ontinues ont inues s tep 1 to step 4 each each time t ime he/she want to add a new question i n the question question bank. Error: If Questio Questio n Bank is fu ll then syst em rejects the question and shows an error message message that that is “ Question Question Bank is f ull” .
Use Case Case UC4: UC4: Edi t Question Quest ion Primary Actor : Teacher Stakeholders Sta keholders Interests: Interests: Teacher: Tea cher: Wants Wants to k ee eep p t he question bank u p to date. Organizations: Organiza tions: Wants to take online intelligent qui z. Precon Pre con ditio ns: Teacher Teacher is identified and authenticated. Post conditions: All questions are saved. Main Ma in s uccess scenario: Teachers Tea chers st art to edit question s. He/She can see all the questions on necessity. Teachers Te achers en enter ter question level, level, question num , subject i d to edit a question. System checks weather weather this question exis ts or not . IIff exists then prompt teachers tea chers t o edit t he question and t ea eachers chers enter question level, level, question num, subj ect id, question, opt ions 1 to 4, answer and and mark. System show s all the questions i n th at level after a successive edit. Teache Te achers rs contin ue step 1 to st ep 6 each each t ime he/she want to edit a new question i n the question question bank. Error: If the question is not exists in the Que Question stion Bank then syst em gives an an error message that is “ Question Question is not p resent resent in the Question Question Bank”
30
and prompt t he user to enter question level, level, question num , subject id, question, op tions 1 to 4, answer answer and mark. Use Case Case UC5: UC5: Schedule f or Quiz Stakeholders Sta keholders Interests: Interests: Teacher: Tea cher: Wants Wants to t ake quiz in a predefine predefine tim e. Also wants t o make the stu dents more interested on quiz. Organizations: Organiza tions: Want to take quiz according to t he schedule. Precon Pre con ditio ns: Teacher Teacher is identified and authenticated. Post cond itions: Given Given schedule is saved. Main su ccess scenario: Teachers Tea chers s tart to make a new new schedule. Teachers Te achers enter quiz number, number of questions, t otal mark, start t ime, end tim e, start date, end end d ate, course id and t eacher eacher id. Quiz will be started according to the sch edule. Error: For any kind of wrong in formation system will gi ve an an error message that is “ You enter enter invalid invalid information information f or Schedule” Schedule” and promp t teacher teacher to r ee-e enter quiz num ber, number of questions , total mark, start tim e, end tim e, start date, end end date, cours e id and t eacher id.
Use Case Case UC6: UC6: Quiz resul t Stakeholders Sta keholders Interests: Interests: Teacher: Wants to evaluate students. Organizations: Wants teachers can evaluate the students more effectively. Precond Pre cond itions: Teacher Teacher is identified and authenticated. Post condit ions: Quiz result is saved. Main su ccess scenario: Teachers Tea chers st art to s ee quiz result result . Teachers enter quiz number, course id and teacher id.
31
System checks wea weather ther these entered entered input is valid o r not. If valid t hen student marks, performance is shown. Error: If these entere entered d i nputs are not valid then syst em gives an error message that is “ Your given given input is no t valid” and and prompt the user to enter enter corr ect quiz number, cours e id and teacher teacher id again.
Use Case Case UC7: UC7: A dd User Info Primary Prima ry Actor: Admin Stakeholders Sta keholders Interests: Interests: Admi Ad mi n: Wants Want s to keep th e user us er inf i nfor or m ati ation on up to date. dat e. Organizations: Organiza tions: Wants Wants to take intelligent qui z, to keep keep the users inf o up to date. Precon Pre con ditio ns: Admin i s identified and authenticated. authenticated. Post conditi ons: All in formation are saved. saved. Main su ccess scenario: Admi Ad mi n st art t o add n ew user u ser info in fo rmat rm atio ion n Admi Ad mi n enters ent ers us user er n ame, id, i d, p assw or d, and us er c ategor ateg or y. System checks weather the same user is regist ered ered before or not . If not registered then add the user i nformation in th e database database.. If registered then syst em prompt admin t o enter a anoth noth er user id. System shows the user inform ation after each each succ essive add. add. Admi Ad mi n c on ontt in inu u e step st ep 1 to t o ste s tep p 4 each ti time me h e/she e/sh e want wan t t o add ad d a n ew user i n t he database. database.
Use Case Case UC8: UC8: Edit User Info Primary Prima ry Actor: Admin Stakeholders Sta keholders Interests: Interests: Admi Ad mi n: Wants Want s to keep th e user us er inf i nfor or m ati ation on up to date. dat e.
32
Organizations: Organiza tions: Wants Wants to take intelligent qui z, to keep keep the user inf o up t o date. Precon Pre con ditio ns: Admin i s identified and authenticated. authenticated. Post conditi ons: All in formation are saved. saved. Main Ma in s uccess scenario: Admi Ad mi n st arts art s t o edit ed it new us er inf i nf orm or m ati ation on Adm Ad m in ent ers us er id, i d, and us er c ategor ateg or y. System checks weather weather this is a valid user id or not . IIff valid th en show the admin admin th at user information and prompt edit inf ormation. If not valid then syst em prompts admin t o enter another another us er id. System shows the user inform ation after each each succ essive edit. edit. Admi Ad mi n c on ontt in inu u e step st ep 1 to t o ste s tep p 4 each ti time me h e/she e/sh e want wan t t o add ad d a n ew user i n t he database. database. Error: If entered entered user category and id is in correct th en sy stem gives an error error message that “ Invalid user Category Category and ID. Please Please enter enter co rrect u ser Category Ca tegory and ID” .
Use Case UC9: Get Feedback Primary Primary Actor: student Stakeholders Sta keholders Interests: Interests: Student: Wants to get feedback. feedback. Organizations: Organiza tions: Wants to take intelligent quiz. Precond Pre cond itio ns: Student is identif ied and and authenticated. Post con dition s: All answers are saved. saved. Main Ma in s uccess scenario: Students w ant t o get f ee eedback. dback. He/S He/She he selects a particular quiz s olut ion. System checks wea weather ther this quiz time is end or not . IIff fin ished then the quiz answers is appeared. Error:
33
If the selected selected quiz t ime is not end t hen system show s the message that “ Your Your Quiz Time Time is not over” .
Use Case Case UC10: UC10: Appear i n qu iz Primary Primary Actor: student Stakeholders Sta keholders Interests: Interests: Student: Wants to attend in quiz. Organizations: Organiza tions: Wants to take intelligent quiz. Precond Pre cond itio ns: Student is identif ied and and authenticated. Post con dition s: All answers are saved. saved. Main su ccess scenario: 1. Students start to give quiz. 2. System checks weather weather quiz time is started or not. IIff started then the first question o f the quiz is appeared. ppeared. 3. After answer the first question system give the second question question . 4. Students continu e step 3 until fi nished the quiz. 5. After fini sh the quiz he/she he/she need need to subm it the answer answer script . Error: 1. If quiz tim e doesn’t start then system shows the message message that “ It is still x m inutes left left to start start the quiz” . 2. If he/she he/she cannot cannot su bmit th e answer script before time end, system automatically takes the answer with in t ime end and and show s the message that “ Your Time is End” .
34
5.8.2 INTERACTION DIAGRAM
uid, pass and type SignIn
uid, type Login
not match
Database
Response
type = student Student
type = teacher
Teacher
type = admin
Admin
Figure 5.8.2.1: Interaction Diagram for Login Process
Start Quiz (Student)
cid
sid, cid Check_date_ time
Invalid request
Database
Response within schedule date and time cid, level, quesnum
Give question Question Sstart
Process_exam (Quesgenerator)
question
Answer
Finally Result Figure 5.8.2.2: Interaction Diagram for Quiz process process
35
cid,tid Schedule Quiz (Teacher)
tid, cid Generate Quiz Num
qnum tques, sdate, edate, stime, etime
Database
qnum
Save Schedule
Figure 5.5.2.3: Interaction Diagram for Quiz Schedule process process
cid, ques, ans,level Add Question (Teacher)
Save uestion
Database
Figure 5.8.2.4: Interaction Diagram for Add Question process
cid, tid Edit Question (Teacher)
Load Question
slno
Save edit uestion Figure 5.8.2. 5.8.2.5 5: Interactio Interactio n Diagram for Edit Question p rocess
Database
36
5.8.3 CLASS DIAGRAM DIAGRAM User utype: string uid : string uname: string upass : string dept : string email : string showLogInPage(): void reqToLogin : string reqToLogOut : string showUserInFo():void
Student
Teacher
showStudentInfo() : void
Admin
showTeacherInfo() : void
1…*
1
showAdminInf showAdminInfo( o( ): void
1
Question
0…*
1 …*
Course
Quiz
cid : string cname : string
1 showAllQuizes(): string showGradeSheet(): string
1…*
quiznum : int totalquestion: int totalmark:int stime: string 1…* startdate: string showAnsScript() :string showGradeSheet : ssttrin
1
questionlevel: int questionmm: int work: int subid: string question: string option1: string option2: string 1…* option3: string option4: string answer: string showQuestion(): string
37
Figur e 5.8.3 5.8.3:: Class Diagram 5.8.4 FLOWCHART OF QUESTION GENERATOR ALGORITHM ALGORITHM Start Quiz
Read Course ID Read num_of_question Read assign mark
Initialization
Count=0 Level = 1 Total mark =0
No
Question_num = func_rand (); Level = floor [current_level] ; Generate_question (course_id, level, question_num); Yes Count++;
Is Answer correct?
False
All question of same level Attempted?
Yes Yes
Level ++ Update total mark
No
If Current Level = =End level and answer = = true
Yes
End Show Result
38
Figure 5.8.4 5.8.4:: Flowc hart of Questi Questi on Generator Generator Algo rith m
5.8.5 TREE STRUCTURE VIEW OF OIQS OIQS
User
Admin
Teacher
Control & Maintenance
Make Question & Take Exam
Student Attend Exam
Figur e 5.8.5 5.8.5.1: .1: Tree Stru Stru ctu re View of OIQS
Student
Select Course
Previous Taken Quiz
Start Quiz
Figu re 5.8.5 5.8.5.2 .2:: Tree Str Str uctu re View View of Student Modu le
39
Teacher
Schedule Quiz
View All Question
Add Question
Edit Question
Figu re 5.8.5.3 5.8.5.3:: Tree Struc tu re View of Teacher Modul e
Admin View All
User Setup
Add Course
Courses User
Course
View All
Modification
Configuration
User Info
Edit Course Info Info
Course Assign Course
Assign Course
To Teacher
To Student Student
Figu re 5.8.5 5.8.5.4 .4:: Tree Stru Stru ctu re View View of Admin Modul e
40
5.8.6 E-R DIAGRAM DIAGRAM uname
type
dept
u_id
pass
email USER
ISA
add
TEACHER
STUDENT
ADMIN
add assigned to
add take
t_ques
take
tmark
qnum
stime has
COURSE
QUIZ etime
c_id
sdate
cname includes
edate
qleve attened
mark
qnum
ans
sub_id
status
QUESTION
question
op1
op2
op4
op3
41
s_id 02201048 02201018 02201070 02201154
sname palash saikot rumi nasim
dept cse cse cs cse
pass 123 012 324 786
e-mail
[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Figu re 5.8.6: 5.8.6: E-R diagram of OIQS OIQS Student Table: Table:
Teacher Tea cher Table: T_id 012
dept cse
pass 0012
e-mail
[email protected]
009
tname Dr. karim rahman Abdur rouf
cse
abc
[email protected]
003
sarkar Dr.Rahim
ess
236
[email protected]
Course Table: c_id Cse420 Cse310
Cname compiler Java programming Simulation & modeling
Cse474
T_id 012 009 003
ScheduleQuiz Table: q_num 1 2 1
Tques 10 20 10
tmark 100 40 50
stime 12.00pm 10.00am 2.00pm
etime 12.30pm 10.20 3.00pm
sdate 3/6/07 10/5/07 5/5/07
edate 5/6/07 15/5/07 6/5/07
c_id Cse420 Cse474 Cse310
T_id 012 003 009
42
Question Table: Table: qlevel qnum sub_id question Op1 Op2 Op3 Op4 ans mark q_num
Admi Ad mi n Table: Tab le: a_id 789 889 885
aname Mr.roton Mrs sharmin Mr. abul
pass mrt mnb ccz
e-mail
[email protected] [email protected] [email protected] [email protected] [email protected]
Resistered Table: s_id Palash Soikot Nasim
c_id Cse420 Cse474 Cse474
QuizInfo Table: s_id 02201048 02201018 02201154
t_id 00010001 00010002 00010001
5.8.7 USER INTERFACE INTERFACE
c_id CSE391 CSE421 CSE391
qnum 1 2 1
status yes Yes no
43
Welcome Page
Online Intelligent Quiz System
WELCOME TO ONLINE INTELLIGENT QUIZ SYSTEM
User Log In Page
Online Intelligent Quiz System
ONLINE INTELLIGENT QUIZ SYSTEM
LOG IN UID PASSWORD USERTYPE Reset
Student Page
Sub
44
Online Intelligent Quiz System
WELCOME TO ONLINE INTELLIGENT QUIZ
PREVIOUS TAKEN START
UIZ
Admin Page Online Intelligent Quiz System
ONLINE INTELLIGENT QUIZ SYSTEM
View All UserInfo
Add Users Info Edit User’s Info
Log In Error Message
UIZ
45
Online Intelligent Quiz System
ONLINE INTELLIGENT QUIZ
User Name and Password does not match
OK
Question Page Online Intelligent Quiz System
Course Name: DEV 101 101 Question Number 1
Which team won the world cup cricket 2003?
Bangladesh
India
Australia
Srilanka NEXT
46
Answ An sw er Scri Sc ri pt
Online Intelligent Quiz System
Course Name: Quiz Number: Question-1: Correct Answer-1: Question-2: Correct Answer-1: Question-n: Correct Answer-n:
SCORE:
OK
All User Information
User Information:
User Name
User Id
Department
Email Address
Password
SAVE
Type
BACK
47
6.0 ADVANTAGE
Students can appear in a quiz from anywhere of the world.
There is no interaction with pencil and paper.
i ntelligently. Questions are generated intelligently.
The system generates a new question of o f a quiz by depending on the result of the question last answered. o The system generates different questions for different students for the same quiz of a subject. o
Teachers can use the system s ystem for evaluating students effectively, efficiently and perfectly.
It is the more efficient and effective methods of assessing distant students.
There is provision of automated marking, m arking, that is, teachers do not need to check the answer script as they do in manual quiz.
Valuable time of a teacher is saved.
The system will give feedback about a student in which side he/she is weak.
The system implements distant education. edu cation.
48
7.0 CONC CONCLUSION LUSION
In this thesis, we have focused on the automated system, which replaces the manual quiz system. But the interesting thing is that the thesis is not just an online quiz system; it has its own intelligent capability. This was actually our target feature of our thesis. Basically, we have tried to introduce the evaluation method of student-performance and the feed back of the student in the online quiz. Here, the questions are appeared according to the previous answer of that student. We have implemented it in our thesis and it works successfully in our system. In this system, an educational educationa l institute can make their examination procedure automated. It gives the opportunity to the authority to register teachers for different subjects and also give the facility to the students to register their courses for the examinations using the OIQS. Though this is a MCQ based quiz system but it is a perfect MCQ based online quiz system that gives a lot of facilities to the users, as a modern quiz system should have. This system is designed basically for the educational institute but also can be developed for other examination systems like job interview, quiz contest and for other criteria.
49 8.0 DOCUMENTATION DOCUMENTATION
8.1 INSTALATION We have used AppServ 2.5.7 to run the system form the server side. Server name we use local host host and its port 8080. Here we show how to install AppServ 2.5.7. One has to perform the following steps to install AppServ 2.5.7.
Step1: Click on AppServe2.5.7 exe file. You can show the following interface after click. Choose path where you want to install AppServe2.5.7 by click on the Brose button.
After choose the destination d estination folder click on Next button
To choose destination click on Browse button
50
Then you can show this interface. All of these are by default selected. You just click on the next button.
After click on next button you can show the following interface. To run the Online Intelligent Quiz System you must have to use Server name: localhost localhost and Apache HTTP Port: 8080. Port: 8080. Then click on next button.
Write server name localhost here
Write port number 8080 here
Click on next button
51
Then you can show the following interface. Fill root password by root and then click on install button. To run the Online Intelligent Quiz System you must have to use root password: root. password: root.
Here fill by password “root”
Then click on install button
Installation started after click on install button. Below interface show that installation process are in progress.
You can show the bellow interface after you finished installation process. Then click on finish button.
52
Click on finish button
Then to run the Online Intelligent Quiz System you have to perform Step2 Step2..
53
Step 2: To run the OIQS from a local host you have to do the following steps. At first copy the Online (c:\AppServ\www)folder.
folder
from
OIQS
folder
and
put
into
Online folder contains all the system file of OIQS
This Online folder contains all necessary system files of OIQS that are shown in the above figure.
54
After that you have to copy system’s database folder named “teacher ” from OIQS folder and put into the (c:\AppServ\www)folder. This teacher folder contains all the necessary database files that OIQS need.
Put teacher folder into “c:\AppServ\MySQL\data”
You have finished the installation process to run from a local host. Now you can run the system. To run the OIQS just put the below URL into the browser and click into go button or press enter key from the keyboard. http://localhost:8080/online/
Step 3: To run the OIQS from internet you have to do the following steps. 1. Copy the Online folder from from OIQS folder and put in the location into into the 2. server. Then copy the teacher folder from OIQS folder and put in the location into the server where you want to store the database file. 3. Then you can run the system using that address where you put the Online folder.
55
8.2 USER MANUAL
HOME PAGE
This is the home page of Online Intelligent Quiz System (OIQS). From this page you can log in the OIQS. There are some links marked in blue color. By clicking the Home Home link link you will be redirected to the same page. By clicking the Project Description link you link you can see the full details of this OIQS system. By clicking the Help Help link link you will get some FAQ (Frequently Asked Questions) so that you can solve the simple problems to access the systems like login or generate the quiz schedule or attempt for a quiz. By clicking the Login Login you can enter into the OIQS system.
56
LOGIN PAGE
From the home page you can redirect to the login page if you click on the Login link. Three types of users can access this OIQS and each user has different functionalities. To enter into the system you have to enter user name that is shown as UID UID and and PASSWORD PASSWORD and and you also have to select your type that is UTYPE UTYPE.. Then you have to click on the Submit Submit button. button. If all the inputs are valid that was given by you then it will be redirected to the corresponding request page. As an example, if user type is student then it will be redirected to the student page.
57
ADMIN PAGE This is the administrator’s home page. You can see some buttons are there and each of these buttons has different meaning. There are five buttons. The first button is the User Setup Setup button. By clicking this button system redirect you to the add new user page from were you can add new user. The second button is the User Modific ation button. ation button. By clicking this button system redirect you to the edit user page from were you can edit old user information. The third button is the Course Configuration Configuration button. By clicking this button system redirect you to the course configuration page from were you can assign course to teacher and student. Also you can add new course from there. The fourth button is the View All User Info button Info button and the last one is View Vie w Al l Courses. By clicking to the view all user info button you can see all user’s information. By clicking to the view all courses button you can see all configure courses information.
Administrator can also do logout from this page or he/she can go to the change password page by clicking the links that was located on the right top of the page. To change the password we have to click on the Change Password and to logout from the system we have to click on the Log Out Password Out link.
58
USER SETUP
This page is for adding new user to the database. The user may be a teacher/student/admin who will use the system. The administrator have to give the user id, first name, last name, user type, department and email address to add a new user. After filling all these user information you just have to click to the save save button button to save all the information. The administrator can log out from the system from this page by clicking the Log Out link Out link that was on the top right of the page. You can also return back to the previous page by clicking to Previous Page Page link. link.
59
EDIT USER INFORMATION
This is Edit user information page. The admin have to give the user id, first name, last name, user type, department and e-mail address to edit the user. The user information will be saved automatically to the database after click the save button and admin can also delete user by pressing Delete Delete button. button. The administrator can log out from the system from this page by clicking the Logout Logout link link that was on the top right of the page. They can also return back to administrator’s previous home page.
60
COURSE CONFIGURATION
This is the course configuration page. We can see some button is there and each of the button have the different in meaning. There are four buttons. The first button is the Ad Add d Cou rs e; the second button is for Edit Course. The third button is for As Ass s ig n Cour se to Teachers Teach ers and and the fourth button is for Ass As s ig n Co ur se to t o Stud St ud ent. ent .
The administrator can log out from the system from this page by clicking the Logout link that was on the top right of the page. They can also return back to administrator’s previous home page.
61
ADD COURSE
In Add Course page the Admin give the course Id and Course Name to add course. The course will be saved automatically to the database after click the save button .The Cancel Cancel button button work like Refresh. The administrator can log out from the system from this page by clicking the Logout Logout link link that was on the top right of the page. They can also return back to administrator’s previous home page by clicking Prev Previous ious page. page. The Admin can add courses, as they needed.
62
EDIT COURSE
In Edit Course page the Admin give the course Id and Course Name to modify courses. The course will be deleted by pressing the delete delete button after selecting course id and course name. The modified course will be saved automatically to the database after click the save save button .The Cancel button work like Refresh. The administrator can log out from the system from this page by clicking the Logout Logout link link that was on the top right of the page. They can also return back to administrator’s previous home page by clicking Previous Page. Page.
63
ASSIGN COURSE TO TEACHER
This page is for assigning a course to the teacher. The administrator has to select the teacher id, and the number of course id to add in the database. After selecting all the necessary input the administrator will enter the “Save” button. The information will be saved automatically to the database according to the teacher id selected by the teacher. The Admin can log out from the system from the page by clicking the Logout Logout link link that was on the top right of the page. They can also return back to administrator’s home page.
64
ASSIGN COURSE TO STUDENT STUDENT
This page is for assigning a course to the student. The administrator has to select the student id, and the number of course id to add in the database. After selecting all the necessary input the administrator will enter ente r the “Save Save”” button. The information will be saved automatically to the database according to the student id selected by the student. The Admin can log out from the system from the page by clicking the Logout Logout link link that was on the top right of the page. They can also return back to administrator’s home page.
65
VIEW ALL USER INFORMATION
This page contains all user information .In our system there are three types of user and the Type separates them. Only Admin can access this page. They will click on the “Generate” button. The query will be executed and all the information of the user will be extracted with level here. The administrator can log out from the system from this page by clicking the Logout Logout link link that was on the top right of the page. They can also return back to administrator’s previous home page.
66
VIEW ALL COURSE INFORMATION
This page contains all course information. Where course are separated by course id and name. They will click on the “Generate” button. The query will be executed and all the information of the user will be extracted with level here. The user can log out from the system from this page by clicking the Logout link that was on the top right of the page. They can also return back to Logout link administrator’s previous home page.
67
TEACHER PAGE
This is the teacher’s home page. We can see some button is there and each of the button have the different in meaning. There are four buttons. The first button is the Schedule Quiz; the second button is for Ad Add d Questi Ques ti on. on . The third button is for Edit Question, Question , the fourth button is for Users Info, and the last one is View Question.
68
SCHEDUL SCHEDU L E QUIZ
Before start a quiz Teacher need to schedule quiz that’s why we design this page. Where teacher select the course code and fill the start date and end date also teacher fill the start and end time for the quiz. Teacher also gives the total number of question to be answer and total marks. After selecting this field and pressing the save save button data will be automatically save to the database. The user can log out from the system from this page by clicking the link that was on the top right of the page. They can also return back to Logout link Logout administrator’s previous home page.
69
ADD QUESTION: We always want that students can learn better. For this we always update our question bank so that the students can participate the quiz in new questions. This page is for uploading new questions to the database. The teachers have to select the course id to save the questions. Then he will enter new questions along with four choices, answers and also the question level and click on the “Save” button. The question will be saved automatically to the database according to the course id selected by the teacher. The teacher can log out from the system from the page by clicking the Logout link that was on the top Logout link right of the page. They can also return back to teacher’s home page.
70
EDIT QUESTION: This page is for editing the existing questions from the database. The teachers have to select a course from the drop down box that they want to edit questions. Then they will click on the “Generate” button. The query will be executed and all the questions of that subject will be extracted here. The teacher will then select the questions and click on “Edit” button. Then this question will be showed on the page. After that the teacher can modify, as they need.
71
VIEW ALL QUESTIONS The teachers have to select a course from the drop down box that they want to view questions. Then they will click on the “Generate” button. The query will be executed and all the questions of that subject will be extracted with level here.
72
STUDENT PAGE This is the student’s home page. We can see some button is there and each of the button have the different in meaning. There are four buttons. The first button is the Start Quiz; the second button is for Previous Quiz Info. The third button is for Change password, password , the fourth button is for Users Info, and the last one is Logout.
73
START QUIZ Student can start a quiz by selecting a course. After pressing the start start button button our system made a query and match that start and end date and also start and end time that was given by the teacher in the database if the date and time does not match then our system shown a matches where exam duration has been expired.
74
QUESTION PAGE
This page shows the first question of the quiz where number 1 mean that this question come from question level 1 and now you are in level 1. Every question has four options where you (student) have to select one option and have to press the next button to get the next question. After pressing the next button, if the question answer is right then next question comes from the next level otherwise it comes from the same level. This page will give you a new question one after one up to you finished your quiz or up to quiz time is finished. You (student) can log out from the system by clicking the Log Out Out link that was on the top right of the page. By pressing the quit quit button button you can back to the student main page. Once you start a quiz you have to complete it, because automatically take the answer chosen by you if you Quit or Log Out from this page.
75
In the below page shows the question number is 10 10 that is now you are in level 10 10.. This page also shows that next button is disabled because this is the last question of your quiz. Here after choose an option as an answer you need to click in the submit button to submit this question.
76
RESULT PAGE
You can see the result page after have just finished your quiz. Below a sample result page are shown.
You can log out from the system from this page by clicking the Log Out link Out link that was on the top right of the page. By pressing the quit quit button you can back to your (student) main page.
77
CHANGE PASSWORD: PASSWORD: This page is for the three type’s user by which you can change your password. You can change your password by filling up your User ID, Old Password, New Password, and Confirm New Password field. After pressing the change change button the password will be automatically change. You can log out from the system from this page by clicking the Log Out link that was on the top right of the page.
78
9.0 GLOSSARY
OIQS: ONLINE INTELLIGENT QUIZ SYSTEM. System: System is a set of entities, real or abstract, comprising a whole where each component interacts with or is related r elated to at least one other component component and they all serve a common objective. ob jective.
User: A person who uses the system. In our OIQS, there are three types of users. User ID: Every user has different id, which will identify them. Admin: A user who controls the whole w hole system. Teacher : The users who teach the students and take quizzes. Student: A user who is a student and appears in a quiz by registered. Course: The subjects offered by an institution and a nd are assigned to the stud students. ents. Department: An institute has several departments (CSE, BBA, etc). Before registering, a student first chooses choo ses which department he/she wants to study. study.
Quiz: Teachers can evaluate a student by b y taking quiz. In OIQS, teachers take MCQ quizzes. Time & Date: Every quiz has fixed time and date, which will be fixed bbyy th thee teacher. Within this time and date d ate students will appear in the quiz.
Generator Engine: A module, which generates questions intelligently. Question Bank: The database where all data regarding quizzes are stored. Schedule Quiz: Quizzes, which are scheduled i.e. time is fixed. Feedback: The reaction or response to quizzes given by b y the OIQS.
79
10. BIB LIOGRAPHY
a. http://phplens.com/phpeverywhere/node/view/15 b. http://www.mysql.com/why-mysql/ c. http://student.bu.ac.bd/~shadid/ d. Object-Oriented Object-Oriented Softw Softw are Engineering Engineering book by Timothy C. Lethbridge and Robert Laganiere