Guides · Degree subjects
How to succeed in a computer science degree
The short answer
Computer science degrees combine programming with theory. Expect programming in languages such as Python, Java or C, discrete mathematics, data structures and algorithms, computer systems, and later options such as machine learning and security. Success comes from coding regularly, understanding why algorithms work as well as how, and keeping all assessed code your own: universities routinely check programming submissions for similarity.
Key points
- Code a little every day; programming skills build through practice.
- Discrete maths and algorithms are as important as programming.
- Understand algorithm complexity (Big O) and be able to prove correctness.
- Assessed code must be your own; similarity checks are routine.
- Personal projects and internships matter for jobs alongside grades.
What you study
Typical first-year modules include programming fundamentals (often in Python or Java), discrete mathematics, computer systems and an introduction to algorithms. Later years add databases, operating systems, networks, software engineering, theory of computation and options such as machine learning, computer vision and cybersecurity, followed by a final-year project.
Programming well
- Write code every week, not just before deadlines.
- Read error messages carefully and learn to use a debugger.
- Write small tests as you go.
- Use version control (Git) for every project.
- Read other people's good code, such as well-known open-source libraries.
Theory: maths and algorithms
Discrete maths (logic, sets, graphs, combinatorics, proof by induction) underpins algorithms and theory of computation. In data structures and algorithms, aim to understand why an algorithm is correct and how its running time grows, not just to memorise code. Interview questions at technology companies draw heavily on this material, so it pays twice.
Academic integrity in coding
Universities use software to compare code submissions with each other and with online sources. Copying code, sharing solutions or using AI tools beyond what an assignment permits can lead to misconduct cases. Discuss ideas in general terms with others if allowed, but write your own code, and follow each module's rules on AI assistants. See academic integrity, AI and tutoring.
How a tutor helps
A computer science tutor can explain concepts like recursion, pointers, dynamic programming or complexity, review practice exercises with you, teach debugging and testing, and prepare you for exams. They will not write or fix assessed code for you, but they will make you a much stronger programmer.
This guide gives general information and was correct when last reviewed. Exams, deadlines and rules change, so always check the official website of the exam board, school, university or regulator.