CSC 314 Programming in Java
Winter
2001
Coverage of the Midterm Exam
Thursday
February 8
Exam length
The Exam has 40 points (20% of the final) grade. Most people
will be able to finish within 90 minutes, but anyone is allowed to work on the exam
until 9:30 (approximately 2+ hours). It will have the same kinds of questions as
the first quiz (e.g. multiple choice, short answer, provide the output, write a
fragment of code).
Coverage
- Java Basics (course notes)
- java environment (compiling, running, applications)
- java strengths and weaknesses
- Control structures (4.4-4.7, 4.11-4.13, 5.3, 5.5, 5.9)
- Examples: if, while loops, for loops
- Data types, primitive types versus classes
- Logical operators (&&, ||, !)
- Object-based programming
- Methods (6.1-6.10)
- DClasses (ch. 8)
- String class, basic methods (10.1 - 10.5)
- Object-oriented programming
- Inheritance (9.1-9.10)
- Interfaces (9.19)
- Arrays (7.1-7.6)
- Graphical user interfaces (12.1-12.6, 12.14, 12.15)
- Swing versus AWT
- Simple components (labels, textfields, buttons)
- Layout managers (flowlayout, borderlayout, gridlayout)
- Panels