Gwybodaeth Modiwlau

Module Identifier
Module Title
Program Design, Data Structures and Algorithms
Academic Year
Semester 1
Mutually Exclusive
Other Staff

Course Delivery

Delivery Type Delivery length / details
Lecture 30 x 1 Hour Lectures
Tutorial 10 x 1 Hour Tutorials
Workshop 5 x 2 Hour Workshops


Assessment Type Assessment length / details Proportion
Semester Exam 2 Hours   Written Exam  50%
Semester Assessment Programming Assignment  40%
Semester Assessment Worksheets in practicals  10%
Supplementary Exam 2 Hours   Resit Exam  Students must resit failed examinations.  50%
Supplementary Assessment Resubmission of failed component assignments Resit of failed components - 50 hours  50%

Learning Outcomes

On successful completion of this module students should be able to:

1. demonstrate their understanding of the principles of abstraction and encapsulation as they apply to the design of abstract data types and programs;
2. analyse and evaluate the time and space behaviour of algorithms and understand how this is expressed and determined;
3. recognise the importance of this analysis in the design of software;
4. describe some of the main approaches to algorithm design such as greedy algorithms, divide and conquer and dynamic programming;
5. demonstrate judgement in evaluating and choosing appropriate data structures and algorithms for a range of programming problems;
6. design and implement significant programs in Java.

Brief description

This module builds on the foundations of the first year modules on program design and provides a thorough grounding in the design of data structures and algorithms and gives further insight into object-oriented design.


1. Module Overview - 1 Lecture

An overview of the method of teaching and assessment, and a road-map of the topics to be covered and their relationships.
Some basic concepts are introduced.

2. Program design, abstract data types, stacks, queues and priority queues - approx 5 Lectures.

Explanation of design issues such as object-orientation and how Abstract Data Types support good program design, how they are implemented in Java with interfaces, examples of a Stacks, Queues and Priority Queues and their different implementations.

3. Storing and Retrieving Data by Key - approx 7 Lectures

The Map ADT will be introduced and different problems will be used to motivate the discussion of a wide variety of different implementation techniques. The features of some typical solutions will be related to the dimensions of the problem such as the volume of data to be handled, volatility and the operations required. Internal Storage: linear and binary searching. Linked representations; an introduction to hashing, binary search trees and AVL trees.

4. Representing Complex Relationships: Graphs - approx 5 Lectures

Terminology and implementation considerations. A look at some graph-related problems such as: finding a route (shortest paths); planning a communications network (minimum spanning trees).

5. Design Paradigms for Algorithm - approx 6 Lectures

An overview will be given on the different design paradigms for algorithms; for example, recursive algorithms, divide and conquer, dynamic programming and greedy algorithms.

6. Design patterns and frameworks - approx 4 Lectures

An introduction to object-oriented design patterns and frameworks. Support for reuse. General concepts, representation and examples. How patterns may be implemented in Java.

7. Revision and assignment preparation - 2 Lectures

1 lecture will be devoted to describing the assignment and providing guidance on its completion, and 1 lecture will be used as a revision session before the exam.


Minor changes to syllabus and format of workshops based on TuN feedback (implementation of action plan).

Module Skills

Skills Type Skills details
Application of Number Particularly in algorithm analysis.
Communication Written skills will be needed to complete supporting documents to accompany assessed coursework.
Improving own Learning and Performance Students are required to engage in self study. Completing the assignment requires improvements in programming skills. Both the assignment and the exam requires understanding challenging concepts.
Information Technology The whole module concerns this area.
Personal Development and Career planning Carefully time management will be needed as so to enable students to complete coursework etc. A frequent topic of interview questions for programmers.
Problem solving This is inherent in both the formative practical work and the assessed coursework.
Research skills The students wil need to search for and use relevant technical information while completing practical and assessed coursework.
Subject Specific Skills See module title and content.
Team work N/A


This module is at CQFW Level 5