Computer Science is the study of computation, algorithms, data structures, and the principles behind how software and hardware work.
Algorithms
An algorithm is a step-by-step procedure to solve a problem. Key properties: it must be finite, unambiguous, and produce a correct output for valid input.
Data Structures
Binary Number System
Computers store all data in binary (base 2) using only 0s and 1s. Each digit is called a bit. 8 bits = 1 byte.
Example: 1010 in binary = 10 in decimal (1×8 + 0×4 + 1×2 + 0×1)
Programming Logic Basics