Build your expertise in AI, cybersecurity and more
Our online PGDip Computer Science (CS) takes you beyond the fundamentals and into specialist areas such as AI, machine learning, cybersecurity, and deep learning. After building core skills in programming, software engineering, and algorithms and complexity, you’ll apply them in a compulsory AI and Machine Learning unit and four optional units chosen to suit your career goals.
At 120 credits, the PGDip doubles the depth of the PGCert and adds the opportunity to gain specialist knowledge 100% online and part-time in a minimum of two years. You can also upgrade your registration to the MSc to take your studies further.
Quick course facts
- Minimum duration: 2 years
- Start dates: January, May, and September
- Study type: 100% online
- Credit hours: 120 hours
- Cost: £1,4441 (20-credit unit), £7221 (10-credit unit)
Course benefits
- Complete in as little as 2 years
- 100% online and part-time
- Optional units from cybersecurity to robotics
- Opportunity to progress to the MSc
- Learn at a top 10 UK University for Computer Science2
Turn strong foundations into specialist computing expertise
- 8 course units (4 compulsory units, 4 optional units)
- Study one unit at a time 100% online
Offered by the University of Bath's Department of Computer Science, our online PGDip Computer Science takes you from learning core computing principles to applying them in AI, machine learning, and other specialist areas. You’ll complete 120 credits including three foundation units, a compulsory AI and Machine Learning unit, and four optional units. Each 20-credit unit lasts 16 weeks and each 10-credit unit lasts eight weeks.
PGDip Computer Science curriculum
Phase 1 PGCert and PGDiploma compulsory units
A set of compulsory units covering core principles of computer science, building a strong foundation in computing.
This unit introduces the fundamentals of programming, including the generic building blocks of programs and demonstrates them using appropriate programming languages. You’ll explore how to break down complex problems so they can be solved through programming, using approaches such as procedural or object-oriented. The unit builds confidence in computational thinking that can be applied to a range of problems and programming languages.
You’ll learn to:
- Describe the design of a computer program separately from its implementation
- Understand and apply the concepts of different programming paradigms, such as procedural and object-oriented, and demonstrate these using an appropriate programming language
- Explain debugging and testing methods and how they contribute to robust code
- Design, construct, and evaluate simple data structures and algorithms
Topics covered in this unit may include (but are not limited to) the following:
- Introduction to procedural program design, covering structures such as sequence, iteration, and recursion
- Introduction to object-oriented program design, including inheritance and polymorphism
- Introduction to an appropriate programming language to demonstrate taught procedural and object-oriented concepts
- Error handling, testing, and debugging techniques
- Introduction to an appropriate programming development environment
In this unit, students will learn the concepts and methods required for developing software systems, using contemporary software processes such as agile. Students will learn about the software lifecycle, such as learning how to gather requirements, specifying software, developing models in preparation for writing code, and evaluating software.
You’ll learn to:
- Analyse relevant information to define and construct software requirements specification that encapsulates it
- Use appropriate models and test cases to design software to a specification
- Use modern software development processes and apply software quality principles when developing systems
- Evaluate contemporary software engineering techniques for different software development problems
- Demonstrate awareness and understanding of project and risk management, and of legal, ethical, and professional issues as system-wide considerations
Topics covered in this unit may include (but are not limited to) the following:
- Software engineering concepts
- Software development paradigms such as agile
- Requirements engineering
- Software architectural design
- Software quality and testing
This unit explores the fundamental models of computation such as finite automata and Turing machines, design algorithms within a given model, and provides examples of problems that cannot be addressed within a given model. You’ll learn about a variety of data structures and choose an appropriate one for a given problem. You’ll also learn to determine the computational complexity of algorithms and demonstrate their correctness.
You’ll learn to:
- Describe fundamental models of computation and the corresponding classes of formal grammar and languages
- Design appropriate algorithms for specific computational problems
- Understand what can and cannot be computed using different computational models
- Describe a variety of data structures and algorithms and choose appropriate ones for solving a given computational problem
- Analyse the correctness and complexity of a variety of algorithms
Topics covered in this unit may include (but are not limited to) the following:
- Regular languages; deterministic and non-deterministic finite automata; existence of non-regular languages
- Context-free languages; context-free grammar; parsing in context-free languages
- Turing machines; Church-Turing Thesis; Universal Turing machine and undecidability of the halting problem
- Non-deterministic Turing machines; complexity classes P and NP; P vs NP problem
- Data structures such as lists, stacks, queues, trees, hash tables, heaps, graphs, and self-balancing trees
- Methods of designing efficient algorithms such as divide-and-conquer, dynamic programming, and greedy algorithms
- Best, worst, and average case complexity; time, space and other measures; big O, big Theta, and big Omega notation
- Analysis of algorithms such as sorting algorithms, graph algorithms, and algorithms for linear algebra
- Basic correctness techniques including loop invariants
Phase 2 PGDip compulsory units
Progressing from the PGCert the PGDip introduces application of the principles of human computer interaction, cybersecurity, and AI through advanced compulsory units and a choice of specialist options.
Students will explore core ideas and methods used in artificial intelligence and machine learning. Students will also study how intelligent systems represent problems, reasons under uncertainty, and learn from data, alongside practical activities that apply algorithms to real-world scenarios. This unit links foundational concepts with more advanced techniques, supporting understanding of how AI systems are designed and implemented.
You’ll learn to:
- Apply foundational concepts of artificial intelligence and machine learning to analyse problems and select appropriate computational techniques
- Design and implement algorithmic solutions in code that address AI-related tasks, demonstrating correctness and efficiency
- Evaluate how models represent uncertainty and make predictions from data, using reasoning grounded in probability and statistical methods
- Compare and contrast different methods, both core AI and ML, in terms of their capabilities and limitations in practical contexts
- Reflect on ethical, societal, and legal considerations relevant to the development and deployment of intelligent systems
Topics covered in this unit may include (but are not limited to) the following:
- Goals, definitions, and paradigms of artificial intelligence
- Problem-solving and search methods, including heuristic and adversarial approaches
- Constraint satisfaction and planning concepts
- Logical reasoning, including propositional and first-order logic
- Probabilistic reasoning and uncertainty, including Bayesian models and Markov processes
- Core machine learning paradigms and some key representative approaches, such as nearest-neighbour methods, decision trees, and k-means clustering
- Introductory neural network concepts
- Relationships between artificial intelligence and real-world applications
- Social, ethical, and societal considerations surrounding the deployment of AI systems
Phase 2 PGDip optional units
Cybersecurity is often in the news these days. Either theft of personal data, or organisations closed by ransomware, or both. But how do these attacks arise, and what can people, specifically computer people, do about them? We will see that many attacks could have been prevented by very simple measures, sometimes in programming, but also in systems, such as multi-factor authentication.
You’ll learn to:
- Describe common security models
- Discuss what it means for a given system to be 'secure'
- Identify security weaknesses in proposed systems
- Understand the principles and application of cryptography
Topics covered in this unit may include (but are not limited to) the following:
- Philosophical, legal, ethical issues. What is a person? Passwords, user ids and biometrics
- What are authorisation and delegation? What are data? Security against theft, destruction, interception, tampering. Some thoughts on physical security. Data Protection Act, Freedom of Information Act, Regulatory and Investigatory Powers Act. Military/government requirements for security
- Security within a computer. Hardware support for security: States and memory protection. Memory mapping, virtual memory, and security. The Unix Security model: chown, chgrp, setuid, and chroot. Strengths and weaknesses of the Unix security model: Common attacks
- Security within networks. 'Man in the middle' attacks. What does the 's' in https signify?
- Case studies: For example, internet worm. Power attacks and other covert channels. A chain can be weaker than its weakest link: the Crouch-Davenport attack
This unit introduces key frameworks of entrepreneurial thinking and activity, as well as key considerations and challenges for the entrepreneur and an introduction to fundamental business concepts (e.g. how to seek funding, key operational considerations etc.). Throughout this unit, there are a variety of examples of entrepreneurial activity. Some focus on technology start-ups, but others focus on other industries and sectors with examples chosen to highlight particular approaches, activities, thinking, and opportunities.
You’ll learn to:
- Identify and analyse market and entrepreneurial opportunities
- Develop business strategy to take advantage of that opportunity
- Critically consider key operational issues
- Investigate alternative funding and financial strategies
- Identify and address key IPR, legal, social, ethical, and professional issues
- Locate and use entrepreneurial resources
- Develop a business plan
- Reflect on the skills and behaviours of entrepreneurs
- Evaluate the phases and challenges of the entrepreneurial process
- Evaluate the resource challenges associated with entrepreneurship
Topics covered in this unit may include (but are not limited to) the following:
- History of entrepreneurial thought
- Market analysis, corporate structure, business funding, hiring, operations, marketing, risk management
- Legal, social, ethical, and professional issues
- Writing a business plan
In this unit, the focus is on real-world context in which AI technologies are conceived, developed, and produced, as well as the effect that the implementation of these technologies has on our society, our economy, and our politics. We will use real-world use cases of AI technologies to illuminate these themes and to see how theoretical notions play out in practice. Each case study looks at an application of AI Technologies which promises to revolutionise aspects of our society, but with the actual effects far from universally positive.
Over the course of this unit, students should develop a much richer understanding of how AI is embedded in the social fabric and be given critical tools to assess claims about AI made by tech companies, government agencies, and the media.
You’ll learn to:
- Demonstrate in-depth understanding of the parameters of historical and contemporary debates around the development, emergence, and adoption of AI/machine learning/robot technologies
- Demonstrate advanced critical understanding of the social, political, and economic distinctiveness of AI and related technologies
- Demonstrate advanced critical understanding of how AI (automation, machine learning and robotics) is applied in specific empirical cases and assess the social, political, and economic implications of these applications
- Demonstrate the use of appropriate standards of logic and argumentation, including referencing and the critical discussion of alternative views
Topics covered in this unit may include (but are not limited to) the following:
- Machines and the social world
- Learning machines and digital personhood
- Political economy & power in digital environments
Students will be introduced to cloud computing and will learn how to move to a cloud platform, particularly for databases, has many advantages but also some challenges to overcome, including legal and professional considerations.
You’ll learn to:
- Understand the nature, formal description, and representation of data and its processing
- Make use of emerging data exchange and database developments such as big data, data mining, metadata, and the semantic web
- Critically review the migration towards cloud-based data storage in the context of its professional and legal implications
- Practically demonstrate how programs and users can interact with databases through query languages
Topics covered in this unit may include (but are not limited to) the following:
- Data modelling methodologies such as UML and the e-r model
- Relational model, relational algebra, SQL, and normalisation
- Metadata, the semantic web, data exchange methods, and formats such as XML
- Data mining, big data, and pattern discovery in large datasets
- Cloud-based, distributed data storage, and its professional, legal, and ethical implications
Qualify for AI, cybersecurity and software engineering roles
With AI and machine learning expertise on top of core computing skills, PGDip graduates are equipped for roles where technology is moving fastest. Depending on your optional units, you could move into machine learning, cybersecurity or software engineering.
Top careers in computer science
- Cyber Security Analyst: £36,459 per year3
- Machine Learning Engineer: £53,064 per year4
Differences between the PGDip and PGCert
The PGDip and PGCert in Computer Science share the same foundations but differ in scope and commitment. The right choice typically depends on whether your goal is a focused grounding in core computing principles or the chance to extend them into AI and specialist areas. Both are 100% online and part-time, and both offer a route to the online MSc Computer Science.
- Minimum duration: The PGDip takes two years, while the PGCert takes one year
- Depth of study: The PGDip extends core computing principles into AI and specialist applications, while the PGCert focuses on those core principles
- Course structure: The PGDip has four compulsory and four optional units, while the PGCert has three compulsory units
- Learner goals: The PGDip typically suits learners looking to specialise, while the PGCert typically suits those seeking a focused foundation
- Further study: The PGDip can be upgraded to the MSc, while the PGCert may lead to the PGDip or MSc
What can I gain from taking this course?
- Learn the theory behind computing, so you can model and reason about computational systems
- Design, build and test software, so you can deliver reliable systems
- Weigh the ethical and legal impact of technology, so you can make responsible decisions
- Compare alternative solutions, so you can choose the best approach to a problem
- Connect theory with practice, so you can apply computer science to real-world problems
- Explain technical ideas clearly, so you can persuade specialist and non-specialist audiences
Typically, you should have a first or second-class honours undergraduate degree or international equivalent. To apply for this course, you may have an undergraduate degree in any subject, but you must demonstrate evidence of relevant quantitative skills (especially algebra and calculus) either through your degree study or by alternative means.
If your first language is not English you will need IELTS with a grade of at least 6.5 overall and no less than 6.0 in any of the four parts (listening, reading, writing and speaking). If you have completed the whole of your undergraduate studies in English as the medium of instruction within the last 5 years prior to the start of the course, you may be exempt from our English Language requirements. Alternatively, you can also sit a Pearson Test of English Academic (PTE Academic) or a Test of English as a Foreign Language (TOEFL) exam.
You may upgrade your registration to the MSc. When transferring from the PGDip to the MSc, the maximum period permitted to have completed all units of study will be five calendar years.
Your Postgraduate Diploma in Computer Science award will need to be rescinded upon award of the MSc in Computer Science.
Fees & funding
- Total cost: £8,6641
- 120 credits
Our online PGDip Computer Science costs £1,4441 per 20 credits. Fees are paid in unit instalments corresponding with the course units. The total cost of this 120-credit PGDip course is £8,6641. 10% alumni discount available.

Ben Ralph
Dr Ben Ralph is the Director of Teaching (Distance learning) for the Computer Science online MSc, and teaches on both the Artificial Intelligence and Computer Science online MSc. As a researcher Ben has mainly studied structural proof theory: in particular the problem of proof identity, using techniques including combinatorial proofs and Deep Inference, and before his PhD at Bath completed a Masters degree in Mathematics and Philosophy at the University of Oxford. Ben has also signed the pledge for sustainable research in theoretical Computer Science.
Awards and rankings
We’re highly ranked in independent league tables for overall performance, student satisfaction and graduate employment. For you, that means a qualification that carries weight with employers, delivered by a department ranked among the UK's best for Computer Science.

Top 10 – Ranked 10th in Computer Science by The Complete University Guide 20272

98% of Computer Science submitted research activity was ranked as ‘world-leading’ or ‘internationally excellent’ in the most recent Research Excellence Framework (REF 2021)

Top 5 – Ranked 5th in graduate prospects by The Times and The Sunday Times Good University Guide 20275
Sources
- Valid up to and including September 2027 intake. Tuition fees are liable to increase each January. You should budget for an increase of up to a maximum of 8% each year. Terms and conditions for tuition fee payments for online courses
- https://www.thecompleteuniversityguide.co.uk/league-tables/rankings/computer-science. Rankings based on undergraduate data.
- https://www.payscale.com/research/UK/Job=Cyber_Security_Analyst/Salary
- https://www.payscale.com/research/UK/Job=Machine_Learning_Engineer/Salary
- https://www.thetimes.com/uk-university-rankings/league-table. Rankings based on undergraduate data.