MCS-177 Project: Getting Started

MCS 177: Computer Science I, Spring 2003
Recommended preparation and schedule

Introduction

The purpose of this project is to familiarize you with our computer facilities and with simple programming in Scheme. You will also learn how to use the web browser Netscape (if you don't already know) in order to access course materials. You do not need to hand anything in and you will not be graded on your work (except if you choose to work in part on your first homework).

The project itself consists of a number of tasks which will help familiarize you with the computers we will be using in this course. In this course we will be using computers running the Linux operating system with an XWindows-based user interface.

Although we assume in the following that you have never logged into this type of computer, it has a reasonably intuitive user interface. Therefore, rather than explaining how to do each task in gory detail, we will simply give you the tasks together with some optional explanations you can refer to if you find the tasks obscure or otherwise difficult. However, we encourage you to try to figure out how to do the tasks on your own. When that doesn't work, don't be shy: ask!

Resources

The classroom/lab we will be using for the lab sessions (Olin 326) consists of Linux workstations which are part of the campus-wide computer network.

There is a printer in the small room adjoining the classroom/lab. Its name is mcslab, so if you need to select a printer to print to, that is the one you should use when in the third-floor Olin computer labs.

Your computer account (username and password) for these computers is the same as for normal campus computers, email, etc. It does not matter which workstation you log into; you will have access to all your files on all computers, since they are stored on a central file server.

In lab

  1. Login to a Linux workstation.

  2. Launch Netscape.

    Netscape is the same web browser that is supported on other platforms at Gustavus. You'll need to use it to access information. In particular, there is a web page for this course.

    You will see a bar across the bottom of the screen, which is your toolbar. On the left side there is a button with a K on it. (screen image). That is your "K menu", similar to the "start menu" on Windows. Click on the K to bring up a list of sub-menus. The Application menu contains most of the applications that you will need for this course. Click on the Applications menu and then on the Netscape sub-item to start Netscape. You may need to wait for several seconds until Netscape starts. If this is the first time have used the current version of Netscape on this system, a window will pop up describing the license agreement you must accept in order to use Netscape. After reading through and (presumably) accepting that agreement, the Netscape window will pop up.

  3. Use Netscape to access the Gustavus and course homepages.

    Locate the Gustavus Adolphus College homepage by entering http://www.gustavus.edu/ in the Location box and pressing Enter. Since you may not want to remember this address for next time, select "Add Bookmark" under the Bookmarks menu. Next time you want to find the Gustavus homepage, select "Gustavus Adolphus College" under the Bookmark menu.

    The course homepage (which you should also bookmark) is located at:

       http://www.gustavus.edu/~mc27/2003S/
    

  4. Become familiar with the directory structure.

    The campus computers (including these Linux workstations) share a tree-structured file system. This means that the files on the computers are located in directories (also known as folders), which may themselves include files and subdirectories, which may contain files and other subdirectories, ....

    Following are some tasks which will help you learn how to view and manipulate the directory structure using the windowing system on the Linux computers.

  5. Start up DrScheme and play around.

    Click on Using DrScheme to program in Scheme for some tasks that will help you learn how to run Scheme in the DrScheme programming environment.

  6. When you are finished, quit DrScheme and then logout.

    A panel will pop up asking whether you really want to quit. (If you modified the definition window more recently than you saved it, you'll be asked about it as well.) You can then logout.

    To logout click on the logout icon near the right-hand side of the toolbar at the bottom of the screen. It looks like this: (screen image).

Follow-up

The Linux workstations are general purpose computers that have a wide range of applications, including word processors, electronic mail, mathematical applications (Maple), and programming tools, to name just a few. As long as you remain a responsible user, you are welcome to use these applications as you please for other academic purposes. However, if you are working on something other than a math or computer science project, and all the machines fill up, please give your machine up for a student working on math or computer science. That way, with a little common courtesy, we can get the maximum benefit out of these facilities and still respect the fact that they've been funded for use in mathematics and computer science.

One problem you will encounter is how to make yourself aware of all of the applications available to you. This is a rather daunting task, and one which we will not directly address in this course. Instead, we suggest that you make use of the main source of useful computer arcana and trivia we have found, namely your fellow computer users. We are always learning new things from our students. So don't be shy!