By
Muhammad Junaid
BCS 2011-2015
Session 2011-2015
Certificate of Approval
I certify that I have read Android based Quiz Application by
MUHAMMAD JUNAID, and in my opinion this work meets the criteria for approving a
Thesis submitted in partial fulfillment of the requirements for the Bachelors of
Computer Science at Institute of Management Sciences, Peshawar.
Supervisor
Name: Dr. Fakhir alam.
Designation: Assistant Professor
Signature: ______________
EXORDIUM
DEDICATION
Contents
LIST OF FIGURES_________________________________________________________________7
CHAPTER 1_______________________________________________________________________10
1.1 INTRODUCTION________________________________________________________________10
1.2 WHY I CHOOSE ANDROID?______________________________________________________10
1.3 SCOPE_________________________________________________________________________10
1.4 GOALS_________________________________________________________________________11
CHAPTER 2_______________________________________________________________________12
2.1 PROJECT DEVELOPMENT APPROACH___________________________________________12
2.1.1 REQUIREMENTS ANALYSIS (REQUIREMENTS PHASE)___________________________________13
2.1.3. SOFTWARE DEVELOPMENT PHASE_________________________________________________13
2.1.4 SOFTWARE TESTING PHASE_______________________________________________________14
2.2 SOFTWARE REQUIREMENTS SPECIFICATIONS:__________________________________14
2.3 FOR WEB SERVER______________________________________________________________15
2.4 HARDWARE REQUIREMENTS___________________________________________________15
2.5 PROPOSED LANGUAGES AND TOOLS____________________________________________16
2.6 FUNCTIONAL REQUIREMENTS_________________________________________________16
3.1 SYSTEM ARCHITECTURE_______________________________________________________17
3.2 ANDROID RUNTIME____________________________________________________________18
3.3 APPLICATION FRAMEWORK____________________________________________________19
3.4 APPLICATIONS_________________________________________________________________19
5
List of Figures
Figure [01] water fall..12
Figure [2] of android version..15
Figure [3] System architecture17
Figure [4] use case 120
Figure [5] Expended use cases 1..21
Figure [6] Expended use cases 2..22
Figure [7] Expended use cases 3...23
Figure [8] Expended use cases 424
Figure [9] Expended use cases 525
Figure [10] Expended use cases 6..26
Figure [11] Expended use cases 7..27
Figure [12] Expended use cases 8..28
Figure [13] System sequence diagram 1.29
Figure [14] System sequence diagram 2.30
Figure [15] Data flow diagram 1.30
Figure [16] Data flow diagram 2.31
Figure [17] Entity relationship diagram..32
Figure [18] Class Diagram 133
Figure [19] Class Diagram 234
Figure [20] web login ..41
Figure [21] View Question ..42
7
Abstract
8
This document is created for determining all the features and procedures that were followed
while developing the system. This document explains the details of the android application and
how it was developed and its primary requirements and different functionality of the project and
producers followed to achieve these objects. The point of this task to provide android users with
such a medium that facilitate the quiz for the educational purpose it is very useful for the users to
gain knowledge and enhancing their IQ level this system is very helpful for multiple choice
questions it is easily available app for the android smart phones that captures most of market
share thats the reason I chose android operating system.
Chapter 1
1.1 Introduction
It is an android project fashioned to make education fun. Our idea was to generate a crossplatform application that combines elements such as gaming, quiz based on content that the user
9
is interested to learn. The application should give users an easy way to repeat curriculum, learn
about new topics and work as a place to look for references and tips. The application should be
easy to use and pause making it easy to work with at any time in any place.
1.3 Scope
The scope of this project is very broad in terms of learning and preparing for entry test user can
use this app anywhere and anytime user location does not matter this system handle all the
operation and generate reports as soon the quiz is complete. The administrator maintain the data
base for inserting deleting and upgrading the questions. This app also covers different topics of
interest .that is very useful for students of all levels.
1.4 Goals
The goal of the project is to have a functional running prototype of the application and
complete the requirements of the course.
10
Our application ware have a server for insertion and delectation the questions for the quiz
application
Also in android phone application integrated with the server and provide a friendly
learning environment to the user
11
Chapter 2
2.1 PROJECT DEVELOPMENT APPROACH
Fig
ure
[01]
water
fall
12
13
14
Android
MySQL
Java using android studio
15
16
Chapter 3
System architecture and design
3.1 System architecture
Having covered the Java-based core libraries in the Android runtime, it is now time to turn our
attention to the C/C++ based libraries contained in this layer of the Android software stack.
17
18
3.4 Applications
19
System design
20
21
22
23
24
26
28
29
30
31
32
33
34
Class Diagram
35
Class Diagram 2
36
Chapter 4
Android frame work component
In this chapter we will discuss about android frame work
37
38
39
40
41
42
43
4.2 Activity:
4.3 Intents
44
45
which
46
48
Chapter 5 Implementation
5.1 SCREEN SHORTS
Main screen
49
Category selection
50
Question
51
Chapter
Software testing
6.1 Black Box Testing:
Black Box Testing is not a type of testing; it instead is a testing strategy, which does not need any
knowledge of internal design or code etc. As the name "black box" suggests, no knowledge of
internal logic or code structure is required. The types of testing under this strategy are totally
based/focused on the testing for requirements and functionality of the work product/software
application. Black box testing is sometimes also called as "Opaque Testing". The base of the
Black box testing strategy lies in the selection of appropriate data as per functionality and testing
it against the functional specifications in order to check for normal and abnormal behavior of the
system.
52
Chapter 7
Conclusion
The prime resign for this project is to developed effectual and controlling android app which is
used for educational and learning process this application is its mass and fast Quiz application
agree its user to select their area of attentiveness and gain knowledge by taking Quiz. The adman
of the app need authentication to log in in web server , adman can change the question by adding
and removing questions user dont need login authentication to play the app.
Future work
I will implement this application for IOS devices in the future so that all smart phone users can
access it and benefit from it. I will make advance changes like; friendly user interface interesting
categories for questions make your own quiz and time correction module. This project may be
available for educational institutions for their exams.
53
REFRENCE
1) Why I choose android available at:
http://www.androidauthority.com/why-developers-choose-android-285774/
(Accessed: 20 December, 2015)
2) Project Development Approach available at:
http://xbsoftware.com/blog/software-development-life-cycle-waterfall-model/
(Accessed: 22 December, 2015)
3) Android frame work component available at:
http://www.tutorialspoint.com/android/android_application_components.htm
(Accessed: 22 December, 2015)
4) Activity available at:
http://developer.android.com/intl/ja/reference/android/app/Activity.html
(Accessed: 22 December, 2015)
5) Web Services available at:
http://www.vogella.com/tutorials/AndroidIntent/article.html
(Accessed: 23 December, 2015)
54
Copyrights Notice
This research dissertation under the title android base Quiz application is the intellectual property
of supervisor and Muhammad Junaid No part of this document may be reproduced, stored in any
retrieval system or used otherwise without the prior permission of the author. I hereby allow
Institute of Management Sciences to make copies of this dissertation for academic purposes only.
Any individual/organization may make copies of this document for non-commercial purposes
with prior permission of the author.
__________________
Muhammad Junaid
BCS (Hons)
55