Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 95

SUPERIOR UNIVERSITY, LAHORE

Faculty of Computer Science & IT

Final Year Project


PROJECT REPORT

[Paying Guest Accommodation]

Project ID: [ ]
Project Team
Student Name Student ID Program Contact Number Email Address
Muhammad Imran MCSM-S18-005 MCS 03360633934 imransuperiormcs@gmail.com
Muhammad Azeem MCSM-F17-046 MCS 03222856719 Mazeemmcs7782@gmail.com
M Mukhtar Hussain MCSM-S18-008 MCS 03065085100 mukhtarahmadmcs@gmail.com

[Miss Sabah Arif]


(Assistant Professor)
Project Report: <PG Accommodation>
Project Report
[Paying Guest Accommodation]

Change Record
Author(s) Version Date Notes Supervisor’s Signature

1.0

Faculty of CS&IT, Superior University Lahore, Pakistan 2


Project Report: <PG Accommodation>

APPROVAL

PROJECT SUPERVISOR
Comments: ___________________________________________________________________
_____________________________________________________________________________

Name:______________________________
Date:_______________________________ Signature:__________________________

PROJECT MANAGER
Comments: ___________________________________________________________________
_____________________________________________________________________________

Date:_______________________________ Signature:__________________________

HEAD OF THE DEPARTMENT


Comments: ___________________________________________________________________
_____________________________________________________________________________

Date:_______________________________ Signature:__________________________

Faculty of CS&IT, Superior University Lahore, Pakistan 3


Project Report: <PG Accommodation>

Dedication

Dedicated
To

Our Parents, Teachers and Friends

Faculty of CS&IT, Superior University Lahore, Pakistan 4


Project Report: <PG Accommodation>

Acknowledgements

I am really thankful to my supervisor who has Alhamdulillah, all praises to Allah


Almighty, the most Merciful and the most Gracious, for the strengths and His
blessings in completing this Project.

Working on this project was indeed a challenging task that demanded immense
efforts. But we feel proud to express our deepest sense of gratitude and
appreciation to our supervisor Miss. Sabah Arif for her kind help, advice,
inspired guidance, unlimited support, sympathetic attitude and sincere
personal involvement throughout the development of project.

We would never have been able to reach this stage but for the prayers and
great support of our families. Thanks and best wishes for all those who have
made this learning experience so wonderful for us.

Faculty of CS&IT, Superior University Lahore, Pakistan 5


Project Report: < PG Accommodation>

Executive Summary

We are developing a website that is great environment for the temporary residents
e.g. Paying Guest Accommodation. People of Pakistan can utilize their free resources and
post an ad for Paying Guests. This platform provides the facilities of accessing customer to
owner directly but, easy booking is having manual booking system, they are facing some
problems issuing booking requests of customers. All the necessary booking stuffs are being
done in hard copy. So it become much difficult for staffs to keep the records updated all the
time. As for example, if the customers need to change the check in date it become difficult
for them to find out the customers booking details for updating as there are so many
customers booking records. Again, regarding current system customers cannot give
feedback online and also staff cannot reply to them promptly. Besides tourists from
other counties need to call directly for booking purposes. So peoples of Pakistan can get the
chance to earn money using their apartment rooms or hotels rooms, and this platform is
beneficial for under developed countries.

Faculty of CS&IT, Superior University Lahore, Pakistan 6


Project Report: <PG Accommodation>

Table of Contents
Dedication..................................................................................................................................4
Acknowledgements....................................................................................................................5
Executive Summary...................................................................................................................6
Table of Contents.......................................................................................................................7
Chapter 1....................................................................................................................................9
Introduction................................................................................................................................9
Chapter 1: Introduction.......................................................................................................... 10
Introduction:.............................................................................................................................10
1.1. Background..................................................................................................................10
1.2. Goals and Objectives...................................................................................................10
1.3. Literature Review/Existing Solutions..........................................................................11
1.4. Proposed Solution........................................................................................................12
1.5. Project Plan..................................................................................................................12
1.5.1. Gantt chart................................................................................................................... 13
Chapter 2..................................................................................................................................14
Software Requirement Specifications......................................................................................14
Chapter 2: Software Requirement Specifications....................................................................15
2.1. Introduction................................................................................................................. 15
2.1.1. Purpose........................................................................................................................ 15
2.1.2. Product Scope..............................................................................................................15
2.1.3. References................................................................................................................... 15
2.2. Overall Description......................................................................................................15
2.2.1. Product Perspective..................................................................................................... 15
2.2.2. Product Functions........................................................................................................16
2.2.3. Design and Implementation Constraints......................................................................17
2.2.4. Assumptions and Dependencies.................................................................................. 17
2.3. System Features...........................................................................................................17
2.3.1. System Feature 1......................................................................................................... 18
2.3.2. System Feature 2......................................................................................................... 19
2.3.3. System Feature 3......................................................................................................... 20
2.3.4. System Feature 4......................................................................................................... 21
2.3.5. System Feature 5......................................................................................................... 22
2.3.6. System Feature 6......................................................................................................... 23
2.3.7. System Feature 7......................................................................................................... 24
2.3.8. System Feature 8......................................................................................................... 25
2.3.9. System Feature 9......................................................................................................... 26
2.3.10. System Feature 10....................................................................................................... 27
2.4. Other Nonfunctional Requirements.............................................................................28
2.5. Other Functional Requirements...................................................................................30

Faculty of CS&IT, Superior University Lahore, Pakistan 7


Project Report: <PG Accommodation>

Faculty of CS&IT, Superior University Lahore, Pakistan 8


Project Report: <PG Accommodation>

Chapter 1
Introduction

Faculty of CS&IT, Superior University Lahore, Pakistan 9


Project Report: <PG Accommodation>

Chapter 1: Introduction

Introduction:
We are developing a concept of Paying Guest Accommodation - website or platform
that enables owners placing ads and earn money by their existing sources. On the other
hand user can book room, shared room or apartment and get packages according to their
requirements. Question is that why this platform is preferred, the existing system of hotels,
motels are too much expensive because they have expensive specific building, staff, security,
taxes etc. That’s why hotels are expensive for ordinary person, and this platform gives users
and owners benefits.

1.1. Background
The traditional hotel system is not a good approach because Pakistan is low wage
country and peoples don’t have money to pay in these types of expensive restaurants. The
previous hotel system is too much expensive for peoples of Pakistan. One night stay is about
20-30 $ while average wage rate is 10 $.These restaurants charge a lot of extra charges e.g.
services charges, maintenance charges and taxes as well. Thus we provide the system that is
entirely different from such kind of expensive one.

1.2. Goals and Objectives


 The overriding aim of the Smart Classrooms strategy is to make integral to learning.
To take full advantage of the possibilities enhance to student learning, create
efficiencies in delivering education.

 To empower schools, teachers and students to make the most of new technologies to
create new learning pathways that equip students to live and work in the Smart
State.

 To connect teachers with professional learning so they can create and employ
meaningful and engaging strategies where ICT is integral to learning.
 To support the effective use for learning by sharing and celebrating success,
delivering an underpinning framework to support and assisting schools to maintain
and extend their curriculum integration.

Faculty of CS&IT, Superior University Lahore, Pakistan 10


Project Report: < Smart Classroom>

Objectives:

Our objective is to promote student achievement and preparation for global


competitiveness by fostering educational excellence and ensuring equal access

1.3. Literature Review/Existing Solutions


Rapid advancement is technology demands new paradigms of delivering knowledge
to students and audience who intent to gain knowledge.

Orthodox education system in south East Asia is not according to the current appetite of this
generation as technology has increased the expectations of current generation, in class
rooms students are more focused on writing lectures and noting down the notes rather
putting in real effort in understanding the concepts of the content.

Rapid advances in technology and liberalization has created an issue of Smart learning
makes students easy to learn and understand than making notes and learning them for
hours and hours to understand. This type of learning promotes more interaction between
teacher and student with more participation on both sides. Smart class use all interactive
module like videos and presentations and these visually attractive methods are appealing to
kids who are struggling with the tradition method of teaching in a classroom. It is a positive
aspect in the field of education. Counterfeiting that intends to deceptively representation of
content or originality of products. Consumers are very confused about the selection of
products; whether it is original or imitated.

Faculty of CS&IT, Superior University Lahore, Pakistan 11


Project Report: < Smart Classroom>

1.4. Proposed Solution


We are making environment user friendly that will enhance teacher and student
experience of learning process. We are making autonomous class room that will save
electricity. We are providing ease of student so they can get data easily from cloud. There
are many companies working on it but they are making new products which are too much
costly and most of the school, colleges and universities cannot afford them but we are doing
it with existing components that will help to reduce cost and increase reusability. We will
make an app to control all these which will be used to operate projectors, designing of walls
and all the material related to their class work, attendance and lecture slides.

1.5. Project Plan


I. BUSINESS DESCRIPTION

We are providing smart class room for the management to ease their work so that
student life can be facilitated and they can be awaited of technogly. Quality education is
essential requisite in today competitive environment. The smart class room is a
modernized method of education in Pakistani education scenario which will help
provided quality education using environment and get attach with new technology and
learn new method of learning.
II. Team and Managerial/Organizational Structure
Our team is made up of a C.E.O, Ali Imran Abid who is final year computer science
student with excellent programming skills. He is also an entrepreneur and especially
marketer with a booming business in online shopping. He is focused and doubles as a
marketer with Hina. Hina is a creative and articulate lady who brings so much innovative
ideas on board. She has a natural aura with public speaking and excellent marketing
skills. We also have a motivational person, Saba who also doubles as a financial manager.
She has good background in statistics and mathematics. She is optimistic and drives the
passion of the team. We also have an engineer Ali Imran Abid who has a passion for
programming. He has good knowledge in html, php and Visual Studio. Some team
members have more than a role. We hope to have about 5 fully employed persons.

Faculty of CS&IT, Superior University Lahore, Pakistan 12


Project Report: < Smart Classroom>

1.5.1. Gantt chart

ACTIVITY IMPLEMENTATION TIME RESPONSIBILITY


Project Planning Month 1.2 Month Month
3.4 5.6
5 Dec Ali Imran Abid
2017
Project proposal 12 Dec Saba Ambreen
2017 Komal Nasir
Designing 20 Mar Ali Imran Abid
2018 Moaaz Irfan
Prototyping 20 Apr Moaaz Irfan
2018 Rizwan Akram
Ali Imran Abid
Implementation 20 June Program
2018 Manager
Final Documentation 20 July Saba Ambreen
2018 Rizwan Akram
Komal Nasir

Faculty of CS&IT, Superior University Lahore, Pakistan 13


Project Report: < Smart Classroom>

Chapter 2
Software Requirement
Specifications

Faculty of CS&IT, Superior University Lahore, Pakistan 14


Project Report: < Smart Classroom>

Chapter 2: Software Requirement Specifications

2.1. Introduction
2.1.1. Purpose
 It will save time of management of decoration.
 It will provide ease to students.
 It will provide ease to teachers.
 It will work autonomously that will save electricity.

2.1.2. Product Scope


 It will save time of management of decoration.
 It will provide ease to students.
 It will provide ease to teachers.
 It will work autonomously that will save electricity.

2.1.3. References
1. Internet Web page: Jeff Atwood and Joel Spolsky. Stack Overflow. Stack Overflow is a
privately held Website, Its features questions and answers on a wide range of topics
in computer programming. 16-2-2016. http://stackoverflow.com/.

2. Wikihow.com. (2017). wiki How - How to do anything. [online] Available at:


http://www.wikihow.com/.

3. Internet Web page: Web Med. Web Med is providing tips and tricks how to use
medicine and what things has to prevent. http://www.webmd.com/

4. Sei.cmu.edu. (2017). Software Architecture | Overview. [online] Available at:


https://www.sei.cmu.edu/architecture/

2.2. Overall Description


2.2.1. Product Perspective
We are developing a concept of intelligent class rooms inclusive of all genre of
education sector to facilitate students, teachers and the institutions. The concept is
primarily indented to provide an intelligent environment where ever knowledge sharing is
indented, this system does not only cater the need of education sector but also can cope

Faculty of CS&IT, Superior University Lahore, Pakistan 15


Project Report: < Smart Classroom>

with the challenges of corporate sector where information is floating frequently and
knowledge is shared. Focus of this project to develop an intelligent environment where
humans can learn and gain knowledge with minimal human effort so audience inclusive of
students and teachers can focus on knowledge sharing rather putting effort in physical effort
to manage class rooms and conference rooms.

We are provided smart class room for the management to ease their work so that
student life can be facilitated and they can be awaited of technology. Quality education is
essential requisite in today competitive environment. The smart class room is a modernized
method of education in Pakistani education scenario which will help provided quality
education using environment and get attach with new technology and learn new method of
learning. We will decorate walls dynamically that will help students see the thing which are
the studying in real scenario that will help them learn things quickly and easily. We are
providing smart projector that will work on gestures so teacher can teach easily. We will also
set a camera with projector that will take snapshot after teacher will move away from white
board and upload it on cloud class. To reduce storage of cloud it will automatically delete
after 2 days.

2.2.2. Product Functions


 The user have to click the button to clean the white board
 The user have click a button to capture the picture
 The user have to wave his hand for slider opening and closing

Smart Class is a plug and play solution in-a-box. It’s a virtualized, centralized and
managed classroom solution which has been purpose-built for educational institutes
to simplify classroom infrastructure, streamline interactive / smart board usage,
reduce upfront hardware costs and also lower TCO over years of usage.

The Smart Class solution is capable of driving the independent digital display and
multimedia content for several respective classrooms. The displays can be of various
types and formats including interactive, smart boards, LED displays or projectors.
Performance and Interactivity is uncompromised.

Faculty of CS&IT, Superior University Lahore, Pakistan 16


Project Report: < Smart Classroom>

2.2.3. Design and Implementation Constraints


Hardware components damaged
2.2.4. Assumptions and Dependencies
This project based on hardware so in case of damage in any component or sensor can
damage our project. It can be damaged using electricity because every sensor needs low
power so if there is a overflow of electricity then system can be damaged or stop working
but there is a plus point that if a sensor got damaged only one feature will stop others will
not got effected by it. All the system will be damaged if and only if the main board stops
working.

2.3. System Features


We are making environment user friendly that will enhance teacher and student experience
of learning process. We are making autonomous class room that will save electricity. We are
providing ease of student so they can get data easily from cloud. There are many companies
working on it but they are making new products which are too much costly and most of the
school, colleges and universities cannot afford them but we are doing it with existing
components that will help to reduce cost and increase reusability. We will make an app to
control all these which will be used to operate projectors, designing of walls and all the
material related to their class work, attendance and lecture slides. Lecture snapshot that will
help student to understand lectures because they can get all the notes after the class using
internet.

Faculty of CS&IT, Superior University Lahore, Pakistan 17


Project Report: < Smart Classroom>

2.3.1. System Feature 1


Sign in Function

Title Allow user to sign in


Requirement User must be registered throw admin
Rational Login to the system
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 1
Sign In

Actor

 Regular User

Preconditions

 Must be register throw Admin

Basic flow

 User wants to sign in

Alternate flows

 User don’t want to view result

Post Condition
 User must Sign Out

Faculty of CS&IT, Superior University Lahore, Pakistan 18


Project Report: < Smart Classroom>

2.3.2. System Feature 2


Sign out Function

Title Allow user to sign out


Requirement User must be registered throw admin
Rational Logout to the system
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 2
Sign Out

Actor

 Regular User

Preconditions
 User must be registered throw Admin
 User must be successfully sign in

Basic flow
 User wants to sign out

Alternate flows
 User don’t want to view attendance

Post Condition
 User must sign out

Faculty of CS&IT, Superior University Lahore, Pakistan 19


Project Report: < Smart Classroom>

2.3.3. System Feature 3


View Attendance Function

Title Allow student to view attendance


Requirement User must be registered throw admin
Rational Login to the system and view attendance
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 3
View Attendance

Actor

 Student

Preconditions

 Student must log in

Basic flow

 Student wants to see attendance

Alternate flows

 None

Post Condition
 Student must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 20


Project Report: < Smart Classroom>

2.3.4. System Feature 4


View Result Function

Title Allow student to view result


Requirement User must be registered throw admin
Rational Login to the system and view result
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 4
View Result

Actor

 Student

Preconditions

 student must log in

Basic flow

 student want to view result

Alternate flows

 None

Post Condition
 Student must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 21


Project Report: < Smart Classroom>

2.3.5. System Feature 5


Upload Assignment Function

Title Allow student to upload assignment


Requirement User must be registered throw admin
Rational Login to the system and upload assignment
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 5
Upload Assignment

Actor

 Student

Preconditions

 Student must log in

Basic flow

 Student wants to upload assignment

Alternate flows

 None

Post Condition
 Student must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 22


Project Report: < Smart Classroom>

2.3.6. System Feature 6


Download Lecture Function

Title Allow student to download lectures


Requirement User must be registered throw admin
Rational Login to the system and download lectures
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 6
Download Lectures

Actor

 Student

Preconditions

 Student must log in

Basic flow

 Student wants to download lectures

Alternate flows

 None

Post Condition
 Student must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 23


Project Report: < Smart Classroom>

2.3.7. System Feature 7


Upload Attendance Function

Title Allow teacher to upload attendance


Requirement User must be registered throw admin
Rational Login to the system and upload attendance
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 7
Upload Attendance

Actor

 Teacher

Preconditions

 Teacher must log in

Basic flow

 Teacher wants to upload attendance

Alternate flows

 None

Post Condition
 Teacher must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 24


Project Report: < Smart Classroom>

2.3.8. System Feature 8


Upload Result Function

Title Allow teacher to upload result


Requirement User must be registered throw admin
Rational Login to the system and upload result
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 8
Upload Result

Actor

 Teacher

Preconditions

 Teacher must log in

Basic flow

 Teacher wants to upload result

Alternate flows

 None

Post Condition
 Teacher must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 25


Project Report: < Smart Classroom>

2.3.9. System Feature 9


Upload Assignment Question Function

Title Allow teacher to upload assignment


question
Requirement User must be registered throw admin
Rational Login to the system and upload assignment
question
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 9
Upload Assignment Question

Actor
 Teacher

Preconditions
 Teacher must log in

Basic flow
 Teacher wants to upload assignment question

Alternate flows

 None

Post Condition
 Teacher must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 26


Project Report: < Smart Classroom>

2.3.10. System Feature 10


Upload Lectures Function

Title Allow teacher to upload lectures


Requirement User must be registered throw admin
Rational Login to the system and upload lectures
Restriction or Risk Wrong or correct login sent to database
Dependency Pc , connection to the server
Priority Safety , timing

Use case 10
Upload Lecture

Actor

 Teacher

Preconditions

 Teacher must log in

Basic flow

 Teacher wants to upload lectures

Alternate flows

 None

Post Condition
 Teacher must log out

Faculty of CS&IT, Superior University Lahore, Pakistan 27


Project Report: < Smart Classroom>

2.4. Other Nonfunctional Requirements

 Usability
This web application should work in all browsers such like as Safari, Google Chrome,
Internet Explorer and Firefox. Application should be responsive and work properly on
each dimension e.g.: Mobile layout, Tab layout etc.

 Reliability
Application shall give reliable response all the time. Multiple testing techniques should
be used to ensure that

 Availability
Application should be available 24/7 for users.

 Mean Time to Repair


Application should be fault tolerant. If it doesn’t and breakdown, application should be
recovery as soon as possible.

 Accuracy
Application should be faster/light weighted and provide accuracy to all users.

 Access Reliability
Application shall provide 100% access reliability

 Performance
Application can easily support multiple users on same time.

 Response Time
The application should respond to any request triggered within three seconds and
complete within ten sec or less. Page should also load properly and faster on low
bandwidth

 Throughput
As the user increased the number of process will automatically increase.

 Capacity

Application should be able to handle maximum users at same time in operating


environment.

Faculty of CS&IT, Superior University Lahore, Pakistan 28


Project Report: < Smart Classroom>

 Resource Utilization

We use light weight components, so the Application will utilize fewer resources.

 Supportability

Languages: C#, JavaScript, J Query, CSS3 and HTML5.


Framework: ASP.NET MVC 5.
IDE: Microsoft Visual Studio 2015 Community.
Database: Microsoft SQL server management studio 2014.

 Design Constraints

The Application designed in such a way it can be visible on most all of the browsers.

 Software Language Used

The languages that shall be used for development of the project are as follows
o C-Sharp
o J Query
o HTML 5
o JavaScript
o CSS 3
 Development Tools

o Visual Studio 2015 community


o Microsoft SQL server management 2014
o Adobe Photoshop
o Illustrator

Faculty of CS&IT, Superior University Lahore, Pakistan 29


Project Report: < Smart Classroom>

2.5. Other Functional Requirements


 Slider
 Button pad
 Servo motor
 Arduino

Faculty of CS&IT, Superior University Lahore, Pakistan 30


Project Report: < Smart Classroom>

Chapter 3
Use Case Analysis

Faculty of CS&IT, Superior University Lahore, Pakistan 31


Project Report: < Smart Classroom>

Chapter 3: System Analysis


Data entering and exiting the system is represented by data entities in structural diagrams.
Behavior induced by use cases can be capture in behavioral diagrams.

3.1. Use Case Model

Use Case Diagram for Admin:

Faculty of CS&IT, Superior University Lahore, Pakistan 32


Project Report: < Smart Classroom>

Use Case Diagram for Student:

Faculty of CS&IT, Superior University Lahore, Pakistan 33


Project Report: < Smart Classroom>

Use Case Diagram for Teacher:

Faculty of CS&IT, Superior University Lahore, Pakistan 34


Project Report: < Smart Classroom>

Fully Dressed Use Cases

Faculty of CS&IT, Superior University Lahore, Pakistan 35


Project Report: < Smart Classroom>

Chapter 4
System Design

Faculty of CS&IT, Superior University Lahore, Pakistan 36


Project Report: < Smart Classroom>

Chapter 4: System Design


System Design
Design principles for a classroom control system are very straight forward. It should be your
goal to meet the following ideologies.
Simplicity
Reliability
Consistency

4.1. Architecture Diagram


.

Faculty of CS&IT, Superior University Lahore, Pakistan 37


Project Report: < Smart Classroom>

4.2. Domain Level Diagram

Faculty of CS&IT, Superior University Lahore, Pakistan 38


Project Report: < Smart Classroom>

4.3. Entity Relation Diagram

Faculty of CS&IT, Superior University Lahore, Pakistan 39


Project Report: < Smart Classroom>

4.4. Class Diagram

Faculty of CS&IT, Superior University Lahore, Pakistan 40


Project Report: < Smart Classroom>

4.5. Sequence / Collaboration Diagram


Sequence Diagram for Student:

Faculty of CS&IT, Superior University Lahore, Pakistan 41


Project Report: < Smart Classroom>

Sequence Diagram for Teacher:

Faculty of CS&IT, Superior University Lahore, Pakistan 42


Project Report: < Smart Classroom>

Sequence Diagram for Admin:

Faculty of CS&IT, Superior University Lahore, Pakistan 43


Project Report: < Smart Classroom>

4.6. Operation Constraints


6.1.1. Constraint#1
Name: Sign in.
Responsibilities: A user is logged in.
Cross References: Use Case: Sign In.
Exceptions: invalid user name or password.
Preconditions: user must have account.
Post conditions: Successfully signed in.
6.2.1. Constraint#2
Name: Sign out.
Responsibilities: A user is logged out.
Cross References: Use Case: Sign out.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Successfully signed out.
Student:
6.3.1. Constraint#3
Name: View Attendance.
Responsibilities: To show attendance.
Cross References: Use case: View Attendance.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Show attendance to the user.
6.4.1. Constraint#4
Name: View Result.
Responsibilities: To show result.
Cross References: Use case: View Result.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: show Result to the user.
6.5.1. Constraint#5
Name: Download Lectures.
Responsibilities: To download lectures.
Cross References: Use case: Download Lecture.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Lectures downloaded for the user.

Faculty of CS&IT, Superior University Lahore, Pakistan 44


Project Report: < Smart Classroom>

6.6.1. Constraint#6
Name: Download Assignment Questions.
Responsibilities: To Download Assignment Questions.
Cross References: Use case: Download Assignment Questions.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Assignment Questions Downloaded for the user.
Teacher:
6.7.1. Constraint#7
Name: Upload Attendance.
Responsibilities: To Upload Attendance.
Cross References: Use case: Upload Attendance.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Upload Attendance of student.
6.8.1. Constraint#8
Name: Upload Result.
Responsibilities: To Upload Result.
Cross References: Use case: Upload Result.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Upload Result of student.
6.9.1. Constraint#9
Name: Upload Assignment Questions.
Responsibilities: To Upload Assignment Questions.
Cross References: Use case: Upload Assignment Questions.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Upload Assignment Questions for the student.
6.10.1. Constraint#10
Name: Upload Lecture.
Responsibilities: To Upload Lecture.
Cross References: Use case: Upload Lecture.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Upload Lectures for the student.
Admin:
6.11.1. Constraint#11
Name: Add Student.
Responsibilities: To Add Student.

Faculty of CS&IT, Superior University Lahore, Pakistan 45


Project Report: < Smart Classroom>

Cross References: Use case: Add Student.


Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Student will be added.
6.12.1. Constraint#12
Name: Update Student.
Responsibilities: To Update Student.
Cross References: Use case: Update Student.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Student will be updated.
6.13.1. Constraint#13
Name: Delete Student.
Responsibilities: To Delete Student.
Cross References: Use case: Delete Student.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Student will be deleted.
6.14.1. Constraint#14
Name: Add Teacher.
Responsibilities: To Add Teacher.
Cross References: Use case: Add Teacher.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Teacher will be added.
6.15.1. Constraint#15
Name: Update Teacher.
Responsibilities: To Update Teacher.
Cross References: Use case: Update Teacher.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Teacher will be updated.
6.16.1. Constraint#16
Name: Delete Teacher.
Responsibilities: To Delete Teacher.
Cross References: Use case: Delete Teacher.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Teacher will be deleted.

Faculty of CS&IT, Superior University Lahore, Pakistan 46


Project Report: < Smart Classroom>

6.17.1. Constraint#17
Name: Add Course.
Responsibilities: To Add Course.
Cross References: Use case: Add Course.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Course will be added.
6.18.1. Constraint#14
Name: Update Course.
Responsibilities: To Update Course.
Cross References: Use case: Update Course.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Course will be updated.
6.19.1. Constraint#14
Name: Delete Course.
Responsibilities: To Delete Course.
Cross References: Use case: Delete Course.
Exceptions: None.
Preconditions: User must be logged in.
Post conditions: Course will be deleted.

Faculty of CS&IT, Superior University Lahore, Pakistan 47


Project Report: < Smart Classroom>

4.7. Activity Diagram


Activity Diagram for Admin:

Faculty of CS&IT, Superior University Lahore, Pakistan 48


Project Report: < Smart Classroom>

Activity Diagram for Student:

Faculty of CS&IT, Superior University Lahore, Pakistan 49


Project Report: < Smart Classroom>

Activity Diagram for Teacher:

Faculty of CS&IT, Superior University Lahore, Pakistan 50


Project Report: < Smart Classroom>

4.8. State Transition Diagram


State Transition Diagram for Admin:

Faculty of CS&IT, Superior University Lahore, Pakistan 51


Project Report: < Smart Classroom>

State Transition Diagram for Student:

Faculty of CS&IT, Superior University Lahore, Pakistan 52


Project Report: < Smart Classroom>

State Transition Diagram for Teacher:

Faculty of CS&IT, Superior University Lahore, Pakistan 53


Project Report: < Smart Classroom>

4.9. Component Diagram

Faculty of CS&IT, Superior University Lahore, Pakistan 54


Project Report: < Smart Classroom>

4.10. Data Flow Diagram


Login/Logout DFD

Faculty of CS&IT, Superior University Lahore, Pakistan 55


Project Report: < Smart Classroom>

Student DFD

Faculty of CS&IT, Superior University Lahore, Pakistan 56


Project Report: < Smart Classroom>

Admin DFD

Faculty of CS&IT, Superior University Lahore, Pakistan 57


Project Report: < Smart Classroom>

Teacher DFD

Faculty of CS&IT, Superior University Lahore, Pakistan 58


Project Report: < Smart Classroom>

Chapter 5
Implementation

Faculty of CS&IT, Superior University Lahore, Pakistan 59


Project Report: < Smart Classroom>

Chapter 5: Implementation
Implementation
We use Microsoft Visual studio 2015 community for our web application. And use Entity
Framework for database connectivity with Microsoft SQL Server 2014. Through Entity
Framework there is no need to directly Interact with SQL server we just declare (Models)
classes and the attributes it automatically create database and tables. Also we don’t need to
write queries through Entity Framework we just write Lambda query in C-Sharp and it
converts automatically.

5.1. Pseudo codes


<?php
$conn=mysqli_connect("localhost","root","","UMS");
if(!$conn)
{
die("connection failed" .mysqli_connect_error());

}
?>
<?php
session_start();
if(!isset($_SESSION['email'])){
$_SESSION['msg'] = "You must log in first";
header("location: login.php");
}
if(isset($_GET['logout'])){
session_destroy();
unset($_SESSION['email']);
header("location: login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="css/stylesheet.css" type="text/css">
<link href="bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
<script src="bootstrap-3.3.7-dist/jquery/jquery.js"></script> <script
src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot"></script>

Faculty of CS&IT, Superior University Lahore, Pakistan 60


Project Report: < Smart Classroom>

<!-- Latest compiled JavaScript -->


<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome Here</title>
</head>
<body>
<?php include "header.php";
include "addstudent.php";
?>
<div class="container main-center jumbotron alert-success formall">
<form class="form-signin col-sm-4 signinblock" method="post" action="<?php
$_SERVER['PHP_SELF']; ?>">
<h3><strong>Student Registration Form</strong></h3><br>
<input class="form-control" type="text" name="name" placeholder="enter Student
name"><br>
<input class="form-control" type="text" name="roll" placeholder="enter Student
roll"><br>
<input type="email" class="form-control" name="email" placeholder="enter Student
Email"><br>
<input type="password" name="password" class="form-control" placeholder="enter
Student Password"><br>
<input type="password" name="confirm" placeholder="Repeat Password" class="form-
control"><br>
<select class="form-control" name="option">
<option>Select Section</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select><br>
<script>alert("<?php echo $error; ?>")</script>
<button class="btn btn-success" type="submit" name="submit">Enter</button>
</form>
</div>
</body>
</html>
<?php
session_start();
include 'connection.php';
if(isset($_POST['login'])) {
$email = $_POST['email'];
$password = $_POST['Pass'];
$password=md5($password);
$query = "SELECT * FROM Admin WHERE Email='$email'";
$result = mysqli_query($conn, $query);

Faculty of CS&IT, Superior University Lahore, Pakistan 61


Project Report: < Smart Classroom>

$row = mysqli_fetch_assoc($result);
if ($row >0 ) {
if ($password==$row['Password']) {
$_SESSION['email'] = $email;
if ($row['Type'] == 'admin') {
header("location: index.php");
}
else if($row['Type']=='student'){
header("location:student.php");
}
else if($row['Type']=='tchr'){
header("location : teacher.php");
}
}
else{
$error = "Password invailed";
}
}
else {
$error="Email not found";
}
}
?>
<?php
include 'connection.php';
if(isset($_POST['register'])) {
$Username = $_POST['username'];
$Email = $_POST['email'];
$Password = md5($_POST['password']);
$Confirm = md5($_POST['confirm']);
$Phone = $_POST['phone'];
$Department = $_POST['dept'];
$Type = $_POST['option'];
$name = $_FILES['imageupload']['name'];
$path = 'images/';
$destination = $path . $name;
move_uploaded_file($_FILES['imageupload']['tmp_name'], $destination);
//Validation
$qry = "select * from Admin WHERE Email='$Email'";
$res = mysqli_query($conn, $qry); $row =
mysqli_num_rows($res);
if ($Username && $Email && $Password && $Confirm && $Phone && $Type &&
$Department) {
if ($row > 0) {
$error = "Email Already Exist";
}
if ($Password != $Confirm) {

Faculty of CS&IT, Superior University Lahore, Pakistan 62


Project Report: < Smart Classroom>

$error = "Password dont match";


}
if (!$error) {
$query = "insert into Admin(Name,Email,Password,Department,Phone,image,Type)
values ('$Username','$Email','$Password','$Department','$Phone','$name','$Type')";
$result = mysqli_query($conn, $query);
header("location:?added successfully");
}
} else {
$error = "please insert all fields";
}
}
?>
<?php

session_start();
if(!isset($_SESSION['email'])){
$_SESSION['msg'] = "You must log in first";
header("location: login.php");
}
if(isset($_GET['logout'])){
session_destroy();
unset($_SESSION['email']);
header("location: login.php");
}
?>
<!doctype html>
<html>
<head>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="css/stylesheet.css" type="text/css">
<link href="bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
<script src="bootstrap-3.3.7-dist/jquery/jquery.js"></script> <script
src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot"></script>
<!-- Latest compiled JavaScript -->
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome Here</title>
</head>
<body>
<?php include "header.php"; ?>
<div class="table-responsive">

Faculty of CS&IT, Superior University Lahore, Pakistan 63


Project Report: < Smart Classroom>

<table class="table table1">


<thead>
<th>
Name
</th>
<th>
Roll No
</th>
<th>
Section
</th>
</thead>
<tbody>
<td>
<?php
include 'connection.php';
$query="select * from Admin where Type='tchr'";
$result=mysqli_query($conn,$query);
$resultcheck=mysqli_num_rows($result);
if($resultcheck>0){
while($row=mysqli_fetch_assoc($result)){
echo $row["Name"];
echo "<br>";
}
}
?>
</td>
<td>
<?php
$query="select * from Admin where Type='tchr'";
$result=mysqli_query($conn,$query);
$resultcheck=mysqli_num_rows($result);
if($resultcheck>0){
while($row=mysqli_fetch_assoc($result)){
echo $row["Email"];
echo "<br>";
}
}
?>
</td>
<td>
<?php
$query="select * from Admin where Type='tchr'";
$result=mysqli_query($conn,$query);
$resultcheck=mysqli_num_rows($result);
if($resultcheck>0){
while($row=mysqli_fetch_assoc($result)){

Faculty of CS&IT, Superior University Lahore, Pakistan 64


Project Report: < Smart Classroom>

echo $row["Department"];
echo "<br>";
}
}
?>
</td>
</tbody>
</table>
</div>
</body>
</html>
<?php
session_start();
if(!isset($_SESSION['email'])){
$_SESSION['msg'] = "You must log in first";
header("location: login.php");
}
if(isset($_GET['logout'])){
session_destroy();
unset($_SESSION['email']);
header("location: login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="css/stylesheet.css" type="text/css">
<link href="bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
<script src="bootstrap-3.3.7-dist/jquery/jquery.js"></script> <script
src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="bootstrap-3.3.7-dist/fonts/glyphicons-halflings-regular.eot"></script>
<!-- Latest compiled JavaScript -->
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome Here</title>
</head>
<body>
<?php
include 'connection.php';
include "header.php";
?>
<div class="container">

Faculty of CS&IT, Superior University Lahore, Pakistan 65


Project Report: < Smart Classroom>

<div class="table-responsive">
<table class="table table1">
<thead>
<th>
Name
</th>
<th>
Roll No
</th>
<th>
Section
</th>
</thead>
<tbody>
<td>
<?php
include 'connection.php';
$query="select * from Student";
$result=mysqli_query($conn,$query);
$resultcheck=mysqli_num_rows($result);
if($resultcheck>0){
while($row=mysqli_fetch_assoc($result)){
echo $row["Name"];
echo "<br>";
}
}
?>
</td>
<td>
<?php
$query="select * from Student";
$result=mysqli_query($conn,$query);
$resultcheck=mysqli_num_rows($result);
if($resultcheck>0){
while($row=mysqli_fetch_assoc($result)){
echo $row["Roll"];
echo "<br>";
}
}
?>
</td>
<td>
<?php
$query="select * from Student";
$result=mysqli_query($conn,$query);
$resultcheck=mysqli_num_rows($result);
if($resultcheck>0){

Faculty of CS&IT, Superior University Lahore, Pakistan 66


Project Report: < Smart Classroom>

while($row=mysqli_fetch_assoc($result)){
echo $row["Section"];
echo "<br>";
}
}
?>
</td>
</tbody>
</table>
</div>
</div>
</body>
</html>
5.2. Components, Libraries, Web Services and stubs
PyCharm
Xampp Server
Components:
Motors
Sensors
White Board
Slider
Camera
Light
Fan

5.3. Deployment Environment


Conference rooms
Collages
School
Universities

5.4. Tools and Techniques

Application and tools that would be used during this project preparation are as follow:
Code compiler
Notepad ++ and sublime editor are used for html and php codes.

Faculty of CS&IT, Superior University Lahore, Pakistan 67


Project Report: < Smart Classroom>

Microsoft Word
Microsoft word is the word processor and would be used for documentation purpose
through the whole project.
Microsoft Excel
Microsoft excel is spreadsheet and would be used for data analysis throughout the whole
project.

Microsoft Project
Microsoft project provides extensive feature on project management with a prominent
feature of project scheduling. Gantt charts, resource allocation. This would be used as a
project management tool throughout the whole project.
Project Modeling
Rational Rose and Microsoft Visio are to be used to draw use cases with different
perspectives as the support the language of Rational Unified Process (RUP). Use case
diagram, Data Flow Diagram (DFD), domain model and all other OOAD analysis and design
diagrams are supported.
Server
Server is required where the user data would be stored and other services would be
available and processing would be done.

5.5. Best Practices / Coding Standards


 No coding repetition
 Function and classes are always commented showing expected input and output.

5.6. Version Control


N/A

Faculty of CS&IT, Superior University Lahore, Pakistan 68


Project Report: < Smart Classroom>

Chapter 6
Testing and Evaluation

Faculty of CS&IT, Superior University Lahore, Pakistan 69


Project Report: < Smart Classroom>

Chapter 6: Testing and Evaluation


following strategies are used for testing.

 Unit Testing
 Integrated Testing
 System Testing
 Recovery Testing
 Security Testing
 Stress Testing
 Performance Testing

6.1. Deriving Test - Case Specifications


Test-case specification is performed for system testing by keeping in mind several issues,
which are discussed in the following subtopics.

6.1.1 Unit Testing


Unit testing is a white-box testing technique. The main consideration in this test is
verification of all modules of the software system. Each module is unit tested, as follows:
 Unit testing for the module User Management is tested by valid user or invalid user.

 Unit testing for the module User Account management is provided by testing Login,
Logout and creating new or deleting updating existing user.
 Unit testing for the module Detail of Attendance result give detail accurately.
 Unit testing for the module Add/update/delete Student, teacher and course detail.

6.1.2 Integration Testing


Integration testing is the technique for testing the interfaces of software components. Each
software components in unit tested, and all the components are integrated to perform
together. The tests are conducted to ensure that the components are working properly after
interfacing.

All modules are integrated by an incremental approach, and integration testing of the
system is performed as follows:
 Integrate login module and test that the software is properly connected to the database.
 Integrate all modules and test by inserting updating, and deleting records.

Faculty of CS&IT, Superior University Lahore, Pakistan 70


Project Report: < Smart Classroom>

6.1.3 System Testing


System testing involves the set of tests that ensures that the entire system performs
according to specifications.

6.1.4 Security Testing


System testing is protection testing that test security methods in the system to avoid invalid
intrusions. Several security checks have been included in the system. The system requires a
logon ID and password to initiate.

6.1.5 Performance testing


Performance testing uses criteria to check that the system functions according to the
specifications. All unit modules have been tested successfully. The integration of these unit
modules produces reports in the required format.

6.1.6 Stress Testing


A system evaluated under normal conditions in all previous testing techniques, and no
conditions where system can fail are tested. Stress testing evaluates the system under
abnormal conditions. The system is tested for various costs and number to check accuracy
and to ensure that the system performs accurately under all input conditions.

6.2. PROJECT TESTING REPORT


The system UMS has gone through all stages of black box testing and white box testing. In
the evaluation phase the system is reviewed to see whether the objectives of the system are
accomplished properly or not. A major factor during system evaluation is to evaluate the
system with the perspective of the user because he/she is eventually being the one who use
it. Following documents have been prepared during test reporting:
 Unit Testing Test Cases
 Black Box Testing Test Cases
 Usability Testing Test Cases
 Compatibility Testing Test Cases

Faculty of CS&IT, Superior University Lahore, Pakistan 71


Project Report: < Smart Classroom>

A. Black Box Text Cases


TEST CASES FOR BLACK BOX TESTING OF DOCUMENTATION / TEXT

Test Identifi Test item Input Output Pass Description


Case er Specificatio Specifications / Fail
No ns
1 BBT- Syntax Text written Grammaticall Pass To check the content
TXT-01 Grammatic on each y correct for grammatical &
al page of the content or syntactical
Correctnes system correctness
s
Of the
Content
2 BBT- Semantics Text written Semantics Pass To check the text for
TXT-02 on each correctness or the use of improper
page of the Bugs / errors phrases terminologies
system in text and semantic
correctness
3 BBT- Validity of All contact Correct / Pass To check all the
TXT-03 contact information incorrect contact information
informatio provided in information for validity
n Contact Us
or other
pages of the
system
4 BBT- Text in title Text in Bugs / errors Pass To check the text in
TXT-04 bar browser’s in text title bar of each page
title bar in for relevance &
each page correctness

TEST CASES FOR BLACK BOX TESTING OF HYPERLINKS

Test Identifie Test item Input Output Pass / Description


Case r Specification Specifications Fail
No s
5 BBT- Hyperlinks All text and Working Pass To check all the
HPL-01 connectivity image Broken links
hyperlinks Incorrect
and their Links
sub-links on
each page

Faculty of CS&IT, Superior University Lahore, Pakistan 72


Project Report: < Smart Classroom>

TEST CASES FOR BLACK BOX TESTING OF GRAPHICS

Test Identifier Test Input Output Pass / Description


Case item Specifications Specifications Fail
No
7 BBT- Load & All graphics Displayed Pass To check that all the
GRA-01 Display on each page properly/bugs graphics display and
, errors or load properly
delay in
loading
8 BBT- Balance All graphics All images Pass To check that all the
GRA-02 on each page placed graphics for their size
properly/ and placement
bugs errors

TEST CASES FOR BLACK BOX TESTING OF FORMS


Test Identifier Test item Input Output Pass / Description
Case Specification Specification Fail
No s s
9 BBT- Text Text and Validation Pass To check that all the
FRM-01 Boxes numeric checks fields store only
inputs in all applied / no correct input data
text fields bug found

10 BBT- Drop Input test -do- Pass -do-


FRM-01 down data
lists according to
the field
11 BBT- Buttons Click, double -do- Pass -do-
FRM-01 click

Faculty of CS&IT, Superior University Lahore, Pakistan 73


Project Report: < Smart Classroom>

B. COMPATIBILITY TESTING

TEST CASES

Test Identifier Browser Display & Different Downloading of web pages


Case Software Load text sizes Supported/
No &version Properly supported Not supported
Yes/No
1 CMT- Internet Yes Yes Supported
BRW-01 explorer
2 CMT- Mozilla Yes Yes Supported
BRW-02 Firefox
3 CMT- Google Yes Yes Supported
BRW-03 Chrome

C. USABILITY TESTING

TEST CASES

Test Identifier Feature to Expected Result Actual Pass Description


Case be Tested Result / Fail
No
1 UST- Aesthetic All graphics must Ok Pass To check the color
GRA-01 Appropriate present a scheme, balance
tenses consistent and emphasis and
good design consistency in all
graphical elements of
the site
2 UST- Scrolling Moving images -do- Pass To check the moving
GRA-02 text, and text should elements specially
marquees not be used text are readable
and increasingly
constantly
running
3 UST- Outdated Content -do- Pass To check the content
GRA-03 information provided must specially news for
be up to date outdated information

Faculty of CS&IT, Superior University Lahore, Pakistan 74


Project Report: < Smart Classroom>

4 UST- Overly long Pages must load -do- Pass To check the loading
GRA-04 download instantaneously time of all the web
time and properly pages

D. UNIT TESTING

TEST CASES FOR UNIT TESTING OF MODULES


Test Identifier Test item Input Output Pass Description
Case Specifications Specifications / Fail
No

1 UTS-LOG- Login Email , Error message, Pass To verify login


01 Password Welcome mechanism
Message and user
authentication

2 UTS- View Show Pass To View


UR-01 Attendance Attendance Attendance

3 UTS- View Result View Result Pass To View Result


PA-01

4 UTS- Download Lectures Pass To Download


CA-01 Lectures Downloaded Lectures
Successfully

5 UTS- Download Assignment Pass To Download


PA-01 Assignment Questions Assignment
Questions Downloaded Questions
Successfully
6 UTS- Upload Roll no Attendance Pass To Upload
QA-01 Attendance Uploaded Attendance
Successfully

7 UTS- Upload Add Result Result Uploaded Pass To Upload


OA-01 Result Successfully Result

Faculty of CS&IT, Superior University Lahore, Pakistan 75


Project Report: < Smart Classroom>

8 UTS- Upload Add Lectures Lectures Pass To Upload


SP-01 Lectures Uploaded Lectures
Successfully

9 UTS- Upload Add Assignment Assignment Pass To Upload


SC-01 Assignment Questions Questions Assignment
Questions Uploaded Questions
Successfully
10 UTS- Logout Must login Validation Pass Logout
SP-01 Person

6.3. Use Case Testing


Login
Main Success Scenario Step Description
A=Actor 1 A:Enter Email and password

S=System 2 S:Valid Password


3 Allow Account Access
Extension 2a S: Invalid Password
Message Display on the Screen
asks for Re-enter password.
2b Password not valid.
Application close.

Logout
Main Success Scenario Step Description
A=Actor 1 A:Enter Logout

S=System 2 S: System Show Message to User


logout
Extension 2a S: User must login
Message Display on the Screen

Faculty of CS&IT, Superior University Lahore, Pakistan 76


Project Report: < Smart Classroom>

View Attendance
Main Success Scenario Step Description
A=Actor 1 A: View Attendance

S=System 2 S: System Show Attendance to


Student
Extension 2a S: User must login to student
portal
Message Display on the Screen

View Result
Main Success Scenario Step Description
A=Actor 1 A:View Result

S=System 2 S: System Show Result to Student


Extension 2a S: User must login to student
portal
Message Display on the Screen

Download Lecture
Main Success Scenario Step Description
A=Actor 1 A:Download Lectures

S=System 2 S: Download lecture to Device


Extension 2a S: User must login to student
portal
Message Display on the Screen

Faculty of CS&IT, Superior University Lahore, Pakistan 77


Project Report: < Smart Classroom>

Download Assignment Questions


Main Success Scenario Step Description
A=Actor 1 A:Download Assignment Questions

S=System 2 S: Download Assignment Questions


to Device
Extension 2a S: User must login to student
portal
Message Display on the Screen

Add Attendance
Main Success Scenario Step Description
A=Actor 1 A:Add Attendance

S=System 2 S: System Add Attendance of student


Extension 2a S: User must login to teacher
portal
Message Display on the Screen

Add Result
Main Success Scenario Step Description
A=Actor 1 A:Add Result

S=System 2 S: System Add Result of Student


Extension 2a S: User must login to teacher
portal
Message Display on the Screen

Faculty of CS&IT, Superior University Lahore, Pakistan 78


Project Report: < Smart Classroom>

Upload Lectures
Main Success Scenario Step Description
A=Actor 1 A:Upload Lectures

S=System 2 S: System Upload Lectures


Extension 2a S: User must login to teacher
portal
Message Display on the Screen

Upload Assignment Questions


Main Success Scenario Step Description
A=Actor 1 A:Upload Assignment Question

S=System 2 S: System Upload Assignment


Questions
Extension 2a S: User must login to teacher
portal
Message Display on the Screen

Add Student
Main Success Scenario Step Description
A=Actor 1 A: Fill Form

S=System 2 S: System Save Data and Add


Student
Extension 2a S: User must login to admin portal
Message Display on the Screen

Faculty of CS&IT, Superior University Lahore, Pakistan 79


Project Report: < Smart Classroom>

Update Student
Main Success Scenario Step Description
A=Actor 1 A: Fill Form

S=System 2 S: System Save Data


Extension 2a S: User must login to admin portal
Message Display on the Screen

Delete Student
Main Success Scenario Step Description
A=Actor 1 A: Delete Student

S=System 2 S: Delete Student


Extension 2a S: User must login to admin portal
Message Display on the Screen

Add Teacher
Main Success Scenario Step Description
A=Actor 1 A: Fill Form

S=System 2 S: System Save Data and Add


Teacher
Extension 2a S: User must login to admin portal
Message Display on the Screen

Update Teacher
Main Success Scenario Step Description
A=Actor 1 A: Fill Form

S=System 2 S: System Save Data


Extension 2a S: User must login to admin portal
Message Display on the Screen

Faculty of CS&IT, Superior University Lahore, Pakistan 80


Project Report: < Smart Classroom>

Delete Teacher
Main Success Scenario Step Description
A=Actor 1 A: Delete Teacher

S=System 2 S: System Delete Teacher


Extension 2a S: User must login to admin portal
Message Display on the Screen

Add Course
Main Success Scenario Step Description
A=Actor 1 A: Fill Form

S=System 2 S: System Save Data and Add Course


Extension 2a S: User must login to admin portal
Message Display on the Screen

Update Course
Main Success Scenario Step Description
A=Actor 1 A: Fill Form

S=System 2 S: System Save Data


Extension 2a S: User must login to admin portal
Message Display on the Screen

Delete Course
Main Success Scenario Step Description
A=Actor 1 A: Delete Course

S=System 2 S: System Delete Course


Extension 2a S: User must login to admin portal
Message Display on the Screen

Faculty of CS&IT, Superior University Lahore, Pakistan 81


Project Report: < Smart Classroom>

6.4. Boundary value analysis


Login
Email
Invalid Valid Invalid
(min-1) (min, +max, -min, max) (max+1)
3 3 to 50 50

Password
Invalid Valid Invalid
(min-1) (min, +max, -min, max) (max+1)
8 8 to 25 25

6.5. Data flow testing


Login

Faculty of CS&IT, Superior University Lahore, Pakistan 82


Project Report: < Smart Classroom>

Chapter 7
Summary, Conclusion and
Future Enhancements

Faculty of CS&IT, Superior University Lahore, Pakistan 83


Project Report: < Smart Classroom>

Chapter 7: Summary, Conclusion & Future


Enhancements

7.1. Project Summary


We are provided smart class room for the management to ease their work so that
student life can be facilitated and they can be awaited of technogly. Quality education is
essential requisite in today competitive environment. The smart class room is a modernized
method of education in Pakistani education scenario which will help provided quality
education using environment and get attach with new technogly and learn new method of
learning. We will decorate walls dynamically that will help students see the thing which are
the studying in real scenario that will help them learn things quickly and easily. We are
providing smart projector that will work on gestures so teacher can teach easily.

7.2. Achievements and Improvements


th
We have presented this project in several competitions. We got 4 position in GSEA
competition. We have improved many things like first we were working on only hardware
but now we are working on both hardware and software and computer vision as well. As we
are students so we are trying to improve it day by day.

7.3. Critical Review


As you we are students so we are not that much of experts and we don’t have a proper
environment and we don’t have that much of sources so we cannot implement it
internationally but we have presented it in A grade and made a prototype.

7.4. Lessons Learnt


Six months ago we knew nothing about it but now we have learned about hardware
components, a little bit of computer vision and software as well.

7.5. Future Enhancements/Recommendations


In future we are trying to implement it in real scenario. We will implement it properly in a
class room.

Faculty of CS&IT, Superior University Lahore, Pakistan 84


Project Report: < Smart Classroom>

Scheduling Table Fyp2


Meeting with Supervisor

SR.NO DATE DISCUSSION SIGNATURE


1 30-08-18 Testing &
Evolution
2 25-08-18 Deriving Case
3 30-08-18 Unit Testing
Intersection Testing
System Testing
4 8-09-18 Security Testing
Performance Testing
Stress Testing
5 17-09-18 Unit Testing Module
6 30-09-18 Black box Testing
Doc/Text
Black box Testing
Hypertext
7 08-10-18 Black box Testing
Graphic /Form
8 13-10-18 Usability Testing
Capability Testing
9 25-10-18 Use case Testing
10 06-11-18 Boundary Value
analysis
Project summery
11 15-11-18 Lesson Learnt
12 17-11-18 Future Scope Project
14 1-12-18 Final Document
discussion

Faculty of CS&IT, Superior University Lahore, Pakistan 85


Project Report: < Smart Classroom>

Appendices

Faculty of CS&IT, Superior University Lahore, Pakistan 86


Project Report: < Smart Classroom>

Appendix: Information / Promotional Material

A.1. Broacher

Faculty of CS&IT, Superior University Lahore, Pakistan 87


Project Report: < Smart Classroom>

A.2. Flyer

Faculty of CS&IT, Superior University Lahore, Pakistan 88


Project Report: < Smart Classroom>

A.3. Standee

Faculty of CS&IT, Superior University Lahore, Pakistan 89


Project Report: < Smart Classroom>

Reference and
Bibliography

Faculty of CS&IT, Superior University Lahore, Pakistan 90


Project Report: < Smart Classroom>

Reference and Bibliography

1. Internet Web page: Jeff Atwood and Joel Spolsky. Stack OverFlow. Stack Overflow is a
privately held Website, Its features questions and answers on a wide range of topics in
computer programming. 16-2-2016. http://stackoverflow.com/.

2. Wikihow.com. (2017). wikiHow - How to do anything. [online] Available at:


http://www.wikihow.com/.

3. Internet Web page: Web Med. Web Med is providing tips and tricks how to use medicine
and what things has to prevent. http://www.webmd.com/

4. LinkedIn. (2017). Jobs. [online] Available at: https://www.linkedin.com/jobs/.

5. Sei.cmu.edu. (2017). Software Architecture | Overview. [online] Available at:


https://www.sei.cmu.edu/architecture/

6. Itinfo.am. (2017). Software Development Methodologies. [online] Available at:


http://www.itinfo.am/eng/software-development-methodologies/

7. Bizfluent. (2017). High-Level Project Plan?. [online] Available at:


https://bizfluent.com/about-6570755-high-level-project-plan-.html

8. Ofni Systems. (2017). Functional Requirements (Functional Requirement Specifications,


Functional Specs, FRS, FS). [online] Available at:
http://www.ofnisystems.com/services/validation/functional-requirements/

9. About Functional and Non-Functional Requirements


http://searchsoftwarequality.techtarget.com/answer/Functional-and-
nonfunctionalrequirements 10. Msdn.microsoft.com. (2017). Software Architecture and
Design. [online] Available at: https://msdn.microsoft.com/en-us/library/ee658093.aspx

11. 3.bp.blogspot.com. (2017). Agile Development. [online] Available at:


ssssshttps://3.bp.blogspot.com/-
niuTK2So1E/WDGrvCsoJlI/AAAAAAAAAxQ/PkdHp5GoFg081Uf5baioT000Y4VOcQl
8gCLcB/s1600/Agile%2BDevelopment.png.

12. Advanced Development Methods, Inc, “Origins of SCRUM”, 1996 at


http://www.controlchaos.com/

13. Brandenburg, L. (2017). Use Case. [online] Bridging-the-gap.com. Available at:


http://www.bridging-the-gap.com/what-is-a-use-case/

Faculty of CS&IT, Superior University Lahore, Pakistan 91


Project Report: < Smart Classroom>

14. About Visual Studio, Author: Team Microsoft,


https://www.visualstudio.com/vs/community/

15. About ASP.NET MVC5, Author: Abhenry,


https://docs.microsoft.com/enus/aspnet/mvc/mvc5

16. The Official Microsoft ASP.NET Site. (2017). Identity. [online] Available at:
https://www.asp.net/identity

17. jquery.org, j. (2017). jQuery. [online] Jquery.com. Available at: https://jquery.com

18. Lynda.com - from LinkedIn. (2017). SQL Server 2014 Essential Training. [online] Available
at: https://www.lynda.com/SQL-Server-tutorials/SQL-Server-2014-EssentialTraining/363873-
2.html

19. What is verification in software testing?, istqbexamcertification,


http://istqbexamcertification.com/what-is-verification-in-software-testing-or-what-
issoftware-verification/

20. www.tutorialspoint.com. (2017). Test Case. [online] Available at:


https://www.tutorialspoint.com/software_testing_dictionary/test_case.html

Faculty of CS&IT, Superior University Lahore, Pakistan 92


Project Report: < Smart Classroom>

THANKS FOR YOUR PARTICIPATION

Faculty of CS&IT, Superior University Lahore, Pakistan 93

You might also like