Windows Operating System

This page is an introduction to the Windows Operating System and  the skills that you will need to use it for programming. Other Microsoft operating systems (Windows NT, XP, 95/98, Millenium, etc.) operate similarly. At the beginning of the course, when we are just starting to learn programming, practice these skills repeatedly, until they become intuitive. Because there are just a few skills, and because you will use these same skills over and over again while taking this course, you will soon master them.

The Windows 2000/NT Operating System

Windows 2000 is built on the older, more well known Windows NT Operating system (OS). Both are a 32 bit, multitasking OS. Version 1.0 of Windows NT was released in 1994. Its initial size was 6 millions lines of code, which cost Microsoft $150 million. Windows 2000 (the successor to Windows NT) is estimated to contains 50 million lines of code.


Windows Terminology

Here are a few important terms that you must know to be able to understand the rest of the information on this page.

Desktop
The entire screen, which contains the Task Bar, Icons, and Windows.

Task Bar
The horizontal bar that appears at the bottom of the Destktop. It always contains the Start Button and buttons for any minimized applications.

Start Button
The button that appears on the left of the Task Bar.

Icons
Pictures with names underneath: e.g., My Computer which is typically in the upper left hand corner of the Screen. Icons represent applications (that you can run) files (data for applications that you can run) or Folders (repositories for files that you can examine) by Double Clicking.

Miscellaneous Operations

Renaming Folders and Files

To rename a folder or file (if it is a file with an extension, the extension should remain the same: you will be warned if you accidentally change it); The folder or file should now have the name that you typed.


Enabling Scrolling in the Java Console Window

Java programs often input/output text in the console window. If scrolling is enabled on these windows, you can look at all the text printed. On some Windows operating systems (e.g., Windows 2000), this is the default (300 lines); on others (e.g., Windows NT) you must follow the instructions below. To allow [more] scrolling in this window, so that you can see a [longer] history of all your program's input/output, perform the following steps (you may have to perform these steps each time that you log on): The console window should now be scrollable (you should see the scrolling tab along the right border of the window)
Viewing File Extensions
File extensions are the the part of the file name after the period (e.g., the mcp in project.mcp or the java in Application.java). It is often very useful to be able to see both file names and extensions. On some Windows operating systems (e.g., 2000), this is the default; on others (e.g., NT) you must follow the instructions below. You should now be able to see the extensions of all files.

Using Windows Machines in Campus Clusters

Logging On

The following instructions are for logging onto any machine running Windows 2000 in CMU's Clusters; these include WeH 5204 (40 machines), WeH 5205 (12 machines), Cyert 100 (25 machines), and Baker 140 CEF (70 machines). You can do coursework from machines in any of these clusters.


Logging Off

When you are finished working on a cluster machine, you should always log off. Before logging off, make sure to backup (via Andrew) all your files that contain useful information. Then ...