//Chooses a random number
$num = Rand (1,10);
//Based on the random number, gives a quote
switch ($num)
{
case 1:
echo "mock hazard perception test 2024";
break;
case 2:
echo "hazard perception test 2024";
break;
case 3:
echo "hazard perception 2024";
break;
case 4:
echo "free hazard perception test 2024";
break;
case 5:
echo "hazard perception test 2024 practice";
break;
case 6:
echo "theory mock test 2024";
break;
case 7:
echo "mock theory test 2024";
break;
case 8:
echo "hazard perception mock test 2024";
break;
case 9:
echo "online hazard perception test 2024";
break;
case 10:
echo "driving test show and tell questions 2024";
}
?>
"; }else{ $test_complete .="Question (1) is incorrect!
"; } // change the quest2 to the right answer if($quest2 == "4") { $test_complete .="Question (2) is correct, well done!
"; }else{ $test_complete .="Question (2) is incorrect!
"; } // change the quest3 to the right answer if($quest3 == "3") { $test_complete .="Question (3) is correct, well done!
"; }else{ $test_complete .="Question (3) is incorrect!
"; } // change the quest4 to the right answer if($quest4 == "3") { $test_complete .="Question (4) is correct, well done!
"; }else{ $test_complete .="Question (4) is incorrect!
"; } // change the quest5 to the right answer if($quest5 == "2") { $test_complete .="Question (5) is correct, well done!
"; }else{ $test_complete .="Question (5) is incorrect!
"; } // change the quest6 to the right answer if($quest6 == "3") { $test_complete .="Question (6) is correct, well done!
"; }else{ $test_complete .="Question (6) is incorrect!
"; } // change the quest7 to the right answer if($quest7 == "3") { $test_complete .="Question (7) is correct, well done!
"; }else{ $test_complete .="Question (7) is incorrect!
"; } // change the quest8 to the right answer if($quest8 == "1") { $test_complete .="Question (8) is correct, well done!
"; }else{ $test_complete .="Question (8) is incorrect!
"; } // change the quest9 to the right answer if($quest9 == "4") { $test_complete .="Question (9) is correct, well done!
"; }else{ $test_complete .="Question (9) is incorrect!
"; } // change the quest10 to the right answer if($quest10 == "2") { $test_complete .="Question (10) is correct, well done!
"; }else{ $test_complete .="Question (10) is incorrect!
"; } // change the quest11 to the right answer if($quest11 == "2") { $test_complete .="Question (11) is correct, well done!
"; }else{ $test_complete .="Question (11) is incorrect!
"; } // Now lets see if all the questions are correct, this must match the above quest settings if($quest1 == "3" & $quest2 == "4" & $quest3 == "2" & $quest4 == "2" & $quest5 == "3" & $quest6 == "3" & $quest7 == "2" & $quest8 == "1" & $quest9 == "1" & $quest10 == "3" & $quest11 == "2"){ $test_complete .="
free hazard perception test 14 clips :: Single White Line Road Rules :: Test Routes 2024-2024
mock theory hazard perception test :: arm signal to turn left :: theory test case study 2024
Motorcycle Theory Test Practice Questions 2024
mock motorcycle theory test motorcycle theory test mock motorcycle theory test practice mock bike theory test bike theory test practice motorbike theory test practice practice motorcycle theory test 2024 motorcycle mock theory test motorcycle theory practice
$page_title = "Uk-driving-test.com"; // If the form is submitted run the script if(isset($_POST['submit'])){ $quest1 = $_POST['quest1']; $quest2 = $_POST['quest2']; $quest3 = $_POST['quest3']; $quest4 = $_POST['quest4']; $quest5 = $_POST['quest5']; $quest6 = $_POST['quest6']; $quest7 = $_POST['quest7']; $quest8 = $_POST['quest8']; $quest9 = $_POST['quest9']; $quest10 = $_POST['quest10']; // Lets make sure that everything has been submitted if($quest1 == NULL OR $quest2 == NULL OR $quest3 == NULL OR $quest4 == NULL OR $quest5 == NULL OR $quest6 == NULL OR $quest7 == NULL OR $quest8 == NULL OR $quest9 == NULL OR $quest10 == NULL){ $test_complete .='Please complete the quiz! Go Back'; }else{ // change the quest1 to the right answer if($quest1 == "4") { $test_complete .="Question (1) is correct, well done!"; }else{ $test_complete .="Question (1) is incorrect!
"; } // change the quest2 to the right answer if($quest2 == "4") { $test_complete .="Question (2) is correct, well done!
"; }else{ $test_complete .="Question (2) is incorrect!
"; } // change the quest3 to the right answer if($quest3 == "3") { $test_complete .="Question (3) is correct, well done!
"; }else{ $test_complete .="Question (3) is incorrect!
"; } // change the quest4 to the right answer if($quest4 == "3") { $test_complete .="Question (4) is correct, well done!
"; }else{ $test_complete .="Question (4) is incorrect!
"; } // change the quest5 to the right answer if($quest5 == "2") { $test_complete .="Question (5) is correct, well done!
"; }else{ $test_complete .="Question (5) is incorrect!
"; } // change the quest6 to the right answer if($quest6 == "3") { $test_complete .="Question (6) is correct, well done!
"; }else{ $test_complete .="Question (6) is incorrect!
"; } // change the quest7 to the right answer if($quest7 == "3") { $test_complete .="Question (7) is correct, well done!
"; }else{ $test_complete .="Question (7) is incorrect!
"; } // change the quest8 to the right answer if($quest8 == "1") { $test_complete .="Question (8) is correct, well done!
"; }else{ $test_complete .="Question (8) is incorrect!
"; } // change the quest9 to the right answer if($quest9 == "4") { $test_complete .="Question (9) is correct, well done!
"; }else{ $test_complete .="Question (9) is incorrect!
"; } // change the quest10 to the right answer if($quest10 == "2") { $test_complete .="Question (10) is correct, well done!
"; }else{ $test_complete .="Question (10) is incorrect!
"; } // change the quest11 to the right answer if($quest11 == "2") { $test_complete .="Question (11) is correct, well done!
"; }else{ $test_complete .="Question (11) is incorrect!
"; } // Now lets see if all the questions are correct, this must match the above quest settings if($quest1 == "3" & $quest2 == "4" & $quest3 == "2" & $quest4 == "2" & $quest5 == "3" & $quest6 == "3" & $quest7 == "2" & $quest8 == "1" & $quest9 == "1" & $quest10 == "3" & $quest11 == "2"){ $test_complete .="
Congratulations, you got all the questions correct!
"; }else{ // If any of the questions are not correct lets tell them $test_complete .='Your not there just yet! Try again
'; }}} ?> if(!isset($_POST['submit'])){ ?>Mock Motorcycle Theory Test 2024
}else{ echo "Quiz Results
".$test_complete."
"; }?>
