CP2003 - Review for Exam
General
- The marks allotted for each question are an excellent indicator of the time
and effort required
- It is a long exam and you will run out of time if you write half
a page for a question worth two marks
- Be brief, concise and get to the point
- In reading time you should probably go through and mark the questions
which you are going to do first (the easy ones)
- If you are going to run out of time, you want it to be on questions
which you don't know the answers to, rather than the easy ones
- Understand all tutorials, assignments etc.
- Do past exams
- http://www.library.jcu.edu.au/ - Library Resources - Exam papers - CP -
CP2003
- The complete URL is
http://www.library.jcu.edu.au/Resources/Reserve/CPindex.html
- Read the relevant parts of the textbook to get a different perspective
- Review with other students at least once in the days before the exam
- Answer all questions on the exam. You don't lose marks for
answering wrongly.
- Check your answers - read everything over again carefully if you have
any time left at the end
- Generally you should find out what exam aids you can bring (calculators
etc.)
- You can't bring any special exam aids to CP2003 this year
Specific
- There are thirty-four (34) questions on the exam
- 5 True/False
- 16 Short Answer Questions
- 1 four-part Short Answer - Comparison of Concepts Question
- 9 Programming-related questions (2 in which you have to write actual
code)
- 3 relating to Running Java Programs
Topics
- Object-Oriented Programming Paradigm
- Classes and Objects
- Encapsulation
- Polymorphism
- Internal states and services of an object/class
- Introduction to Java
- Characteristics of the Java language
- Class libraries
- Performance issues
- Java Primitive Types
- Compiling Java
- Arrays
- Command-Line Parameters
- Strings
- Vectors
- Understand how literals, primitive types etc. work
- Memory allocation
- Instance and Class Member variables
- Various Java keywords
- Basic Java programming concepts
- Java Input/Output
- Streams, readers and writers
- Buffered readers etc.
- Writing to, and reading from, files and standard input/standard output
- Exceptions
- Object Oriented Characteristics of Java
- Understand the OO concepts of inheritance, objects, classes, access
controls etc.
- Be able to identify and explain these in a typical Java program
- Java Abstract Classes, Interfaces and Inner Classes
- Understand the difference between abstract classes and interfaces
- Understand why we need to use these things
- Understand the relationship between inner and outer classes
- Event Driven Programming and Java GUIs
- The fundamental properties of Graphical User Interfaces
- Events
- The Java GUI framework (components, containers, layout managers etc.)
- AWT and Swing packages (not necessary to know all the AWT and Swing
classes and methods)
- The anatomy of a frame
- Know all about listeners
- Graphics class and painting
- paint(), repaint(), update() and
paintComponent() functions
- Fonts
- Network Programming
- JRMI basics
- Sockets, Clients and Servers and how to wrap readers and writers around
sockets (assignment 3)
- Basics of Applets and how the fit into the grand scheme of Java (no need
to know the html aspects of applets)
- Threads
- Thread basics
- Be able to comprehend threaded programs
- wait(), notify() and notifyAll()
- Thread synchronization
- JavaScript
- Understand the basic concepts of JavaScript
- Less need to really understand the html aspects of JavaScript
Copyright © 2000 Alan McCabe. All rights reserved.