Coursify
Create New CourseGalleryContact

AP Computer Science Principles

Unit 1
Unit 1: Data
Introduction to DataData RepresentationData TypesData Structures
Unit 3 • Chapter 1

Introduction to Binary

Video Summary

Binary is a numbering system that uses only two digits, 0 and 1. It is used in computers to represent data and instructions. Each digit in a binary number represents a power of 2. For example, the binary number 1001 represents the decimal number 9, because 1 * 2^3 + 0 * 2^2 + 0 * 2^1 + 1 * 2^0 = 9. Binary is the basis of all digital electronics and is essential for understanding how computers work.

Knowledge Check

What is the base of the binary number system?

What is the smallest positive number that cannot be represented in binary?

Which of the following is not a valid binary number?