Professional Documents
Culture Documents
Sample Project Report
Sample Project Report
ON
Topic
PUNJAB
It is a matter of pleasure for me to thank all the persons who have contributed directly
or indirectly towards the successful completion of my major project report titled
“Quiz Android Application”.
At the very outset, I would like to offer a token of heartfelt gratitude to the
management and teachers at Institute of Distance and Online Learning at Chandigarh
University for granting me a learning opportunity on how to work towards a report.
I hereby declare that my Major Project Report titled “Quiz Android Application” is
a bonafide record of the project work which I have submitted to Institute of Distance
Education and Online Learning, Chandigarh University in partial fulfillment of the
credit requirements for the degree of Master of Computer Applications is my
authentic work. This minor project report has not been copied, duplicated or
plagiarised from any other paper, journal, document or book and has not been
submitted to any educational institute or otherwise for the award of any certificate,
diploma, degree or recognition.
This is an authentic piece of work and in case there is any query regarding the same,
I shall be held responsible for answering any queries in this regard.
Place: Jaipur
Introduction:
Relevance:
Quiz Contest is an android application that has general questions related to current
affairs and computer. It has multiple choice questions with time limit and it also
calculate scores of each correct answer. It is good for students of every age group it
helps in increasing general knowledge about world, Sports and computer etc. The
application helps the user to increase his/her knowledge. Since Smartphone mobiles
are being widely used by general population and students, the Quiz Contest
application can provide on the Student's mobile.
Problem Definition:
Quiz Contest is a application developed to conduct an quiz based on time
constraints. Quiz Contest system is accessed by entering the user name and
password which is added to the database. Before start of the quiz, the rules and
regulations are displayed that includes description of the time limit, number of
questions to be answered and scoring methods. Quiz is started by displaying one
question with four options each based on computer and general knowledge. if the
answer is correct, score is incremented by four and no negative marks for wrong
answers . If the time exceeds 20secs next question will come automatically after
giving few limited question's answer quiz application will inally direct you to the
score page. Final score will be displayed and updated in the database with
username.
Objective:
The main objective of “Quiz Contest” is to facilitate a user friendly environment for all
users and reduces the manual effort. In past days quiz is conducted manually but in further
resolution of the technology we are able to generate the score and pose the queries
automatically. The functional requirements include to create users that are going to
participate in the quiz, automatic score and report generation and administrative tasks like
add, delete, update for admin privilege users. In this application, all the permissions lies
1|Page
NEHA RAI MCA 4TH SEM D20MCA11023
with the administrator i.e., specifying the details of the quiz with checking result will show
to interviewee or not, addition of question and answers, marks for each question, Set timer
for each quiz and generate report with score for each quiz.
Introduction to Java
Characteristics of Java
The target of Java is to write a program once and then run this
program on multiple operating systems. Java has the following
properties:
3|Page
NEHA RAI MCA 4TH SEM D20MCA11023
Android
Architecture of Android OS
4|Page
NEHA RAI MCA 4TH SEM D20MCA11023
Architecture of Android OS
Applications Layer
5|Page
NEHA RAI MCA 4TH SEM D20MCA11023
Libraries Layer
Components of Android
6|Page
NEHA RAI MCA 4TH SEM D20MCA11023
A
cn
d r
o i
v
d
A
p
yp l
i c
a t
i o
n
Android Components
7|Page
NEHA RAI MCA 4TH SEM D20MCA11023
Activity
Broadcast Receiver
Service
Content Provider
System Analysis:
Feasibility Study:
The feasibility study is an evaluation and analysis of the
potential of a proposed project which is based on extensive
investigation and research to support the process of decision
making. Depending on the results of the initial investigation
the survey is now expanded to a more detailed feasibility
study.
Feasibility Study
System: Quiz Contest Date: 15-06-2022
Author: XXX Page: 1
Product
The project is a Quiz android application . It will help its users toimprove their
general knowledge.
Technical Feasibility
The android application will be developed using Android Studio. The team is
competent in that.
9|Page
NEHA RAI MCA 4TH SEM D20MCA11023
Social Feasibility
Some training for the users/admin are required but all users are IT literate.
Market Research
Market research says that this application would be useful for the users as it
could seamlessly help them for their lifestyle.
Economic Feasibility
Existing System:
➢ At the end of the game it will show the score of the user.
10 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Proposed System:
Unlike the websites where you need to make account for every quiz you
want to play, using this application based on android, then you will get
access to all quizzes from it. The proposed system is an application for
the Android platform mobiles will help in improving the knowledge
and accuracy. Android is a Linux-based operating system designed
primarily for touch screen mobile devices such as smart phones and
tablet computers, developed by Google in conjunction with the Open
Handset Alliance.
11 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Table of Comparison :
Software Requirements:
Database: SQLite
Hardware Requirements:
12 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Diagram:
Level 0 DFD:
13 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Entity-Relationship Diagram:
14 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Table Diagram:
Form Design:
Components---
15 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Testing:
❖ Objective:
Process Overview :
16 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Testing Process:
Design
System Test
Organize Design/Build
Project Design/Build Test Proc.
Organize
Project
17 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
18 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
19 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Results:
20 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Source Code:
BackgroundColor.java
package com.example.rajan.quizbee;
import android.graphics.Color;
import java.util.Random;
"#c25975", // mauve
"#e15258", // red
"#f9845b", // orange
"#838cc7", // lavender
"#7d669e", // purple
"#53bbb4", // aqua
"#51b46d", // green
"#e0ab18", // mustard
"#f092b0", // pink
};
21 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
String color;
color = mColors[randomNumber];
int colorAsInt;
colorAsInt = Color.parseColor(color);
return colorAsInt;
DeveloperActivity.java
package com.example.rajan.quizbee;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
22 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Button btnRestart;
@Override
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_developer);
btnRestart.setOnClickListener(new View.OnClickListener() {
@Override
startActivity(in2);
});
23 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
MainActivity.java
package com.example.rajan.quizbee;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
@Override
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button startbutton=(Button)findViewById(R.id.button);
Button aboutbutton=(Button)findViewById(R.id.button2);
24 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
startbutton.setOnClickListener(new View.OnClickListener() {
@Override
String name=nametext.getText().toString();
Intent intent=new
Intent(getApplicationContext(),QuestionsActivity.class);
intent.putExtra("myname",name);
startActivity(intent);
});
aboutbutton.setOnClickListener(new View.OnClickListener() {
@Override
Intent intent=new
Intent(getApplicationContext(),DeveloperActivity.class);
startActivity(intent);
});
25 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
QuestionsActivity.java
package com.example.rajan.quizbee;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
TextView tv;
RadioGroup radio_g;
RadioButton rb1,rb2,rb3,rb4;
26 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
String questions[] = {
};
String opt[] = {
27 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
"&","&=","|=","<=",
"import","this","catch","abstract",
"Interface","interface","intf","Intf",
"lang","java","util","java.packages",
"equals()","Equals()","isequal()","Isequal()",
"int","long","byte","float"
};
int flag=0;
@Override
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_questions);
TextView textView=(TextView)findViewById(R.id.DispName);
28 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
if (name.trim().equals(""))
textView.setText("Hello User");
else
submitbutton=(Button)findViewById(R.id.button3);
quitbutton=(Button)findViewById(R.id.buttonquit);
tv=(TextView) findViewById(R.id.tvque);
radio_g=(RadioGroup)findViewById(R.id.answersgrp);
rb1=(RadioButton)findViewById(R.id.radioButton);
rb2=(RadioButton)findViewById(R.id.radioButton2);
rb3=(RadioButton)findViewById(R.id.radioButton3);
rb4=(RadioButton)findViewById(R.id.radioButton4);
tv.setText(questions[flag]);
rb1.setText(opt[0]);
rb2.setText(opt[1]);
rb3.setText(opt[2]);
rb4.setText(opt[3]);
submitbutton.setOnClickListener(new View.OnClickListener() {
@Override
29 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
//mLayout.setBackgroundColor(color);
if(radio_g.getCheckedRadioButtonId()==-1)
return;
// Toast.makeText(getApplicationContext(), ansText,
Toast.LENGTH_SHORT).show();
if(ansText.equals(answers[flag])) {
correct++;
Toast.makeText(getApplicationContext(), "Correct",
Toast.LENGTH_SHORT).show();
else {
wrong++;
Toast.makeText(getApplicationContext(), "Wrong",
Toast.LENGTH_SHORT).show();
30 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
flag++;
if (score != null)
score.setText(""+correct);
if(flag<questions.length)
tv.setText(questions[flag]);
rb1.setText(opt[flag*4]);
rb2.setText(opt[flag*4 +1]);
rb3.setText(opt[flag*4 +2]);
rb4.setText(opt[flag*4 +3]);
else
marks=correct;
Intent in = new
Intent(getApplicationContext(),ResultActivity.class);
startActivity(in);
radio_g.clearCheck();
31 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
});
quitbutton.setOnClickListener(new View.OnClickListener() {
@Override
Intent intent=new
Intent(getApplicationContext(),ResultActivity.class);
startActivity(intent);
});
ResultActivity.java
package com.example.rajan.quizbee;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.QuickContactBadge;
import android.widget.TextView;
32 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
import org.w3c.dom.Text;
Button btnRestart;
@Override
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_result);
tv = (TextView)findViewById(R.id.tvres);
tv2 = (TextView)findViewById(R.id.tvres2);
tv3 = (TextView)findViewById(R.id.tvres3);
tv.setText(sb);
tv2.setText(sb2);
tv3.setText(sb3);
33 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
QuestionsActivity.correct=0;
QuestionsActivity.wrong=0;
btnRestart.setOnClickListener(new View.OnClickListener() {
@Override
Intent in = new
Intent(getApplicationContext(),MainActivity.class);
startActivity(in);
});
activity_developer.xml
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
34 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.rajan.quizbee.DeveloperActivity">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Developers"
android:id="@+id/textView2"
android:layout_marginTop="33dp"
android:textSize="40dp"
android:layout_alignParentTop="true"
android:textColor="#000000"
android:textAlignment="center"
android:layout_alignParentEnd="false"
android:layout_alignParentStart="false"
android:autoText="true"
android:layout_alignParentRight="false" />
35 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Back"
android:id="@+id/button4"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="31dp"
android:background="#01579B"
android:textColor="#ffffff" />
<ImageView
android:id="@+id/imageView"
android:layout_width="80dp"
android:layout_height="84dp"
android:layout_below="@+id/textView2"
android:layout_alignEnd="@+id/button4"
android:layout_alignRight="@+id/button4"
android:layout_marginTop="43dp"
android:layout_marginEnd="299dp"
36 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:layout_marginRight="299dp"
android:src="@drawable/vikas" />
<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/imageView"
android:layout_alignEnd="@+id/textView7"
android:layout_alignRight="@+id/textView7"
android:layout_marginTop="12dp"
android:layout_marginEnd="23dp"
android:layout_marginRight="23dp"
android:text="@string/rajan_gupta"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView5"
37 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:layout_alignEnd="@+id/textView5"
android:layout_alignRight="@+id/textView5"
android:layout_marginTop="5dp"
android:layout_marginEnd="-116dp"
android:layout_marginRight="-116dp"
android:text="@string/rajanjmu@gmail.com"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/textView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/imageView"
android:layout_centerHorizontal="true"
android:layout_marginTop="43dp"
android:text="@string/rajan_gupta"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/textView8"
android:layout_width="wrap_content"
38 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:layout_height="wrap_content"
android:layout_below="@+id/textView7"
android:layout_alignStart="@+id/textView7"
android:layout_alignLeft="@+id/textView7"
android:layout_marginStart="5dp"
android:layout_marginLeft="5dp"
android:layout_marginTop="7dp"
android:text="@string/rajanjmu@gmail.com"
android:textAppearance="?android:attr/textAppearanceMedium" />
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:id="@+id/imageView2"
android:src="@drawable/sushant"
android:layout_alignTop="@+id/textView7"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="false"
android:layout_alignParentBottom="false"
android:layout_alignParentTop="false"
39 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:layout_alignWithParentIfMissing="false" />
</RelativeLayout>
activity_main.xml
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/quizapp"
android:layout_marginTop="48dp"
android:textSize="60dp"
android:id="@+id/textView"
android:layout_alignParentTop="true"
android:layout_alignLeft="@+id/editName"
40 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:layout_alignStart="@+id/editName"
android:textColor="#F44336" />
<Button
android:layout_width="200dp"
android:layout_height="52dp"
android:text="Start"
android:id="@+id/button"
android:textSize="30dp"
android:layout_above="@+id/button2"
android:layout_alignLeft="@+id/editName"
android:layout_alignStart="@+id/editName"
android:layout_marginBottom="25dp"
android:background="#FF5722"
android:textColor="#ffffff" />
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:id="@+id/editName"
android:textColor="#df040b"
android:hint="Enter your name"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
<Button
android:layout_width="200dp"
41 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:layout_height="52dp"
android:text="About"
android:id="@+id/button2"
android:textSize="30dp"
android:layout_marginBottom="33dp"
android:layout_alignParentBottom="true"
android:layout_alignLeft="@+id/button"
android:layout_alignStart="@+id/button"
android:background="#01579B"
android:textColor="#ffffff" />
</RelativeLayout>
activity_questions.xml
<TextView
android:layout_width="200dp"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
42 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:id="@+id/DispName"
android:textColor="@color/accent_material_light"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<RadioGroup
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/DispName"
android:layout_alignStart="@+id/DispName"
android:id="@+id/answersgrp"
android:clickable="true"
android:layout_centerVertical="true">
<!--android:layout-->
<!--android:checkedButton="@+id/radioButton"-->
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="A"
android:id="@+id/radioButton"
android:checked="false"
/>
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
43 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:text="B"
android:id="@+id/radioButton2"
android:checked="false" />
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="C"
android:id="@+id/radioButton3"
android:checked="false" />
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="D"
android:id="@+id/radioButton4"
android:checked="false" />
</RadioGroup>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Next Question"
android:id="@+id/button3"
android:layout_marginTop="27dp"
android:layout_below="@+id/answersgrp"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
44 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:background="#FF5722"
android:textColor="#ffffff"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Quit"
android:id="@+id/buttonquit"
android:layout_marginTop="20dp"
android:layout_below="@+id/button3"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:background="#01579B"
android:textColor="#ffffff" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Questions"
android:id="@+id/tvque"
android:layout_marginBottom="52dp"
android:layout_above="@+id/answersgrp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="24dp"
45 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:textAppearance="@color/abc_background_cache_hint_selector_materi
al_dark"
android:text="Your Score"
android:id="@+id/textView3"
android:textColor="#000000"
android:textSize="19dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="24dp"
android:textAppearance="@color/abc_background_cache_hint_selector_materi
al_dark"
android:id="@+id/textView4"
android:text="0"
android:textColor="#000000"
android:layout_alignParentBottom="true"
android:textAlignment="center"
android:layout_alignParentRight="true"
android:textSize="19dp" />
</RelativeLayout>
activity_result.xml
46 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.rajan.quizbee.ResultActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="28dp"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Large Text"
android:id="@+id/tvres"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="70dp"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="true"
android:background="#F44336"
android:textColor="#000000"
android:textAlignment="center"
android:textSize="19dp" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Restart"
47 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:id="@+id/btnRestart"
android:layout_alignParentBottom="true"
android:layout_marginBottom="119dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:background="#01579B"
android:textColor="#ffffff" />
<TextView
android:layout_width="wrap_content"
android:layout_height="28dp"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Large Text"
android:id="@+id/tvres2"
android:background="#76FF03"
android:layout_below="@+id/tvres"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginTop="31dp"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:textColor="#000000"
android:textAlignment="center"
android:textSize="19dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="28dp"
android:textAppearance="?android:attr/textAppearanceLarge"
48 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
android:text="Large Text"
android:id="@+id/tvres3"
android:background="#FFEB3B"
android:layout_below="@+id/tvres2"
android:layout_marginTop="33dp"
android:layout_alignRight="@+id/tvres2"
android:layout_alignEnd="@+id/tvres2"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="true"
android:textColor="#000000"
android:textAlignment="center"
android:textSize="19dp" />
</RelativeLayout>
Colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
</resources>
Dimens.xml
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>
49 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Strings.xml
<resources>
<string name="app_name">QuizApp</string>
<string name="your_score">Your Score</string>
<string name="rajan_gupta">Rajan Gupta</string>
<string name="rajanjmu@gmail.com">rajanjmu@gmail.com</string>
<string name="rajan_gupta">Rajan Gupta</string>
<string name="rajanjmu@gmail.com">rajanjmu@gmail.com</string>
<string name="quizapp">QuizApp</string>
</resources>
Styles.xml
<resources>
</resources>
AndroidManifest.xml
50 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
package="com.example.rajan.quizbee">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
51 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
</intent-filter>
</activity>
<activity android:name=".ResultActivity"></activity>
</application>
</manifest>
52 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Conclusion:
References:
53 | P a g e
NEHA RAI MCA 4TH SEM D20MCA11023
Bibliography:
www.stackoverlow.com
www.w3schools.com
www.wikipedia.org
54 | P a g e