Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
String n2 =input.readLine();
int v =Integer.parseInt(n2);
if(v==4)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS RAHUL DRAVID.^^^^^^^^^^");
System.out.println("***** Which is the only cricketer to score a four hundred(not
out)? *****");
System.out.println("#### 1.Rickey Ponting #### ");
System.out.println("#### 2.Jacques Kallis #### ");
System.out.println("#### 3.Brian Lara #### ");
System.out.println("#### 4.Chris Harris #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String n =input.readLine();
int a =Integer.parseInt(n);
if(a==3)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS BRIAN LARA.^^^^^^^^^^");
System.out.println("***** What would the letters PB next to an athlete's name signify?
*****");
System.out.println("#### 1.Post Box #### ");
System.out.println("#### 2.Personal Best #### ");
System.out.println("#### 3.Pin Ball #### ");
System.out.println("#### 4.Play Banned #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String m1 =input.readLine();
int k1 =Integer.parseInt(m1);
if(k1==2)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS PERSONAL BEST.^^^^^^^^^^");
System.out.println("***** What is the shortest distance in a track & field event where
the runners are allowed to break lanes? *****");
System.out.println("#### 1.200 #### ");
System.out.println("#### 2.800 #### ");
System.out.println("#### 3.600 #### ");
System.out.println("#### 4.400 #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String s1 =input.readLine();
int r =Integer.parseInt(s1);
if(r==2)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS 800.^^^^^^^^^^");
System.out.println("***** The standard colours of which sporting event are green &
purple? *****");
System.out.println("#### 1.Davis Cup #### ");
System.out.println("#### 2.Asia Cup #### ");
System.out.println("#### 3.Wimbledon #### ");
System.out.println("#### 4.Euro Cup #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String t1 =input.readLine();
int h1 =Integer.parseInt(t1);
if(h1==3)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS WIMBLEDON.^^^^^^^^^^");
System.out.println("***** The olympic gold medal consists of 5.2% of which metal?
*****");
System.out.println("#### 1.Gold #### ");
System.out.println("#### 2.Platinum #### ");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS GRAFIELD SOBERS.^^^^^^^^^^");
System.out.println("***** How many players are there in hte game of basket ball?
*****");
System.out.println("#### 1.Five #### ");
System.out.println("#### 2.Six #### ");
System.out.println("#### 3.Eight #### ");
System.out.println("#### 4.Eleven #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String d =input.readLine();
int w =Integer.parseInt(d);
if(w==2)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS SIX.^^^^^^^^^^");
System.out.println("%%%%%% FINALLY YOU HAVE SCORED="+sc+"POINTS %
%%%%%%%");
if(sc<200)System.out.println("!!!!!SORRY! WE DON'T HAVE A PRIZE FOR
YOU !!!!!");
else if(sc>=200&&sc<400)System.out.println("#### CONGRATULATIONS!YOU
WIN A BIG GRAND KINETIC BOSS WITHOUT TYRES.HURRAY! ####");
else if(sc>400&&sc<=500)System.out.println("%%%%%%%%%
CONGRATULATIONS!YOU WIN A LIFE LONG TRIP TO YOUR HOME.LUCKY
GUY! %%%%%%%%%");
}
else
if(choice==2)
{
int sc = 0;
System.out.println("***** What is common to the
following:bangalpalli,safeda,chausa,langda,malda? *****");
System.out.println("#### 1.Apple #### ");
System.out.println("#### 2.Mango #### ");
System.out.println("#### 3.Banana #### ");
System.out.println("#### 4.Orange #### ");
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS PORRIDGE .^^^^^^^^^^");
System.out.println("***** Which country is considered the birth place of pizza?
*****");
System.out.println("#### 1.France #### ");
System.out.println("#### 2.Italy #### ");
System.out.println("#### 3.Germany #### ");
System.out.println("#### 4.Greece #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String p = input.readLine();
int g =Integer.parseInt(p);
if(g==2)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS ITALY .^^^^^^^^^^");
System.out.println("***** If bombay is well known for its hawla and calcutta for its
rossogollas,what sweet meat is delhi famous for? *****");
System.out.println("#### 1.Laddoos #### ");
System.out.println("#### 2.Peda #### ");
System.out.println("#### 3.Jalebi #### ");
System.out.println("#### 4.Burfi #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String j = input.readLine();
int x=Integer.parseInt(j);
if(x==1)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS LADDOOS .^^^^^^^^^^");
System.out.println("***** Which fruit is normally used to make meat tender? *****");
System.out.println("#### 1.Banana #### ");
System.out.println("#### 2.Papaya #### ");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS PANIPURI.^^^^^^^^^^");
System.out.println("%%%%%% FINALLY YOU HAVE SCORED="+sc+"POINTS %
%%%%%%%");
if(sc<200)System.out.println("!!!!!SORRY! WE DON'T HAVE A PRIZE FOR
YOU !!!!!");
else if(sc>=200&&sc<400)System.out.println("#### CONGRATULATIONS!YOU
WIN A BIG GRAND KINETIC BOSS WITHOUT TYRES.HURRAY! ####");
else if(sc>400&&sc<=500)System.out.println("%%%%%%%%%
CONGRATULATIONS!YOU WIN A LIFE LONG TRIP TO YOUR HOME.LUCKY
GUY! %%%%%%%%%");
}
else
if(choice==3)
{
int sc = 0;
System.out.println("***** 'Something beautiful for god'is a book by Malcolm
Muggeridge.Who is the subject of this book? *****");
System.out.println("#### 1.Mother Teresa #### ");
System.out.println("#### 2.Arundhati Roy #### ");
System.out.println("#### 3.Ameliya Arhart #### ");
System.out.println("#### 4.Rabindranath Tagore #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String t1 = input.readLine();
int h1=Integer.parseInt(t1);
if(h1==1)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS MOTHER TERESA.^^^^^^^^^^");
System.out.println("***** Which indian has the most number of roads named after
him? *****");
System.out.println("#### 1.Mahatma Gandhi #### ");
System.out.println("#### 2.B.R.Ambedkar #### ");
System.out.println("#### 3.Subhash Chandra Bose #### ");
System.out.println("#### 4.Jawahar Lal Nehru #### ");
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS STICK.^^^^^^^^^^");
System.out.println("***** What everyday kitchen items can be used to remove ball
point stains? *****");
System.out.println("#### 1.Water #### ");
System.out.println("#### 2.Salt #### ");
System.out.println("#### 3.Sugar #### ");
System.out.println("#### 4.Milk #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String v6 = input.readLine();
int min=Integer.parseInt(v6);
if(min==4)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS MILK.^^^^^^^^^^");
System.out.println("***** The colour of the highest belt in karate is black.What is the
colour of the lowest belt? *****");
System.out.println("#### 1.Red #### ");
System.out.println("#### 2.Blue #### ");
System.out.println("#### 3.White #### ");
System.out.println("#### 4.Yellow #### ");
System.out.println("======== ENTER YOUR CHOICE ========");
String v7 = input.readLine();
int abs=Integer.parseInt(v7);
if(abs==3)
{
System.out.println("~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~");
sc = sc+50;
System.out.println("YOUR SCORE IS "+sc);
}
else
System.out.println("^^^^^^^SORRY!BETTER LUCK NEXT TIME!THE CORRECT
ANSWER IS WHITE .^^^^^^^^^^");
System.out.println("***** Which river in Europe is referred to as 'W'? *****");
System.out.println("#### 1.Volga #### ");
System.out.println("#### 2.Rhine #### ");
System.out.println("#### 3.Siene #### ");