Module Overview

Object Oriented Programming 2

Module Aims: - To Introduce the student to software development with basic Graphical User Interface components for Windows-based applications and Web based applets using Java - To develop the student's ability to use sophisticated data structures - To develop the student's understanding and ability to apply the Object Oriented and Event Driven methods of software development to different situations - To develop the students programming and problem solving skills and capabilities

Module Code

BSIT H2025

ECTS Credits

5

*Curricular information is subject to change

Basic Graphical User Interface Components & Java Swing

Understand the principles behind designing good graphical user interfaces.Build graphical user interfaces.Use & understand the Java packages java.awt, java.awt.event, and javax.swingCreate and manipulate: Buttons, labels, lists, text fields and panels. Understand mouse events and keyboard events.Understand and use Java layout managers.

Arrays & Vector Arrays

Use of arrays to store, sort, and search lists and tables of valuesDeclare an array, initialise an array, and refer to individual array itemsReference and reference parameters.To be able to pass arrays into methodsUnderstand basic sorting techniques.Be able to declare and manipulate multiple subscript arrays.Be able to use a Vector array. Understand type casting. Be able to type cast an object.

Strings

Fundamentals of Characters and Strings.Create & manipulate non-modifiable character string objects of class String. String Constructors.Locating Characters and Substrings in Strings.Extracting Substrings from Strings.Concatenating Strings.Miscellaneous String Methods

Exceptions

Understand the Java Exception class hierarchy. Understand the difference between and checked and an unchecked exception. Be able to write a class which can throw an exception. Be able to handle exceptions.

Files and Streams

Be able to create, read, write and update files.Use the FileInputStream and FileOutputStream classes.Understand and use sequential and random-access file processing.

Java Database connectivity Via JDBC

Databases and Java.Relational database model.Structured query language (SQL).Reading, inserting and updating a relational database system

Packages

Understand packages in programming. Understand how packages are used in the Java API. Be able to import a package in java. Be able to create a package. Be able to compile a java class into a package. Understand jar files. Use jar files to deploy and use packages in java.

Module Content & Assessment
Assessment Breakdown %
Formal Examination50
Other Assessment(s)50