Programming and Computer Science

A 3D terminal window on a white base showing shell prompts, a git commit command and passing test output.Drag to turn

3D model: Terminal window model

Computer science is the study of computation: what can be computed, how efficiently, and how to build systems that do it reliably. Programming is the practice of expressing computation in a language a machine can execute. The two are linked, but the discipline reaches well beyond writing code into logic, mathematics and engineering. Its core questions concern correctness, cost and structure.

A university course typically begins with variables, control flow, functions and recursion. It then moves to data structures such as arrays, linked lists, trees, hash tables and graphs, and to algorithm analysis using Big O notation. Sorting, searching and dynamic programming show how a change in design can change running time from impractical to fast. Testing and debugging are taught alongside as core habits.

Later topics include object-oriented and functional design, computer architecture, operating systems, networks, databases, automata and computability. Students also meet proof techniques such as induction, and ideas such as the halting problem, which proves firm limits on what programs can compute, and NP-completeness, which identifies problems for which no fast algorithm is known.

Topics in this subject

Programs are structure you can follow. Trace one path down a binary search tree. Follow an SQL query from app to database. Read the CPU's fetch, decode and execute cycle. Turn a terminal window showing a git commit.

Learn this with a tutor

Join the waitlist and we'll email you when Sidechair opens.

We'll only email you about Sidechair. Read our privacy policy.