September 27, 1999
Purpose: This assignment will help you become familiar with the Introductory Programming Laboratory (IPL), the course web, and most of the tools you'll be using throughout the semester. It will also give you a feel for how our homework assignments are written, turned in, and graded.
Grading: You'll find there are two parts to the homework, A and B, with different due dates. All of Homework #0B but only portions of Homework #0A will actually be graded. But please do all parts of it anyway. Many of the homework assignments will have lengthy instructions. Sometimes the important stuff is buried deep within them. Get in the habit of reading the instructions carefully:
Spending an hour or so getting familiar with the lab and Windows software will be time well spent. You can easily waste more time than this spread over the quarter by being unfamiliar with these tools, and you'll be too busy later to find an hour, so do it today! This applies to experienced Macintosh users, too: many Mac people have said they found switching to PCs to require much more attention than anticipated.
Computer basics: Are you a complete novice to computers? Before sitting down to work, it would be good to review section 1.2 of the textbook ("Introduction to Computer Hardware") and be sure you understand all the terms it uses.
Do you have to use the IPL? No, you may be able to work at home. See the 142 homepage for pointers about that. Even so, it is good to have a backup in case something happens to your own computer, so take a little time at least to locate the IPL and find out how to use it -- just in case.
Find the lab: The Introductory Programming Lab (IPL) is located in Sieg 323. It's expected to be open every day when the building is open, for a total of about 100 hours per week (the schedule is on the Web). When you go into the lab, remember to carry your student ID -- you will give your ID to the operator at the front desk to be assigned a machine to work on. All of the PCs have identical hardware and software.
Try to do and understand everything on this sheet (at least). Don't be afraid to ask for help! The operator at the front desk usually can't leave the work area to help you. If there is a 142 consultant on duty (the operator can tell you if there is), you can contact that person for help (the operator can tell you how). No consultant? Ask the person sitting next to you! It's probably a classmate working on the same assignment. This is also a good way to meet new people. Also, don't be afraid to offer help if you notice someone cursing under their breath. There will be times when you will feel the same way and wish that someone would offer to help you.
Windows basics: Windows checklist. You need to understand all of these concepts or operations to use Windows effectively: desktop, mouse, left & right mouse buttons, click, drag, icon, "start" button, open (application), minimize, maximize, close (window or application), pull-down menu, scroll-bar, dialog box, Windows Explorer, folders/files, shut down.
Try using the Windows Explorer to find out what files are on the hard drive (C: drive). Note the difference between a folder (directory) and a file. Open some folders to see what is inside them.
By the way, if you create files on an IPL hard drive, they will be deleted automatically when the system is restarted. Bring a 3.5" floppy disk if you want to save files.
Browsers: Netscape and Internet Explorer (IE) are "browsers," that is, programs which can display files from the World Wide Web. There are commercial browsers other than these two, and their operation is similar. We will use the Web to communicate with the class, to distribute handouts, to distribute homework files, and to turn in homework.
There should be an icon for Netscape or IE on the desktop (on computers outside the IPL, the icon might be in a folder somewhere that must be opened first). From your Windows exploration in the previous step, you know that you can open the browser by double-clicking its icon. Do that, and see what happens.
Try connecting to the course Web site (http://www.cs.washington.edu/education/courses/142/). Try clicking on "active links" (underlined and in color) to see what happens. Practice using the "Back" button to return from one site to the previous one.
This Homework #0 is actually on the Web. See if you can find it! If you can find it, see if you can figure out how to print a copy of it. (Hint: look at the File menu of Netscape or IE.) The printout is sent to a printer near the operator's station; you can go there to claim it.
Try going to a couple of fun sites. There are thousands of them! Here are a few:
Seattle Mariners Official Home Page: http://www.mariners.org/mariners.home.html
CSE Seattle region things to do: http://www.cs.washington.edu/area/
The Internet Movie Data Base (try "search" to find a movie you are interested in): http://www.imdb.com/
http://huskysearch.cs.washington.edu This is "Husky Search." Use this as a starting point to find information about UW or the world. For example: can you find out the latest news about UW's basketball teams? And who could you take bassoon lessons from on campus? Further afield, can you find out what is the current exchange rate of the Yen vs. the Dollar?
Microsoft Visual C++ (MSVC): If you can tear yourself away from the Web, try opening up this application. Here's how to do it in the IPL (but on computers outside the IPL, you might have to locate the icon another way): click the "Start" button, then select "Programs", then "Microsoft Visual C++ 6.0", and finally "Microsoft Visual C++ 6.0" again. Just open it, maybe try a few buttons, and close it. Don't worry, you don't have to understand anything about it yet. For the next assignment, you will have to use MSVC to get a C program to actually run. It is an industrial-strength system (i.e., complicated), but we'll need to use only parts of it.
Telnet and mail: To be completely connected in the class, you need to use e-mail. Chances are you already have an e-mail account, so you can skip this section. If you don't, it may at first seem a little complicated, because another set of computers is involved. Your TA can answer about this in quiz section, but you should try to get connected right away. Don't be afraid to ask for help.
The concept is this: e-mail messages are sent from and received at a number of designated computers on campus. Most undergraduates read e-mail from a machine named "dante." You must have a "UW NetID" that will allow you to log in to dante (and use many other UW computing resources as well). Here are directions for obtaining a UW NetID. Once you have your UW NetId, you should learn how to use email at the UW.
You can connect with dante or other computers from a PC in the IPL by using a type of service called telnet; the particular telnet program we use is called CRT Telnet. To open this program, click on the start button and select "Programs", then "Communications", then "UWICK Applications", and finally "Student email (dante)".
CRT Telnet will try to open a path to dante; if it succeeds, you'll be asked for a "login" (account name). The first time you do this, you won't have an account, of course. Use the special name "new" (leave out the quotes) and you'll get a series of questions to answer. If everything is successful, you will have an account and password to use from then on. Don't forget your password! It can be a major hassle to get a new one. And don't let anyone else know your password under any circumstances. You are responsible for all use made of the account.
Once you are on dante, you can select "electronic mail" from the menu by typing a character. Dante runs the UNIX operating system, and because of that and because of the nature of the connection from your PC to dante, you won't be able to use the mouse while connected. Everything has to be done through the keyboard.
The e-mail program is called pine. It is used world-wide probably by millions of people, but originated right here at UW. You can use it to send and receive e-mail all over the Internet, that is, all over the world. There is no individual cost or charge to you. All you need to know is the e-mail address of the person you are sending to. And you need to know your e-mail address so you can give it to other people. Your address will be your home login name, followed (no spaces) by @u.washington.edu
E-mail practice: figure out your e-mail address and exchange it with someone in the class (anybody! it doesn't have to be your best friend). Then you can practice sending, receiving, and replying to messages. As you get familiar with the system, you will discover all kinds of shortcuts.
Once you are hooked on e-mail, you will want to check it every day. You don't have to come to the IPL for this purpose. There are many computing sites around campus where you can use Netscape and connect to dante for e-mail. They may have quite different procedures, however, so you may need to spend a little time getting familiar with each site. It's also possible to connect from home.
On to the Treasure Hunt. If you've read this far, your reward is not far off. The Treasure Hunt is the rest of part 0A. Then go on and do part 0B.