Computer based test(CBT)

by 2 replies
3
Hi guys, i have being creating this CBT application with php and mysql. So far i can output the questions from database.
How do mark the exam and output the score when the user hit the submit button.I wrote a page to process the submitted radio buttons(i.e selected answers by users).


<?php

session_start();
$who=$_SESSION['user'];
require'cbt.php';
echo $_SESSION['user'];
echo'<br/>';
echo'<i>You have answered a total of <strong>'. count($_POST).'</strong> questions</i>';
echo'<br/>';


?>
How do i write the php script that will check the submitted answers against the correct answers from the database.
#programming #based #computer #testcbt
  • Instead of writting ur own script try free course management php script
  • can we creat CBT in Java language aslo.....?

Next Topics on Trending Feed

  • 3

    Hi guys, i have being creating this CBT application with php and mysql. So far i can output the questions from database. How do mark the exam and output the score when the user hit the submit button.I wrote a page to process the submitted radio buttons(i.e selected answers by users).