distributed exam system

95
Chapter 1 Introduction 1

Upload: gcwuf

Post on 13-Apr-2017

134 views

Category:

Technology


0 download

TRANSCRIPT

Chapter 1

Introduction

1

1. Introduction

1.1. Product

Distributed Exam System, the desktop based system is developed to create a user

friendly interface for the education institutes for examination to make it easy for

creating exam and result in very less time.

1.2. Scope Distributed Exam System is designed for educational institutes (like schools,

universities, training centers etc.)

The system handles all the operations, and generates reports as soon as the test

finish that includes name, marks.

There are two users in the system one is admin or faculty member who is

responsible for making exam paper ant other one is student who will attempt

that exam paper.

Before the student give exam first he/she will be registered by the

admin/faculty member.

Student will be given a registration no. for further login operation.

The type of question is only multiple choices.

Verify a security, authority and safety.

1.3. System Goals

Our main goal is to serve the all type of institutes and save the precious time. This

desktop based application communicates with the teacher and student. Following are

the few goals that we want to achieve:

A user friendly interface for the teachers to create exam and report of the

student and for the student to give exam according to their course.

Create strong and secrete data base that allow for any connection in a secrete

way, to prevent any outside or inside attacks.

Corporate between the data store in the server of the Institute and Distributed

Exam System. To deal with Distributed Exam System in an easy way and an

efficient mannered.

2

Specify a privilege for each person use this system to create his/her exam. And

have a complete control on his/her exam.

Allow each person to create more than one exam with different way to create

variant questions.

To provide registration for students done by faculty member.

1.4. References

https://www.youtube.com/watch?v=AxgJc-8qF68

http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-

stepbystep.htm

http://edn.embarcadero.com/article/33621

3

Chapter 2

Overall Description

4

2. Overall Description

2.1. Product Features Quick Scheduling:

The system helps the faculty member to generate an automatic exam instead of

using papers. Which save time for writing, checking and for input marks.

Also, student can see the exam when he/she join as an individual to the

system.

Immediate result and solution:When the student finishes his/her exam, the system checks her/his answers and

compared with the correct answers. And the system saves the incorrect and

correct answers. And send a report for the student to see where is fault.

Easy to store and retrieve information:Rather to save the information in a paper or in a separate sheets. There is a

database management to store and retrieve the information needed by the

administrator or faculty member or student according to a report generated by

the system.

2.2. Admin PanelAn admin has a full-fledged access to each and every thing available on this

Distributed Exam System. For instance, he/she can manage (insert, update,

delete) faculty members and student’s information. Set the exam paper and

time for that exam are in his/her access.

2.3. Student PanelA student can access the exam according to his/her course after his/her

registration by admin. Student can view his/her result immediately after the

exam finishes.

2.4. User Classes and Characteristics

Only, teachers or student or qualified persons who have technical expertise and know

how to operate system, can use it. That first version of this software does not give any

access to the common person. In other versions we will work to enable a student to

view reading material according to their courses for knowledge.

5

2.5. Operating Environment

Operating System: Window 7, 8pro, 8.1

Hardware Requirements: Computer Processor p-4, Ram 512M.b, Hard Disk 10G.b,

Printer H.P Laser.

Technologies:

C#.

Visual Basic.

2.6. Design and Implementation Constraints

2.6.1. Design Constraints

Distributed Exam System’s Design Phase completed in three weeks. Design phase

based on the requirements of Institute management. To make a design use various

tools and technologies like ERD, Use case and sequence diagram. Database tables

are well normalized form. During the design phase meetings are held two to three

times with clients and check the expected working. Distributed Exam System has

major two modules e.g. Admin/Faculty member and Student. Central database

consists of five tables e.g. Tbladmin, Tblgroup, Tblquestion, Tblresult,

FinalResult and Tblstudent. MS SQL Server in used for central database. Data

store, access and manipulate using store procedures.

2.7. Assumptions and Dependencies

2.7.1. Assumptions It is assumed that the PC using this application must be Pentium IV.

The Exam paper that is generated by the faculty member must be correct.

It is assumed that the information has been provided to the teacher/faculty

member by the student should be correct.

2.7.2. Dependencies To generate the exam paper, the faculty member must be logged in to

access his/her panel.

6

To give exam, the student must be registered first than logged in to access

exam paper.

7

Chapter 3

System Requirement

8

3. System Requirement

3.1. Functional Requirements

3.1.1. List of Requirements

Requirement NO. Requirement Name Source Person

Req-01 Generate exam group Admin

Req-02 Set time Admin

Req-03 Generate exam paper Admin

Req-04 Add member Admin

Req-05 Add student Admin

Req-06 Generate backup Admin

Req-07 Restore Admin

Req-08 View reports Admin/student

Req-09 Give exam Student

Table 3.1

9

3.1.2. Description of each Requirement

(Requirement Shell)

Requirement # Req-01

Description Generate exam group for the exam paper.

Rational Add has to enter the exam group according to the

institute requirement.

Source person Admin

Fit criterion Admin will be logged in to the system and add exam

group.

Table: 3.1.1

Requirement # Req-02

Description Setting time for each question in exam paper.

Rationale Admin has to enter the timing for each question in

exam group in seconds.

Source person Admin

Fit criterion Admin will be logged in to the system and sets

timing.

Table: 3.1.2

10

Requirement # Req-03

Description Generate exam paper and store it.

Rationale Admin has to enter the question and its related

options and also add correct question answer.

Source person Admin

Fit criterion Admin will be logged in to the system and generate

the exam paper for students.

Table: 3.1.3

Requirement # Req-04

Description Add member/faculty member for further process.

Rationale Admin has to enter the faculty member information

to add them.

Source person Admin.

Fit criterion Admin will be logged in to the system and add

faculty member.

Table: 3.1.4

11

Requirement # Req-05

Description Add student for examination purpose.

Rationale Admin has to enter student information like name

and registration no.

Source person Admin

Fit criterion Admin logged in to the system and add student.

Table: 3.1.5

Requirement # Req-06

Description Admin generate backup of the system in case of

system crashes.

Rationale Admin has to enter the path and name of the backup to

be generated.

Source person Admin.

Fit criterion Admin will be logged in to the system and generates

backup.

Table: 3.1.6

12

Requirement # Req-07

Description Admin can restore the system’s data in that case the

system is crashed.

Rationale Admin has to enter the name of the backup file or

navigates to backup file in your PC and create restore.

Source person Admin

Fit criterion Admin logged in to the system and restore system’s

data.

Table: 3.1.7

Requirement # Req-08

Description Admin can view reports of the student result report and

also the report of questions stored in database.

Rationale Admin has to click or choose the type of report he/she

needed i.e. questions report or student result report.

Source person Admin.

Fit criterion Admin logged in to the system and view reports.

Table: 3.1.8

13

Requirement # Req-08

Description Student selects the exam course group and gives

exam.

Rationale Student has to enter its information and course of

exam to give exam.

Source person Student.

Fit criterion Student logged in to the system and give exam.

Table: 3.1.9

14

3.1.3. Description of each Use-Case

3.1.3.1. Use-Case: Administration

Identifier UC-1

Purpose Administration.

Priority High.

Pre-condition Admin is logged in.

Post-condition Add course group, Generate MCQ’s paper, Set Timing, Add member, Add student, Backup & Restore, View Report

Typical Course of Action

S# Actor Action System Response

1 Login Database verifies the username and password and log in to the system.

2 Cancel Cancel the log on page

Alternate Course of Action

S# Actor Action System Response

1 Admin click on Login page Main menu open

Table: 3.2

15

3.1.3.2. Use-Case: Student.

Identifier UC-2

Purpose Give Exam.

Priority High.

Pre-condition Student is logged in.

Post-condition Give Exam, Select course and enter personal information, View result.

Typical Course of Action

S# Actor Action System Response

1 Student enters name and registration no. for login.

Student is logged on.

2 Click exam form menu. Student information form will be open.

3 Student fill the form and click on submit

Exam paper will be open.

4 Submit paper. Student result will be open.

Alternative Course of Action

S# Actor Action System Response

1 If student is not register, then admin should first register the student.

System successfully registers the student.

Table: 3.3

16

3.2. Non-functional Requirements

3.2.1. Performance Requirement:

Some performance requirements identified is listed below:

The database is able to accommodate a minimum of 10,000 records of

students.

The software supports the use of multiple users at a time.

There are no other specific performance requirements that will affect

development.

3.2.2. Safety Requirements:

The database may get crashed at any certain time due to virus or operating system

failure. Therefore, it is requiring the database backup.

3.2.3. Security Requirements:

Some of the factors that are identified to protect the software from accidents or

malicious access, use, modification, destruction, or disclosure are describes below.

Keep specific log or history data sets:

Assign certain functions to different modules.

Restrict communications between some areas of the program.

Check data integrity for certain variables.

Later version of the software will incorporate encryption techniques in the

user/license authentication process.

3.2.4. Software Quality Attributes:

The quality of the system is maintained in such a way so that it can be very friendly

for all the users. The software quality attributes are assumed as under:

Accurate and hence reliable.

Secured.

Fast speed.

Compatibility.

17

Appendix A: Glossary

18

4. Glossary

Short Description

1 DES Distributed Exam System

2 Computer Exam An exam writer on a computer and solve

the questions.

3 Administrator/Faculty

member

Who is responsible to create a new course,

delete course, add member or delete it, i.e.

the person who control the system.

4 Student Person who gives exam.

5 C# C sharp

6 SD Sequence Diagram

7 CD Class Diagram

8 UCD Use Case Diagram

9 ERD Entity Relationship Diagram

10 SRS Software Requirement Specification

11 TC Test Case

Table: 4.1

19

Appendix B: Analysis Models

20

5. Analysis Models

5.1. Use-case Diagram

5.1.1. Admin Use-Case

Figure: 5.1

21

5.1.2. Student Use-Case

Figure: 5.2

5.1.3. Overall Use-Case Diagram22

Figure: 5.3

5.2. Entity Relationship Diagram

23

Figure: 5.4

24

5.3. Class Diagram

Figure: 5.5

25

5.4. Sequence Diagram

5.4.1. Admin Module

5.4.1.1. Admin Login

Figure: 5.6

26

5.4.1.2 Add Exam Group & Edit Exam Group

Figure: 5.7

27

5.4.1.3. Add Question/Delete Question

Figure: 5.8

28

5.4.1.4. Set timing

Figure: 5.9

29

5.4.1.5. Add Member & Delete Member

Figure: 5.10

30

5.4.1.6. Add student & Delete Student

Figure: 5.11

31

5.4.1.7. Create Backup & Restore

Figure: 5.12

5.4.1.8. View Report32

Figure: 5.13

5.4.1.9. Edit Question

33

Figure: 5.14

5.4.1.10. Edit Member

34

Figure: 5.15

5.4.1.11. Result Report

35

Figure: 5.16

36

5.4.2. Student Module

5.4.2.1. Student Login

Figure: 5.17

37

5.4.2.2. Exam Process

Figure: 5.18

38

5.4.2.3. Result Report

Figure: 5.19

39

Appendix C: Design Module

40

6. Design Models

6.1. Component Diagram

Figure: 6.1

41

6.1. Deployment Diagram

Figure: 6.2

42

Appendix D: Screenshots

43

7. Screenshots

7.1. Admin Modula Screenshots

7.1.1. Splash Screen

For starting the software first of all click on the .exe file than a splash screen open on the

screen just like in the figure.

A splash screen is a graphical control element consisting of window containing an

image, a logo and the current version of the software. A splash screen usually appears

while program is launching.

The screen can be canceled for further use by press the ESC button.

44

7.1.2. Login Panel:

By using the Login panel user can access the software main features. Admin of the software

can access all the feather of program by clicking on the administrator Radio button and enter

username and password and then click on the login button.

7.1.3. Main Screen:

After the loading of Login Panel the main form of the program open on the screen with a lot

of menus. Where admin can select any desired menu option. Admin can select all the features

of the program with the help of username and password. Different types of menu shown in

the figure:

45

7.1.4. Admin Panel Settings:

An admin can add new member which can access all the features of the software. Admin can

change the password of the older user in this setting and edit their name by simple Double-

Click on the desire person then the delete and edit button enables for performing this

function. Admin setting can be open click on the Admin menu which exists on the Main

Screen.

46

7.1.5. Subject Groups:

Admin of the program add the subject by click on the menu and then click on the Exam

Group menu. It can also access by using the short key Ctrl+G. Here group can be added in

the database and also can be edited or deleted from the database. For this purpose simple

Double-Click in the desire data and do this function. The following figure shows the Exam

Group figure:

47

7.1.6. Generate Exam Paper/Add

Question:

An admin of the program Add the question for the book after add the book name in Subject

Group. Select the subject from Combo Box. Add the question text in the question text box

then enter the text of the MCQ’s option as Case1, Case2, Case3, and Case4 then select the

answer of the question from the answer’s combo box and click on the Add button. Here

question will be added, edit, deleted. For Edit, Delete the question Double-Click desire

question and do this function. Open MCQ’s Question by click on the menu strip then click on

the MCQ’s Question. Also use short key for this purpose which is Ctrl+Q.

7.1.7. Time Settings:

This function can be used with the help of admin. Here set the time for question solving in

the exam. The time will be recorded in second and every question can be solved in the given

time. Time setting can be open by click on Menu>Time Setting

48

7.1.8. Add StudentAn admin can add new student who can give exam. Admin can delete the student by

simply typing student name. Student setting can be open by clicking on the Student

menu strip which exists on the Main Screen.

49

7.1.9. Backup Recovery

Backup done by click on the Restore Recovery option then a new window will be open in

this screen. Here Admin select the option for Backup and Restore the data of the database

click on the button select the path where back up file save then click on the Create Backup

Button and can also cancel backup. Same used for the Restore the database choose option for

restore and then give the path for backup file and click on the Create Restore Button and

database go back to its original condition.

50

7.1.10. View Question Reports

An admin can view auto Database Reports with the help of a single click on Report menu. A

new window open here admin can view two types of Reports by click show button. Select

their type. 1).All data Report 2) Grouped wise Reports All data report based on the entire

data of the database and group wise on the simple selected group data report.

51

7.1.10.1. Group Report

The Group Database data report show desired groups data in the report as show in figure.

Report can be printed or save as other type software like Adobe reader, M.S Word.

52

7.1.10.2. Entire Data Report

The entire data report shows the all data of groups in the report as shown in figure. Report

can be printed or save as other type software like Adobe reader, M.S Word.

53

7.1.11. Student Report

An admin view Student Reports with the help of a single click on Result Reports menu strip.

A new window will be open. Here admin can view two types of Student Reports by click on

desire button 1).Show All Results 2) Show Specific Results. Show All Results based on the

entire data of the database and Show Specific Results on the simple selected group data

report.

7.1.11.1. Entire Result Report

54

7.1.11.2. Student Wise Report

The student wise report show desired student result data in the report by simply refresh the

page.

55

7.2. Student Module Screenshots

7.1.1. Login formBy using the Login panel Student can access the software specific features. Student

can access it by simple click on user Radio button and enter his/her name and

registration# and then click on the login button. And can do their further process.

56

7.1.2. Main MenuAfter the loading of Login Panel the main form of the program open on the screen

with a specific menu for the student. Student can select only Exam option and register

itself for further exams. Main menu shown in the figure:

57

7.1.3. Student Information:

A student can do their exam by click on the Exam Menu then fill the form for further

procedure. Student enters their Registration #, select Desires course paper, enter Name,

Father Name and Submit this form to the admin.

58

7.1.4. Student Exam:

After submitted their data a new form will be open which is based on the exam paper. Here

no. of question enter in the textbox select exam type if time require for solving the question

then click on the checkbox and enable Next and Previous Questions. Time status also shows

at the top of the question.

59

7.1.5. Student result:

When the students do all question them at the last result of student shown at end or when the

time is finishes. Here the window shows the student Reg#, course, Name, F-name and also

show their detail about exam. How many question they attempted. How many questions are

correct, wrong and bypass.

60

7.1.6. Result Report

The student wise report show desired student result data in the report by simply refresh the

page.

61

Appendix E: Test cases

62

8. Test Cases

8.1. Admin Module Test Cases

8.1.1. Admin login

Preconditions Desktop application opens in system. Enter admin name and password for admin login, then login page show.

Actions Open the login page. Enter the admin Id and Password. Click on the Login.

Expected Results Admin page will be open.If username and password field is empty or wrong, it will not be proceed and provide error.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-1

Priority High

Input Data Click login

Short description This process performing to access admin panel and perform administrative task.

Table: 8.1

63

8.1.2. Add Question

Preconditions Admin logged to the system. If the user name and password is

invalid then it will not be proceed.

Actions Open the question form.

Select Subject.

Add question.

Click on Add.

Expected Results Question form will be open successfully.

If admin add question or select subject then desire changing

occurs. Admin has not any validation on text boxes.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-2

Priority Medium

Input Data Add question.

Short description This process performing to add questions and subjects for exam.

Table: 8.2

64

8.1.3. Set Timing

Preconditions Admin logged to the system. If the user name and password is

invalid then it will not be proceed. And redirected back to the same

page.

Actions Open the time setting form.

Set the time in seconds.

Click on the save.

Expected Results Time setting form will be open successfully.

If admin set the time in seconds then desired changing occurs.

Admin has validation on text box.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-3

Priority Medium

Input Data Save time.

Short description This process is performing to set time for exam.

Table: 8.3

65

8.1.4. Admin Panel

Preconditions Admin logged to the system. If the user name and password is

invalid then it will not be proceed. And redirected back to the same

page.

Actions Open admin panel.

Add admin.

Delete admin.

Update admin.

Expected Results Admin form has been open successfully.

If admin add, delete or edit the members then desire changing

occurs. Admin has validation on text boxes.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-4

Priority Medium

Input Data Add admin.

Short description This process is performing to access admin panel and perform

administrative task...

Table: 8.4

66

8.1.5. Backup & Restore

Preconditions Admin logged to the system. If the user name and password is

invalid

then it will not be proceed. And redirected back to the same

page.

Actions Open the Restore & Backup form.

Select Backup or Restore option..

Click on either create backup or restore button.

Expected Results Backup & Restore form will be open successfully.

If admin create backup or restore files then desire changing

occurs. Admin has validation on text boxes.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-5

Priority High

Input Data Create backup or restore file.

Short description This process is performing to create backup of the file or restore

it.

Table: 8.5

67

8.1.6. Reports

Preconditions Admin logged to the system. If the user name and password is

invalid

then it will not be proceed. And redirected back to the same

page.

Actions Open the report form.

Select report type.

Click on show.

Expected Results Question Report form will be open successfully.

If admin clicks on show then desire report will be open.

Admin has not any validation.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-6

Priority Low

Input Data Show report.

Short description This process is performing to see report of the questions.

Table: 8.6

68

8.1.7. Add Student

Preconditions Admin logged to the system. If the user name and password is

invalid

then it will not be proceed. And redirected back to the same

page.

Actions Open Student form.

Add Student.

Delete Student

Expected Results Student form has been open successfully.

If admin add or delete student then desired changing occurs.

Admin has validation on text boxes.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-7

Priority Medium

Input Data Add student.

Short description This process is performing to register the students.

Table: 8.7

69

8.1.8. Result Report

Preconditions Admin logged to the system. If the user name and password is

invalid

then it will not be proceed. And redirected back to the same page.

Actions Open the result report form.

Click on report type.

Expected Results Result Report form will be open successfully.

If admin clicks on desire button then desire report will be open.

Admin has not any validation.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-8

Priority High

Input Data Show report.

Short description This process is performing to see student result report.

Table: 8.8

70

8.2. User Module

8.2.1. Student Login

Preconditions Open Exam System. Then login form open.

Actions Open the login page enters the Student name and Registration no.

Click on the Login.

Expected Results Student main page will be Open.

If username or password field is empty or wrong, it will not proceed

and redirect back.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-9

Priority High

Input Data Click login

Short description This process is performing to access student main page for

examination.

Table: 8.9

71

8.2.2. Register

Preconditions Student logged to the system. If the username and registration

no. is invalid then it will not proceed.

Actions Select the exam.

Add student data.

Click on Submit.

Expected Results Student information form will be open successfully.

If user add information then desire changes occurs.

User has validation on text boxes.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-10

Priority High

Input Data Submit information.

Short description This process performing to register the user for exam.

Table: 8.10

72

8.2.3. Give Exam

Preconditions Student logged to the system.

Actions Open the MCQ’s Examination.

Enter no. of questions.

Select subject.

Click on Show.

Expected Results MCQ’s form will be open successfully.

If user enters the no. of question then required no. of questions

will be shown. User has validation on text box.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-11

Priority High

Input Data Show question.

Short description This process performing to give exam.

Table: 8.11

73

8.2.4. Result Report

Preconditions Student logged to the system.

Actions Open the result report form.

Click on View Report.

Expected Results Result Report form will be open successfully.

Student has not any validation.

Tested By Hiba Shahid and Maria Shahzad

Result Pass

Identifier TC-12

Priority High

Input Data View report.

Short description This process is performing to see student result report.

Table: 8.12

74

Appendix F: IV & V Report

75

(Independent verification & validation)

IV & V Resource

Name Signature

S# Defect Description Origin Stage Status Fix Time

Hours Minutes

1

2

3

Table 3: List of non-trivial defects

76

CLASSIFICATION OF SRS

SRS VER. 1Submission Date: 26-4-2016

BS(IT) FINAL PROJECT………………………………………………………………….

Government College University Faisalabad Software Requirement Specification……………….

Dedication…………………………………………………………………………………………………………………………

Declaration………………………………………………………………………………………………………………………

CERTIFICATE BY THE RESEARSH SUPERVISIOR……………………………………………………………….....

Acknowledgments…………………………………………………………………………………………………………….

Abstract……………………………………………………………………………………………………………………………..

77

SRS VER. 2

Documentation

Submission Date: 10-05-2016

Chapter 1 ……………………………………………………………………………….1. Introduction…………………………………………………………………....…...

1.1. Product…………….……………………………………………………1.2. Scope………………………….…………………………………...…...1.3. System’s Goals……………………………..…………………………..

Chapter 2………………………………………………………………..………...…….2. Overall Description……………………………………………………...…………...

2.1. Product Features……………………………………………….………..2.2. Admin Panel…….………………………………………………………2.3. Student Panel………………..…………………………………………..2.4. User Classes and Characteristics………...………………………………2.5. Operating Environment……………………………...…………………..2.6. Design and Implementation Constrain…………………………..………

2.6.1. Design Constraints………………………………………………………2.7. Assumptions and Dependencies…………,,,…………………………….

2.7.1. Assumptions…………………………………………..………………….2.7.2. Dependencies…….............................................................................

Chapter 3………………………………………………………………….………………3. System Requirement…………………………………………………….…………….

3.1. Functional Requirements…………………………………………………3.1.1. List of Requirements………………………………………………….….3.1.2. Description of each Requirement (Requirement Shell)……………….…3.1.3. Description of each Use-Case…………………………………………….

3.1.3.1. Use-Case: Administration………………………………………..3.1.3.2. Use-Case: Student………………………………………………..

3.2. Nonfunctional Requirements…………………………………………......3.2.1. Performance Requirements………………………………………………..3.2.2. Safety Requirements……………………………………………………....3.2.3. Security Requirements…………………………………………………….3.2.4. Software Quality Attributes…………………………………………….....

Chapter 4…………………………………………………………………………………...4. Appendix A: Glossary…………………………………………………………………..Chapter 5……………………………………………………………………………………5. Appendix B: Analysis Models…………………………………………………………..Chapter 6………………………………………………………………………,,…………..6. Appendix C: Design Models………………………………………………….,………...Chapter 7…………………………………………………………………………..………...7. Appendix D: Screenshots…………………………………………………………………Chapter 8……………………………………………………………………………………..8. Appendix E: Test Cases…………………………………………………………………..9. Appendix F: IV & V Report…………………………………………………………....

(Complete Documentation with final working product)

78