CS 205 - Programming for the Sciences
Spring 2008 - Exam 1 Review Sheet


Exam 1 will be on Thursday, February 14. It is a practical exam. This means that you will be asked to write actual programs similar to the in-class exercises and programming assignments. The exam is open book, open notes, open your own assignments (but no one else's assignments).


The following is a list of topics (and the chapters in the book that cover them where applicable) that will be emphasized, but it is in no way to be construed as an exclusive list.


  1. Declaration and use of variables of built-in types, assignment statement, and use of arithmetic operations (Chapter 2)

  2. Use of built in Math class methods such as Math.Sqrt and Math.Pow

  3. If-statements, use of equality, relational, and logical operations (Chapter 4)

  4. While-statements and for-statements (Chapter 5)

  5. Converting user input from textboxes into numbers

  6. Displaying results in a listbox


The following topics will not be required on the exam (though you may use them if you want to): writing stand-alone methods, switch statement, string formatting, arrays


02/06/08 1 of 1