Sei sulla pagina 1di 7

1

CHAPTER 1 INTRODUCTI ON

1.1 PROBLEM IDENTIFICATION
Creating a timetable has always been one of the most tedious and time consuming
processes for the faculty in charge. At present there is no existing system which
would generate the timetable and it is done manually at present. While framing the
timetable the basic problems that occur are mainly slot clashes, which are generally
found in abundance when framing the timetable manually and many slot
combinations cannot be acquired, which reduces the flexibility while framing the
timetable. If a faculty leaves during the semester, it is very difficult to frame the
timetable or to assign the class with another temporary replacement faculty.
Few drawbacks of existing system are listed below:

Time consuming
Tedious process
Manual Labor
Removal or insertion of faculty affects the time table of other classes also.











2

CHAPTER 2 Requirements

2.1 IDENTIFYING STAKEHOLDERS
o Administrator: Administrator will be directly using the system by playing
the key functions of the project like creating new user, uploading time
table raw file and generating a time table into a file.
o Professor: Professor will provide the information about which subjects he
has hands on and will be able to deliver lecture. According to the professor
the raw time table file will be generated subject wise.

2.2 NON- FUNCTIONAL REQUIREMENTS
Security Secured by authentication
Availability Available 24 x 7 on internet.
Reliability Website is reliable as it has minimum down time.
Maintainability Easily maintainable.
Data integrity referential integrity in database tables and interfaces
2.3 PROPOSED SYSTEM
The project is developed using J2EE as front end. Each form has header files and
corresponding code. The main form of the project consist various options, like login as
administration, creating new users, updating raw time table file, generating a time table
file etc.. The project will compute the minimum number of periods required to teach n
subjects by m professors, where the number of lectures required to be taught by
professor and every subject is known.
2.5 SOFTWARE REQUIREMENTS
The following additional software must be present:
JDK 1.5 (Java runtime environment) and above
User must have access to the internet.
Web Browser. (Better viewed in Mozilla Firefox and google chrome)
3

CHAPTER 3 ANALYSI S AND DESI GN
3.1 USE CASE DIAGRAMS
1 Brief Description
This use case describes the basic flow of the project.
2 Actors
2.1 Administrator
Administrator will register a new user , upload raw schedule file and can generate
timetable.
2.2Faculty / Professor
Faculty can view the timetable generated.
3 Preconditions
Must be registered as administrator/faculty.

There should be a raw mapping file of professors to subject lectures alloated.
4 Basic Flow of Events
1. Administrator will log in to the system.
2. System will Validate user from database.
3. Administrator will upload a raw mapping file in .csv format.
4. Administrator will generate time table by selecting the .csv raw file that is to be used.
5. The use case ends successfully
3.2 SEQUENCE DIAGRAM
The Sequence Diagram models the collaboration of objects based on a time sequence. It
shows how the objects interact with others in a particular scenario of a use case. With the
advanced visual modeling capability, you can create complex sequence diagram in few
clicks. Besides, VP-UML can generate sequence diagram from the flow of events which
you have defined in the use case description.
3.2.1 SEQUENCE DIAGRAM (LOGIN)
4



3.2.2 SEQUENCE DIAGRAM (REGISTER NEW USER)


3.3 DATAFLOW DIAGRAM
DFD or data flow diagram is a graphical representation that depicts the information flow
and the transformation that are applied to data it moves from input to output. Data Flow
Diagram (DFD) is used to define the flow of the system and its resources such as
information.
- ARROW: An arrow represents one or more data items. All arrows on a data flow
diagram are labeled. The arrowhead indicates the direction of data flow.
- PARALLEL LINES: Represent a repository of data that is to be stored for use by one
or more processes.




Login Database Admin
Validation
Successful
Username/Password
Admin Login Page
Un Successful
Error on console
Fig. 3.2.1 Sequence Diagram (Login)

5


CHAPTER 4 DEPLOYMENT
Deployment allow you to specify where and how your solution will be deployed both
during and after development. A solution can contain multiple deployment projects and
deployment projects can be configuration-dependent.
Software deployment is all of the activities that make a software system available for use.

This website is deployed on apache tomcat server 7.0 which helps us to run the website
on http://localahost:8080//DFG/jsp/home.jsp.











CHAPTER 6 TESTI NG

This section will give test cases for two main modules of login and Generation of
Timetable.
6

6.1 TEST CASES FOR LOGIN
Test Case Id TC1
Unit to test Login Servlet
Assumption Database created and user entered
Test Data Username=admin, Password=admin
Steps to be executed Click on login
Expected Results Admin.jsp Page opens
Actual Results Admin.jsp Page opens
Pass/Fail Pass
Table 6.1.1 Test Case login(1)
6.2 TEST CASE FOR GENERATE TIME TABLE
Test Case Id TC3
Unit to test ReadFile.java
Assumption Files are there in D:\UploadedFiles
Test Data Select a file from dropdown
Steps to be executed Click generate
Expected Results Opens viewTT.jsp and generates .csv
at D:\TAG
Actual Results Opens viewTT.jsp and generates .csv
at D:\TAG
Pass/Fail Pass
Table 6.2.1 Test Case Generate (1)






7

CHAPTER 7 CONCLUSI ON
The project to generate a timetable is completed successfully in modules using Servlets
and JSP as frontend and MySQL as backend, with the functional components of the
project and the minimum requirements satisfied.
The project is developed in such a way that, no slot clashes occur providing features to
tailor the timetable as of wish.

7.1 FUTURE ENHANCEMENTS
The future enhancement that can be developed from the project is to generate the
master timetable for the departments and to the entire college.

Potrebbero piacerti anche