# DATA STRUCTURES AND ALGORITHMS - 2017/8

Module code: COM1029

Module provider

Computer Science

Module Leader

MANULIS M Dr (Computer Sci)

Number of Credits

15

ECT Credits

7.5

Framework

FHEQ Level 4

JACs code

I260

Module cap (Maximum number of students)

N/A

Module Availability

Semester 2

Overall student workload

Independent Study Hours: 106

Lecture Hours: 22

Laboratory Hours: 22

Assessment pattern

Assessment type | Unit of assessment | Weighting |
---|---|---|

School-timetabled exam/test | IN-SEMESTER TEST (INDIVIDUAL) | 40% |

Examination | EXAM 2 HOUR UNSEEN EXAMINATION | 60% |

Alternative Assessment

Units of Assessment Weighting towards Module Mark (%) In-semester test (individual) An end of semester computer-based test to prepare the students for the exams on a wider range of topics examined in data structures and algorithms. This test will ensure that students can apply their understanding of recursion, data structures, and algorithms and be able to quantify their efficiency. 40% Exam: 2 hour unseen examination 60% Alternative Assessment: Not applicable

Prerequisites / Co-requisites

None.

Module overview

Appropriate choices of data structures can expedite algorithm efficiency and also aid clear thinking when designing algorithms. It is thus natural for data structures to be studied with algorithms. An algorithm is a sequence of steps for performing some process. A computer program is not an algorithm but a representation of an algorithm. There is a need to be able to create effective algorithms, quantify their efficiency and classify them independently of any computing system or language.

Module aims

Discover and examine various abstract data types (ADT).

Explore data structures based on those ADTs, including implementation and applications of such data structures.

Explore algorithms as abstractions - independent of any computing facility.

Examine what is involved in creating algorithms and quantifying their efficiency.

Examine the importance of algorithm efficiency.

Examine the action of a small number of specific algorithms particularly in the areas sorting and searching.

Explore various strategies for algorithm design and argue about their correctness.

Classify algorithms.

Learning outcomes

Attributes Developed | |
---|---|

Choose the appropriate data structure for a particular application. | CP |

Be familiar with the big Oh measure of algorithm efficiency. | K |

Know what is meant by recursive and non-recursive algorithms. | K |

Describe a number of searching strategies and trace any of the taught hashing schemes. | KC |

Use any of the taught sorting methods. | KCP |

Understand recursion and polymorphism and be able to use them in simple algorithm design. | CP |

Distinguish between different algorithm design strategies. | CP |

Discuss the classification of algorithms and problems. | KP |

Attributes Developed

**C** - Cognitive/analytical

**K** - Subject knowledge

**T** - Transferable skills

**P** - Professional/Practical skills

Module content

This module considers various data structures such as lists, stacks, queues, trees and graphs and the abstract data types on which they are based. The module also discusses algorithms. It defines a scheme for quantifying algorithm efficiency, devoid of any computing system or language. Several approaches for algorithm design are studied such as recursion, divide and conquer, brute force and greedy strategies. Towards the end of the module the classification of algorithms and the problems they solve is explored. The module finally concludes by asking how future technological developments could change the way we perceive algorithms.

Main topics

Abstract data types: discussed in general.

Basic data Structures: lists, linked-lists, stacks, queues, implementation/applications of these.

Trees: general trees ordered trees, multiway trees, implementations of trees, tree traversal, path lengths.

Binary trees: internal and external nodes, binary tree depth, logs.

Binary tree applications: expression trees, binary search trees, heaps, Huffman data compression.

Graphs: undirected/directed, connected, weakly/strongly connected, complete), adjacency matrix/list, topological ordering, weighted graphs/networks, path lengths, Dijkstra’s Algorithm, depth/breadth-first, traversals, minimum spanning trees, Prim’s Algorithm, Kruskal’s Algorithm.

Algorithm Efficiency: Big ‘Oh’, common time complexities, log time, binary search v linear search Recursion: why use it, the ground rules, Merge Sort in detail, Towers of Hanoi in detail.

Sorting: Bubble-, Selection-, Insertion-, Shell-, Bucket-, Radix-, Heap-, Quick-, external sorting.

Hashing: searching, hash function & table, collisions, separate chaining and open addressing.

Algorithm design strategies: brute force, greedy, divide and conquer, dynamic programming, incremental, probabilistic.

Algorithm and problem classification: polynomial and exponential time, reasonable and unreasonable algorithms, tractable and intractable problems, the future.

You should be clear that the Algorithms material in the module is NOT intended to be a review of a comprehensive range of specific algorithms. Nevertheless, a limited number of specific algorithms within the areas of searching and sorting will be examined

Methods of Teaching / Learning

The learning and teaching strategy is designed to provide students with the knowledge, skills and practical experience covering the module aims and learning outcomes.

The learning and teaching methods include:

44 contact hours in weeks 1-11, consisting of:

2 hours of lectures per week

2 hour lab session per week, including one lab session for the in-semester test

The lab sessions will put into practice the theoretical concepts covered in the lectures.

A test will be used during the course to ensure the student has assimilated the material during the course.

Students will be expected to spend a minimum of 2 hours a week on self-study

Assessment Strategy

The assessment strategy is designed to provide students with the opportunity to demonstrate

Thus, the summative assessment for this module consists of:

Grades on the test against previously published assessment criteria

Computer-based test (up to 2 hours) tentatively due in Week 10/11

The test is designed to address the following learning outcomes:

Describe and handle some of the taught data structures of linked lists, stacks, queues, trees, graphs.

Choose the appropriate data structure for a particular application.

Know what is meant by recursive and non-recursive algorithms.

Quantify algorithm efficiency.

A 2-hour examination testing all learning outcomes

Formative assessment and feedback

The use of electronic voting handsets offers formative feedback opportunities throughout the module. Verbal feedback is also given in lab sessions as the students attempt the lab exercises. Feedback will also be provided on the in-semester test.

Reading list

Reading list for DATA STRUCTURES AND ALGORITHMS : http://aspire.surrey.ac.uk/modules/com1029

Please note that the information detailed within this record is accurate at the time of publishing and may be subject to change. This record contains information for the most up to date version of the programme / module for the 2017/8 academic year.