0 => " What is the longest that an elephant has ever lived? (That we know of)",
1 => "17 years",
2 => "49 years",
3 => "142 years",
4 => "86 years",
5 => "66 years",
6 => 4
),
2 => array(
0 => "How many rings are on the Olympic flag?",
1 => "None",
2 => "7",
3 => "4",
4 => "5",
5 => "3",
6 => 4
),
3 => array(
0 => " What is a tarsier?",
1 => "A primate",
2 => "A lizard",
3 => "A bird",
4 => "None of these",
6 => 1
),
4 => array(
0 => "How did Spider-Man get his powers?",
1 => "Military experiment gone awry",
2 => "Born with them",
3 => "Woke up with them after a strange dream",
4 => "Bitten by a radioactive spider",
6 => 4
),
5 => array(
0 => " In darts, what's the most points you can score with a single throw?",
1 => "20",
2 => "50",
3 => "60",
4 => "100",
5 => "40",
6 => 3
),
6 => array(
0 => "Which of these animals does NOT appear in the Chinese zodiac?",
1 => "Bear",
2 => "Rabbit",
3 => "Dragon",
4 => "Dog",
6 => 1
),
7 => array(
0 => " Who are known as Brahmins?",
1 => "Surfers in California",
2 => "It's a totally made up word",
3 => "Members of India's highest caste",
6 => 3
),
8 => array(
0 => "How many holes are on a standard bowling ball?",
1 => "2",
2 => "3",
3 => "5",
4 => "10",
5 => "4",
6 => 2
),
9 => array(
0 => " Would a Catholic living in the United States ever celebrate Easter in May?",
1 => "Yes",
2 => "No",
6 => 2
),
10 => array(
0 => "What are the main colors on the flag of Spain?",
1 => "Black and yellow",
2 => "Green and white",
3 => "Blue and white",
4 => "Red and yellow ",
6 => 4
),
);
$max=10;
$question=$_POST["question"] ;
if ($_POST["Randon"]==0){
if($randomizequestions =="yes"){$randval = mt_rand(1,$max);}else{$randval=1;}
$randval2 = $randval;
}else{
$randval=$_POST["Randon"];
$randval2=$_POST["Randon"] + $question;
if ($randval2>$max){
$randval2=$randval2-$max;
}
}
$ok=$_POST["ok"] ;
if ($question==0){
$question=0;
$ok=0;
$percentaje=0;
}else{
$percentaje= Round(100*$ok / $question);
}
?>
Multiple Choice Questions:
"; ?>
The Quiz has finished
Percentaje of correct responses: %
Home Page
|
|
The Quiz has finished
Percentaje of correct responses: %
Home Page

0 Comments