CM20254: Data structures and algorithms
[Page last updated: 27 October 2020]
Academic Year:  2020/1 
Owning Department/School:  Department of Computer Science 
Credits:  6 [equivalent to 12 CATS credits] 
Notional Study Hours:  120 
Level:  Intermediate (FHEQ level 5) 
Period: 
 Semester 1

Assessment Summary:  CW 25%, EX 75% 
Assessment Detail: 
 Problem Sheet 1 (CW 7%)
 Problem Sheet 2 (CW 7%)
 Problem Sheet 3 (CW 7%)
 Multiple Choice Assignment (CW 4%)
 Examination (EX 75%)

Supplementary Assessment: 
 CM20254A  Examination Only (where allowed by programme regulations)

Requisites: 
Before taking this module you must ( take CM10227 AND take CM10228 ) OR take XX10190 OR take EE10134
This unit will use Java as a programming language for examples and assignments. Some resources will be provided for students not familiar with Java, but students will need to allocate extra time to learn its basic principles.

Description:  Aims: To build on the students' understanding of algorithms and data structures and how to apply them. To facilitate the empirical assessment of algorithmic differences.
Learning Outcomes: On completion of this unit, students will be able to:
1. determine the complexity of a variety of algorithms
2. carry out basic comparative empirical assessments of implementations of alternative algorithms
3. choose the right algorithms and data structures for the task in hand
4. General understanding of modern public key cryptography by the example of RSA cryptosystem.
Skills: Use of IT (T/F, A), Problem Solving (T/F, A).
Content: Complexity. Best, worst and average cases; time, space and other measures; big Ο, big Θ and big Ω; analysis of algorithms like selectionsort, heapsort, integer multiplication, recursive algorithms and others.
Data structures. Lists, stacks, queues, trees, hash tables, graphs, etc.
Algorithms and data structures in practice. The effect of the "hidden constant", and crossover points between algorithms, e.g., when to prefer bubblesort over quicksort; polyalgorithms; the gap between algorithms and implementations; how data structures affect the complexity of an implementation; computationally hard problems in everyday life.
Complexity of integer factorization and primality testing with application to RSA public key cryptosystem. 
Programme availability: 
CM20254 is Compulsory on the following programmes:
Department of Computer Science
 USCMAFB06 : BSc(Hons) Computer Science (Year 2)
 USCMAAB07 : BSc(Hons) Computer Science with Study year abroad (Year 2)
 USCMAKB07 : BSc(Hons) Computer Science with Year long work placement (Year 2)
 USCMAFM01 : MComp(Hons) Computer Science (Year 2)
 USCMAAM02 : MComp(Hons) Computer Science with Study year abroad (Year 2)
 USCMAKM02 : MComp(Hons) Computer Science with Year long work placement (Year 2)
Department of Electronic & Electrical Engineering
 UEEEAFB13 : BEng(Hons) Computer Systems Engineering (Year 2)
 UEEEAKB13 : BEng(Hons) Computer Systems Engineering with Year long work placement (Year 2)
 UEEEAFM13 : MEng(Hons) Computer Systems Engineering (Year 2)
 UEEEAKM13 : MEng(Hons) Computer Systems Engineering with Year long work placement (Year 2)
CM20254 is Optional on the following programmes:
Department of Computer Science
 USCMAFB20 : BSc(Hons) Computer Science and Mathematics (Year 2)
 USCMAAB20 : BSc(Hons) Computer Science and Mathematics with Study year abroad (Year 2)
 USCMAKB20 : BSc(Hons) Computer Science and Mathematics with Year long work placement (Year 2)
 USCMAFM14 : MComp(Hons) Computer Science and Mathematics (Year 2)
 USCMAAM14 : MComp(Hons) Computer Science and Mathematics with Study year abroad (Year 2)
 USCMAKM14 : MComp(Hons) Computer Science and Mathematics with Year long work placement (Year 2)
Department of Mathematical Sciences
 USMAAFB15 : BSc(Hons) Mathematical Sciences (Year 2)
 USMAAFB15 : BSc(Hons) Mathematical Sciences (Year 3)
 USMAAAB16 : BSc(Hons) Mathematical Sciences with Study year abroad (Year 2)
 USMAAAB16 : BSc(Hons) Mathematical Sciences with Study year abroad (Year 4)
 USMAAKB16 : BSc(Hons) Mathematical Sciences with Year long work placement (Year 2)
 USMAAKB16 : BSc(Hons) Mathematical Sciences with Year long work placement (Year 4)
 USMAAFB13 : BSc(Hons) Mathematics (Year 2)
 USMAAFB13 : BSc(Hons) Mathematics (Year 3)
 USMAAAB14 : BSc(Hons) Mathematics with Study year abroad (Year 2)
 USMAAAB14 : BSc(Hons) Mathematics with Study year abroad (Year 4)
 USMAAKB14 : BSc(Hons) Mathematics with Year long work placement (Year 2)
 USMAAKB14 : BSc(Hons) Mathematics with Year long work placement (Year 4)
 USMAAFM14 : MMath(Hons) Mathematics (Year 3)
 USMAAKM15 : MMath(Hons) Mathematics with Year long work placement (Year 4)
