Lab 6 – CS 101 Fall 1998
Assigned the week of October 26th in lab
Due the week of November 2nd in lab
Hand In: printouts from the exercises, the question sheet
Bring this page up in a web browser in order to follow links (e.g. to the information about the CIT scanners). It is linked to the lab web page for CS 101, and its URL is:
http://www.cse.buffalo.edu/~burhans/Courses1/CS101FALL98/lab6.html
Goals: use MS ClipArt and WordArt, gain some proficiency with the image and drawing tools available to you in Windows; learn how to put an image on your web page; get started with MS Excel.
ftp the image to your public_html directory in your ub
unix account;
(note that there must be space for the image or this won’t work, check how full your ubunix account is by logging in to it and typing quota –v, if there isn’t space check if there is anything you can delete – ask your TA for help. To ftp the image make sure you set the transfer mode to binary – that is, start ftp, open ubunix, and once you are logged in type bin at the ftp prompt. Then go ahead and ftp the image over. Use the put command. To use the put command type put and press enter, next to the prompt for local-file you can right click on the icon for your image and drag it into the ftp window and drop, this saves you the trouble of typing its name. Next to the prompt for remote-file make sure to give this image a name that works on the unix system (no spaces!!). If you need help with ftp, ask your TA.
make the image publicly readable;
do this by logging in to your ubunix account, changing into your public_html directory (cd public_html), type ls to make sure the image file is there, then type:
chmod a+rx myimage.gif
(where myimage.gif should be replaced by the name of your image file) to make this image publicly readable and executable
link the image to your web page
Add an image link to your web page to the image you just put in your account. The image tag looks like:
<img src = "myimage.gif"> where the text that appears between the quote marks is the URL of your image – note that if your image is in your public_html directory this need only be the name of the file containing the image (again, the word myimage should be replaced by the name you gave your image). If you are interested in image alignment, etc. you can check this web page: http://www.cse.buffalo.edu/~burhans/Courses1/CS101FALL98/colors.html that also contains information about colors.
Scanning in an image or copying an image off the web
The set of steps you followed to get this image onto your web page will be the same for any image. Some images you will capture directly as gif images from web pages (as you did for the picture of President Kennedy in the lab last week). Some images you may want to scan in – see the posted list of scanner locations in the Baldy 19 lab. Much information can be found on the CIT Scanner web information page. You should probably bring a floppy disk with you if you use the scanner. Note that you can save the picture in a variety of formats from the Adobe Photoshop program, a jpeg file format will most probably be too large to fit on your floppy disk, you should select gif if you are going to use the image on a web page.
5. Do the hands-on exercises 1 and 2 in chapter 1 of the MS Excel section of your book. Note the following:
If you are working in the lab, you will be using the Z drive, if you are working at home you will use the C drive, and if you are working in a public site you may want to use a floppy disk which would be the A drive.
The practice files you need can be ftp-d from here or if you are working in the lab you can copy them from Z:\burhans
Instructions for copying from Z:\burhans in the lab:
If you choose ftp you will be getting a large number of sample and practice spreadsheets, you will not be using very many of them for the book exercises. For instructions on ftp-ing a .exe file and extracting its contents, review material from the first lab -- starting on page 25 of the Prerequisites for Windows section of the Grauer book. Remember that when the book refers to the A or C drive, you will use the C drive.
Starting MS Excel can be easily accomplished from the Office toolbar
Make sure you read the chapter, it will help considerably with the exercises
You may want to change your office assistant character (orange box p 13)
For hands-on exercise 1 you will print out the worksheet
If you select Print Preview and you want to get out of it and return to the normal view of the spreadsheet, click the button that says close
NOTE again that the directions for finding the file you used will differ from the book because you will store your files as mentioned above, in the lab it is on the Z drive
If you see a message that a worksheet was created in a previous version of Excel and do you want to save in the new version say yes
For widening rows and columns, make sure your cursor looks like a black cross with arrows pointing right and left (for a column) or up and down (for a row), double click when you see this and you can drag to resize
Ctrl+`
(page 29 and others) means hold down the control key then type the backwards quote, which is on the key with the tilde. Note that you don’t type a plus sign, this is just the authors’ way of denoting a control key plus character.
On page 31 you will print two versions of the spreadsheet, one that displays formulas, one that does not.