CSC 211: Program 1

Due: Second Week

Objective of this Program: To write your first Java program. To get familiar with some of the compiler errors generated in Java. To see how one generates output from a program.

This assignment is inspired by the first programming assignment for Chapter 2 on page 106 of the text. You should develop the project in a subdirectory on the C:drive and all relevant files should ALL be in this directory.

This project consists of three parts:

The prototype above of UseKnowledge.java can be downloaded.

Note:There is discussion of using System.out.print on pages 66-71 of the text.

What to Hand-in

You should post your project as a 'zip' file on the COL website. Also indicate how many hours you worked on the program in the Readme.txt file.


(1) A text file describing the what happened for each of the 7 changes done in Part II. For those which give errors, state the error message; for those which did not give errors, explain why and tell what output was generated for the change. This should be done in the Readme.txt file indicated above.
(2) The project for Part III.

(Note that no 'Word' files should be sent, only text files. If you type the answers in a Word file, then save it as a text (txt) file before attaching it.

If a 'Word" file is sent to me, I will resend it back without opening it. Only text files will be accepted.


Homepage of CTI School back to 211 homepage