Wednesday, January 21, 2009

ICA-CP: 1/21/09 - More review

Good morning!

Last class we reviewed Java syntax. Be sure to take good notes! In addition to your notes, here is a good Java Cheet Sheet web site.

For the test on Friday, you may use your own notes and no one else's notes. Remember, the goal is for you to learn the syntax and not what your friends know about Java syntax. Also, you will not be allowed to use any web resources. Once again, your test will cover Java datatypes and syntax. Be sure to understand the following top 10 concepts:
1) Java keywords and the rules about using them. Keywords include print, println, class,=, main, ==, if, if/else, while, for,new, //, and /* plus */. Know the what they do and the rules for using them.
2) Where to use pairs of braces, parentheses, and square brackets. Be able to identify blocks of code. Know when to use a semicolon versus pair of braces, parenthesis, and square brackets.
3) Java dataypes abstract and primitive, and examples of types within those two main categories. This includes string arrays (be able to code a string array in Java given a list like "mad, glad, and elated"), literals, rules and syntax for casting, the format to declare a variable, the sizes in number of bits of different primitive datatypes along with the largest numbers those bits may represent, and the difference between a value and a variable (especially in a string aray).
4) How to declare a variable and assign the variable an optional initial value.
5) Being able to explain the difference between the two control statements of for and while.
6) Being able to list the four actions this particular line of code does: KeyboardReader rr = new KeyboardReader().
7) Knowing how to identify a method, a primitive dataype, and an abstract datatype.
8) The order and necessary parts of a Java program: import followed by the class followed by the maid method, including the convention for naming classes and methods.
9) Being able to read Java code and what it will do, especially being able to distinguish the difference between a print and a println output on a screen.
10) Know what an import statement does and how to make sure the library is available.

So, we will review some more today. then spend some time working on Eliza. Your test is online at Quia, and consists of two parts. Part 1 covers Java data types. It consists of 31 questions worth 70 points. Part 2 consists of 42 questions and 105 points, covering Java syntax concepts.

0 Comments:

Post a Comment

<< Home