Vous êtes sur la page 1sur 73

Intelligent Student Testing System 2011

ABSTRACT

INTELLIGENT STUDENT TESTING SYSTEM is a website which tests the knowledge of the students in various fields. It automatically selects the multi-choice questions from the database on the area selected by the user. The user will be given choice in areas like aptitude, computer related subjects and post graduate entrance exams. The user will also be given a choice of creating the question paper based on specified scheme and also he will be able to add questions to requested subjects. The questions are classified based on blooms taxonomy. The application also contains sample papers, resume patterns and FAQs on interviews which can be referred by the users. The project has the provision for the administrator to login and enter user details,modify,update and view the results of students.The administrator sets the questions along with answers and correct answer to the questions. The administrator grants permission to the user to generate question paper.The user can request the administrator to add particular subject. The student logs in using his username and password and takes the test.After the test user can view his/her results and complete exam summary. The backend has developed using MYSQL database using Wampserver.PHP and XHTML are used for the frontend and the interface of the project. The main benefit of this application is that user-friendly and multi user system.The results can be viewed soon after the exam without any delay.

Intelligent Student Testing System 2011

ACKNOWLEDGEMENT

The satisfaction that accompanies the completion of any task would be incomplete without the mention of all the people without whom this endeavor would have been difficult one to accomplish. Their constant encouragement ,guidance and suggestions have been a constant source of inspiration to us. This report would truly be incomplete without expressing our gratefulness towards them. We take this occasion to express our whole hearted gratitude to all, who have played a role in successful completion of our project. We thank our principal, Dr S.Y. Kulkarni for permitting us to carry out this project in our college in providing us with all needed facilities. We express our gratitude to Mr. Yuvaraju B. N, Head of the Department, Information Science and Engineering who has developmentof the project. We are thankful to our project guide Dr. Ashok Kumar, Professor, Department of Information Science and Engineering who guided us in all the ways to complete our project on time. We would like to this opportunity to thank the entire staff of the Information Science Department for their help and co-operation without which the project would have been an insurmountable task. It is a great pleasure for us to acknowledge the valuable suggestions, help and ideas of all our friends. Most importantly we thank the Almighty and our families for their blessings and support. helped us,charter our path across all the stages of

PRIYANKA SABA SADIQ SHAIK SEEMA B.RAO SHRUTHI.R

Intelligent Student Testing System 2011

INDEX

1 1.1 1.2 2 3 3.1 3.1.1 3.1.2 3.2 3.2.1 3.2.2 3.2.3 3.2.4

Introduction QUESTWORLD-The Testing System Organization of the report Literature Survey Software Requirement Specification Introduction Purpose Project Scope Overall Description Project Perspective Project Function User classes and Characteristics Operating System Environment

1 1 1 3 4 4 4 4 5 5 5 7 8

Intelligent Student Testing System 2011

3.2.5 3.3 3.3.1

Design and Implementation Constraints System Feature-Functional Requirement Use cases

8 8 8 10

3.3.1.1 User Use case catalog and Use case diagram 3.3.1.2 Administrator Use case catalog and Use case diagram 3.3.1.3 Faculty Use case Catalog and Use case diagram 3.3.1.4 Activity Diagram

11

12

14 14 16 18 20 22 22

3.3.1.4.1 Activity Diagram for module 1 3.3.1.4.2 Activity Diagram for module 2 3.3.1.4.3 Activity Diagram for module 3 3.3.1.4.4 Activity Diagram for module 4 3.4 3.4.1 Nonfunctional Requirements Performance Requirements

Intelligent Student Testing System 2011

3.4.2 3.4.3

Security Requirements System Requirements

23 23 23 23 25 25 25 27 28 47 47 48 48 48 55

3.4.3.1 Software Requirements 3.4.3.2 Hardware Requirements 4 4.1 4.2 4.3 5 6 6.1 6.2 6.3 6.4 7 System Design and Implementation Front End Back End ER Diagram Implementation Details System Testing Introduction Unit Testing Integration Testing Validation Testing Screen Shots

Intelligent Student Testing System 2011

8 9

Conclusion and Scope of future work Bibliography

66 67

Intelligent Student Testing System 2011

Chapter - 1

INTRODUCTION
1.1 QUESTWORLD- The Testing System

Practice Makes Man Perfect. As the saying means its practice that makes man perfect in any area may be education, sports or any other fields. So here we provide a web application named INTELLIGENT STUDENT TESTING SYSTEM that helps students to take practice tests which can assist them in preparing for campus recruitment tests, PG entrance tests and certain subjects related to academics.

The application generates a certain set of questions in a particular field of users interest and at the end of the test, displays his/her marks scored in the test. The marks scored helps students to know their level of intelligence and lets them to improve when they take the test again. It also displays the answers for all the questions in a test paper for clarification of the user. Since it is just a practice test there is no specific time for the user to take the test but the application displays the total time taken by the user to complete the test.Also user will be given a provision to select whether he wants negative marking or not. This application also provides the facility of generating question papers for faculties based on Blooms taxonomy in which questions will divided based on 4 levels Knowledge, Comprehension, Application, Analysis. Also users can add questions to subjects provided by the administrator and view the question papers generated by other faculties.

1.2

ORGANIZATION OF THE REPORT


Chapter 2 provides the details of the literature survey (ground work) performed in order to

arrive at a particular method of designing and implementing our web application. The chapter also focuses on the problem statement, basic information required for proceeding with the 1

Intelligent Student Testing System 2011

project and tools required to build the application. Chapter 3 gives the software requirements specification of the project. Chapter 4 is the system design of the project which defines the architecture, components, modules, interfaces, and data for the system to satisfy specified requirements. Chapter 5 is the implementation phase of the project which explains about the way in which we have developed to application. Chapter 6 provides the screen shots of our system. Chapter 7 is the details of the system testing phase which involves only the testing of the product developed. Chapter 8 contains the scope for future work and conclusion. Chapter 9 deals with the bibliography and finally the 10th chapter contains the appendices.

Intelligent Student Testing System 2011

Chapter - 2 LITERATURE SURVEY


2.1 THE PROBLEM STATEMENT
The problem statement of our project is to build a web application Which helps the students to test their knowledge in various fields.The user will be given a choice to select a area of his interest and take a test on it.The result of his/her test will be displayed on the page once he/she completes writing the test. Online exam makes the examination task simpler and easier as anyone can take the exam whenever they wish to. The approach to this kind of application may be different by different people. Intelligent Student Testing System is one such approach we have tried. As we have seen in earlier approaches it would be like, the entire question would display in a single page or one in each page. Some application may be restricted only for aptitude section or any specific section. But our application is allows the user take up the test in 3 different areas i.e., Aptitude test, PG entrance test(here Gate) and computer science related subjects like c & c++ and operating system. Also our application provides a number of sample papers of different kinds of test which was not existing in the earlier application what we had seen. So this is one advantage of our application. Usually an online exam is just about taking test and getting results. We came up with a new idea which would be helpful for faculties. That is, it also has a provision of generating question paper by the faculty based Blooms Taxonomy in which questions are classified into 4 levels(Knowledge, Comprehension, Application, Analysis) so that it will be easier for the faculty to select the questions. It has a very good user interface for the selection of questions and the display of question paper. Since it is just a practice test there is no specific time for the user to take the test but the application displays the total time taken by the user to complete the test. 3

Intelligent Student Testing System 2011

Chapter - 3

SOFTWARE REQUIREMENTS SPECIFICATION


3.1
3.1.1

INTRODUCTION
Purpose

Intelligent student testing system is a web application which tests the knowledge of the students in various fields. The user will be given choice in areas like aptitude, computer related subjects and post graduate entrance exams. It automatically generates the multi-choice questions from the database on the area selected by the user. At the end of the test the application displays the marks scored by the user and also displays the answers for all the questions for users clarification. The user will also be given a choice of generating the question paper based on Blooms Taxonomy. He can also add questions to the subjects provided by the administrator and view the question papers generated by other users.

3.1.2

Scope

Users preparing for placements ,PG entrance exams and other academic subjects can register and take test in the area of their interest. Marks will be displayed at the end of the test which helps the user to test his level of intelligence. Faculties can use this application to generate question papers. Administrator maintains user log and backup and recovery of the system. He can also insert, delete or update the questions in the database.

3.1.3 OVERVIEW
SRS will include two sections: Overall description will brief about the components, interconnection and external 4

Intelligent Student Testing System 2011

interfaces of the system. Specific requirements will include functions of actors, their role in the system and constraints.

3.2
3.2.1

OVERALL DESCRIPTION
Project perspective

This application makes the examination process simpler and faster with a very interactive user interface. It enables students to take the test in their field of interest and get the marks immediately which does not happen in usual manual examination process. Also the application is designed such that the user can select only one option for one question and not allowed to select more than one. This application also provides the facility for the faculties to generate question paper based on Blooms Taxonomy.

3.2.2

Project Function

The project is divided into 4 modules. Module 1: Placement papers It consists of two different patterns of aptitude papers like technical aptitude and general aptitude Module2: PG Entrance exam papers It includes entrance exam papers for CAT and GATE Module 3: Computer related subject It includes subjects like C, C++, Operating System etc.

Intelligent Student Testing System 2011

Module 4: Generating question papers

and adding questions.Faculties can generate

question paper from the questions available in the database. He can also add questions to the subjects provided by the administrator. The database includes different set of questions that is classified based on Blooms Taxonomy which consists of levels like Knowledge: In the knowledge level of Bloom's Taxonomy, questions are asked solely to test whether a student has gained specific information from a particular subject i.e to test the basic knowledge of the student in a particular subject. Comprehension: Demonstrative understanding of facts and ideas by organizing, comparing, translating, interpreting, giving descriptions, and stating main ideas Application: Application questions are those where students have to actually apply or use the knowledge they have learned. Analysis: In the analysis level, students will be required to go beyond knowledge and application and analyze a problem. You are probably writing analysis questions when you use words like analyze, investigate, infer etc. Synthesis: With synthesis, students are required to use the given facts to create new theories or make

predictions. You are probably writing synthesis questions when you use words like invent, imagine, create, compose, etc. Evaluation: Present and defend opinions by making judgments about information, validity of ideas or quality of work based on a set of criteria. 6

Intelligent Student Testing System 2011

3.2.3 USER CLASSES AND CHARACTERISTICS


SL. NO 1 ACTOR NAME System Administrator DESCRIPTION The user can request the admin to add new subjects for the question paper generation. The admin can add questions to the database and grant the permission to get the question paper. 2 User This project helps the user to take a practice test in the areas like aptitude, pg and computer science related

subjects. The application also contains sample papers,

resume patterns and FAQs on interviews which can be referred by the users.

Faculty

It also provides the faculty members with the facility of generating question paper and allows the other users to add questions for the required subjects.

Intelligent Student Testing System 2011

3.2.4 OPERATING ENVIORNMENT


The software will operate using XHTML. This operating system used here is Windows XP. Its a multi user system.

3.2.5 DESIGN AND IMPLEMENTATION CONSTRAINTS


The system should support as many users as possible and the database should be protected from their access. The database used here is WAMP server. The entire project is implemented using PHP, Javascript and MYSQL database and Wamp server is used to run the application.

3.3 SYSTEM FEATURE-FUNCTIONAL REQUIREMENTS


3.3.1 USE CASES
The various user classes identified the following use cases and primary actors.

PRIMARY ACTOR USER

USE CASES 1.Login with password 2.Select type of the test 3.Take the test 4. View results

SYSTEM ADMINISTRATOR

5.Login with password 6.Managing user 7.Update questions 8.Update report

FACULTY

9.Generate question paper 10.Add subjects 8

Intelligent Student Testing System 2011

Intelligent Student Testing System 2011

3.3.1.1 USER USE CASE CATALOG AND USE CASE DIAGRAM


USE CASE Login with password DESCRIPTION User registers and creates his new account. He gets the password through which he can login and take test. Select type of the test User can select type of test after he registers.

Take the test

User can take test on the basis of the area which he has selected like aptitude, CS subjects, PG exams.

View results

User can view his score.

USECASE DIAGRAM-USER

10

Intelligent Student Testing System 2011

3.3.1.2 ADMINSTRATOR USE CASE CATALOG AND USE CASE DIAGRAM

USECASE Login with password

DESCRIPTION Admin registers and creates his account. He gets the password through which he can login.

Managing user

Responsible for managing the users.

Update questions

Responsible for creating users and updating user log. Responsible for adding placement, PG entrance exams, CS subject questions to the database and also maintaining the reports on the users performance.

Update report

11

Intelligent Student Testing System 2011

USECASE DIAGRAM-SYSTEM ADMINSTRATOR

3.3.1.3 FACULTY USE CASE CATALOG AND USE CASE DIAGRAM

USECASE Generate question paper

DESCRIPTION Faculty can select questions from the list and generate question paper.

Add subjects

Faculty can request admin to add subjects.

12

Intelligent Student Testing System 2011

USECASE DIAGRAM-FACULTY

13

Intelligent Student Testing System 2011

3.3.1.4 ACTIVITY DIAGRAM 3.3.1.4.1 Module1:

14

Intelligent Student Testing System 2011

Normal flow of events for user:


1. User has to login using his respective login id and password. 2. User selects placement papers and can select technical or general aptitude and take test. 3. Questions are displayed one-by-one. 4. User answers the questions. 5. User should submit his answers by clicking "SUBMIT ". 6. System stores the answer in database. 7. Results are viewed using the "VIEW ANSWERS" option. 8. Test summary can be viewed soon after the completion of the test.

15

Intelligent Student Testing System 2011

Normal flow of events for system administrator:


1. Administrator has to login using their respective user id and password. 2. Administrator can update the database. 3. Administrator can add questions to the database.

3.3.1.4.2 Module2:

16

Intelligent Student Testing System 2011

Normal flow of user:


1. User has to login using his respective login id and password. 2. User selects PG test and can select PG Entrance aptitude and take test. 3. Questions are displayed one-by-one. 4. User answers the questions. 5. User should submit his answers by clicking "SUBMIT ". 6. System stores the answer in database. 7. Results are viewed using the "VIEW ANSWERS" option. 8. Test summary can be viewed soon after the completion of the test.

17

Intelligent Student Testing System 2011

Normal flow of System Administrator:


1. Administrator has to login using their respective user id and password. 2. Administrator can update the database. 3. Administrator can add questions to the database.

3.3.1.4.3 Module 3:

18

Intelligent Student Testing System 2011

Normal flow of events of user: 1. User has to login using his respective login id and password. 2. User selects CS-Subjects and can select OS, C,C++ subjects and take test. 3. Questions are displayed one-by-one. 4. User answers the questions. 5. User should submit his answers by using "SUBMIT ". 6. System stores the answer in database. 7. Results are viewed using the "VIEW ANSWERS" option. 8. Test summary can be viewed soon after the completion of the test.

19

Intelligent Student Testing System 2011

Normal flow of events for system administrator:


1. Administrator has to login using their respective user id and password. 2. Administrator can update the database. 3. Administrator can add questions to the database. 4. Administrator can add new subject to the database.

3.3.1.4.4 Module 4:

20

Intelligent Student Testing System 2011

Normal flow of events of users:


1. User/Faculty has to login using their respective user id and password. 2. User can add questions. 3. User can view questions added by other users. 4. User can send request to admin to add the subject. 5. User can get the question paper for the specified subject.

21

Intelligent Student Testing System 2011

Normal flow of System Administrator:


1. Administrator has to login using their respective user id and password 2. Administrator can update the database. 3. Administrator can add questions to the database. 4. Administrator can view request sent by the user in order to obtain question paper. 5. Administrator can view request for adding subjects. 6. Administrator can grant permission to the users.

3.4NON FUNCTIONAL REQUIREMENTS:


3.4.1 Performance Requirements
System shall be tested against its functionality,portability,availability,security,ease of use and ease of operations. Functionality: Our system provides better satisfaction to your needs,provides good user interface. Usability: The user perceives the system as value added to his/her job and easy to learn and use. Availaibilty: This application is available for many users at a time i.e acts as multi-user system. Authorization: Providing right access to right users is dealt by the final defining appropriate authorization.This will safeguard against accidental modification and deletions. Ease of use: This will address effort required to learn ,operate,preparing input for and interpret output from the system.this deals with how quickly and easily the people interfacing with application system will learn to use it. 22

Intelligent Student Testing System 2011

3.4.2 SECURITY REQUIREMENTS


1. User is required to log into the system for all operations. 2.System will permit only authorized members to access the application and to set the question paper . 3.System will permit only the admin to make any modifications.

3.4.3 SYSTEM REQUIREMENTS 3.4.3.1 SOFTWARE REQUIREMENTS

Operating System Front End Back End Browser

Windows XP PHP and XHTML MYSQL database,WampServer Mozilla browsers FireFox or other compatible

3.4.3.2 HARDWARE REQUIREMENTS In order to implement a new system ,the choice of a processor with maximum possible speed is made.There should be sufficient memory to store data and software tools for efficient processing.A keyboard is necessary for entering the input data.

23

Intelligent Student Testing System 2011

Processsor Ram HDD Keyboard Monitor Mouse

Intel Pentium P4,600MHz 128 MB 10GB Standard 14 SVGA Serial Mouse

24

Intelligent Student Testing System 2011

Chapter 4

SYSTEM DESIGN
4.1 Front End: Extensible Hyper Text Markup Language and Hypertext Preprocessor
XHTML (eXtensible HyperText Markup Language) is a family of XML markup languages that mirror or extend versions of the widely-used Hypertext Markup Language (HTML), the language in which web pages are written. XHTML was developed to make HTML more extensible and increase interoperability with other data formats. There are various differences between XHTML and HTML. The Document Object Model is a tree structure which represents the page internally in applications, and XHTML and HTML are two different ways of representing that in markup (serializations). Both are less expressive than the DOM (for example, "--" may be placed in comments in the DOM, but cannot be represented in a comment in either XHTML or HTML), and generally XHTML's XML syntax is a little more expressive than HTML (for example, arbitrary namespaces are not allowed in HTML). So, firstly one source of differences is immediate: XHTML uses an XML syntax, while HTML uses a pseudo-SGML syntax (officially SGML for HTML 4 and under, but never in practice, and standardized away from SGML in HTML5).

4.2 Back End :MYSQL database using Wamp Server


The Questions to be displayed in each test is stored in the database in respective table.The table for the first three modules consists of attributes like question number, question, four options and answer.

25

Intelligent Student Testing System 2011

The 1st module i.e., Placement Papers is divided into 2 categories namely Technical Aptitude and General Aptitude. Technical Aptitude is further divided into 3 tables namely computer science technical, electronics and communication technical and mechanical technical. The 2nd module i.e., PG entrance exam consists of questions related to GATE in gate table in the database. The 3rd module i.e., Computer related subjects includes 3 subjects like C, C++ and Operating system. These subjects are created as tables in the database. Each of these tables consists of attributes like question number, question, four options and answer. When user takes any one of the test questions will be retrieved from respective table from the database along with the options where in user can mark only one option for one question. For the 4th module i.e., Question Paper Generation, there exists 3 subjects, C, C++ and Operating System. Questions for these subjects are entered in the database so that the faculties can select the questions when generating question paper. The table consists of attributes like question number, question, level and marks. The user can also add questions to the subjects provided by the admin and also view the questions selected by other users.

26

Intelligent Student Testing System 2011

4.3 ER DIAGRAM

27

Intelligent Student Testing System 2011

Chapter 5

IMPLEMENTATION
The project is divided into 4 modules: Placement module PG entrance module Computer related subject module Genarating question papers and adding questions

Registration:The user needs to register first before using the service of intelligent student testing system.Registration form consists of details in which user has to enter valid details. Code snippet of registration form: Login:Once the user registered to use the service ,user can login to the system using correct username and password which he had used during registration. Code snippet of Login form: <script type="text/javascript"> function check() { var u=document.getElementById("Username").value; var p=document.getElementById("Password").value; if(u=="" || p=="") { alert("Fill the details"); return false; } else{ return true; }} </script> 28

Intelligent Student Testing System 2011

</head> <body> <form action="ret.php" method="post" onsubmit="check();"> <div id="mainWrap"> <div id="quest"><center><marquee>WELCOME TO QUESTWORLD</marquee></center></div> <div id="loginPanel"> <h2>User Login</h2> <table align="right" cellspacing="10" cellpadding="10"> <tr></tr><tr></tr><tr></tr><tr></tr><tr></tr> <tr> <td>User name:</td> <td> <input type="text" id="Username" name="un" size="30"/></td></tr> <tr><td>Password:</td> <td> <input type="password" id="Password" name="pw" size="30"/></td></tr> <tr><td></td> <td> <input type="submit" name="button" id="button" value="Sign in" /> </td></tr> <tr><td></td> </table> <p>Not yet a Member? <a href="http://localhost/register.html">Register Now</a></p> </body> </form> </html> Home Page:It consists of options for taking test,sample papers which can be used by user to prepare himself for competitive exams,commonly asked questions in the interviews etc. User can request for the test based on in any area from the options provided. Code snippet of HomePage: 29

Intelligent Student Testing System 2011

The user undergoes a test depending on the category he selects.The system displays the total marks along with attempted and unattempted questions. Code snippet of taking particular test: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Charity Trust</title> <link rel="stylesheet" href="styleh.css" type="text/css" charset="utf-8" /> </head> <body> <div id="wrapper"> <div id="header"> <h1><img alt="Charity Trust"></h1> </div> <div id="headline"> <div class="clear"></div> </div> <div id="body"> <div id="body-left"> <center><h1 QUESTWORLD</h1></center></br> </div> <br><br><br><br><br> <form action="quantitative20.php" method="POST" class="quest" align="left"> <?php session_start(); 30 class="head3>WELCOME TO src="images1/homelogo.bmp" width="172" height="45"

Intelligent Student Testing System 2011

$u=getdate(); $_SESSION['h']=$u['hours']; $_SESSION['m']= $u['minutes']; $_SESSION['s']= $u['seconds']; $u=$_SESSION['username']; $p=$_SESSION['password']; $i=1; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("intelligent",$con); $result1=mysql_query("select *from intelligent.login"); while($row1 = mysql_fetch_array($result1)) { if($row1['USERNAME']==$u && $row1['PASSWORD']==$p){ $lastq=$row1['lastq']; break; } } $result=mysql_query("select *from intelligent.quantitative"); if($lastq==90) { while($row = mysql_fetch_array($result)){ 31

Intelligent Student Testing System 2011

if($i<11) { echo "<br>"; echo $i .".";echo "\t"; echo $row['QUESTIONS']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="A"/>'; echo "A."; echo "\t\t"; echo $row['A']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="B"/>'; echo "B."; echo "\t\t"; echo $row['B']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="C"/>'; echo "C."; echo "\t\t"; echo $row['C']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="D"/>'; echo "D."; echo "\t\t"; echo $row['D']; 32

Intelligent Student Testing System 2011

echo "<hr>"; echo "<br>"; $i++; $qn10 = $row['q']; }}} else { while($row = mysql_fetch_array($result)) { if($i<11 && $row['q']>$lastq) { echo "<br>"; echo $i .".";echo "\t"; echo $row['QUESTIONS']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="A"/>'; echo "A."; echo "\t\t"; echo $row['A']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="B"/>'; echo "B."; echo "\t\t"; echo $row['B']; echo "<br>"; 33

Intelligent Student Testing System 2011

echo '<input type="radio" name='.$row["q"].' value="C"/>'; echo "C."; echo "\t\t"; echo $row['C']; echo "<br>"; echo '<input type="radio" name='.$row["q"].' value="D"/>'; echo "D."; echo "\t\t"; echo $row['D']; echo "<hr>"; echo "<br>"; $i++; $qn10 = $row['q']; }}} $_SESSION['qn10'] = $qn10; $_SESSION['start']= $qn10-9;// store session data ?> <center><input type="submit" name="button1" id="button" value="NEXT" /></center> <br> <br> </form> </body> </html> Genarating question paper: : It also provides the faculty members with the facility of generating question paper and allows the other users to add questions for the required subjects.User has to select a Questions for creating question paper which is of fixed scheme.It consists of five 34

Intelligent Student Testing System 2011

units.Faculty will be given a choice of selecting 6 questions for each unit where the first three questions will add up to 20 marks and so on.System warns the user if the questions did not add upto total 20 marks.Questions selection will be continued for all other units in the same manner. Code snippet of generating questionpaper: <body> <br><br><br><br><br> <form action="homepage.php" method="POST" class="quest" align="align"> <?php session_start(); if (isset($_POST["sem"])) { $sem=$_POST["sem"]; } else { $sem=" "; } if (isset($_POST["course"])) { $course=$_POST["course"]; } else { $course=" "; } 35

Intelligent Student Testing System 2011

if (isset($_POST["code"])) { $code=$_POST["code"]; } else { $code=" "; } if (isset($_POST["year"])) { $year=$_POST["year"]; } else { $year=" "; } echo "<center >"; echo "<div class='qp'>"; echo $sem; echo " "; echo "semester"; echo " "; echo $course; echo " "; echo "examination "; 36

Intelligent Student Testing System 2011

echo $year; echo "<br>"; echo $code; echo " "; echo "C programming"; echo "<br>"; echo "Note: Answer any one full question from each unit"; echo "<br>"; echo "<br>"; echo "Time:3hours &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp "; echo "Marks:100"; echo "<br>"; echo "<br>"; echo "<br>"; echo "<br>"; echo "</div>"; echo "<div class='qp1'>"; echo "UNIT 1"; echo "</div>"; echo "</center>"; echo "<br><br>"; echo "<div class='qp2'>"; echo "1a) &nbsp "; echo $_SESSION['unit11a']; echo " &nbsp ("; echo $_SESSION['munit11a']; echo ")"; echo "<br>"; 37

Intelligent Student Testing System 2011

echo "1b) &nbsp "; echo $_SESSION['unit11b']; echo " &nbsp ("; echo $_SESSION['munit11b']; echo ")"; echo "<br>"; echo "1c) &nbsp "; echo $_SESSION['unit11c']; echo " &nbsp ("; echo $_SESSION['munit11c']; echo ")"; echo "<br>"; echo "<br>"; echo "2a) &nbsp "; echo $_SESSION['unit12a']; echo " &nbsp ("; echo $_SESSION['munit12a']; echo ")"; echo "<br>"; echo "2b) &nbsp "; echo $_SESSION['unit12b']; echo " &nbsp ("; echo $_SESSION['munit12b']; echo ")"; echo "<br>"; 38

Intelligent Student Testing System 2011

echo "2c) &nbsp "; echo $_SESSION['unit12c']; echo " &nbsp ("; echo $_SESSION['munit12c']; echo ")"; echo "<br>"; echo "<br>"; echo "<div class='qp1'>"; echo "<center>"; echo "UNIT 2"; echo "</center>"; echo "</div>"; echo "<br><br>"; echo "1a) &nbsp "; echo $_SESSION['unit21a']; echo " &nbsp ("; echo $_SESSION['munit21a']; echo ")"; echo "<br>"; echo "1b) &nbsp "; echo $_SESSION['unit21b']; echo " &nbsp ("; echo $_SESSION['munit21b']; echo ")"; echo "<br>"; echo "1c) &nbsp "; 39

Intelligent Student Testing System 2011

Echo $_SESSION['unit21c']; echo " &nbsp ("; echo $_SESSION['munit21c']; echo ")"; echo "<br>"; echo "<br>"; echo "2a) &nbsp "; echo $_SESSION['unit22a']; echo " &nbsp ("; echo $_SESSION['munit22a']; echo ")"; echo "<br>"; echo "2b) &nbsp "; echo $_SESSION['unit22b']; echo " &nbsp ("; echo $_SESSION['munit22b']; echo ")"; echo "<br>"; echo "2c) &nbsp "; echo $_SESSION['unit22c']; echo " &nbsp ("; echo $_SESSION['munit22c']; echo ")"; echo "<br>"; echo "<br>"; 40

Intelligent Student Testing System 2011

echo "<div class='qp1'>"; echo "<center>"; echo "UNIT 3"; echo "</center>"; echo "</div>"; echo "<br><br>"; echo "1a) &nbsp "; echo $_SESSION['unit31a']; echo " &nbsp ("; echo $_SESSION['munit31a']; echo ")"; echo "<br>"; echo "1b) &nbsp "; echo $_SESSION['unit31b']; echo " &nbsp ("; echo $_SESSION['munit31b']; echo ")"; echo "<br>"; echo "1c) &nbsp "; echo $_SESSION['unit31c']; echo " &nbsp ("; echo $_SESSION['munit31c']; echo ")"; echo "<br>"; echo "<br>"; 41

Intelligent Student Testing System 2011

echo "2a) &nbsp "; echo $_SESSION['unit32a']; echo " &nbsp ("; echo $_SESSION['munit32a']; echo ")"; echo "<br>"; echo "2b) &nbsp "; echo $_SESSION['unit32b']; echo " &nbsp ("; echo $_SESSION['munit32b']; echo ")"; echo "<br>"; echo "2c) &nbsp "; echo $_SESSION['unit32c']; echo " &nbsp ("; echo $_SESSION['munit32c']; echo ")"; echo "<br>"; echo "<br>"; echo "<div class='qp1'>"; echo "<center>"; echo "UNIT 4"; echo "</center>"; echo "</div>"; echo "<br><br>"; 42

Intelligent Student Testing System 2011

echo "1a) &nbsp "; echo $_SESSION['unit41a']; echo " &nbsp("; echo $_SESSION['munit41a']; echo ")"; echo "<br>"; echo "1b) &nbsp "; echo $_SESSION['unit41b']; echo " &nbsp ("; echo $_SESSION['munit41b']; echo ")"; echo "<br>"; cho "1c) &nbsp "; echo $_SESSION['unit41c']; echo " &nbsp ("; echo $_SESSION['munit41c']; echo ")"; echo "<br>"; echo "<br>"; echo "2a) &nbsp "; echo $_SESSION['unit42a']; echo " &nbsp ("; echo $_SESSION['munit42a']; echo ")"; echo "<br>"; 43

Intelligent Student Testing System 2011

echo "2b) &nbsp "; echo $_SESSION['unit42b']; echo " &nbsp ("; echo $_SESSION['munit42b']; echo ")"; echo "<br>"; echo "2c) &nbsp "; echo $_SESSION['unit42c']; echo " &nbsp ("; echo $_SESSION['munit42c']; echo ")"; echo "<br>"; echo "<br>"; echo "<div class='qp1'>"; echo "<center>"; echo "UNIT 5"; echo "</center>"; echo "</div>"; echo "<br><br>"; echo "1a) &nbsp "; echo $_SESSION['unit51a']; echo " &nbsp ("; echo $_SESSION['munit51a']; echo ")"; echo "<br>"; echo "1b) &nbsp "; 44

Intelligent Student Testing System 2011

echo $_SESSION['unit51b']; echo " &nbsp ("; echo $_SESSION['munit51b']; echo ")"; echo "<br>"; echo "1c) &nbsp "; echo $_SESSION['unit51c']; echo " &nbsp ("; echo $_SESSION['munit51c']; echo ")"; echo "<br>"; echo "<br>"; echo "<p>"; echo "2a) &nbsp "; echo $_SESSION['unit52a']; echo " &nbsp ("; echo $_SESSION['munit52a']; echo ")"; echo "</p>"; echo "<br>"; echo "2b) &nbsp "; echo $_SESSION['unit52b']; echo " &nbsp ("; echo $_SESSION['munit52b']; echo ")"; echo "<br>"; 45

Intelligent Student Testing System 2011

echo "2c) &nbsp "; echo $_SESSION['unit52c']; echo " &nbsp ("; echo $_SESSION['munit52c']; echo ")"; echo "<br>"; echo "<br>"; echo "</div>"; ?> <center> <input type="submit" value="home"></input></td></tr> </center> </form> <br><br><br><br><br><br> </body> </html> The user can request the admin to add new subjects for the question paper generation. The admin can add questions to the database and grant the permission to get the question paper. Admin updates the questions on the database.

46

Intelligent Student Testing System 2011

Chapter 6 SYSTEM TESTING


6.1 INTRODUCTION

System testing of software or hardware is testing conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements. System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic. System testing is usually required before and after a system is put in place. A series of systematic procedures are referred to while testing is being performed. These procedures tell the tester how the system should perform and where common mistakes may be found. Testers usually try to break the system by entering data that may cause the system to malfunction or return incorrect information. System testing is performed on the entire system in the context of System Requirement Specification (SRS). System testing is an investigatory testing phase, where the focus is to have almost a destructive attitude and tests not only the design, but also the behavior and even the believed expectations of the user. It is also intended to test up to and beyond the bounds defined en the software requirements specification. The testing phase is performed after the coding to detect all the errors and provide quality assurance and ensure reliability of the software. Testing is vital to the success of the system. During testing, the software to be tested is executed with a set of test cases, and the behavior of the system for the test cases is evaluated to determine if the system is performing as expected. Clearly, the success of testing in revealing errors depends critically on the test cases. The different testing strategies employed in this project are explained in this chapter.

47

Intelligent Student Testing System 2011

6.2

UNIT TESTING

In computer programming, unit testing is a software verification and validation method in which a programmer tests if individual units of source code are fit for use. A unit is the smallest testable part of an application. It is also called as Module Testing. The goal of unit testing is to isolate each part of the program and show that the individual parts are correct. By testing the parts of a program first and then testing the sum of its parts, integration testing becomes much easier.

6.3

INTEGRATION TESTING

Integration testing is the phase in software testing in which individual software modules are combined and tested as a group. It occurs after unit testing and before system testing. Integration testing takes as its input modules that have been unit tested, groups them in larger aggregates, applies tests defined in an integration test plan to those aggregates, and delivers as its output the integrated system ready for system testing. The purpose of integration testing is to verify functional, performance, and reliability requirements placed on major design items. All the different modules of the project were combined and tested. Integration Testing was found to be a successful.

6.4 VALIDATION TESTING


Validation succeeds when system functions in a manner that can be reasonably expected by the end used.This is achieved through a series of black-box test that demonstates with experiments.

The test case specification for the entire system are given in the following table

48

Intelligent Student Testing System 2011

TESTING REGISTRATION FORM SL.NO TESTCASE EXPECTED RESULT 1 Enter valid username OBTAINED RESULT

User must be able to Same as expected register

Enter username which contains numbers

System

display

a Same as expected

messageenter username

valid

Enter email id with System should special characters display a messageenter a valid email id

Same as expected

Enter email id with valid characters

User should be able to Same as expected register System should display a message please fill the details Same as expected

Leave any fields unfilled and click register button

Enter password greater than length 8

System should display a messageplease enter valid password

Same as expected

Enter the details correctly in all fields and click register button

System should add a record in the database

Same as expected

49

Intelligent Student Testing System 2011

TESTING USER LOGIN FORM SL.NO TESTCASE EXPECTED RESULT 1 User enters the username and password which is already existing in the database and clicks signin button 2 Nonregistered user enters username and password and clicks signin button 3 Leave any fields unfilled and clicks signin button System should display a messageRegister before signin System should display a messagePlease fill the details before processing Same as expected Same as expected User must be able to login and should be able to view homepage OBTAINED RESULT Same as expected

50

Intelligent Student Testing System 2011

TESTING ADMINISTRATOR LOGIN FORM

SL.NO

TESTCASE

EXPECTED RESULT

OBTAINED RESULT Same as expected

Enter valid username and pass word of admin

System should display a question entry form System should display a messagenot a admin

Invalid username and password entered by user

Same as expected

TESTING THE TEST FORM

SL.NO

TESTCASE

EXPECTED RESULT

OBTAINED RESULT

User clicks on the User must be able Same as expected answer find it to to click on be correct respective radio button User clicks on the System should go Same as expected submit button to result page once the test is which displays done total marks obtained

51

Intelligent Student Testing System 2011

TESTING QUESTION PAPER GENERATION FORM

SL.NO

TESTCASE

EXPECTED RESULT

OBTAINED RESULT Same as expected

User selects a question which add upto 20 marks in first unit

System should display a page to select 2 nd unit questions System should display a messageselect questions which add upto 20 marks

User selects a questions which do not add upto 20 marks in each unit

Same as expected

User successfully selects questions for all 5 units

System should display a question paper System should display a messageselect a question

Same as expected

User doesnot select any questions and clicks next buton

Same as expected

52

Intelligent Student Testing System 2011

TESTING QUESTION ENTRY FORM BY ADMIN SL.NO TESTCASE EXPECTED RESULT 1 Admin selects a category and inserts a question The question should be successfully entered in the database 2 Enter the choices The choices must be successfully entered in the database 3 Enter the correct option The correct option must be successfully entered in the database 4 Leave any fields unfilled and click insert button The system should display a messagePlease fill the details 5 Enter all the fields correctly and clicks next button All the field will be inserted into the database The system should display a all questions existing in the database Same as excepted Same as excepted Same as excepted Same as expected Same as expected OBTAINED RESULT Same as expected

The admin selects showtable button

53

Intelligent Student Testing System 2011

TESTING QUESTIONPAPER GENERATION FORM BY ADMIN SL.NO


1

TESTCASE
Admin selects on update questions

EXCEPTED RESULT
The system should display a page in which questions has to be entered correctly

OBTAINED RESULT
Same as excepted

Admin selects insert button

Questions should be successfully inserted into the database

Same as excepted

Admin selects onview request for adding subjects

The system should display a page that contains users request on particular subject

Same as excepted

Admin selects on view request for getting question paper

The system should be able to display a page that contains user details containing request for creating questionpaper

Same as excepted

Admin selects grant permissionbutton.

User will be able to create questionpaper

Same as excepted

54

Intelligent Student Testing System 2011

Chapter 7

SCREENSHOTS
Initial login screenshot

55

Intelligent Student Testing System 2011

Registration screenshot

56

Intelligent Student Testing System 2011

HomePage

Screenshot

57

SamplePaper screenshot

Intelligent Student Testing System 2011

58

Aptitude sreenshot

Intelligent Student Testing System 2011

59

Starttest screenshot

Intelligent Student Testing System 2011

60

Test screenshot

Intelligent Student Testing System 2011

61

Result screenshot

Intelligent Student Testing System 2011

62

Generating Questionpaper screenshot

Intelligent Student Testing System 2011

63

Screenshot of selecting questions

Intelligent Student Testing System 2011

64

Screenshot of question paper

Intelligent Student Testing System 2011

65

Chapter 8

Intelligent Student Testing System 2011

CONCLUSION AND SCOPE FOR FUTURE WORK


Our Project Intelligent student testing system is a website which tests the knowledge of the students in various fields. It automatically selects the multi-choice questions from the database on the area selected by the user. The user will be given choice in areas like aptitude, computer related subjects and post graduate entrance exams. The user will also be given a choice of creating the question paper based on specified scheme and also he will be able to add questions to requested subjects. The questions are classified based on blooms taxonomy. The application also contains sample papers, resume patterns and FAQs on interviews which can be referred by the users. The administrator is responsible for managing the users, scanning the users applications, generate reports and updating the questions. This project is flexible and can be modified to incorporate further changes.We are happy to use these languages,which gave us a new orientation and dimension in programming as well as interfacing.It was also a great expierence working in windows XP environment. As a part of future work ,application can be improved by adding the timer,so that user is allowed to take a test in specified time.

66

Chapter 9

Intelligent Student Testing System 2011

BIBLIOGRAPHY

Reference Books:
Programming the world wide web by Robert Sebesta. HTML,XHTML, and CSS Bible by Brian Pfaffenberger, Steven M.Schafer, Charles White, Bill Karow

Website address:
www.google.com www.w3Schools.com

67

Vous aimerez peut-être aussi