ICSOC-8.7.3 Positional Number Systems and Radix Concepts (M)

Easy

ICSOC-8.7.3.1 The Positional Number System: Radix Principles, Digit Weights, and Polynomial Expansion

The Positional Number System: Radix Principles, Digit Weights, and Polynomial Expansion

A positional number system represents numerical quantities using a predetermined set of distinct symbolic digits, where the quantitative contribution of each digit depends strictly on both its intrinsic face value and its relative positional weight. The foundational parameter of any positional system is its radix (or base, denoted as r), which specifies the exact number of unique symbols available within the system (ranging from 0 to r-1). In a positional numeral represented as a sequence of integer and fractional digits d_n…d_1 d_0 . d_-1 d_-2…d_-m, each digit d_i is scaled by an integer power of the radix, r^i, where i represents the positional index relative to the radix point (with i >= 0 extending leftward for integer powers, and i < 0 extending rightward for negative fractional powers).

The total magnitude of any positional number is mathematically evaluated through polynomial expansion: N = Σ (d_i × r^i). In contrast to non-positional systems like Roman numerals, where symbols maintain fixed values regardless of sequence order, positional notation enables boundless computational scalability and algorithmic arithmetic. The most significant digit (MSD) occupies the leftmost position carrying the highest positional weight r^(n-1), whereas the least significant digit (LSD) occupies the rightmost position with the lowest weight. Mastering the mathematical interaction between radix magnitude, positional indices, and weighted sums is the vital prerequisite for analyzing inter-base conversions and low-level digital architectures.

Easy
In a positional number system with radix (base) r, what is the valid range of distinct digit symbols allowed in any single position?
Option B is correct. In any positional number system with radix r, exactly r distinct digit symbols are permitted, spanning from 0 through r – 1. For example, in decimal (r=10), digits are 0 through 9; in binary (r=2), digits are 0 and 1. Option A is incorrect because 0 is mandatory in positional systems and r cannot be represented as a single digit. Option C is incorrect because allowing r would require r + 1 distinct symbols. Option D excludes 0, which makes positional representation of multiples of the radix impossible.
Medium
Consider the fractional positional numeral 43.25 in an arbitrary base r. What is the mathematical positional weight of the digit ‘5’?
Option B is correct. Positional weight refers strictly to the base power assigned to that position, r^i. Integer positions left of the radix point start at index 0 (weight r^0) and increase leftward (r^1, r^2). Fractional positions right of the radix point start at index -1 (weight r^-1) and decrease rightward (r^-2, r^-3). The digit ‘5’ is located at the second fractional position (index -2), so its positional weight is r^-2. Option A is the weight of digit ‘2’ (r^-1). Option C represents the total weighted value contribution of the digit (face value × weight), not the positional weight itself. Option D is the weight of digit ‘3’ (r^0).
Tricky
An unknown positional number system uses the expression 13_r + 24_r = 42_r. What is the value of the radix r?
Option A is correct. Express each number using polynomial expansion in base r: 13_r = 1·r + 3; 24_r = 2·r + 4; 42_r = 4·r + 2. Setting up the algebraic equation: (r + 3) + (2r + 4) = 4r + 2. Simplifying the left side yields 3r + 7 = 4r + 2. Subtracting 3r from both sides gives 7 = r + 2, which leads to r = 5. Checking validity: all digits used (1, 2, 3, 4) are strictly less than 5, confirming radix 5 is fully valid. Option B (r=6) yields 9 + 16 = 25 != 26. Option C (r=7) yields 10 + 18 = 28 != 30. Option D (r=8) yields 11 + 20 = 31 != 34.
Easy

ICSOC-8.7.3.2 The Decimal Number System (Base-10): Arabic Digits, Powers of 10, and Expanded Form

The Decimal Number System (Base-10): Arabic Digits, Powers of 10, and Expanded Form

The decimal number system, possessing a radix of 10 (r = 10), serves as the universally adopted numerical standard for human commerce, scientific measurement, and foundational mathematics. Base-10 utilizes an alphabet of ten elementary Arabic numerals: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. In this system, each position to the left of the decimal point represents an escalating positive power of ten (units 10^0, tens 10^1, hundreds 10^2, thousands 10^3, etc.), while positions to the right of the decimal point represent fractional negative powers of ten (tenths 10^-1 = 0.1, hundredths 10^-2 = 0.01, thousandths 10^-3 = 0.001).

When expressing a value in expanded notation, such as the decimal quantity 742.65_10, the quantity is formally decomposed into its constituent weighted products: (7 × 10^2) + (4 × 10^1) + (2 × 10^0) + (6 × 10^-1) + (5 × 10^-2). Because humans naturally manipulate numbers in base-10 due to biological ten-finger counting conventions, digital computing systems must continually perform input parsing and output translation, converting binary machine representations back into decimal forms for human consumption. Understanding decimal decomposition establishes the fundamental baseline against which non-decimal computing radices (base-2, base-8, base-16) are conceptualized and mathematically analyzed.

Easy
Which of the following correctly describes the valid digit set and base of the standard Decimal Number System?
Option B is correct. The decimal number system has a radix (base) of 10 and consists of exactly ten distinct Arabic digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Option A incorrectly lists radix 9. Option C incorrectly includes 10 as a single digit; 10 is a compound positional representation consisting of digits 1 and 0. Option D defines the octal (base-8) system.
Medium
In the decimal expansion of the number 805.04_10, what is the exact sum of the positional weight of the digit ‘8’ and the positional weight of the digit ‘4’?
Option B is correct. The question asks for the sum of the positional weights, not the digit values. In 805.04, the digit ‘8’ is in the hundreds position, so its positional weight is 10^2 = 100. The digit ‘4’ is in the hundredths position, so its positional weight is 10^-2 = 0.01. Summing these two positional weights yields 100 + 0.01 = 100.01. Option A is the sum of the values of the digits (800 + 0.04), confusing digit face values with weights. Option C incorrectly uses 10^3 (thousands). Option D miscalculates the tens and hundredths weights.
Tricky
What is the maximum number of unique integers that can be represented using exactly k decimal digits in an unsigned fixed-width system, and what is the maximum representable value?
Option A is correct. With k decimal digits, each position has 10 independent possibilities (0 through 9). By the fundamental counting principle, there are 10 × 10 × … × 10 = 10^k unique integer representations. Since the smallest value is 0 (all zeros), the maximum representable value is 10^k – 1 (e.g., for k = 3 digits, there are 10^3 = 1000 unique integers from 000 to 999, where 999 = 10^3 – 1). Option B swaps the total count and the maximum value. Option C incorrectly uses 9 as the radix multiplier. Option D underestimates the capacity by an order of magnitude.
Medium

ICSOC-8.7.3.3 The Binary Number System (Base-2): Bit Strings, Radix-2 Weights, and Powers of Two

The Binary Number System (Base-2): Bit Strings, Radix-2 Weights, and Powers of Two

The binary number system, operating with a radix of 2 (r = 2), constitutes the fundamental mathematical language of digital computer architecture and electronic logic circuits. Operating exclusively on a two-symbol alphabet {0, 1}, each binary digit is termed a ‘bit’—the atomic unit of digital information. The physical implementation of binary logic maps flawlessly to the bistable operational states of semiconductor transistors, where 0 and 1 correspond directly to distinct physical voltage thresholds (low voltage/cutoff state vs. high voltage/saturation state). In a binary string, positional weights escalate exponentially as powers of two from right to left: 2^0 = 1, 2^1 = 2, 2^2 = 4, 2^3 = 8, 2^4 = 16, 2^5 = 32, 2^6 = 64, 2^7 = 128, and so forth.

A binary sequence is evaluated into decimal by summing the active positional powers of two where the corresponding bit is 1. For instance, the 8-bit byte 10110101_2 corresponds to (1×128) + (0×64) + (1×32) + (1×16) + (0×8) + (1×4) + (0×2) + (1×1) = 181_10. Fractional binary values similarly decline across negative powers of two (2^-1 = 0.5, 2^-2 = 0.25, 2^-3 = 0.125). Because an n-bit binary register can represent exactly 2^n unique states (spanning unsigned numerical ranges from 0 to 2^n – 1), binary width governs CPU register capacity, bus addressing, and memory allocation boundaries throughout computing infrastructure.

Easy
In digital systems, what is the smallest atomic unit of data called, and which two states can it represent?
Option B is correct. A ‘bit’ (portmanteau of binary digit) is the atomic, indivisible fundamental unit of digital storage. A bit can exist in exactly one of two discrete states, 0 or 1, corresponding to physical electronic voltage thresholds. Option A describes a byte, which is composed of 8 bits. Option C describes a nibble, which comprises 4 bits. Option D describes a word, and digital logic does not include a ‘Maybe’ state in Boolean architecture.
Medium
What is the decimal equivalent of the 8-bit unsigned binary number 11010100_2?
Option B is correct. To convert 11010100_2 to decimal, sum the active powers of 2 for each bit position: (1 × 2^7) + (1 × 2^6) + (0 × 2^5) + (1 × 2^4) + (0 × 2^3) + (1 × 2^2) + (0 × 2^1) + (0 × 2^0) = 128 + 64 + 0 + 16 + 0 + 4 + 0 + 0 = 212. Option A (210) omits the 2^2 bit and adds 2^1. Option C (214) erroneously includes the 2^1 bit (128 + 64 + 16 + 4 + 2). Option D (216) erroneously includes an extra 4 in calculation.
Tricky
How many total bits are required to uniquely encode all 365 days of a calendar year in unsigned binary, and what is the minimum number of unused code patterns in that bit allocation?
Option B is correct. An n-bit binary allocation can represent 2^n unique patterns. For n = 8, 2^8 = 256 < 365, which is insufficient. For n = 9, 2^9 = 512 >= 365. Thus, exactly 9 bits are required. The total number of unused code combinations is 2^9 – 365 = 512 – 365 = 147. Option A is incorrect because 8 bits cannot encode 365 distinct days. Option C has an arithmetic subtraction error (512 – 365 = 147, not 146). Option D uses 10 bits, which is not the minimal bit width required.
Medium

ICSOC-8.7.3.4 The Octal Number System (Base-8): Digits 0–7 and Direct 3-Bit Grouping Relationships

The Octal Number System (Base-8): Digits 0–7 and Direct 3-Bit Grouping Relationships

The octal number system possesses a radix of 8 (r = 8) and employs an alphabet of eight discrete digits: {0, 1, 2, 3, 4, 5, 6, 7}. Positional weights in octal proceed as ascending powers of eight leftward from the octal point: 8^0 = 1, 8^1 = 8, 8^2 = 64, 8^3 = 512, and 8^4 = 4096. While modern personal computers do not compute natively in base-8, octal maintains profound historical and practical importance as a compact shorthand notation for binary bit strings. Because 8 is an exact power of two (8 = 2^3), there exists an exact, one-to-one correspondence between every single octal digit and a unique 3-bit binary triplet (from 0_8 = 000_2 up to 7_8 = 111_2).

This logarithmic alignment allows long, unwieldy binary strings to be converted into octal instantaneously by grouping bits into triplets starting from the radix point, without requiring intermediate decimal arithmetic. For example, the binary string 110101111_2 cleanly partitions into (110) (101) (111)_2, translating directly to 657_8. In real-world computing environments, octal notation remains actively used in POSIX/Linux file system permissions, where security modes are encoded as 3-digit octal values (e.g., chmod 754 represents rwxr-xr–: user=7, group=5, others=4), as well as in legacy aerospace avionics and machine-level instruction bundling.

Easy
Why is the Octal Number System (Base-8) particularly convenient for compacting binary numbers?
Option B is correct. Because 8 is an exact power of two (2^3 = 8), each octal digit (0 through 7) maps perfectly to a unique 3-bit binary sequence (000 to 111). This permits direct, instantaneous grouping and conversion without arithmetic division. Option A describes a coincidental arithmetic fact with no architectural relevance. Option C is false because octal uses only numeric digits {0, 1, 2, 3, 4, 5, 6, 7}. Option D inverts the relationship between bytes and bits.
Medium
In Linux/POSIX operating system file permissions, a file has octal permission mode 751. What do these three octal digits signify in terms of Read (r=4), Write (w=2), and Execute (x=1) permissions for User, Group, and Others?
Option A is correct. In POSIX permission masking, each octal digit encodes three binary permission bits: Read (4 = 2^2), Write (2 = 2^1), and Execute (1 = 2^0). For User: 7 = 4 + 2 + 1 = rwx (binary 111). For Group: 5 = 4 + 0 + 1 = r-x (binary 101). For Others: 1 = 0 + 0 + 1 = –x (binary 001). Option B translates Group 5 into rw- (which is 4+2=6). Option C sets User to 6 (rw-). Option D sets Group to 4 (r–).
Tricky
Convert the binary string 10111010110.11_2 directly into its equivalent octal representation using 3-bit grouping.
Option A is correct. To convert to octal, group bits into sets of 3, moving leftward from the binary point for integers (padding leading zeros if needed) and rightward for fractions (padding trailing zeros if needed). Integer part: 10 111 010 110 -> pad 0 on left -> 010 111 010 110. 010_2 = 2; 111_2 = 7; 010_2 = 2; 110_2 = 6, giving 2726_8. Fractional part: .11_2 -> pad 0 on right -> .110_2 = 6_8. Combining both parts yields 2726.6_8. Option B incorrectly evaluates .11_2 as .011 (3_8), forgetting that fractional padding must add trailing zeros on the right (.110 = 6). Option C and D use incorrect grouping offsets.
Tricky

ICSOC-8.7.3.5 The Hexadecimal Number System (Base-16): Alphanumeric Radix, Nibbles, and 4-Bit Groupings

The Hexadecimal Number System (Base-16): Alphanumeric Radix, Nibbles, and 4-Bit Groupings

The hexadecimal number system utilizes a radix of 16 (r = 16), making it the primary human-readable compact notation for machine-level binary data across modern computer architecture. Because base-16 requires sixteen distinct numerical symbols, it utilizes the standard Arabic numerals 0 through 9 supplemented by the first six letters of the English alphabet: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F}, where the letters represent quantitative values from 10 to 15 (A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15). Positional weights in hexadecimal escalate exponentially by powers of sixteen: 16^0 = 1, 16^1 = 16, 16^2 = 256, 16^3 = 4096, and 16^4 = 65536.

The architectural ubiquity of hexadecimal stems from the mathematical relationship 16 = 2^4: exactly one hexadecimal digit encapsulates a 4-bit binary sequence (known as a ‘nibble’). Consequently, a standard 8-bit computer byte (256 distinct values from 00000000_2 to 11111111_2) can be expressed by two hexadecimal digits (00_16 to FF_16). Binary strings are converted to hexadecimal effortlessly by clustering bits into groups of four from the radix point (e.g., 10111110_2 partitions into 1011 = B and 1110 = E, yielding BE_16 or 0xBE). Hexadecimal notation is the universal standard for formatting physical memory addresses, IPv6 networking addresses, 24-bit RGB web colors (#RRGGBB), debugging machine opcodes, and memory dump inspection.

Easy
In the Hexadecimal Number System (Base-16), which letter represents the decimal value 14?
Option D is correct. In hexadecimal, values 10 through 15 are denoted by letters: A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15. Thus, the letter E corresponds to decimal 14. Option A is 11. Option B is 12. Option C is 13.
Medium
How many hexadecimal digits are needed to represent the address space of a 32-bit CPU memory architecture, and what is the highest address in hexadecimal notation?
Option B is correct. Each hexadecimal digit corresponds to 4 binary bits (a nibble). For a 32-bit address bus, the number of hexadecimal digits required is 32 / 4 = 8 digits. The maximum unsigned 32-bit address consists of 32 binary ones (1111…1111_2), which translates to eight ‘F’ characters: 0xFFFFFFFF (representing 2^32 – 1 = 4,294,967,295, or 4 GB). Option A describes a 16-bit address space. Option C describes a 64-bit address space. Option D represents the maximum signed 32-bit positive integer (2^31 – 1), not the full unsigned memory address range.
Tricky
A web designer specifies a 24-bit RGB color code in hexadecimal format as #2C9A4E. What are the decimal intensity values for the Red, Green, and Blue color channels respectively?
Option A is correct. A standard 24-bit RGB color code allocates two hexadecimal digits (1 byte = 8 bits) per color channel: Red = 2C_16, Green = 9A_16, Blue = 4E_16. Converting each byte to decimal: Red = 2C_16 = (2 × 16) + 12 = 32 + 12 = 44. Green = 9A_16 = (9 × 16) + 10 = 144 + 10 = 154. Blue = 4E_16 = (4 × 16) + 14 = 64 + 14 = 78. Thus, the decimal intensities are Red = 44, Green = 154, Blue = 78. Option B incorrectly evaluates 9A as 144 (forgetting A = 10). Option C evaluates hex digits as decimal strings. Option D contains calculation errors across all channels.