Visvesvaraya Technological University BELAGAVI - 590002: "Quiz Application"
Visvesvaraya Technological University BELAGAVI - 590002: "Quiz Application"
Visvesvaraya Technological University BELAGAVI - 590002: "Quiz Application"
BELAGAVI - 590002
Submitted By
NAME USN
SHEJAL GAONKAR 2GP19CS022
PREETAM NAIK 2GP19CS019
DANISH SHAIKH 2GP19CS008
SOUJANYA DALLINAKERI 2GP17CS036
CERTIFICATE
Certified that the Mobile Application Development Mini Project work entitled
“QUIZ APPLICATION”
This is to certify that above students have satisfactorily completed the Mobile
Application Development laboratory mini project work for the partial fulfillment of
Bachelor of Engineering in COMPUTER SCIENCE AND ENGINEERING of the
Visvesvaraya Technological University, Belagavi During the year 2021 – 2022.
___________________________ ___________________________
__________________________ ___________________________
Examination Section:
Examiner 1 ___________________________________________________
Examiner 2 ___________________________________________________
ACKNOWLEDGEMENT
We give our high, respectful gratitude to our guide Prof. MANJUVANI GOUDA &
Prof. SMITHA CG, who have been our source of inspiration. They have been especially
enthusiastic in giving their opinions and critical reviews.
We have learnt a lot throughout this semester with many challenges yet valuable
experience in order to complete this task. We will remember her contribution forever.
We sincerely thank Dr. SOMESHA M, HOD, Dept of CSE, who has been the constant
driving force behind the completion of the project.
We also thank our respected Principal Dr. SHANTHALA B for her constant help and
support throughout.
Our special thanks to faculty members who have supported us in making this project a
successful one.
We also take this opportunity to thank the technician staffs who have helped us a lot in
providing the software support and any other support whenever needed. Our thanks and
appreciation also goes to our friends who have willingly helped us with their ability.
i
ABSTRACT
The evolution of today’s mobile devices increases the number of mobile applications
developed and among them is the quiz application. Android mobile hardware and software
platforms allow the running of faster and richer applications. This presents the main steps in
the development of a quiz application for android using android studio. This work deals with
the development of an android-based multiple-choice question examination system, namely:
Quiz App. This application is developed for educational purposes, allowing the users to prepare
the multiple-choice questions for different tests conducted.
ii
TABLE OF CONTENTS
ABSTRACT ii
1. INTRODUCTION 1
2. REQUIREMENT SPECIFICATION 5
3. SYSTEM DESIGN 6
3.1 Flowchart
3.2 Explanation
4. IMPLEMENTATION 8
5. SNAPSHOTS 10
CONCLUSION
REFERENCES
iii
QUIZ APPLICATION
CHAPTER 1
INTRODUCTION
➢ Android apps are normally distributed through the app markets such as Google Play
Store, so it is possible to enable installation from APK file or via USB connection in
device settings.
➢Android Studio supports all the same programming languages of IntelliJ (and Cilona)
like Java, C++, Kotlin and more extensions.
➢Android Studio has many features that can help to develop the Android Application such
as:
• Emulator to show the output in various resolutions, including Nexus4, Nexus 7, Nexus10
and many other android phones.
➢Android studio consists of SDK (Software Development Kit) which includes the
following:
• Required libraries.
• Debugger
• An emulator
interfaces (APIs)
➢Each project in Android Studio contains one or more modules with source code files and
resource files. Types of modules includes: Android app modules, Library modules, Google
app Engine modules.
➢All the files in the Android Studio are visible at the top level under Gradle Scripts and
each app module contains the following folders:
• java: Contains the java source code files, including JUnit test code.
• res: Contains all non-code resources, such as XML layouts, UI strings, and
bitmap images.
➢Android Studio supports a variety of version control (VCS’s), including Git, GitHub,
CVS, Mercurial, Subversion and Google Cloud Source Repositories.
➢Dependencies in Android Studio are specified by the name build. Gradle file. Gradle
takes care of finding dependencies and making them available in the build.
➢Android Studio supports annotations for variables, parameters, and return values to catch
bugs, such as null pointer expectations and resource type conflicts.
➢Android Studio comes in with built in SQLite database implementation and the latest
version of Android Studio contains Firebase Android SDK source.
CHAPTER 2
REQUIREMENT SPECIFICATION
▪ RAM: 8GB
▪ Permission to install applications over USB and installation from unknown sources from
‘Developer Options’.
CHAPTER 3
SYSTEM DESIGN
3.1 FLOWCHART
3.2 EXPLANATION
➢ Initially the user on opening the app enters the main menu of the application.
➢ The user is presented with two options namely the name and start.
➢ On clicking the start button the user is directed towards the quiz presented with one
question and four option.
➢ For every correct answer a pop-up messages are shown as correct and for the wrong
vice versa.
➢ If the user wishes to discontinue the quiz, then they can quit.
➢ After dynamically displaying 10 questions the user is presented with the score.
➢ If the user wish they can quit the quiz or click on restart and play it again.
CHAPTER 4
IMPLEMENTATION
❖ Bundle: Bundles are generally used for passing data from one activity to another
activity.
❖ Intent: Intent is the message that is passed between components such as activities,
content providers, broadcast receivers, services etc.
❖ Text View: A user interface element that displays text to the user.
❖ Edit Text: A Edit Text is an overlay over Text View that configures itself to be
editable. It is the predefined subclass of Text View that includes rich editing
capabilities.
❖ App Compat Activity: Alternate constructor that can be used to provide a default
layout that will be in flated as part of super.
❖ View: These are invisible view container that define how the child view are laid out
,such as in grid or a vertical list.
❖ findViewById(): Finds a view that was identified by the id attribute from the XML
that was presented in On Create (Bundle).
❖ toString(): It’s a method in java’s Object class, which is the superclass of every java
object. It is meant for returning textual representation of an object.
❖ getName(): Method class is helpful to get the name of methods, as a String. To get
the name of all methods of a class, get all the methods of that class object.
❖ putExtra(): Adds extended data to the intent. It has two parameters, first one
specifies the name of the extra data, and second parameter is the data itself.
❖ getInstance(): Provided class is used to return Signature object that implements the
specified signature algorithm
❖ setText(): It is used to set the text to be displayed in the Text View either when
declaring in the layout file, or by using this method
❖ setEnabled():. The function must usually be called in the context of a user action,
such as click handler for a button.
CHAPTER 5
SNAPSHOTS
The proposed system is easy and flexible for future maintenance and development
because each subsystem can be handled separately without influence on another system. The
results are shown instantly to users, with the number of wrong as well as correct answers.
REFERENCES
[1] https://developer.android.com/studio/
[2] https://www.geeksforgeeks.org/
[3] https://www.w3schools.com/java/
[4] https://www.tutorialspoint.com/android/android_studio.htm
[5] https://youtu.be/EKgqkQsmvKY