Find a course
Age level: University students (18–25)BeginnerTechnology & Programming

Introduction to Computer Science

Binary, hardware, algorithms, code and the internet: the ideas behind every computer

⏱ 2 h 35 min5 modules · 12 lessons80 practice questionsFinal exam: 20 questions
Included with this course

Your certificate for this course

Finish the 12 lessons (about 2 h 35 min) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.

  • Your name and this course titlePrinted in classic diploma typography
  • Grade: Pass, Merit or DistinctionOn the gold seal, with your final score
  • Unique ID and QR codeAnyone can verify it in seconds
  • Score report PDFModule-by-module results and exam score
  1. Lessons12 lessons
  2. Final exam20 questions · 70% to pass
  3. CertificatePDF + score report

What you will learn

  • Convert numbers between binary and decimal and explain how text, colors and images are stored as bits
  • Describe the roles of the CPU, memory, storage and operating system, and trace the fetch-decode-execute cycle
  • Evaluate Boolean expressions and truth tables for AND, OR, NOT and XOR gates
  • Design simple algorithms using sequence, selection and iteration, and express them in pseudocode
  • Compare linear and binary search and common sorting methods, and classify algorithms with Big O notation
  • Write and debug short JavaScript programs using variables, conditions, loops, functions and arrays
  • Explain how data travels across the internet using packets, IP addresses, DNS, TCP and HTTP
  • Explain the basics of encryption, hashing and password strength, and discuss ethical issues in computing

About this course

Every time you send a message, stream a video or search the web, billions of tiny switches flip on and off in a precise order. Computer science is the study of how that's possible: how information can be represented with just 0s and 1s, how simple logic becomes a machine that can do almost anything, and how we write step-by-step instructions that solve real problems.

Computer science is not the same as "being good with computers," and it's much more than programming. It's a way of thinking: breaking big problems into small ones, spotting patterns, ignoring details that don't matter, and reasoning carefully about whether a solution is correct and how fast it will run.

This free course covers the core ideas you'd meet in a first university or AP-level computer science class. You'll start with binary and how numbers, text and images become bits. You'll open up the machine to see the CPU, memory and storage, build simple circuits from logic gates, and learn what an operating system actually does. Then you'll study algorithms: searching, sorting and Big O notation, the tool computer scientists use to compare how solutions scale. You'll write and fix small pieces of real JavaScript code to practice variables, conditions, loops, functions and arrays. Finally, you'll follow a message across the internet and learn the basics of encryption, password security and the ethical questions raised by modern computing.

The course is designed for high school and college students, career changers and anyone curious about how computers work. No prior experience is needed; the coding exercises run right in your browser. Each lesson mixes short explanations with calculators, puzzles and quick checks, and you can earn a free certificate by passing the final exam.

Syllabus

  1. Computing, Information and Bits

    Find out what computer science studies and how every number, letter and image becomes a pattern of 0s and 1s.

    1. What Is Computer Science?12 min
    2. Binary and Data Representation14 min
  2. How Computers Work

    Open up the machine: the CPU, memory and storage, the logic gates that compute, and the operating system that keeps it all running.

    1. Inside a Computer: CPU, Memory and Storage13 min
    2. Logic Gates and Boolean Logic13 min
    3. Operating Systems and Software12 min
  3. Algorithms

    Design step-by-step solutions, compare classic searching and sorting methods, and measure how algorithms scale with Big O notation.

    1. Designing Algorithms with Pseudocode13 min
    2. Searching and Sorting14 min
    3. Big O and Algorithm Efficiency13 min
  4. Programming Fundamentals

    Write real code: store values in variables, make decisions, repeat with loops, organize logic into functions and manage collections of data.

    1. Variables, Conditions and Loops14 min
    2. Functions, Arrays and Debugging14 min
  5. Networks, Security and Society

    Follow data across the internet, learn how encryption and hashing keep it safe, and think through the ethical questions computing raises.

    1. How the Internet Works13 min
    2. Security, AI and Computing Ethics14 min
  6. Final exam and certificate

    20 questions drawn from a pool of 33. Score 70% or more to pass; retakes get a fresh set of questions.

Try a sample question

Which statement best describes computer science?

  1. The skill of using office software and fixing printers
  2. The study of information and computation: how to represent, process and reason about it
  3. Another name for computer programming
  4. The history of how computers were invented
Show the answer

Answer: B. The study of information and computation: how to represent, process and reason about it

Computer science studies information and computation itself. Programming is one of its tools, IT support is a related but different field, and history is only a small part of it. Turing asked computer science questions before electronic computers existed.

Algorithm
A finite, precise sequence of steps that solves a problem or completes a task.
Abstraction
Hiding unnecessary detail so you can focus on what matters at the current level of a problem.
Bit
A binary digit, 0 or 1: the smallest unit of information in a computer.
Byte
A group of 8 bits, which can represent 256 different values.
Binary
The base-2 number system, which uses only the digits 0 and 1.
Unicode
A standard that assigns a unique number to characters from almost every writing system, plus symbols and emoji.

Frequently asked questions

Is computer science the same as programming?

No. Programming is one tool computer scientists use, the way writing is a tool historians use. Computer science also covers how information is represented, how hardware works, which problems can be solved efficiently, how networks communicate and how to keep systems secure.

Do I need to be good at math to study computer science?

You need logical thinking more than advanced math. An introduction like this uses arithmetic, powers of 2 and a little algebra. Later areas such as graphics, machine learning and cryptography use more math, which you can learn when you need it.

Which programming language does this course use?

The short coding exercises use JavaScript because it runs in every web browser, so you don't have to install anything. The concepts (variables, conditions, loops, functions, arrays) work the same way in Python, Java, C and most other languages.

Why do computers use binary instead of decimal?

Electronic circuits are most reliable when they only need to tell two states apart, such as high and low voltage. Two states map naturally to 1 and 0. Any number, letter, color or sound can be encoded as a pattern of those two digits.

What is Big O notation used for?

Big O describes how the running time or memory use of an algorithm grows as the input gets larger. It lets you compare approaches without timing them on a particular computer, for example knowing that binary search (O(log n)) will beat linear search (O(n)) on large sorted lists.

Is this course enough to prepare for a computer science degree or AP exam?

It gives you a solid map of the main ideas and vocabulary, which makes a first formal course much easier. Exams and degrees go deeper and require much more programming practice, so treat this as a strong foundation rather than full preparation.

Sources and further reading

Related courses

TeensBeginner

Computer Science Principles

Data, algorithms, the internet and the impact of computing, the big ideas of CS

Technology & Programming
1 h 55 min11 lessonsCertificate
University studentsIntermediate

Data Structures and Algorithms

Big O, arrays, hash tables, trees, graphs, sorting and dynamic programming with hands-on code

Technology & Programming
2 h 40 min13 lessonsCertificate
University studentsBeginner

How Computers Work

From bits and logic gates to processors, memory and the operating system

Technology & Programming
2 h 25 min11 lessonsCertificate
University studentsIntermediate

Operating Systems Concepts

Processes, threads, scheduling, memory, file systems and protection explained

Technology & Programming
2 h 50 min11 lessonsCertificate
University studentsIntermediate

Object-Oriented Programming

Classes, encapsulation, inheritance, polymorphism and SOLID design

Technology & Programming
2 h 40 min12 lessonsCertificate
TeensBeginner

Binary and Number Systems

Count, convert and calculate in binary, hexadecimal and octal like a computer

Technology & Programming
1 h 50 min11 lessonsCertificate