|
Course Background
This is an introductory programming course. The course uses the Java
language to illustrate programming concepts. You will learn how to program a
computer to do simple tasks. In this class students will be building a
simulated computer programming environment.This environment will consist of an artificial lake in which students
will program the behaviors of organisms that live in the lake, including fish,
crocodiles, and algae.
The course starts with HTML programming in Unit 1. You will use the web to
search for information, and then you will design simple web pages. You will
also develop HTML forms that communicate with servlets.
In Units 2 and 3, you will write simple Java programs that can be
incorporated in your web pages. In the process, you will learn and practice the
following: compilation, syntax rules, variables, rudimentary object-oriented
concepts (specifically classes, objects, and inheritance), data types, control
structures, loops, and so on.
Each of the three units has several modules.
Each module contains a homework exercise as well as both a multiple-choice quiz
and a practical quiz. The course also contains three in-class exams. You can
read about how to work through the quizzes, exercises, and exams in the course
Help pages.
You can use any text or program to create your HTML or Java code, but the basic editor you can use on
Microsoft Window machines is Notepad. Notepad is located by going to:
Start->Programs->Accessories->Notepad
**NOTE ON TAKING ONLINE ICARNEGIE EXAMS**
Unit 1,2,3 & Final Multiple Choice Exams
– Students cannot use any online or book material while taking the multiple choice tests.
Unit 1,2,3 & Final Practical Exams
– Students are allowed to use all of the online iCarnegie material,
including their submitted files, while takingthe practical exam.Use of book material
Internet sites (except potential class websites posted by the instructor) cannot be used.
Using DOS
You will also have to use DOS in order to compile (create) your Java programs. You can get to DOS on Microsoft Window machines by going to:
Start-> run-> Type "cmd" into the field box and click on "OK"->a black DOS window should open.
If you have not used DOS before, basic DOS commands you can use are available at:
Basic DOS Commands
If you want a complete listing of all of the DOS commands and attributes, please refer to:
Complete List of DOS Commands & Attributes
For this class, the most important DOS commands you need to know are:
- You should get the default DOS window directory folder when you first open DOS (on my computer it looks like (C:/Documents and Settings/Administrator) with a blinking line that you can type information into. This is your "command line" that you can type different commands in listed below)
- dir
(stands for directory, example: "dir" - this will show all of the files and folder in the directory you are in)
- cd
(stands for change directory, example: "cd movies" - this will change the folder you are in as in the example "movies" folder. You will get a list of all of the folders you can go to by using the "dir" command. You can also go to a lower folder by typing: "cd..")
- javac
(Java command that will compile your Java program. You can only compile files that have a .java file extension on it. Example "javac meeting.java" - if the file compiles well, it will go to a new DOS command line and create a meeting.class file in the same directory folder you are in. Remember that java only runs on class files - so all of the programs you write in java must be saved to a .java file extension and then compiled to create a .class file).
- java
(Java command to run Java from DOS, example: "java meeting" - you do not need to write the file extension, as it will automatically add ".class" to the filename. You will not need to use the DOS java command for SSD1 assignments, as you will have the icarnegie workbench for this. For class offline homework and other assignments, however, you may have to use this command.
Unit 1 Useful Information and Links:
Unit 2 Useful Information and Links:
- iCarnegie Class files used in Unit 2 and Unit 3 that are not in the Java API:
- Servlet version 2.4 API Information that is not with the general Java Sun JDK API
- Downloadable Sun for portable computer use
- To download the Sun Online Java 1.5.0 API (Application Programming Interface) Class file information, Click Here!. Then go down to the J2SE 5.0 Documentation section and click on the Download button.
- To download the HttpServlet Class 2.4 API, Click Here!
- Solutions to the iCarnegie Unit 2 Student Activities
- Information on Boolean Logic (True/False) Tables
Unit 3 Useful Information and Links:
Java use of Inheritence
If you have any questions, please feel free to e-mail Bob Scheele at:bscheele@bscheele.com
|