Concepts
- Data Representation:
- Analog Data: Continuous data.
- Digital Data: Represented by 1 and 0.
- Sampling: Converting analog data to digital numbers.
- Data Storage and Processing: Using microscopic switches to store data as open (0) or closed (1) circuits.
- Definitions:
- Bit: Basic unit of data.
- Byte: Group of 8 bits.
- Nibble: 4 bits.
- Kibibyte: 1024 bytes.
- Number Systems:
- Denary (Decimal): Base 10.
- Binary: Base 2.
- Conversion: Methods for converting between denary and binary.
- Registers: Storage locations in computers, with a focus on their size.
The document includes practice questions for converting between binary and denary.
Converting between different number system
Decimal to Binary
Formula: Continuously divide by 2, record the remainders, until the quotient is 0. Then, reverse the order of the remainders.
Example: Convert decimal number 45 to binary.
- 45 ÷ 2 = 22 remainder 1
- 22 ÷ 2 = 11 remainder 0
- 11 ÷ 2 = 5 remainder 1
- 5 ÷ 2 = 2 remainder 1
- 2 ÷ 2 = 1 remainder 0
- 1 ÷ 2 = 0 remainder 1
Result: Reverse the remainders: 101101
Binary to Decimal