CE5212: Advanced Java

School Continuing and Professional Education
Department Code LEARN
Module Code CE5212
External Subject Code 100956
Number of Credits 10
Level L5
Language of Delivery English
Module Leader Dr Edward Evans
Semester Spring Semester
Academic Year 2020/1

Outline Description of Module

This course extends the basic concepts learnt in Java I and is taught along similar lines. Topics covered include exception handlers using try, catch and finally blocks, introduction to inheritance, interfaces, abstract and final classes, introduction to event handling, the MouseListener interface and the MouseAdapter class, use of the FlowLayout, BorderLayout, GridLayout and GridBagLayout layout managers with both the Abstract Windowing Toolkit (AWT) and the Swing Toolkit, using dialog windows with applications with more than one frame, adding components to the graphical frame. Assessed work will include the creation of a number of applications with a graphical user interface (GUI).This course extends the basic concepts learnt in Java Programming and is taught along similar lines. Topics covered include arrays, vectors, sorting of data, exception handlers using try, catch and finally blocks, introduction to inheritance, interfaces, abstract and final classes, introduction to event handling, the MouseListener interface and the MouseAdapter class, use of the FlowLayout, BorderLayout, GridLayout and GridBagLayout layout managers to add components to the graphical frame in both the Abstract Windowing Toolkit (AWT) and the Swing Toolkit. Assessed work will include the creation of a number of applications with a graphical user interface (GUI).

On completion of the module a student should be able to

  • use bubble, insertion and selection sorts
  • to discuss the theory and use of exception handlers
  • to discuss the theory and use of inheritance
  • write an application which uses a Graphical User Interface ( GUI )
  • to produce applications which handle a number of different events

 

How the module will be delivered

This module includes a mix of traditional lectures and laboratory sessions

11 meetings of 3 hrs.  Each meeting starts with a lecture and finishes with a laboratory session.

33 contact hours.

 

Skills that will be practised and developed

Whilst studying this module, students will practise

 

  • sorting of data using the bubble, insertion or selection sort
  • use of inheritance theory to create sub classes
  • analyse a programming problem and write a well-structured Java program

How the module will be assessed

How the module will be assessed

 

Formative assessment takes the form of assignments submitted to the tutor

Summative assessment is by means of a two hour written class test.

 

 

Type of assessment  % Contribution   Title  Duration  (if applicable) Approx. date of Assessment

Coursework                  40%    

Class Test                       60%                            2 hours Last meeting

 

Assessment Breakdown

Type % Title Duration(hrs)
Written Assessment 100 Advanced Java N/A

Syllabus content

Setting up an exception handling using trycatch and finally blocks

Checked and Unchecked exceptions

Introduction to inheritance

Inherited and overriden methods

Abstract and Final classes

Use of  bubbleinsertion and selection sorts

Event Handling

MouseListener interface

MouseAdapter class

WindowListener interface

WindowAdapter class

Use of FlowLayout, Borderlayout, GridLayout and GridBagLayout layout managers to add components to the graphical frame.

 

Background Reading and Resource List

Indicative Reading and Resource List:

 

Horstman, C.S. (1999) Computing concepts with Java 2 essentials. John Wiley.

Horstman, C.S. (2002) Big Java. John Wiley.


Copyright Cardiff University. Registered charity no. 1136855