We read your photo as:
Differentiate between Pure binary and BCD code as used in data representational. (2 marks)
ScanSolve AI Answer
Answer
Step-by-step solution
6 stepsHere are the solutions to your questions:
-
Differentiate between Pure binary and BCD code as used in data representational. (2 marks)
- Pure Binary: Represents a decimal number as a single binary sequence. It is generally more efficient for storage and arithmetic operations as it uses fewer bits for larger numbers. However, it can be more complex for humans to read and convert directly to decimal.
- BCD (Binary Coded Decimal): Represents each decimal digit by its 4-bit binary equivalent. It simplifies human readability and conversion to/from decimal because each digit is encoded separately. However, it is less efficient in terms of storage (requires more bits than pure binary for the same decimal number) and arithmetic operations are more complex.
-
The magnitude of number is evaluated using 3 parameters. State them. (3 marks) The three parameters used to evaluate the magnitude of a number are:
- Sign: Indicates whether the number is positive or negative.
- Digits/Bits: The actual numerical values (e.g., 0s and 1s in binary) that form the number.
- Positional Weight: The value assigned to each digit's position based on the number system's base (e.g., powers of 2 for binary, powers of 10 for decimal).
-
Give the following acronyms in full for the following. (3 marks)
Part a
BCD -* *Binary Coded Decimal
Part b
ASCII -* *American Standard Code for Information Interchange
Part c
EBCDIC -* *Extended Binary Coded Decimal Interchange Code
-
Why are octal and hexadecimal are preferred to binary. (1 mark) Octal and hexadecimal number systems are preferred to binary because they offer a more compact and human-readable representation of long binary strings. They simplify the process of writing, reading, and remembering binary data, as each octal digit represents three binary bits and each hexadecimal digit represents four binary bits, making conversions straightforward.
-
Convert 243 into BCD. (2 marks) To convert a decimal number to BCD, each decimal digit is converted to its 4-bit binary equivalent.
- Decimal digit 2 is .
- Decimal digit 4 is .
- Decimal digit 3 is .
Combining these, we get:
-
a) Convert 7.25 into Binary (3 marks)
Convert the integer part () to binary.
$$ 7 \div 2 = 3 \text{ remainder } 1 $$ $$ 3 \div 2 = 1 \text{ remainder } 1 $$ $$ 1 \div 2 = 0 \text{ remainder } 1 $$ Reading the remainders from bottom to top: $7_{10} = 111_2$.Convert the fractional part () to binary.
$$ 0.25 \times 2 = 0.50 \quad (\text{integer part } 0) $$ $$ 0.50 \times 2 = 1.00 \quad (\text{integer part } 1) $$ Reading the integer parts from top to bottom: $0.25_{10} = 0.01_2$.Combine the integer and fractional parts.
$$ 7.25_{10} = \boxed{111.01_2} $$7. b) Convert 10101.01102 into base 10. (3 marks)
Convert the integer part () to base 10.
$$ 1 \times 2^4 + 0 \times 2^3 + 1 \times 2^2 + 0 \times 2^1 + 1 \times 2^0 $$ $$ = 1 \times 16 + 0 \times 8 + 1 \times 4 + 0 \times 2 + 1 \times 1 $$ $$ = 16 + 0 + 4 + 0 + 1 = 21_{10} $$Convert the fractional part () to base 10.
$$ 0 \times 2^{-1} + 1 \times 2^{-2} + 1 \times 2^{-3} + 0 \times 2^{-4} $$ $$ = 0 \times \frac{1}{2} + 1 \times \frac{1}{4} + 1 \times \frac{1}{8} + 0 \times \frac{1}{16} $$ $$ = 0 + 0.25 + 0.125 + 0 $$ $$ = 0.375_{10} $$Combine the integer and fractional parts.
$$ 10101.0110_2 = 21 + 0.375 = \boxed{21.375_{10}} $$
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
More Computer Science Questions

Handwritten Step-by-Step Solution
Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.
Try on WhatsApp