GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
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 : |
<? // CST1794/Lab07.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 = "7"; $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 ' Lab07 ' Write a computer program to: '1. Output the lines as directed by the print statements below. ' Only output the odd numbered lines (1st,3rd, and 5th). Even numbered lines (2nd and 4th) should not be displayed. ' You may not change the order of lines in the program, but may only add labels and GOTO statements to correct the output. ' Do not separate any PRINT statement from the assignment statement that follows it. myNumber = 1 PRINT "Display this line 3rd. myNumber=";myNumber myNumber = myNumber+1 PRINT "Display this line 2nd. myNumber=";myNumber myNumber = myNumber+1 PRINT "Display this line 1st. myNumber=";myNumber myNumber = myNumber+1 PRINT "Display this line 5th. myNumber=";myNumber myNumber = myNumber+1 PRINT "Display this line 4th. myNumber=";myNumber myNumber = myNumber+1 END </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>Lab07</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'); ?>