Topics Covered:
Programming
- Programming in Java notes including:
- objects & attributes
- run-time, logic, syntax errors
- comments
- simple programs
- keywords
- primary math operators
- special printing characters
- variable types
-
Maximum / Minimum values of variables
(hidden)
- naming conventions
- Keyboard input:
- standard input object
- sending a stream to a string object
- import statement
- converting from one type to another
- Selection
- Boolean expressions
- Boolean logic
- compound Boolean
expressions
- Repetition
- assignment operators
- increment/decrement
operators
- for statement
- while / do while statement
- Common programming errors
(hidden)
- Good programming practices
(hidden)
- Using pre-defined methods
- Creating your own
Math/String methods
- Arrays
- Declaring
- Finding the number of elements in an array
- Related arrays
- Creating your own classes
- define & give example of: extending a class (as with Robots)
- define & give example of: overriding a method (as with Robots)
- class diagram
- attributes, methods (as with Robots, in the Dog
class, your HTSB class)
- constructor (as with Robots, in the Dog
class, your HTSB class)
- Programming questions
- for
June exam 2004
- previously
given questions -- they may cover topics
not on the exam this year
|
Exam Format:
| True or False |
10 |
marks |
| Fill in the blanks |
10 |
|
| Multiple Choice |
10 |
|
| Short answer |
50 |
|
| Long answer |
30 |
|
|
Total: |
110 |
marks |
Exam Sample |