COMP1206 Programming 2
The aim of this module is to teach the students advanced programming techniques using Java in order to support its use on other modules. C will also be taught in order to introduce explicit memory allocation and the use of pointers.
Aims and Objectives
The aim of this module is to teach the students advanced programming techniques using Java, and to teach C in order to introduce explicit memory allocation and the use of pointers.
Subject Specific Intellectual and Research Skills
Having successfully completed this module you will be able to:
- Construct Java applications with Graphical User Interfaces in Swing and AWT
- Construct multi-threaded Java applications
- Use persistent storage for Java applications
- Use pointers to manipulate dynamically allocated storage in C
- Perform testing on Java programs using JUnit
Graphical User Interface Programming - Writing Swing and AWT user interfaces - User interfaces Components - Event Handling - Graphics in User Interfaces Control Flow and the Java Virtual Machine - JVM overview - Exceptions and exception handling - Recursion in the JVM - Multi-threading and synchronisation Storage and Files in Java - Garbage Collection - Strings and Character Encodings - Input/Output and Object Serialisation Validation and Verification - Black Box Testing - White Box Testing - Integration Testing Strategies The C programming language - Introduction to the language - Pointers and pointer arithmetic - Data structures and arrays - Comparison with Java - Patterns
Learning and Teaching
|Completion of assessment task||45|
|Supervised time in studio/workshop||12|
|Preparation for scheduled sessions||18|
|Wider reading or practice||21|
|Total study time||150|
Resources & Reading list
Deitel & Deitel (2005). Java: How to Program.
Kochan (2005). Programming in C.
Repeat type: Internal & External
To study this module, you will need to have studied the following module(s):