Lab 1: Introduction to Windows Environment and Compiler

Purposes

  1. Create a student account.
  2. Be familiar with the login process.
  3. Get to know basic comments and operations in Windows environment.
  4. Get to know the basic functions of the editor.
  5. Get to know the compile and execution process.

Instruction

1. Login the computer use the guest account:
   username: guest
   password: guest

2. Open a web browser - Internet Explorer, by double clicking on the Internet Explorer icon on the left corner of the desktop, and go to the web address: http://enterprise.cis.umassd.edu/php/newaccount.html, type the information, and create an account for yourself. Remember the username and password. You need use them every time when you login the computer.

3. Wait a few moment .... while your account is created.

4. Log out the guest account.

5. Log in the computer again use your username and password, which you just created.

6. Go to Start -> My computer, double click on the network drive (Z:), click on the right button on the mouse and select New -> Folder. Name this folder CIS261. In this folder, create a new folder named lab1.

7. Open a web browser - Internet Explorer, and go to http://www.cis.umassd.edu/~x2zhang/courses/CIS261/links.html (bookmark this page), follow the lab 1 link, now you can see this instruction online.

8. Open an editor: Start -> All Programs -> Accessories -> Notepad

9. Get this sample code file, copy and paste the code into the Notepad window, and save it as "FIG1-8.F90" (with the double quotes) on your local machine Z: drive in the folder CIS261/lab1.

Note: Notepad will add ".txt" to the file name by default, to avoid this, when you save the file, just put the file name in double quotes, e.g. "FIG1-8.F90" will save the file as  FIG1-8.F90 with no .txt extension.

10. Start a terminal window, by clicking on  the Cygwin icon on the desktop.

11. In the terminal window
12. Edit the program FIG1-8.F90, so it prints out the following information in the beginning of the execution: "This program calculates the amount of a radioactive substance that remains after a specified time". Save the file. Redo the compile and execution process and show the result to the instructor.

13. You are DONE!

Extra Exercise

Try step 9-11 with another sample code, use the name "hello.F90".