Date: Mon, 11 Nov 1996 17:56:26 GMT Server: NCSA/1.5 Content-type: text/html Last-modified: Wed, 15 May 1996 23:12:52 GMT Content-length: 14164 CS 110 Section 2 Home Page

Problem Solving Exercises

One of the most important skills you will learn in this class is problem solving. Good problem solving skills distinguish a "good" computer programmer from a "bad" one - it doesn't matter how familiar or skilled you are in a particular programming language, if you do not understand how to solve the problem then you will not be able to write a computer program for it in any language.

To help you learn problem solving skills and techniques I will assign weekly problem solving exercises. These will be small but non-trivial problems which I will give out each Monday. You should look at the problem and think about it during the week and right down the steps you would go through to solve the problem; i.e. the overall structure of your program. This is primarily an exercise in general problem solving so you do not have to write any FORTRAN code (though you may if you want to and have time) and your solution/algorithm should not even be dependent on a particular programming language such as FORTRAN. We will go over the solution in class the following Monday.

Exercises:

  1. Week 2: Question 16, Pg. 89. Click here for the solution.
  2. Week 3: Question 4, Pg. 147. Click here for the solution.
  3. Week 4: Question 13, Pg. 218. Click here for the solution.
  4. Week 5: Question 6, Pg. 269. Click here for the solution.
  5. Week 6: Question 10, Pg. 329 (subroutines) - click here for the solution; Question 11, Pg. 330 (functions) - click here for the solution.
  6. Week 7: Question 8, Pg. 401. Click here for the solution.

Computer Lab

You will be using the Vectra lab in Rm. 1350 Computer Science & Statistics containing Hewlett-Packard Vectra's running Microsoft Windows and Microsoft FORTRAN. This lab is open from 7:00 am to 1:00 am seven days a week except certain holidays. The printer room is located across the hall in Rm. 1359.

You may also use your home or dorm computers to write your programs, however you will probably have to purchase your own copy of Microsoft FORTRAN or Lahey Personal FORTRAN (see the inside cover of the textbook). You may also work in any of the other computer labs on campus, however most do not have FORTRAN compilers (please see me first before using the CAE lab).

The software you will be using in the lab includes:


Other Pointers of Interest


Copyright © 1996 Gareth S. Bestor (bestor@cs.wisc.edu). Last modified May 1, 1996.