Study guide
1.2 Notational Systems & Character Representation
CompTIA Tech+ FC0-U71
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: IT Concepts & Terminology
1.1 CompTIA Tech+ Overview & The Computing Cycle 1.2 Notational Systems & Character Representation 1.3 Units of Measure for Storage, Throughput & Speed
2 Chapter 2: Troubleshooting Methodology & Computing Devices
2.1 CompTIA 6-Step Troubleshooting Process 2.2 Computing Device Categories & Purposes 2.3 IoT, Smart Devices & Specialized Hardware
3 Chapter 3: Internal Hardware Components & System Storage
3.1 Motherboards, CPUs & Memory Architecture 3.2 Firmware, Power Delivery & Hardware Configuration 3.3 Storage Media & Drive Technologies
4 Chapter 4: Peripherals, Interfaces & Connections
4.1 Peripheral Device Types & Configuration 4.2 Wired I/O Interfaces & Video Cable Standards 4.3 Wireless Peripheral Connectivity & Short-Range RF
5 Chapter 5: Networking Technologies & Internet Services
5.1 Internet Access Technologies & Connection Types 5.2 Network Scopes & Physical Infrastructure 5.3 Wi-Fi Standards, Bands & Performance 5.4 IP Addressing & Fundamental Network Protocols
6 Chapter 6: Virtualization, Cloud Computing & AI Fundamentals
6.1 Virtualization Concepts & Hypervisor Types 6.2 Cloud Architecture & Service Categories 6.3 Artificial Intelligence Concepts & Modern Use Cases
7 Chapter 7: Operating Systems Architecture & Management
7.1 Operating System Categories & Core Functions 7.2 OS Architecture, Process Management & Utilities 7.3 File Systems, Directory Trees & Access Control
8 Chapter 8: Applications, Software Licensing & Web Browsing
8.1 Software Applications & Business Productivity Suites 8.2 Software Deployment Architectures & Licensing 8.3 Web Browser Architecture & Security Configuration
9 Chapter 9: Software Development & Programming Concepts
9.1 Programming Language Categories & Paradigms 9.2 Data Types, Variables & Identifiers 9.3 Programming Logic, Control Flow & Data Structures
10 Chapter 10: Data Concepts, Analytics & Database Fundamentals
10.1 The Value of Data, Information & Big Data Analytics 10.2 Relational Database Concepts & Schema Structure 10.3 Non-Relational Databases & Core SQL Commands
11 Chapter 11: Data Protection, Backup & Recovery
11.1 Data Backup Methodologies & Recovery Strategies 11.2 Backup Media Destinations & Disaster Recovery
12 Chapter 12: Security Concepts, Access Control & Device Hardening
12.1 Foundational Security Principles & the CIA Triad 12.2 Security Threats, Social Engineering & Malware Defense 12.3 Physical Security & Endpoint Hardening Practices
13 Chapter 13: Identity, Encryption & Wireless Network Security
13.1 Password Security Practices & Multi-Factor Authentication 13.2 Encryption Concepts & Cryptographic Applications 13.3 Wireless Network Security & Access Controls
1.2 Notational Systems & Character Representation
Key Takeaways Explain This Topic AI
Computers execute operations using positional numeral systems, most notably Binary (Base 2), Decimal (Base 10), Hexadecimal (Base 16), and Octal (Base 8).
Hexadecimal is widely used in computing because each hex digit maps precisely to a 4-bit binary nibble (2⁴ = 16), significantly condensing long binary values such as MAC addresses and IPv6 blocks.
Base conversion between binary, decimal, and hexadecimal is calculated through positional weighting (powers of the base) or repeated division by the target radix.
Character encoding standards translate binary bit sequences into human characters: 7-bit ASCII represents 128 characters, Extended ASCII represents 256 characters, and Unicode (specifically UTF-8 and UTF-16) accommodates over 1.1 million global code points including emojis.
Last updated: September 2026
Notational Systems & Character Representation
Core Foundation: Microprocessors cannot directly comprehend English text, decimal fractions, or photographic images. Modern digital computers are built from billions of microscopic transistors that function as physical electrical switches. A switch is either conducting electricity (state 1 / High Voltage) or resisting electricity (state 0 / Low Voltage). Notational numbering systems and character encodings provide the mathematical framework that maps human concepts onto binary machine states.
Positional Numeral Systems in Computing
A positional numeral system expresses numbers using an ordered set of digits where the value of each digit depends on its position relative to the radix (base). The value of any digit is calculated as: Value = d × b p \text{Value} = d \times b^p Value = d × b p
Where d d d is the digit coefficient, b b b is the base, and p p p is the zero-indexed position exponent moving from right to left.
The Four Primary Bases in IT
Decimal (Base 10): The standard human counting system based on ten distinct digits ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ). Each position moving left represents an increasing power of ten ( 10 0 = 1 , 10 1 = 10 , 10 2 = 100 , 10 3 = 1000 10^0 = 1, 10^1 = 10, 10^2 = 100, 10^3 = 1000 1 0 0 = 1 , 1 0 1 = 10 , 1 0 2 = 100 , 1 0 3 = 1000 ).
Binary (Base 2): The native language of computing hardware, consisting of only two digits: 0 and 1 . Each position represents an increasing power of two ( 2 0 = 1 , 2 1 = 2 , 2 2 = 4 , 2 3 = 8 , 2 4 = 16 , 2 5 = 32 , 2 6 = 64 , 2 7 = 128 2^0 = 1, 2^1 = 2, 2^2 = 4, 2^3 = 8, 2^4 = 16, 2^5 = 32, 2^6 = 64, 2^7 = 128 2 0 = 1 , 2 1 = 2 , 2 2 = 4 , 2 3 = 8 , 2 4 = 16 , 2 5 = 32 , 2 6 = 64 , 2 7 = 128 ).
Hexadecimal (Base 16 or "Hex"): Uses sixteen distinct symbols: numerals 0 through 9 followed by letters A through F (where A=10, B=11, C=12, D=13, E=14, F=15 ). Hexadecimal is used to express memory dump addresses, MAC addresses, IPv6 segments, and HTML/CSS color codes in human-readable shorthand.
Octal (Base 8): Uses eight digits ( 0, 1, 2, 3, 4, 5, 6, 7 ). Each octal digit corresponds exactly to a 3-bit binary group ( 2 3 = 8 2^3 = 8 2 3 = 8 ). While less common in modern hardware than hexadecimal, octal is frequently encountered in Unix and Linux file permission structures (e.g., chmod 755 ).
Comparative Value Matrix: 0 through 17
- Decimal (Base 10) Binary (Base 2) Octal (Base 8) Hexadecimal (Base 16)
- 0 0000 0 0
- 1 0001 1 1
- 2 0010 2 2
- 3 0011 3 3
- 4 0100 4 4
- 5 0101 5 5
- 6 0110 6 6
- 7 0111 7 7
- 8 1000 10 8
- 9 1001 11 9
- 10 1010 12 A
- 11 1011 13 B
- 12 1100 14 C
- 13 1101 15 D
- 14 1110 16 E
- 15 1111 17 F
- 16 0001 0000 20 10
- 17 0001 0001 21 11
- Step-by-Step Conversion Methodologies
Converting values between decimal, binary, and hexadecimal is an essential technical competency tested on the CompTIA Tech+ exam.
1. Binary to Decimal Conversion
To convert an 8-bit binary string (a Byte) to decimal, write out the binary digits beneath the standard powers-of-two positional weight chart, multiply each digit by its positional weight, and sum the active values: Positional Weights: 128 64 32 16 8 4 2 1
Binary Digits: 1 0 1 1 0 1 0 1
Calculation: ( 1 × 128 ) + ( 0 × 64 ) + ( 1 × 32 ) + ( 1 × 16 ) + ( 0 × 8 ) + ( 1 × 4 ) + ( 0 × 2 ) + ( 1 × 1 ) (1 \times 128) + (0 \times 64) + (1 \times 32) + (1 \times 16) + (0 \times 8) + (1 \times 4) + (0 \times 2) + (1 \times 1) ( 1 × 128 ) + ( 0 × 64 ) + ( 1 × 32 ) + ( 1 × 16 ) + ( 0 × 8 ) + ( 1 × 4 ) + ( 0 × 2 ) + ( 1 × 1 )
- Sum: 128 + 32 + 16 + 4 + 1 = 181 128 + 32 + 16 + 4 + 1 = 181 128 + 32 + 16 + 4 + 1 = 181
- Result: 10110101 2 = 181 10 10110101_2 = 181_{10} 1011010 1 2 = 18 1 10
- 2. Decimal to Binary Conversion
Decimal values can be converted to binary through two proven methods:
Method A: Subtraction of Powers of Two
Take the target decimal number, find the largest power of two that fits inside it, subtract that power, place a 1 in that bit's column, and repeat with the remainder:
Target: 157 10 157_{10} 15 7 10
157 ≥ 128 157 \ge 128 157 ≥ 128 -> Place 1 in 128 column. Remainder: 157 − 128 = 29 157 - 128 = 29 157 − 128 = 29
29 < 64 29 < 64 29 < 64 -> Place 0 in 64 column.
29 < 32 29 < 32 29 < 32 -> Place 0 in 32 column.
- 29 ≥ 16 29 \ge 16 29 ≥ 16 -> Place 1 in 16 column. Remainder: 29 − 16 = 13 29 - 16 = 13 29 − 16 = 13
- 13 ≥ 8 13 \ge 8 13 ≥ 8 -> Place 1 in 8 column. Remainder: 13 − 8 = 5 13 - 8 = 5 13 − 8 = 5
- 5 ≥ 4 5 \ge 4 5 ≥ 4 -> Place 1 in 4 column. Remainder: 5 − 4 = 1 5 - 4 = 1 5 − 4 = 1
1 < 2 1 < 2 1 < 2 -> Place 0 in 2 column.
- 1 ≥ 1 1 \ge 1 1 ≥ 1 -> Place 1 in 1 column. Remainder: 1 − 1 = 0 1 - 1 = 0 1 − 1 = 0
- Result: 157 10 = 10011101 2 157_{10} = 10011101_2 15 7 10 = 1001110 1 2
- Method B: Successive Division by 2 with Remainders
Divide the integer repeatedly by 2, recording each remainder ( 0 or 1 ), until the quotient reaches zero. Read remainders from bottom to top (Least Significant Bit to Most Significant Bit):
- 157 ÷ 2 = 78 157 \div 2 = 78 157 ÷ 2 = 78 remainder 1 (Bit 0)
- 78 ÷ 2 = 39 78 \div 2 = 39 78 ÷ 2 = 39 remainder 0 (Bit 1)
- 39 ÷ 2 = 19 39 \div 2 = 19 39 ÷ 2 = 19 remainder 1 (Bit 2)
- 19 ÷ 2 = 9 19 \div 2 = 9 19 ÷ 2 = 9 remainder 1 (Bit 3)
- 9 ÷ 2 = 4 9 \div 2 = 4 9 ÷ 2 = 4 remainder 1 (Bit 4)
- 4 ÷ 2 = 2 4 \div 2 = 2 4 ÷ 2 = 2 remainder 0 (Bit 5)
- 2 ÷ 2 = 1 2 \div 2 = 1 2 ÷ 2 = 1 remainder 0 (Bit 6)
- 1 ÷ 2 = 0 1 \div 2 = 0 1 ÷ 2 = 0 remainder 1 (Bit 7)
Reading from bottom to top yields: 10011101 .
3. Binary to Hexadecimal (The Nibble Method)
Because 2 4 = 16 2^4 = 16 2 4 = 16 , one hexadecimal digit represents exactly 4 binary bits (known as a nibble ). Converting between binary and hex does not require intermediate decimal math:
Divide the binary string into 4-bit nibbles starting from the right. (Pad with leading zeros on the left if necessary).
Translate each 4-bit group into its single hex equivalent.
Example: Convert 11011010 2 11011010_2 1101101 0 2 to Hexadecimal.
Left Nibble: 1101 2 = 8 + 4 + 1 = 13 → D 1101_2 = 8 + 4 + 1 = 13 \rightarrow \mathbf{D} 110 1 2 = 8 + 4 + 1 = 13 → D
- Right Nibble: 1010 2 = 8 + 2 = 10 → A 1010_2 = 8 + 2 = 10 \rightarrow \mathbf{A} 101 0 2 = 8 + 2 = 10 → A
- Combined Result: 0xDA (or D A 16 DA_{16} D A 16 )
Reverse Example: Convert Hexadecimal 0x3F to Binary.
- Hex digit 3 : 0011 2 0011_2 001 1 2
- Hex digit F ( 15 10 15_{10} 1 5 10 ): 1111 2 1111_2 111 1 2
- Combined 8-bit Byte: 00111111 ( 63 10 63_{10} 6 3 10 )
- 4. Decimal to Hexadecimal Conversion
To convert larger decimal numbers to hexadecimal, use successive division by 16:
Convert 254 10 254_{10} 25 4 10 to Hex:
254 ÷ 16 = 15 254 \div 16 = 15 254 ÷ 16 = 15 with a remainder of 14 14 14 .
The quotient 15 15 15 corresponds to hex digit F .
The remainder 14 14 14 corresponds to hex digit E .
Result: 0xFE .
Digital Character Encoding Standards
A character encoding is a defined mapping table that assigns numeric binary values (code points) to human characters, punctuation symbols, and system control signals.
ASCII (American Standard Code for Information Interchange)
Formulated in 1963 by the American National Standards Institute (ANSI), Standard ASCII is a 7-bit encoding standard capable of representing 2 7 = 128 2^7 = 128 2 7 = 128 distinct characters (code points 0 through 127 / hex 0x00 through 0x7F ).
Control Characters (0–31 and 127): Non-printing signals used for device communication, including 0x00 (NULL), 0x09 (Horizontal Tab), 0x0A (Line Feed / Newline), 0x0D (Carriage Return), and 0x1B (Escape).
Printable Characters (32–126): Includes standard numerals 0 – 9 , uppercase English alphabet A – Z , lowercase English alphabet a – z , and standard punctuation symbols. Key Benchmark ASCII Code Points (Memorize for Exam):
- * Space (' ') = Decimal 32 (Hex 0x20, Binary 0010 0000)
- * Zero ('0') = Decimal 48 (Hex 0x30, Binary 0011 0000)
- * Uppercase 'A' = Decimal 65 (Hex 0x41, Binary 0100 0001)
- * Lowercase 'a' = Decimal 97 (Hex 0x61, Binary 0110 0001)
Exam Trap: Notice the mathematical relationship between uppercase and lowercase ASCII letters: Lowercase 'a' (97) is exactly 32 greater than uppercase 'A' (65). In binary, this corresponds to setting bit 5 (weight 32) from 0 to 1 ! Thus, changing 01000001 ('A') to 01100001 ('a') toggles letter case.
Extended ASCII
As computing globalized, 7 bits proved insufficient. Extended ASCII expanded character representation to an entire 8-bit byte ( 2 8 = 256 2^8 = 256 2 8 = 256 code points).
Code points 0–127 remained identical to Standard ASCII.
Code points 128–255 introduced accented characters (e.g., é, ñ, ü ), currency symbols (e.g., £, ¥ ), and box-drawing graphical characters.
The Limitation: Different regions and operating systems created conflicting "Code Pages" (such as IBM Code Page 437 and Windows-1252). A file written on one system displayed unreadable corrupted symbols—known as mojibake —when opened on another.
Unicode: The Universal Global Standard
To resolve code page fragmentation, the Unicode Consortium created Unicode . Unicode decouples character identity from storage format, assigning a unique code point written as U+XXXX to every character in human history.
Architecture: Unicode supports up to 1,114,112 code points , divided across 17 "Planes" of 65,536 characters each.
Plane 0 (Basic Multilingual Plane - BMP): Covers virtually all modern languages (Latin, Greek, Cyrillic, Hebrew, Arabic, Devanagari, Han ideographs for Chinese, Japanese, and Korean).
Supplementary Planes (Planes 1–16): Accommodate historical scripts (Egyptian hieroglyphs), specialized musical and mathematical notations, and modern graphical emojis (e.g., 🚀 U+1F680).
Unicode Encoding Implementations: UTF-8 vs. UTF-16
- Feature UTF-8 UTF-16
- Byte Length Variable: 1 to 4 Bytes (8 to 32 bits) Variable: 2 or 4 Bytes (16 or 32 bits)
ASCII Compatibility 100% Backwards Compatible (0–127 use 1 byte) Incompatible with 7-bit ASCII without transformation
Dominant Use Case World Wide Web, Linux, and macOS text files Windows OS internal APIs, Java VM, JavaScript engine memory
Storage Efficiency Highly compact for Western Latin alphabets More compact for Asian scripts (CJK) requiring 2-byte BMP ranges UTF-8 Multi-Byte Structure:
- 1-Byte Character (ASCII): 0xxxxxxx
- 2-Byte Character (Latin/Greek): 110xxxxx 10xxxxxx
- 3-Byte Character (Asian/CJK): 1110xxxx 10xxxxxx 10xxxxxx
- 4-Byte Character (Emojis): 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
- Practical Diagnostic Scenarios & Exam Pitfalls
Trap 1: Confusing Numeric Value with Character Code. On an exam, candidates are often asked what binary value represents the character '5' . The numeric integer 5 is represented in binary as 00000101 . However, the ASCII character '5' has a decimal code point of 53 , which is stored in memory as 00110101 !
Trap 2: Hexadecimal Letter Offsets. Remember that in hexadecimal, letter A represents decimal 10 , not 11 . The sequence is: A=10, B=11, C=12, D=13, E=14, F=15 .
Trap 3: Assuming UTF-8 Is Always 8 Bits. The "8" in UTF-8 signifies that the minimum character unit is 8 bits (one byte). However, UTF-8 dynamically expands up to four bytes (32 bits) to represent complex international scripts and modern emojis.