<?php include ('header.php'); ?>
<?php include('session.php'); ?>
<?php include ('navbar.php'); ?>
<head>
</head>
<!-- SUBMIT (PERFORM THE RESULT)-->
<?php
error_reporting(E_ALL ^ E_NOTICE);
$title = "Quiz Results";
echo "<title>$title</title>";
if (isset ($_POST['cmdSubmit'])) {
$q1 = $_POST['q1'];
$q2 = $_POST['q2'];
$q3 = $_POST['q3'];
$q4 = $_POST['q4'];
$q5 = $_POST['q5'];
$q6 = $_POST['q6'];
$q7 = $_POST['q7'];
$q8 = $_POST['q8'];
$q9 = $_POST['q9'];
$q10 = $_POST['q10'];
}
$score = 0;
//condition statement for scoring:
//$question is the question that is answered item will appear
// the only answered
if ($q1 == "D") {
$score1 = 1;}
elseif ($q1 == "A"){
$score1 = 0;}
elseif ($q1 == "B"){
$score1 = 0;}
elseif ($q1 == "C"){
$score1 = 0;}
elseif ($q1 == ""){ $ans1 ="";
$score1 = 0;
}
if ($q2 == "B") {
$score2 =1;}
elseif ($q2 == "A"){
$score2 =0; }
elseif ($q2 == ""){ $ans2 = "";
$score2 =0; }
elseif ($q2 == "C"){
$score2=0;
}
elseif ($q2 == "D"){
$score2=0;
}
if ($q3 == "C") {
$score3 =1;}
elseif ($q3 == "A"){
$score3 =0; }
elseif ($q3 == "B"){
$score3 =0; }
elseif ($q3 == ""){ $ans3 = "";
$score3=0; }
elseif ($q3 == "D"){
$score3=0;
}
if ($q4 == "A") {
$score4 =1;}
elseif ($q4 == ""){ $ans4= "";
$score4 =0; }
elseif ($q4 == "B"){
$score4 =0; }
elseif ($q4 == "C"){
$score4=0; }
elseif ($q4 == "D"){
$score4 =0; }
if ($q5 == "D") {
$score5 =1;}
elseif ($q5 == "A"){
$score5 =0; }
elseif ($q5 == "B"){
$score5 =0; }
elseif ($q5 == "C"){
$score5=0; }
elseif ($q5 == ""){ $ans5= "";
$score5 =0; }
if ($q6 == "A") {
$score6 =1;}
elseif ($q6 == ""){ $ans6= "";
$score6 =0; }
elseif ($q6 == "B"){
$score6 =0; }
elseif ($q6 == "C"){
$score6=0; }
elseif ($q6 == "D"){
$score6 =0; }
if ($q7 == "B") {
$score7 =1;}
elseif ($q7 == "A"){
$score7 =0; }
elseif ($q7 == ""){ $ans7= "";
$score7 =0; }
elseif ($q7 == "C"){
$score7=0; }
elseif ($q7 == "D"){
$score7 =0; }
if ($q8 == "B") {
$score8 =1;}
elseif ($q8 == "A"){
$score8 =0; }
elseif ($q8 == ""){ $ans8= "";
$score8 =0; }
elseif ($q8 == "C"){
$score8=0; }
elseif ($q8 == "D"){
$score8=0; }
if ($q9 == "B") {
$score9 =1;}
elseif ($q9 == "A"){
$score9 =0; }
elseif ($q9 == ""){ $ans9= "";
$score9 =0; }
elseif ($q9 == "C"){
$score9=0; }
elseif ($q9 == "D"){
$score9=0; }
if ($q10 == "D") {
$score10 =1;}
elseif ($q10 == "A"){
$score10 =0; }
elseif ($q10 == "B"){
$score10 =0; }
elseif ($q10 == "C"){
$score10 =0; }
elseif ($q10 == ""){ $ans10= "";
$score10=0;
}
// code to generate the total score..... n_n
$Logic = $score + $score1 + $score2 + $score3 + $score4 + $score5 + $score6 + $score7 + $score8 + $score9 + $score10;
{
//trial
$conn = new mysqli('localhost','root','','caesfinal');
if ($conn->connect_error)
{
die ("Conenction Failed: ". $conn->connect_error);
}
$sql = "UPDATE score set logic='$Logic' WHERE examinee_id='$session_id' ";
if($conn->query($sql)===TRUE)
{
}else
{
echo "error:" .$sql . "<br>" .$conn->error;
}
$conn->close();
}
?>
<!--
<form action="answer_question9.php" method="post">
<!?php
if (isset($_POST['cmdSubmit'])) {
}
?>
<input type="hidden" name="logic" method="post" id="cmdSubmit" value="<!?php echo $Logic;?>"/>
</form>
-->
<body>
<table align="center" cellpadding="0" bgcolor="#FFFFFF" width="800" border="0">
<tr>
<table width="80%" align="center">
<tr><td>
<center><h2><u> INTEREST QUESTIONS</u><h2></center>
<center><h2><u> PART 1 </u><h2></center>
<form action="Interest_answer.php" method="post">
<?php
if (isset($_POST['cmdSubmit'])) {
}
$n = 10; // this is the declaration of the total item on your quiz and array is used as a sttorage of //the question in order to display it in random
$links=array(' Keep accurate records in an account book of money received and spent?<br><br>
<input type="radio" name="q1" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" name="q1" value="Dislike">Dislike<br>
<input type="radio" name="q1" value="Nuetral">Nuetral<br>
<input type="radio" name="q1" value="Agree">Agree<br>
<input type="radio" name="q1" value="Strongly Agree">Strongly Agree</p>',
'Add figures on an adding machine or do problems with the help of a comptometer or calculator?<br><br>
<input type="radio" name="q2" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" name="q2" value="Dislike">Dislike<br>
<input type="radio" name="q2" value="Nuetral">Nuetral<br>
<input type="radio" name="q2" value="Agree">Agree<br>
<input type="radio" name="q2" value="Strongly Agree">Strongly Agree</p>',
' Make an inventory or list of good in a store or warehouse, keeping track of everything goes in or out? <br><br>
<input type="radio" name="q3" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" name="q3" value="Dislike">Dislike<br>
<input type="radio" name="q3" value="Nuetral">Nuetral<br>
<input type="radio" name="q3" value="Agree">Agree<br>
<input type="radio" name="q3" value="Strongly Agree">Strongly Agree</p>',
' Handle money, make change, and figure bank balance?<br><br>
<input type="radio" name="q4" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" name="q4" value="Dislike">Dislike<br>
<input type="radio" name="q4" value="Nuetral">Nuetral<br>
<input type="radio" name="q4" value="Agree">Agree<br>
<input type="radio" name="q4" value="Strongly Agree">Strongly Agree</p>',
' Keep everything in order on shelves, in files, drawers, boxes, etc? <br><br>
<input type="radio" name="q5" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" name="q5" value="Dislike">Dislike<br>
<input type="radio" name="q5" value="Nuetral">Nuetral<br>
<input type="radio" name="q5" value="Agree">Agree<br>
<input type="radio" name="q5" value="Strongly Agree">Strongly Agree</p>',
' Use typewriter for a transcription or copy work?<br><br>
<input type="radio" name="q6" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" name="q6" value="Dislike">Dislike<br>
<input type="radio" name="q6" value="Nuetral">Nuetral<br>
<input type="radio" name="q6" value="Agree">Agree<br>
<input type="radio" name="q6" value="Strongly Agree">Strongly Agree</p>',
' Use shorthand or the Stenotype to take dictation?<br><br>
<input type="radio" name="q7" value="Strongly Dislike">Strongly Dislike<br>
<input type="radio" nam
没有合适的资源?快使用搜索试试~ 我知道了~
CAES.rar_expert_expert system php
共921个文件
png:369个
js:243个
php:145个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 63 浏览量
2022-09-23
17:54:37
上传
评论
收藏 13.21MB RAR 举报
温馨提示
Career Assessment Expert System
资源推荐
资源详情
资源评论
收起资源包目录
CAES.rar_expert_expert system php (921个子文件)
Changelog 5KB
samples.css 67KB
01.ui.css 51KB
01.ui.css 51KB
theme_default.css 49KB
theme_dark.css 48KB
style.css 48KB
editor_ie7.css 33KB
editor_iequirks.css 31KB
editor_ie8.css 31KB
editor_ie.css 31KB
editor_gecko.css 30KB
editor.css 30KB
dialog_ie7.css 15KB
dialog_ie8.css 14KB
dialog_iequirks.css 14KB
dialog_ie.css 14KB
dialog.css 13KB
02.misc.css 10KB
02.misc.css 9KB
codemirror.css 8KB
dataTables.bootstrap.css 8KB
dt.css 8KB
sample.css 5KB
000.base.css 2KB
outputxhtml.css 2KB
contents.css 2KB
base.css 2KB
fontello.css 2KB
toolbar.css 1KB
wsc.css 1KB
neo.css 851B
show-hint.css 700B
999.agent.css 182B
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regulard41d.eot 14KB
fontello.eot 5KB
outputforflash.fla 84KB
tb_emp.frm 9KB
loading.gif 6KB
spinner.gif 3KB
loading.gif 2KB
.gitignore 41B
LICENSE.GPL 34KB
upload.htaccess 617B
.htaccess 617B
.htaccess 50B
.htaccess 50B
.htaccess 50B
.htaccess 50B
.htaccess 50B
.htaccess 50B
.htaccess 50B
.htaccess 49B
datafiltering.html 46KB
index.html 15KB
inlineall.html 10KB
outputforflash.html 10KB
toolbar.html 9KB
magicline.html 8KB
fullpage.html 8KB
jquery.html 7KB
dialog.html 7KB
outputhtml.html 7KB
api.html 7KB
xhtmlstyle.html 7KB
replacebyclass.html 7KB
replacebycode.html 7KB
index.html 7KB
inlinebycode.html 6KB
index.html 6KB
inlinetextarea.html 5KB
divreplace.html 5KB
uilanguages.html 4KB
enterkey.html 4KB
readonly.html 3KB
ajax.html 3KB
uicolor.html 3KB
tabindex.html 2KB
appendto.html 2KB
tmpFrameset.html 2KB
ciframe.html 2KB
favicon.ico 1KB
cs1.jpg 905KB
Chrysanthemum.jpg 859KB
Desert.jpg 826KB
Koala.jpg 763KB
Penguins.jpg 760KB
Jellyfish.jpg 758KB
Tulips.jpg 606KB
Hydrangeas.jpg 581KB
computer3.jpg 577KB
computer5.jpg 562KB
computer4.jpg 554KB
Lighthouse.jpg 548KB
computer2.jpg 510KB
cs.jpg 477KB
banner1.jpg 421KB
banner.jpg 317KB
banner5.jpg 161KB
共 921 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
局外狗
- 粉丝: 67
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功