-
Notifications
You must be signed in to change notification settings - Fork 0
/
MCQ_Quenching.php
136 lines (136 loc) · 7.37 KB
/
MCQ_Quenching.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?php session_start();
ini_set("display_errors","Off"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Virtual Lab-Dayalbagh Educational Institute</title>
<link rel="shortcut icon" type="image/x-icon" href="images/icon.ico">
<link href="css/main.css" rel="stylesheet" type="text/css">
<link href="css/dropdown.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/advanced.css" media="all" rel="stylesheet" type="text/css" />
<style type="text/css">
b{
font-family:Arial;
font-size:16px;
color:#0000FF;}
p{
font-family:Arial;
font-size:17px;
font-weight:bold;}
</style>
</head>
<body id="draggingDisabled" bgcolor="#FFFFFF">
<div id="header_main"></div>
<div id="header">
<ul class="dropdown dropdown-horizontal">
<?php
ini_set("display_errors","Off");
echo <<<EOQ
<li><a href="home.php">Home</a></li>
<li><a href="Quenching.php">Quenching</a></li>
<li class="dir"><a href="#">Simulations</a>
<ul>
<li><a href="QuenchingSimulation.php?https://www.youtube.com/embed/i3an_ZnDVQg">Quenching</a></li>
<li><a href="QuenchingSimulation.php?https://www.youtube.com/embed/q334Q9mS2_Q">Quenching with strain</a></li>
</ul>
</li>
<li><a href="MCQ_Quenching.php">Self Check Quiz</a></li>
EOQ;
?>
</ul></div>
<div style="background-image:url(images/content_bg.jpg); position: relative; margin:auto; width: 1024px; min-height:550px;">
<div style="padding-left:35px; padding-right:40px">
<center style="font-size:1.7em; font-weight:bold; color:#ff0000; text-decoration:underline; padding-top:10px;">
SELF CHECK QUIZ - QUENCHING</center><br>
<form method="post" action="MCQ_Quenching.php">
<p>Q1. What does C refers to in AC3 Temperature:</p>
<p>
(a) <input name="q1" type="radio" value="Chauffage" /><b>Chauffage</b>
(b) <input name="q1" type="radio" value="Chauffer" /><b>Chauffer</b>
(c) <input name="q1" type="radio" value="Critical" /><b>Critical</b>
(d) <input name="q1" type="radio" value="Condensing" /><b>Condensing</b></p><br /><br />
<p>Q2. Water cooling rate is _______ to critical cooling rate:</p>
<p>
(a) <input name="q2" type="radio" value="Higher" /><b>Higher</b>
(b) <input name="q2" type="radio" value="Lower" /><b>Lower</b>
(c) <input name="q2" type="radio" value="Equal" /><b>Equal</b>
(d) <input name="q2" type="radio" value="None of these" /><b>None of these</b></p><br /><br />
<p>Q3. TTT diagram refers to:</p>
<p>
(a) <input type="radio" name="q3" value="Trinidad Tobago Temperature" />
<b>Trinidad Tobago Temperature</b><br />
(b) <input type="radio" name="q3" value="Time Temperature Transformation" />
<b>Time Temperature Transformation</b> <br />
(c) <input type="radio" name="q3" value="Temperature Time Transformation" />
<b>Temperature Time Transformation</b><br />
(d) <input type="radio" name="q3" value="Transformation Temperature Time" />
<b>Transformation Temperature Time</b></p><br><br>
<p>Q4. Fast cooling results in formation of:</p>
<p>
(a) <input type="radio" name="q4" value="Pearlite" /><b>Pearlite</b>
(b) <input type="radio" name="q4" value="Austentite" /><b>Austentite</b>
(c) <input type="radio" name="q4" value="Martensite" /><b>Martensite</b>
(d) <input type="radio" name="q4" value="None of these" /><b>None of these</b></p><br><br>
<p>Q5. Slow cooling is carried out by:</p>
<p>
(a) <input type="radio" name="q5" value="Air" /><b>Air</b>
(b) <input type="radio" name="q5" value="Oil" /><b>Oil</b>
(c) <input type="radio" name="q5" value="Water" /><b>Water</b>
(d) <input type="radio" name="q5" value="Impossible" /><b>Impossible</b></p><br /><br />
<p>Q6. After Forging process ______is done:</p>
<p>
(a) <input type="radio" name="q6" value="Quenching" /><b>Quenching</b>
(b) <input type="radio" name="q6" value="Annealing" /><b>Annealing</b>
(c) <input type="radio" name="q6" value="Casting" /><b>Casting</b>
(d) <input type="radio" name="q6" value="Nitriding" /><b>Nitriding</b></p><br /><br />
<p>Q7. Maximum equivalent strains occur ______:</p>
<p>
(a) <input type="radio" name="q7" value="At Surface" /><b>At Surface</b>
(b) <input type="radio" name="q7" value="In Core" /><b>In Core</b>
(c) <input type="radio" name="q7" value="Same Everywhere" /><b>Same Everywhere</b>
(d) <input type="radio" name="q7" value="Does not occur" /><b>Does not occur</b></p><br /><br />
<p>Q8. Quenching improves:</p>
<p>
(a) <input type="radio" name="q8" value="Strength" /><b>Strength</b>
(b) <input type="radio" name="q8" value="Machinability" /><b>Machinability</b>
(c) <input type="radio" name="q8" value="Hardness" /><b>Hardness</b>
(d) <input type="radio" name="q8" value="Toughness" /><b>Toughness</b></p><br><br>
<p>Q9. What does CCC refers to:</p>
<p>
(a) <input type="radio" name="q9" value="Cubic Centimetre Cube" /><b>Cubic Centimetre Cube</b>
(b) <input type="radio" name="q9" value="Cooling Continuous Curve" /><b>Cooling Continuous Curve</b>
(c) <input type="radio" name="q9" value="Curve of continuous cooling" /><b>Curve of continuous cooling</b>
(d) <input type="radio" name="q9" value="None of these" /><b>None of these</b></p><br><br>
<p>Q10. The maximum temperature in the video is indicated by:</p>
<p>
(a) <input type="radio" name="q10" value="Red" /><b>Red</b>
(b) <input type="radio" name="q10" value="Green" /><b>Green</b>
(c) <input type="radio" name="q10" value="Blue" /><b>Blue</b>
(d) <input type="radio" name="q10" value="Yellow" /><b>Yellow</b></p><br>
<center><input name="Send" type="submit" id="Send" value="Submit" />
<input name="Reset" type="reset" id="Reset" value="Reset" />
<?php
if(isset($_POST["Send"])){
$answers = array($_POST['q1'], $_POST['q2'], $_POST['q3'], $_POST['q4'], $_POST['q5'], $_POST['q6'],
$_POST['q7'], $_POST['q8'], $_POST['q9'], $_POST['q10']);
$_SESSION['answer'] = $answers;
echo '<script language="javascript">window.location = "Ans_Quenching.php";</script>';
}
//Opening file to get counter value
$fp = fopen ("counter.txt", "r");
$count_number = fread ($fp, filesize ("counter.txt"));
fclose($fp);
$counter = (int)($count_number) + 1;
$count_number = (string)($counter);
$fp = fopen ("counter.txt", "w");
fwrite ($fp, $count_number);
fclose($fp);
?>
</center></form>
</div></div>
<div id="footer">
© Metal Forming Virtual Simulation Lab - Dayalbagh Educational Institute (www.dei.ac.in)
</div>
</body>
</html>