You are on page 1of 74

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/303896969

Quizzy: Quiz Application development using Android Plartform

Thesis · January 2016


DOI: 10.13140/RG.2.1.1925.3368

CITATIONS READS
2 96,047

4 authors, including:

Dr. Muhammad Zubair Asghar Iqra Sana


Gomal University Gomal University
141 PUBLICATIONS   1,760 CITATIONS    5 PUBLICATIONS   31 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Security and Performance through Operating System Services; Development of an Anti-Hacking System View project

Social Network Analysis and Mining View project

All content following this page was uploaded by Dr. Muhammad Zubair Asghar on 11 June 2016.

The user has requested enhancement of the downloaded file.


Quizzy: Quiz Application Development Using Android-Based Platform

A Thesis

Submitted by

Iqra Sana, Hina Iqbal, and Khushboo Nasir

In partial fulfillment for the award of the degree

Of

MASTER OF COMPUTER SCIENCE (MCS)

(SESSION: 2013-2015)

INSTITUTE OF COMPUTING AND INFORMATION TECHNOLOGY


GOMAL UNIVERSITY
DERA ISMAIL KHAN, KHYBER PAKHTUNKHWA, PAKISTAN
DECEMBER, 2015

i
ii
Abstract

This work deals with development of android-based multiple-choice question examination


system, namely: Quizzy. This application is developed for educational purpose, allowing the
users to prepare the multiple choice questions for different examinations conducted on provincial
and national level. The main goal of the application is to enable users to practice for subjective
tests conducted for admissions and recruitment, with focus on Computer science field. This quiz
application includes three main modules, namely (i) computer science, (ii) verbal, and (iii)
analytical. The computer science and verbal modules contains various types of sub categories.
This quiz includes three functions: (i) Hint, (ii) Skip, and (iii) Pause, which are collectively
named as life lines that help users to answer questions correctly. These functions can be used
only once by a user. It shows progress feedback during quiz play, and at the end, the app also
shows the result.

iii
ACKNOWLEDGEMENTS

In the name of Allah, most Beneficent and the most Merciful. Praise be to Allah, the Cherisher
and Sustainer of the worlds, who gave us strength, determination, staying power and ability to
complete this work. We are thankful to Almighty Allah for helping us in each and every step.

This project required lot of work, patience and dedication. Still, implementation would not have
been possible, if we did not have a support of many individuals and Team members. Therefore,
we would like to extend our sincere gratitude to all of them.

First of all we are thankful to our supervisor Sir Dr. Zubair Asghar, Assistant Professor of this
institute for providing necessary guidance, continuous support and motivation pertaining to the
supervision, and completion of this project. Without his superior knowledge and experience, the
project would lack in quality of outcomes, and thus his support has been essential.

We are also thankful to the Director of ICIT, Gomal University, Sir Dr. Abdur Rashid for his
cooperation and support.

We would like to express our sincere thanks towards all our Team members who devoted their
time and knowledge and put all their efforts in the implementation of this project.

Nevertheless, we express our gratitude towards our families especially to our parents and siblings
and also to our colleagues for their kind co-operation and encouragement, which help us in
completion of this project.

Our special thanks to our class fellow Ishaq for his continuous support, guidance and help.

May Allah reward all of them for their continuous support, for helping us sincerely, and putting
all their efforts in this whole time period of our project and thesis completion.

Iqra Sana, Hina Iqbal and Khushboo Nasir

iv
Table of Content
CHAPTER NO. 1INTRODUCTION… .................................................................................................................1

1.1 Background Context ........................................................................................................................... 1

1.2 Motivation .......................................................................................................................................... 2

1.3 Objectives… ........................................................................................................................................ 2

1.4 Problem Statement .............................................................................................................................. 3

1.5 Material ............................................................................................................................................... 3

1.6 Thesis Breakup ................................................................................................................................... 3

CHAPTER NO. 2 EXISTING SYSTEM… ............................................................................................................ 4

2.1 Web-Based Applications… .................................................................................................................... 4

2.1.1. JAGRAN Josh Computer General Knowledge Quiz ...................................................................... 4

2.1.2 EDUzip the Knowledge Hub ......................................................................................................... 5

2.1.3 TreeKnox Computer Quiz ............................................................................................................ 6

2.2 Android Based ................................................................................................................................... 8

2.2.1 Quiz app-1................................................................................................................................... 8

2.2.2 Quiz app-2................................................................................................................................... 9

CHAPTER NO. 3 PROPOSED SYSTEM(FRONT-END) ....................................................................................... 13

3.1 Main screen ........................................................................................................................................ 13

3.2 Instructions Screen ............................................................................................................................. 14

3.3 Time mode Screen.............................................................................................................................. 15

3.4 Time selection screen ....................................................................................................................... 16

3.5 Main categories screen ...................................................................................................................... 17

3.6 Computer science sub categories… .................................................................................................... 18

3.7 Verbal sub categories… ...................................................................................................................... 18

3.8 Question screen ............................................................................................................................... 19

v
3.9 Result screen ...................................................................................................................................... 19

CHAPTER NO. 4 PROPOSED SYSTEM (BACK-END) ...................................................................................... 21

4.1 Tiny DB ............................................................................................................................................... 21

4.2 Tiny DB used in QUIZZY ...................................................................................................................... 21

CHAPTER NO. 5 RESULT .......................................................................................................................................... 24

5.1 Start screen ........................................................................................................................................ 24

5.2 Mode selection ................................................................................................................................... 25

5.3 Time selection mode .......................................................................................................................... 25

5.4 Time range.......................................................................................................................................... 26

5.5 Categories… ........................................................................................................................................ 27

5.6 Computer science categories… .......................................................................................................... 28

5.7 Verbal sub categories… ...................................................................................................................... 29

5.8 Question screen ................................................................................................................................. 30

5.8.1 Function of question mark in Quizzy ........................................................................................ 31

5.8.2 Function of pause ...................................................................................................................... 32

5.9 Result screen ...................................................................................................................................... 33

5.10 Check answer screen ....................................................................................................................... 34

CHAPTER NO. 6 TOOLS AND TECHNOLOGIES ............................................................................................ 37

6.1 Goals… ................................................................................................................................................ 37

6.2 Languages… ........................................................................................................................................ 37

6.3 Major libraries… ................................................................................................................................ 37

6.4 App inventor software....................................................................................................................... 38

6.5 Tool description ................................................................................................................................ 38

6.6 Building blocks… ................................................................................................................................ 40

6.7 Testing of android app .......................................................................................................................41

vi
6.8 Getting the app on your phone ........................................................................................................ 43

6.9 Android application packet (apk) ..................................................................................................... 43

6.10 Software development kit (sdk) ..................................................................................................... 43

CHAPTER NO. 7 CONCLUSION AND FUTURE WORK .................................................................................. 44

7.1 Conclusion .......................................................................................................................................... 44

7.2 Future work… .................................................................................................................................... 44

References…........................................................................................................................................ 45-46

Appendices........................................................................................................................................... 47-63

vii
CHAPTER NO. 1
INTRODUCTION
Development of android-based Quiz application is mainly required by students and learners to
prepare themselves for different examinations directly through smart phones and tablets in
hands. One of the major goal of our project is to facilitate students in learning, gaining and
improving their knowledge skills. At the meantime, our app provides them fun so that the users
can prepare for interviews, entrance tests or any other corresponding purposes in a fresh mood
and can’t get bored or frustrated due to dullness of app. We designed the application to facilitate
the users to be able to take short quizzes using portable devices such as smart phones and tablets.

1.1 Background Context

The Expert System(ES), namely Interactive Learning Using Expert System Quizzes was proposed
by John A. Byers and Alnarp, at Sweden in 1999 [1]. He combined database of text with HTML
(Hypertext markup language) code and JavaScript to make Interactive quizzes. The compilation
of the HTML pages with appropriate JavaScript and specific text of questions & answers is
performed by an executable program (QUIZMAKE.EXE) compiled from QuickBasic code.
Questions are given along with multiple choices and at the end the accuracy of correct answers are
displayed after calculation. The above mentioned software can be downloaded at [2]. This quiz
provides users the feature of making their own quiz. The operational version of the aforementioned
system is available at [3].

The Web based expert system, by [4] is an online learning center. This is the Student Edition for
learning and preparation. It is a multiple choice quiz. After each and every question, five choices
are given. Users can select a single choice at a time. After giving answer to all of the questions,
users will submit the answers, and then a result or progress report is displayed containing total
number and accuracy of correct, incorrect and un-answered questions. Email facility is also
provided in HTML or Text format; one can email or send results to his/her own id, to instructor,
to the TA and others.

Page 1 of 63
The Quiz Hub [5] is an online Interactive Learning Quiz Games, focused on facts. This quiz has
many sub categories. It provides many fields to users, students and learners for the learning
purpose. The categories are Math facts, U.S. History, Multiply fractions, Vocabulary Quiz,
Spelling Quiz Game, Physics and others. It is not a multiple choice quiz; one has to select the
matching pairs in this quiz.

The current documentation [6, 7, 8, 9, 10, 11, 12] of different studies are organized in the context
of opinion mining and lexicon based sentiment analysis related to quiz applications. However most
of such systems are either web- based or desktop-based and directs the user generated content.

There are many researches [13, 14, 15, 16, 17, 18] in the field of quiz application development
which are conducted to evaluate the growth in knowledge and skills.

1.2 Motivation

As Android is rapidly getting famous day by day and the number of its users are increasing with
every blink of eye, because it is easy to access the necessary android based applications on smart
phones and tablets in your hands. Therefore, we found this idea interesting, easy and time efficient
to facilitate the users in this way without any difficulty. There are many online quiz applications
available on internet, but most of them are only for entertainment and fun. Moreover, if one is
going to appear in any test or interview, then it is difficult and time consuming for them to read
the full books or articles related to specific fields for the preparation or revising their knowledge.
But the most attractive feature of our app is that we take learning and fun side by side. Our app
provides them the facility to revise their knowledge or to learn something advantageous at one
place without wasting their time.
1.3 Objectives

The basic objective of this project is to develop an android-based system with following features,
namely: (i) Questions bank, (ii) Time frame, (iii) Life lines, (iv) Data Storage, and (v) Multimedia
support (pictures, snapshots, tables). The main objective to create this Quiz app is to help the users
for the preparation of necessary educational purposes regarding Computer Science and IT field
with an easy access to our app directly on their Android phones. Through our app, users can learn
and prepare themselves for interviews, tests and exams on Android phones, and can also use this
app for increasing their general knowledge about Computer Science, Verbal and Analytical
everywhere and anytime.
Page 2 of 63
1.4 Problem Statement
It is essentially required to assist students for the learning and preparation of different tests
conducted for admission in higher studies in Pakistan. However, there exist no such application in
android-based platform, which can provide candidates with both preparation of such tests in
user friendly and interactive way. This is what we tried to address in the development of Quizzy:
Quiz Application Development using Android-Based Platform

1.5 Material

Window 10 Haier laptop


MIT App Inventor 2 software
Windroy
QMobile Noir LT700 Android smart phone and Nokia smart phone

1.6 Thesis Breakup

The remaining chapters of the thesis are organized as follows:


 Chapter 2 Existing System: in this chapter we have discuss some of the existing systems related
to our application, i.e. Quiz Based systems.
 Chapter 3 Proposed System: (Front end), in this chapter we describe a detail description of the
development process of our application, providing necessary screenshots along them, to clear
the idea to users about our app.
 Chapter 4 Proposed System: (Back End), in this chapter we describe the detail about Tiny DB
which is our storage tool in this environment that how and for which purpose we use that
storage tool, and where in our application.
 Chapter 5 Results: in this chapter we describe and present the out generated by our application
in the end along with necessary screen shots, to clear the idea in a better way.
 Chapter 6 Tools and Technologies: in this chapter we describe a detail description of all the
tools used in MIT app inventor, including tools which we used in our project.

Page 3 of 63
CHAPTER NO. 2
EXISTING SYSTEM

Although there are number of web-based and android based applications which are, one way or
other related to quiz, however, there are only few that help in learning and contribute to the
academic enhancement of the students. Most of the available applications are aiming at having a
fun or entertainment. Among the many applications, we review some Web based and Android
based applications that are quite famous and are successful in terms of amount of players and
downloads

2.1 Web-Based Applications

Following is the detail of some of the selected web-based systems.

2.1.1. JAGRAN Josh Computer General Knowledge Quiz

Computer General Knowledge Quiz section is a repository of Multiple Choice Question that
make you aware about evolving nature of competitive examination, this quiz is about subjects
related to computer field. It’s a general computer quiz. This quiz is useful for the preparation of
any computer field test. In this quiz app, questions are given along with four choices, and at the
end the correct choice is also given. After preparation, students can check their level of
preparation through the quiz [19]. A snapshot of this system is shown in Fig. 2.1.

Page 4 of 63
Fig. 2.1 JAGRAN Josh Computer General Knowledge Quiz

2.1.2 EDUzip The Knowledge Hub


It is a Computer Science Quiz. It contains multiple choice questions and answers with
explanations and examples (Fig. 2.2). Operating System, Database Management System,
Software Engineering, Computer Networks, Digital Electronics are the sub fields present in this
quiz. These Computer Science MCQs will help users for various Interviews, competitive exams,
entrance exams, and others [20].

Page 5 of 63
Fig. 2.2 EDUzip the Knowledge

2.1.3 TreeKnox Computer Quiz

TreeKnox Computer Quiz (Fig. 2.3) is a quiz system for the help and preparation of computer
science and IT students who are going to appear in any interview, tests or exams in computer
science and IT field. Questions are given along with multiple choices and at the end of each
question, a button named “Answer” is given. On clicking that button the correct answer is
highlighted at the mean time [21].

Page 6 of 63
Fig. 2.3 TreeKnox Computer Quiz

Page 7 of 63
2.2 Android Based

Following is the detail of different android-based systems.

2.2.1 Quiz app-1

This quiz application (Fig. 2.4 and Fig. 2.5) is very simple and interactive. In this there are two
modes General and Aptitude, after selecting one of them it will be redirect to the Quiz interface
which will contain question with multiple answers (options) and contain three buttons “Submit”,
“Show Answer” and “Next” [22].

Fig. 2.4 Quiz App-1.

Page 8 of 63
Fig. 2.5 Quiz App-1 Result

2.2.2 Quiz app-2

It is also a simple and interactive application (Fig 2.6 and Fig 2.7). It contains three modes “Easy”,
“Normal”, “Hard”, after selecting one of them it will be redirect to the Quiz interface which
contains questions with two options, True “T” and False “F”. It also show hints when user wants
but the drawback is that user can use this life line “Hint” more than one time and it will show the
answer not hint So it is useless because user can’t learn anything from it as when will user can’t
answer the question it will tap hint button over and over again.[23]

Page 9 of 63
Fig. 2.6 Quiz App-2 interface 1.

Page 10 of 63
Fig. 2.7 Quiz App-2 interface.

Although there are many apps that focus on the quiz, but there are limited applications with focus
on learning or improving knowledge in curriculum area. Most of the other apps are entertainment-
based with little focus on educational paradigm.

There are many limitations with the existing systems mentioned above. To overcome such
limitations, we propose user-friendly application, namely “Quizzy”, which mainly focuses on
gaining the curriculum knowledge as well as entertainment. Therefore, when one is amazed with
playing the quiz, he/she is gaining curriculum knowledge with emphasis on not only gaining good
grades but also having better understanding of the subject matter.

Page 11 of 63
Another unique feature of Quizzy that is lacking in other apps is the life lines, which it provides to
user. Users can view the hints for the right answer, can skip a question and also pause the quiz app
for thirty seconds. These life lines can be provided for the particular questions or the category itself
but user can use these life lines only once.

Other features regarding Quizzy and other apps seemed to be quite similar, i.e. answering questions
with multiple choices as fast as possible, scoring as high as possible among the group, and so on.

Page 12 of 63
CHAPTER NO. 3
PROPOSED SYSTEM (FRONT-END)

The fundamental idea behind our project is to make a product that would offer new aspects of
learning. We wanted to create a tool that fits into modern age, but still stays true to the concepts
of studying. During development, we worked out some guidelines for our applications game play,
given as follows.

• Playing a round in a quiz should take less than 15 minutes.


• Users should be able to play the content they want to learn more about

Quizzy contains three types of main categories that a quiz is based on, these are; Computer science,
verbal and analytical and then computer science and verbal contains different types of sub
categories. In our prototype we are focusing at computer science’s sub category Operating System
as the first.

Following is the detail of different modules of our proposed system.

3.1 Main screen


the main screen (Fig. 3.1) is the main or starting screen of our app. It has 2 buttons, “START” &
“INSTRUCTIONS”. When the user clicks the “START” button, the control goes to the next
screen, which is “TimeOrQueMode” screen. When the user clicks the “INSTRUCTIONS”
button, the control shifts to the screen named as “Instructions Description” screen.

Page 13 of 63
Fig. 3.1 Main Screen (Screen-1)

3.2 Instructions Screen

The next screen is “Instructions Description screen” (Fig. 3.2), which is simply like a “guide”. It
guides the user about each n every minor to major detail about how to play this app. The full-
fledged description about each screen and their purpose is mentioned in this screen for the better
convenience and guidance of user. By clicking the “BACK” button, the control goes back to the
main screen, i.e. to the “Screen1”.

Page 14 of 63
Fig. 3.2 Instructions Screen

3.3 Time mode Screen

This screen (Fig. 3.3) contains three buttons, Time, Categories and Back. If the user clicks button
“Time” then control goes to the next screen, “TIME”. If the user clicks button “Categories”, the
control shifts to “CATEGORIIES” screen. By clicking button “BACK” the control goes back to
the “Screen1”.

Page 15 of 63
Fig. 3.3 Time mode Screen

3.4 Time selection screen

The “TIME” screen (Fig. 3.4) provides this facility to users to set their desired time range for
playing the quiz. But the range has a limit and users can set the desired range within that limit.
List picker is used for this purpose. There are two buttons on this screen, “Continue” and
“Back”. When the user clicks button “Continue” the control shifts to the next screen, namely
“CATEGORIIES”, and if the user wants to go back to the “TimeOrQueMode” then he/she hits
the button “Back” for it.

Page 16 of 63
Fig. 3.4 Time selection Screen

3.5 Main categories screen


This screen (Fig. 3.5) has three buttons for three main categories “Computer science”, “Verbal”
and “Analytical” When user clicks one of them it will be redirect to sub categories of the
corresponding category and this screen also has a button “Back” to return to previous screen.

Fig. 3.5 Main categories Screen

Page 17 of 63
3.6 Computer science sub categories
This screen (Fig. 3.6) has first Five buttons for sub categories of Computer science (Main
category) namely; “Operating System”, “Database management System”, “Computer
Architecture”, “Computer Networking” and “Data Structure”, When user clicks one of them it
will be redirect to the “Question Screen” and this screen also contain “Back” button by clicking
this the control goes back to the previous screen

Fig. 3.6 Computer Science Sub Categories

3.7 Verbal sub categories


When user taps on Verbal in main Category screen (Fig. 3.7) then control shifts to Verbal’s sub
category screen. This screen has first eight buttons for sub categories of Verbal (Main category)
namely; “Synonyms”, “Antonyms”, “Spelling”. “Ordering Of words”, “Selecting words”,
“Comprehension”, “Verbal Analogies” and “Spotting Words”. When user clicks one of them it
will be redirect to the “Question Screen” and this screen also contain “Back” button by clicking
this the control goes back to the previous screen

Page 18 of 63
Fig. 3.7 Verbal Sub Categories
3.8 Question screen
The Question screen (Fig. 3.8) is used to show Question with multiple answers (options) and life
lines for the user to help him/her to answer the question correctly and at any time user can see its
current progress status on the top of this screen. This screen has labels for showing feedback
status, three buttons for life lines that are; “Hint” button used to show hint that user can view the
hints for the right answer, “Skip” button is used to skip the current question and “pause” is used
to pause the quiz. This screen has label for showing question and four buttons for showing four
options from which user can select the right one.

Fig. 3.8 Question Screen

3.9 Result screen


The Result screen (Fig. 3.9) is a last screen, it shows the result that how user played this quiz. It

Page 19 of 63
has labels that are; a label “You scored” used for obtained scores of user, a label “Maximum
Score” for total score, a label “Correct Questions” for showing the number of question that user
answered correct, a label “Total Question” for number of questions that were asked from the
user, a label “Accuracy” used for obtained percentage of the user and a label “Attempt” used for
showing that how many question user attempts.

Fig. 3.9 Result Screen

Page 20 of 63
CHAPTER NO. 4
PROPOSED SYSTEM (BACK-END)

4.1 Tiny DB
It is a small database which can store all kind of data string, picture, audio, video etc., and it
works on key value pair, key/tag which is used to retrieve the data from tiny db and the function
which take key as parameter called getVelue(). For saving data in tiny db we require a function
called storevalue (). It takes two parameters, tag and value. It has other use functions.

4.2 Tiny DB used in QUIZZY

In our project (Fig 4.2.1, 4.2.2 and 4.2.3) tiny db is used to transfer/exchange the data between
multiple screens. For example, on screen “sub categories” we have lists of questions and we simply
put that list which is selected by user in tiny db and retrieve that quiz list at another screen which
is Question screen. Secondly, we store temporary results in tiny db and retrieve those results in
final screen called “RESULT” screen.

Page 21 of 63
Fig 4.1 Computer Science Sub Categories

Fig 4.2 Results

Page 22 of 63
Fig 4.3 Times

Page 23 of 63
CHAPTER NO. 5
RESULT

In this chapter, we present the final results of the proposed system, starting from the main screen:
screen-1, and ends at result screen.

5.1 Start screen

This is the first screen (Fig. 5.1) of our project in which there are two buttons. The first button is
“START” button, which is used to start the quiz and navigates to the next screen:
“TimeOrQueMode”. The second button is “INSTRUCTION”, which, when clicked results in the
opening of “Instruction Description Screen”. It provides instructions about how to use and play
the app, which assist the user in understanding all of the functions and their details about the
application.

Fig 5.1 Startup screen

Page 24 of 63
5.2 Mode selection

This screen (Fig. 5.2) is used to select the mode of the application. It has three buttons, namely (i)
Time, (ii) Categories, and (iii) Back. The “Time” button is used to select the Time mode. The
“Categories” button, when clicked, results in the opening of the categories screen. The last one is
the “back” button, used for going back to the main screen.

Fig 5.2 Time and categories selection mode

5.3 Time selection mode

In time selection mode, there is one label, namely “Time range” along with the list picker, which
is used to select the given range for playing the quiz. The time slot ranges between 1 to 30 minutes
and user can select in any of the mentioned time interval. There “Continue” button is used to
continue with next screens, whereas the “Back” button is used to switch back to the previous screen
(Fig. 5.3).
Page 25 of 63
Fig. 5.3 Select time

5.4 Time range

By clicking on list picker the list of given range for time selection will open and user can select
the desired range from the list, as shown in Fig. 5.4.

Page 26 of 63
Fig 5.4 time range from 1 to 30

5.5 Categories

Instead of using time range options available in the previous Figure (Fig. 5.4), user can select any
of the categories listed in Fig. 5.5, namely: (i) Computer Science, (ii) Verbal, and (iii) Analytical.

Page 27 of 63
Fig. 5.6 Categories screen

5.6 Computer science categories

By selecting the computer science categories, the sub categories screen will be open its sub
categories, such as operating system, data base management, computer architecture, data
structure, and computer networking. User can select any of the sub categories, as shown in Fig.
5.7.

Page 28 of 63
Fig 5.7 Computer science sub categories.

5.7 Verbal sub categories

By clicking the verbal categories (Fig. 5.8), different sub categories of verbal portion will be
opened. The sub categories of verbal are: synonyms, antonyms, spellings, ordering of words,
selecting words, comprehension, verbal analogies, and spotting errors. The user can select the sub-
categories and can play the quiz in that sub-category.

Page 29 of 63
Fig 5.8 Verbal screen

5.8 Question screen

In this module different questions will appear with respect to the selected field. The number of
questions to appear is in the range of 20 per sub categories. There are two labels in this screen, one
is for correct answers and another is for wrong answers. If the user selects any of the wrong option,
then the label captioned as “cross symbol” is incremented. Same is in the case of selecting right
option the “correct symbol” is incremented. The countdown time is started as soon as the user
starts the quiz. This screen (Fig. 5.9) is comprised of four buttons, namely (i) question mark, (ii)
skip, (iii) reset quiz, and (iv) pause. The “Question Mark” button, when clicked, then among four
of the options, two will be removed, providing user an ease with selection. The “skip” button is
used to skip the question in which the user feels difficulty to answer. The next is “Reset Quiz”
button, enabling the user to reset the quiz anytime. The last button is used to pause the quiz for a

Page 30 of 63
time period of thirty seconds. In below figure 5.9, the answer is wrong that’s why one is
incremented, which appears on the label.

Fig 5.9 Question screen

5.8.1 Function of question mark in Quizzy

The function of the question mark: “?”, which appears on the left corner of the Fig. 5.9.1, is to
skip the two options among four options. By skipping two options, user can easily select the
appropriate option from the two remaining options.

Page 31 of 63
Fig 5.10. Skip function

5.8.2 Function of pause

The function of pause button is to suspend the quiz for short interval (e.g. 30 seconds), to assist
the user to think about the question in which the user feels any type of difficulty. The clock is
automatically stopped. The countdown of pause gets started. The process is depicted in fig 5.11.

Page 32 of 63
Fig. 5.11 Pause function

5.9 Result screen

In the result screen, the final results are displayed on the screen. In this screen, the total result is
displayed along with the maximum score, correct question, total numbers of question, percentage
of accuracy and total number of attempts. There is check answer button at the last of the screen,
as shown in Fig 5.12.

Page 33 of 63
Fig. 5.12 Result screen.

5.10 Check answer screen

In this screen, the selected and the correct answer is displayed (Fig. 5.13)

Page 34 of 63
Fig. 5.13 check result screen.

Page 35 of 63
CHAPTER NO. 6
TOOLS AND TECHNOLOGIES

The tool we used is “app inventor”. App Inventor for Android is an open-source web application
originally provided by Google and now maintained by the Massachusetts Institute of Technology
(MIT). App Inventor is a cloud-based tool, which means you can build apps right in your web
browser. The App Inventor software or service [24] you can get there by clicking the orange
"Create Apps!" button from any page on this website. It allows newcomers to computer
programming to create software applications for the Android operating system (OS) (Fig. 6.1). It
uses a graphical interface and led by Hal Abelson and Mark Friedman. The MIT app inventor site
can easily be accessible by anyone requiring a free Google account (Fig. 6.2).

Fig. 6.1 MIT app inventor

Page 36 of 63
Fig 6.2 Google account

6.1 Goals

The goal of this tool is that anyone should be able tinker their smart phone and can easily develop
their own android apps. Even it promotes beginners, non-programmer to use app inventor for
creating app. It is easy to use because it eliminates the need to remember and type code. We only
to drag and drop the components and function that exist in the drawer we have to just find them.

6.2 Languages

The language used in developing Android apps is Java and a bit of XML is also used for the UI
part, but it is easy to grab on to. So if you want to start developing apps learn Java and its various
object-oriented concepts. The official language for Android development is Java. Large parts of
Android are written in Java and its APIs are designed to be called primarily from Java. It is possible
to develop C and C++ app using the Android Native Development Kit (NDK); however it isn’t
something that Google promote.

6.3 Major libraries

App inventor uses open source java libraries that are used to create programming interface it
contain different functions, events, and procedure.

Page 37 of 63
6.4 App inventor software

App inventor emulator cannot be used, if this software is not installed (Fig. 6.3). We first need to
install the app inventor software for proper working of app inventor that runs on the browser.

Fig. 6.3 Dialog window for installation.

6.5 Tool description

The app inventor consists of two components the designer viewer where the user can easily make
the desire design of her/his application. The design viewer also consists of different parts such as
palette viewer, component and procedure and properties as displayed in figure 6 .4. Each part
has its own function the palette consists of user interface (button, label, textbox, list picker, slider
etc). Lay out (horizontal arrangement, vertical arrangement etc) media (player, sound, text to
speech, camera, video player) drawing and animation (canvas, image sprite etc) sensors (clock,
location sensor, barcode scanner etc) social (email, texting, phone number etc) storage (tiny DB,
tiny WEB DB). The viewer is the part where actual designing is done. Components for giving
meaningful names. Properties where we can edit and modify the properties of the selected
component.

Page 38 of 63
Fig 6.4 Tool description

Page 39 of 63
6.6 Building blocks

Built-in block are available regardless of which components are in your project fig 6.6. In addition
to these language blocks, each component in this project has its own set of specific to its own
event, methods, and properties.

Fig. 6.5 Block editor

Page 40 of 63
Fig 6.6 Component of block editor

6.7 Testing of android app

To test the app we need to connect to phone or running the emulator to see how it looks like.
App inventor provide on-screen built-in emulator for the user who do not have android device to
check the application we can test the application on phone either a Wi-Fi or a USB-cable

Build apps with an Android device and Wi-Fi Connection

If you have a computer, an Android device, and a Wi-Fi connection, this is the easiest way to test
your apps. Fig .6.7

Fig 6.7 Wi-Fi connection


Page 41 of 63
Option Two
Don’t have an android device? Use the Emulator:

Fig 6.8 Emulator testing


If you students? Have them work primarily on emulators and share a few devices.
Don’t have an Android phone or tablet handy, you can still use App Inventor. As shown in
Option Three
No Wi-Fi? Build apps with an Android device and USB Cable:
Some firewalls within schools and organizations disallow the type of Wi-Fi connection required.
If Wi-Fi doesn’t work for you, try USB. Fig. (6.9)

Fig. 6.9 Testing on mobile


Page 42 of 63
6.8 Getting the app on your phone

In order to install the app on the phone we first need to download the apk (android application
package) on computer. Then either through USB-cable or Bluetooth we can get this apk file on
our android device and we now can install this apk on the phone. Fig. 6.9

Fig .6.9 Scanning of code


6.9 Android application packet (apk)

Android application package (APK) is the package file format used by the Android operating
system for distribution and installation of mobile apps and middleware.
APK files are analogous to other software packages such as APPX in Microsoft Windows or Deb
packages in Debian-based operating systems like Ubuntu. To make an APK file, a program for
Android is first compiled, and then all of its parts are packaged into one file. An APK file contains
all of that program's code (such as .dex files), resources, assets, certificates, and manifest file

6.10 Software development kit (sdk)

A software development kit is a typically a set of software development tools that allows the
creation of applications for a certain software package, software framework, hardware platform,
video games console, operating system. To create application you have to download this
application you have to download this software development kit. For example, if you want to
create an android app you require an SDK with java programming.

Page 43 of 63
CHAPTER NO. 7
CONCLUSION AND FUTURE WORK
7.1 Conclusion

The main purpose of our project is to develop an application that offers new aspects of learning
and improving knowledge in educational area. Most of the available apps are entertainment-based,
which mostly do not contribute to the academic enhancement of the students.

The theme of our quiz is to provide user to practice for subjective tests conducted on national level,
so in this app we focus on Computer science field. This quiz is useful for the preparation of any of
the computer-related test.

This quiz app includes three main modules, namely (i) computer science, (ii) verbal, and (iii)
analytical. The computer science and verbal modules contains various types of sub categories. This
quiz includes three functions: (i) Hint, (ii) Skip, and (iii) Pause, which are collectively named as
life lines that help users to answer questions correctly. These functions can be used only once by
a user.

When user tap/click on “Hint”, it will show hints by disabling two extra options from four options,
then user can easily select an option from the two. Skip options can be used at of user’s choice.
This function will simply skip the current question. When user wants some time to answer a
question then he/she will use this function to pause the quiz. Resultantly, time clock is stopped for
30 sec and this time is not be added in the total time.
We have learned a lot about Android based applications and also about user’s behavior. We have
found that the development process is hard and time-consuming, but it can be managed by a team
work. We hope that other developers will take advantage from our experience/from our
development.

7.2 Future work

We are planning to keep managing the project and improving it based on user feedback. Here is
our to do list for future
 We will add some more categories in our app.
 We’ll try to make it more user friendly than it is now.
 We’ll try to improve its quality.
 We’ll work on another feature in our app to add a module namely “Make Quiz” which is
helpful for teachers to make their own quiz for their students.
Page 44 of 63
References

[1] Byers, J.A. 1999. Interactive Learning Using Expert System Quizzes on the
Internet. Educational Media International 36:191-194.
Available at: http://www.chemical-ecology.net/papers/expert.htm last accessed, 22 Nov, 2015

[2] http://www.wcrl.ars.usda.gov/download/itquiz.zip.

[3] http://wcrl.ars.usda.gov/cec/udt/exam-f.htm

[4]http://highered.mheducation.com/sites/0073052337/student_view0/chapter2/multiple_choice_
quiz.html

[5] http://quizhub.com/quiz/quizhub.cfm

[6] Asghar, Muhammad Zubair, et al. "Simplified Neural Network Design for Hand Written
Digit Recognition." International Journal of Computer Science and Information Security 9.6
(2011): 319. Last accessed, 23 Nov 2015

[7] Asghar, Muhammad Zubair, et al. "Sentiment Analysis on YouTube: A Brief Survey." arXiv
preprint arXiv:1511.09142 (2015). Last accessed, 13 June 2015

[8] Kundi, Fazal Masud, Dr Asghar, and Muhammad Zubair. "Lexicon-Based Sentiment
Analysis in the Social Web." Journal of Basic and Applied Scientific Research 4.6 (2014): 238-
248. Last accessed, 20 June 2015

[9] Asghar, Dr, and Muhammad Zubair. "An Intelligent Agent for a Vacuum
Cleaner." International Journal of Digital Content Technology and its Applications 3.2 (2009):
143-146. Last accessed, 2 July 2015

[10] Asghar, Dr, and Muhammad Zubair. "An Intelligent Agent for a Vacuum
Cleaner." International Journal of Digital Content Technology and its Applications 3.2 (2009):
143-146. Last accessed, 14 July 2015

[11] Asghar, Muhammad Zubair, et al. "Political miner: opinion extraction from user generated
political reviews." Sci. Int (Lahore) 26.1 (2014): 385-389. Last accessed, 1 August 2015

[12] Asghar, Dr, and Muhammad Zubair. "Lexicon based Approach for Sentiment Classification
of User Reviews." Life Science Journal 11.10 (2014): 468-473. Last accessed, 12 August 2015

[13] Asghar, Dr, et al. "Inheritance Evaluation System using Islamic law." Journal of Higher
Education Institutions 9.6 (2004): 163-171. Last accessed, 17 Sep 2015

Page 45 of 63
[14] Saqib, Sheikh Muhammad, et al. "Framework for Customized-SOA Projects." International
Journal of Computer Science and Information Security 9.5 (2011): 240. Last accessed, 11 Oct
2015

[15] Ahmad, Bashir, et al. "Concentration on Business Values for SOA-Services: A Strategy for
Service's Business Values and Scope." International Journal of Computer Science and
Information Security 9.5 (2011): 205. Last accessed, 15 Oct 2015

[16] Saqib, Sheikh Muhammad, et al. "Custom Software under the Shade of Cloud
Computing." International Journal of Computer Science and Information Security 9.5 (2011):
219. Last accessed, 22 Nov 2015

[17] Kundi, Fazal Masud, et al. "A Review of Text Summarization." language 6.7: 8. Last
accessed, 27 Nov 2015

[18] Asghar, Dr, Muhammad Zubair, and Dr Ahmad. "A Review of Location Technologies for
Wireless Mobile Location-Based Services." Journal of American Science 10.7 (2014): 110-118.
Last accessed, 23 Dec 2015

[19] http://www.jagranjosh.com/articles/computer-general-knowledge-quiz-1315979215-1

[20] http://www.eduzip.com/category/computer-science

[21] http://www.treeknox.com/gk/gk/computerquiz/.

[22] https://play.google.com/store?hl=en

[23] https://play.google.com/store?hl=en

[24] Ai2.appinventor.mit.edu

Page 46 of 63
Appendices

Appendix-I (Block-level coding of main screen)

Appendix-II (Block-level coding of instructions description screen)

Page 47 of 63
Appendix-III (Block-level coding of time or question mode screen)

Page 48 of 63
Appendix-IV (Block-level coding of time screen)

Page 49 of 63
Page 50 of 63
Appendix-V (Block-level coding of categories screen)

Page 51 of 63
Page 52 of 63
Appendix-VI (Block-level coding of computer science sub categories screen)

Page 53 of 63
Page 54 of 63
Appendix-VII (Block-level coding of verbal sub categories screen)

Page 55 of 63
Page 56 of 63
Appendix-VIII (Block-level coding of questions screen)

Page 57 of 63
Page 58 of 63
Page 59 of 63
Page 60 of 63
Page 61 of 63
Appendix-IX (Block-level coding of result screen)

Page 62 of 63
Page 63 of 63
quizzy-thesis-11-jan-2016
by Dr. Zubair

FILE QUIZZY_THESIS- 11- JAN- 2015.DOCX (6.35M)


TIME SUBMITTED 11- JAN- 2016 08:48PM WORD COUNT 5621
SUBMISSION ID 619705768 CHARACTER COUNT 29251
ORIGINALITY REPORT

10 %
SIMILARIT Y INDEX
10%
INT ERNET SOURCES
3%
PUBLICAT IONS
%
ST UDENT PAPERS

PRIMARY SOURCES

en.wikipedia.org
1 Int ernet Source 2%
www.isna.net
2 Int ernet Source 2%
apkwar.com
3 Int ernet Source 1%
www.chemical-ecology.net
4 Int ernet Source 1%
www.antiessays.com
5 Int ernet Source 1%
www.eduzip.com
6 Int ernet Source 1%
zacenite.com
7 Int ernet Source <1%
appinventor.mit.edu
8 Int ernet Source <1%
webmaster.org.vn
9 Int ernet Source <1%
10
www.jagranjosh.com
Int ernet Source <1%
circle.ubc.ca
11 Int ernet Source <1%
www.lifesciencesite.com
12 Int ernet Source <1%
www.unitedeuropeanchristendom.net
13 Int ernet Source <1%
wwwis.win.tue.nl
14 Int ernet Source <1%
www.scribd.com
15 Int ernet Source <1%
Springer Theses, 2014.
16 Publication <1%
www.gu.edu.pk
17 Int ernet Source <1%
www.absoluteastronomy.com
18 Int ernet Source <1%
Communications in Computer and Information
19
Science, 2014.
<1%
Publication
Int ernet Source
www.docstoc.com
<1%
20

EXCLUDE QUOTES ON EXCLUDE MATCHES < 5 WORDS


EXCLUDE ON
BIBLIOGRAPHY

View publication stats

You might also like