CompTIA Tech+ (FC0-U71)IT Concepts and TerminologyEasy
A developer is working with a programming language that uses a base-16 number system for memory addresses. Which notational system is being used?
- AOctal
- BDecimal
- CHexadecimal
- DBinary
Show answer & explanationAnswer & explanation
Correct answer: C. Hexadecimal
Hexadecimal is a base-16 number system, commonly used in computing to represent memory addresses, colors, and other binary data in a more compact and human-readable form.
Why the other options are wrong
- A. Octal is base-8.
- B. Decimal is base-10.
- D. Binary is base-2.
Hexadecimal
A base-16 number system that uses 16 distinct symbols: 0-9 and A-F, which represent decimal values 10-15.
- Often used in computing to represent binary data concisely.
- One hexadecimal digit represents four binary digits (a nibble).
- Prefixes like 0x or suffixes like h are used to denote hexadecimal numbers.
Memory trick: Binary two, Octal eight, Decimal ten, Hex sixteen, don't be late!