Quiz App is an android based application, and enables the user to undertake a series of questions on Java language. The app is user friendly, and the user shall find it extremely easy to answer the multiple-choice questions.
At the end of the quiz, a result-report is generated which states the score. The Quiz app also presents an option to the current user to play the question-round again or quit in between.
Quiz app Download Source Code
Click below to get the source code android Quiz application.
Download Quiz Apk: Click Here
Quiz Logo Download: Click Here
Download Source Code
Click below to get the full source code android Quiz App application.
YouTube Video
There are four Activities in the app :
Main – displays Home Screen of application.
Questions – displays MCQ’s and currents Score.
Results – displays Results after finishing the quiz.
Developers – displays the information about the developers.
Geometric sequence program in java
GeometricSequence.java
import java.util.Scanner;
class GeometricSequence
{
public static void main(String args[])
{
int n=5; //limit
int r=2; //common ratio
int a=2; //terms
int sum=0; //sum of the series
Scanner sc=new Scanner(System.in);//take input from user
System.out.print("Enter a first term:");
a=sc.nextInt();
System.out.print("Enter n limit:");
n=sc.nextInt();
System.out.print("Enter r common ratio : ");
r=sc.nextInt(); for(int i=1;i<=n;i++)
{
System.out.print(""+a);
a=a*r; //multiply different with terms
}
}
}
/*OUTPUT
Enter a first term:8
Enter n limit:6
Enter r common ratio : 2
8 16 32 64 128 256
Process completed.
*/

