Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
799 changes: 510 additions & 289 deletions src/lab/exp1/Quizzes.html

Large diffs are not rendered by default.

466 changes: 267 additions & 199 deletions src/lab/exp10/Quizzes.html

Large diffs are not rendered by default.

52 changes: 24 additions & 28 deletions src/lab/exp10/quizresults.php
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
<?php


$total=0;
$total = 0;

$Q1 = $_POST['Q1'];
$Q2 = $_POST['Q2'];
$Q3 = $_POST['Q3'];
$Q6 = $_POST['fib1'];

echo "You answered the following questions correctly : ";
if ($Q1==1)
{
$total=$total+1;
echo "1 ";
echo 'You answered the following questions correctly : ';
if ($Q1 == 1) {
$total = $total + 1;
echo '1 ';
}
if ($Q2==1)
{
$total=$total+1;
echo "2 ";
if ($Q2 == 1) {
$total = $total + 1;
echo '2 ';
}
if ($Q3==3)
{
$total=$total+1;
echo "3 ";
if ($Q3 == 3) {
$total = $total + 1;
echo '3 ';
}
if ((strcasecmp($Q4,"practical")==0)){
$total= $total+1;
echo "4 ";
$correctQ4 = 'practical';
if ((strcasecmp($Q4, $correctQ4) == 0)) {
$total = $total + 1;
echo '4 ';
}
echo "\n\n\n\n";
echo "<html>
<head></head>";
echo "<body class=\"page_bg\">";
echo '
<html>
<head></head>
<body class="page_bg">';

echo "<br>Total number of correct answers : ".$total."/4";
echo '<br>Total number of correct answers : '.$total.'/4';

echo ' <h2>Correct Answers</h2>
<br>
Expand Down Expand Up @@ -61,10 +60,7 @@
</pre>
Make the approximation worse<br>
<br>
<li><b> An approximate solution may be as good as the accurate solution for <input type="text" name="fib1"> purposes.</b></li><br><br>



</ol>';
echo "</body></html>";
?>
<li><b> An approximate solution may be as good as the accurate solution for "practical" purposes.</b></li><br><br>
</ol>
</body>
</html>';
410 changes: 230 additions & 180 deletions src/lab/exp7/Experiment.html

Large diffs are not rendered by default.

398 changes: 223 additions & 175 deletions src/lab/exp7/Feedback.html

Large diffs are not rendered by default.

410 changes: 230 additions & 180 deletions src/lab/exp7/Further Readings.html

Large diffs are not rendered by default.

417 changes: 235 additions & 182 deletions src/lab/exp7/Introduction.html

Large diffs are not rendered by default.

408 changes: 229 additions & 179 deletions src/lab/exp7/Manual.html

Large diffs are not rendered by default.

416 changes: 233 additions & 183 deletions src/lab/exp7/Objective.html

Large diffs are not rendered by default.

429 changes: 242 additions & 187 deletions src/lab/exp7/Procedure.html

Large diffs are not rendered by default.

540 changes: 319 additions & 221 deletions src/lab/exp7/Quizzes.html

Large diffs are not rendered by default.

440 changes: 247 additions & 193 deletions src/lab/exp7/Theory.html

Large diffs are not rendered by default.

Loading