Sie sind auf Seite 1von 12

TERM PAPER

TERM PAPER Modern programming tools & techniques-I CSE 310


TOPIC: online examination

SUBMITTED TO: Jaspreet Kaur Sahiwal Dept. Of CSE

SUBMITTED BY: Akhil Sharma Roll. No. K28M1B33 Reg.No. 10807224 Section DEK03

TERM PAPER

ACKNOWLEDGEMENT
History of all great works is to witness that no great work was ever done without either the active or passive support of a person's surroundings and one's close quarters. Thus it is not hard to conclude how active assistance from seniors could positively impact the execution of a term paper. I am highly thankful to our learned faculty Jaspreet Kaur Sahiwal for her active guidance throughout the teaching period. Thats why I am able to give progress report of my term paper ONLINE EXAMINATION Last but not the least I would also want to extend my appreciation to those who could not be mentioned here but have well played their role to inspire me behind the curtain.

TERM PAPER

INDEX TOPIC
PURPOSE TECHNOLOGY & INTERFACE FEASIBILITY STUDY ER DIAGRAM SRS DFD DIAGRAM CODING REFERENCE

P.No.
4 4 4 7 8 8 8 12 `

TERM PAPER
ONLINE EXAMINATION PURPOSE:

This Application provides facility to conduct online Examination when implemented through applets . It saves time as it allows number of students to give the exam at a time and displays the results as the test gets over, so no need to wait for the result. It is automatically generated by the machine. Administrator has a privilege to create, modify and delete the test papers and its particular questions. User can login and give the test with his name and can see the results as well. TECHNOLOGIES USED:

This project is a java application that is developed in Net Beans. HARDWARE INTERFACE:

An operating system with java installed in it Processor : Pentium IV 2.0 and above. RAM : 256 MB Disk space : not much taken by system SOFTWARE INTERFACE:

Java installed system, NetBeans, Windows XP/2000/Vista CONSTRAINTS:

1. User interface is only in English i.e. no other language option is available. 2. User can login only with any name but password is same for all i.e. no guest facility is available. FEASIBILITY STUDY

What are the users demonstrable needs? User needs a Java enabled system, which will remove all the above-mentioned problems that, the user is facing. The user wants a program, which will reduce the bulk of paperwork, provide ease of work, flexibility, fast record finding, modifying, adding, removing and generating the reports. How can the problem be redefined? I proposed our perception of the system, in accordance with the problems of existing system by making a full layout of the system on paper. We tallied the problems and needs by existing system and requirements. In feasibility study phase we had undergone through various steps, which are described as under:

TERM PAPER
How feasible is the system proposed? This was analyzed by comparing the following factors with both the existing system and proposed system. 1. Cost The cost required in the proposed system is comparatively less to the existing system. 2. Effort Compared to the existing system the proposed system will provide a better working environment in which their will be ease of work and the effort required will be comparatively less than the existing system. 3. Time Also the time required generating a report or for doing any other work will be comparatively very less than in the existing system. Record finding and updating will take less time than the existing system. 4. Labor In the existing system the number of staff required for completing the work is more while the new system will require quite less number of staff. SPECIFICATION REPORT

System Interface Application would be a self-contained system. It will not access data of any other application nor will other application have access to its data. User Interface Application will be accessed through net beans. The interface would be viewed best using 1024 x 768 and 800 x 600 pixels resolution setting. Hardware Interface Intel Pentium III or above with 512 MB RAM 4 GB hard disk Windows 2000 Enterprise Edition WAS Server DB2 Server Windows 95/98/2000/NT

TERM PAPER
User Characteristics The end user of the software can be divided into two categories Administrator: Access the system for data entry and generation of reports. Operator: Access only for giving examination only. BOTTLENECKS IDENTIFIED IN EXISTING SYSTEM

The first problem is that there are loads of hard copied documents being generated. This brings us to the age-old discussion of keeping information in the form databases versus keeping the same on sheets of paper. Keeping the information in the form of hard-copied documents leads to the following problems: 1. Lack of space It becomes a problem in itself to find space to keep the sheets of paper being generated as a result of the ongoing discussion. The documents being generated are too important to be ill-treated. 2. Filing poses a problem Filing the documents categorically is a time consuming and tedious exercise. 3. Filtering is not easy It becomes hard to filter relevant documents for the irrelevant ones if the count of the same crosses a certain manageable number. 4. Reviewing becomes time-consuming All the process done manually at the centers and all the records are maintained on the papers. So the maintenance of the record is very difficult in the departments and as well as its very difficult for the workers to check the record. The Existing system is paper based, time consuming, monotonous, less flexible and provides a very hectic working schedule. The chance of loss of records is high and also record searching is difficult. Maintenance of the system is also very difficult and takes lot of time. 5. Result Processing is slow due to paper work and requirement of staff. NEED FOR THE NEW SYSTEM To solve these problems they required a computerized system to handle all the works. They required application that will provide a working environment that will be flexible and will provide ease of work and will reduce the time for report generation and other paper works. AIMS AND OBJECTIVE The main purpose behind the proposed system is to provide a comprehensive computerized system, which can capture, collate and analyze the data from these wards and evaluate the impact of the program. CONSTRAINTS, ASSUMPTIONS

Constraints

TERM PAPER
As this system is based on Java technology, so for normal operation minimum of 64 MB RAM will be required. And java should be installed. Assumptions In general it has been assumed that the user has complete knowledge of the system that means user is not a nave user. Any data entered by him/her will be valid. To make the software as user friendly as possible but at the same time keeping in minds user requirements. ER DIAGRAM

ER DIAGRAM OF PROPOSED SYSTEM

TERM PAPER

DFD FOR PROPOSED SYSTEM

CODING

package tp; import java.io.*; import java.util.Scanner; public class Tp { public static void main(String[] args) throws IOException { String name; int ch=0,pwd,choice1,choice,ans,result=0,wrong=0,exit=0; float per=0.0f,v; FileOutputStream fos; DataOutputStream dos;
8

TERM PAPER
DataInputStream ob=new DataInputStream(System.in); Scanner scan=new Scanner(System.in); System.out.println("\nEnter ur name: "); name=scan.nextLine(); System.out.println("\nWelcome "+name+" to this world. "); try{ File file= new File("D:\\result.txt"); fos = new FileOutputStream(file); dos=new DataOutputStream(fos); do{ System.out.println("\nEnter your password "); pwd=Integer.parseInt(ob.readLine()); System.out.println("\nPlease wait verifying password"); //Thread.sleep(3000) if(pwd==123) { System.out.println("\nWelcome "+name); do{ System.out.println("\nSelect ur choice from the below options "); Thread.sleep(1000); System.out.println("1. Basci Java Test"); System.out.println("2. Advanced Java Test"); System.out.println("3. DBMS"); System.out.println("4. C/C++ test"); System.out.println("5. Exit"); System.out.println("\n"); choice=Integer.parseInt(ob.readLine()); switch(choice) { case 1: System.out.println("you are about to take the test on Core java"); Thread.sleep(2000); System.out.println("\nQ1. What is the package for scanner class"); System.out.println("1. util"); System.out.println("2. Input/Output"); System.out.println("3. none of these"); System.out.println("\n"); ans=Integer.parseInt(ob.readLine()); switch(ans) { case 1: result++; break; case 2: wrong++; break;
9

TERM PAPER
case 3: wrong++; break; default: System.out.println("Invalid choice"); wrong++; break;

} Thread.sleep(1000); System.out.println("\nQ2. What is the keyword for making a variable constant"); System.out.println("1. static"); System.out.println("2. final"); System.out.println("3. const"); System.out.println("\n"); ans=Integer.parseInt(ob.readLine()); switch(ans) { case 1: wrong++; break; case 2: result++; break; case 3: wrong++; break; default: System.out.println("Invalid choice"); wrong++; break; } System.out.println("\nProcessing result, please be patient"); Thread.sleep(5000); System.out.println("No of correct answers are "+result); System.out.println("No of incorrect answers are "+wrong); break; }while(ch==1); Thread.sleep(1000); v=(float)(result+wrong); per=(result/v)*100; System.out.println("\n"+name+" your result is "+per+"%"); dos.writeBytes("Last user data--"); dos.writeChars(name); dos.writeChars(" Your score is "); dos.writeFloat(per); Thread.sleep(2000); if(per==100&&per<85) { System.out.println("\nYou have good command over language");
10

TERM PAPER
} if(per<85&&per>70) { System.out.println("\nNice...but can do better...better luck next time"); } else { System.out.println("\nNeed more practise, Expecting better result next time "); } Thread.sleep(1000); } catch (InterruptedException ie) { } catch(IOException e) { } finally { System.out.println("\n\nThanx for using this test "+name+", have a nice day "); }

} } // Coding showing only one case OUTPUT

11

TERM PAPER

CONCLUSION

This Application provides facility to conduct online examination . It saves time as it allows number of students to give the exam at a time and displays the results as the test gets over, so no need to wait for the result. Administrator has a privilege to create, modify and delete the test papers and its particular questions. User can login and give the test with his name, and can see the results as well. 1. 2. 3. 4. 5. REFERENCES
www.seminarprojects.com/Thread-online-examination-project www.roseindia.net/java/example/java/io/java-write-to-file.shtml

http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Thread.html
www.javamex.com/tutorials/threads/sleep.shtml www.java-forums.org/new-java/13311-system-exit-0-1-a.html 12

Das könnte Ihnen auch gefallen