What computer science studies
Computer science is not just about computers. It is the study of computation: what can be computed, how efficiently, and how to build systems that do it.
Defining computer science
Computer science studies algorithms (step-by-step procedures), the data they process, the machines that run them, and the systems people build from them. Edsger Dijkstra is often credited with the quip that computer science is no more about computers than astronomy is about telescopes, emphasising ideas over devices.
Branches of the field
Major areas include algorithms and theory, programming languages, computer architecture, operating systems, networks, databases, software engineering, artificial intelligence, graphics, human-computer interaction, and security. Computing also powers fields from biology to finance through computational science.
Abstraction
Abstraction hides details so we can think at a higher level. You drive a car without understanding fuel injection; programmers call a sort function without writing it. Computing is built in layers of abstraction, from transistors to logic gates, processors, operating systems, programming languages, and applications.
Algorithms
An algorithm is a finite, unambiguous sequence of steps that solves a problem, such as finding the largest number in a list or the shortest route on a map. The word comes from the name of the 9th-century Persian mathematician al-Khwarizmi. Good algorithms are correct, efficient, and clear.
Computational thinking
Computational thinking is a problem-solving approach: decomposition (breaking problems into parts), pattern recognition (spotting similarities), abstraction (focusing on what matters), and algorithm design (creating step-by-step solutions). It is useful far beyond programming.
Data and information
Data are raw facts, such as numbers, text, images, and sensor readings; information is data organised and interpreted to be useful. Computers store everything as binary digits (bits), and the meaning of those bits depends on how a program interprets them.
Hardware and software
Hardware is the physical equipment: processors, memory, storage, and input-output devices. Software is the instructions that tell hardware what to do: system software, such as operating systems, and application software, such as browsers and games. Firmware is software stored permanently in hardware.
Worked example
Planning a school timetable shows computational thinking: decompose the problem into teachers, rooms, classes, and time slots; recognise patterns, such as labs needing particular rooms; abstract away details like room colours; and design an algorithm that assigns classes while avoiding clashes.
Key takeaways
Computer science studies computation: algorithms, data, machines, and systems. It spans theory, systems, software, AI, and more. Abstraction builds computing in layers. Algorithms are finite, unambiguous procedures, named after al-Khwarizmi. Computational thinking uses decomposition, pattern recognition, abstraction, and algorithm design. Data become information when interpreted. Hardware is physical; software is instructions.
Flashcard
Study of computation
Check your understanding
Which best describes an algorithm?
