We read your photo as:

Convert each of the following to the number system indicated: i) Convert 1101.10112 to decimal number. ii) Convert 20.687510 to binary number.

Computer Science

ScanSolve AI Answer

Answers

2 parts
i

13.68751013.6875_{10}

ii

10100.1011210100.1011_2

00001101200001101_2

Step-by-step solution

11 steps

Here are the solutions to the questions.

11. (c) Convert each of the following to the number system indicated

Part i· 3 steps

Convert 1101.101121101.1011_2 to decimal number.

  1. Convert the integer part (110121101_2) to decimal.

    1×23+1×22+0×21+1×201 \times 2^3 + 1 \times 2^2 + 0 \times 2^1 + 1 \times 2^0 =1×8+1×4+0×2+1×1= 1 \times 8 + 1 \times 4 + 0 \times 2 + 1 \times 1 =8+4+0+1=1310= 8 + 4 + 0 + 1 = 13_{10}
  2. Convert the fractional part (0.101120.1011_2) to decimal.

    1×2−1+0×2−2+1×2−3+1×2−41 \times 2^{-1} + 0 \times 2^{-2} + 1 \times 2^{-3} + 1 \times 2^{-4} =1×12+0×14+1×18+1×116= 1 \times \frac{1}{2} + 0 \times \frac{1}{4} + 1 \times \frac{1}{8} + 1 \times \frac{1}{16} =0.5+0+0.125+0.0625=0.687510= 0.5 + 0 + 0.125 + 0.0625 = 0.6875_{10}
  3. Combine the integer and fractional parts.

    13+0.6875=13.68751013 + 0.6875 = 13.6875_{10}

    The decimal equivalent is 13.687510\boxed{13.6875_{10}}.

Part ii

10100.1011210100.1011_2

Convert 20.68751020.6875_{10} to binary number.

  1. Convert the integer part (201020_{10}) to binary using repeated division by 2.

    20÷2=1020 \div 2 = 10 remainder 0
    10÷2=510 \div 2 = 5 remainder 0
    5÷2=25 \div 2 = 2 remainder 1
    2÷2=12 \div 2 = 1 remainder 0
    1÷2=01 \div 2 = 0 remainder 1
    Reading the remainders from bottom up gives 10100210100_2.

  2. Convert the fractional part (0.6875100.6875_{10}) to binary using repeated multiplication by 2.

    0.6875×2=1.375→10.6875 \times 2 = 1.375 \rightarrow 1
    0.375×2=0.75→00.375 \times 2 = 0.75 \rightarrow 0
    0.75×2=1.5→10.75 \times 2 = 1.5 \rightarrow 1
    0.5×2=1.0→10.5 \times 2 = 1.0 \rightarrow 1
    Reading the integer parts from top down gives 0.101120.1011_2.

  3. Combine the integer and fractional parts.

    101002+0.10112=10100.1011210100_2 + 0.1011_2 = 10100.1011_2

    The binary equivalent is 10100.10112\boxed{10100.1011_2}.

    11. (d) Using 8-bit twos complement perform the following arithmetic 2510−121025_{10} - 12_{10}

  4. Convert 251025_{10} to 8-bit binary.

    2510=00011001225_{10} = 00011001_2

  5. Convert 121012_{10} to 8-bit binary.

    1210=00001100212_{10} = 00001100_2

  6. Find the two's complement of 121012_{10} (which represents −1210-12_{10}).

    Original binary: 00001100200001100_2
    One's complement (invert bits): 11110011211110011_2
    Two's complement (add 1 to one's complement):

    111100112+12=11110100211110011_2 + 1_2 = 11110100_2

    So, −1210-12_{10} in 8-bit two's complement is 11110100211110100_2.

  7. Perform the addition 2510+(−1210)25_{10} + (-12_{10}).

    000110012(2510)00011001_2 \quad (25_{10}) +111101002(−1210)+ \quad 11110100_2 \quad (-12_{10}) \rule{2.5cm}{0.4pt} 1000011012100001101_2

    Discard the carry-out bit (the 9th bit) for 8-bit arithmetic.

  8. The 8-bit result is 00001101200001101_2.

    Convert this binary result back to decimal to verify:

    0×27+0×26+0×25+0×24+1×23+1×22+0×21+1×200 \times 2^7 + 0 \times 2^6 + 0 \times 2^5 + 0 \times 2^4 + 1 \times 2^3 + 1 \times 2^2 + 0 \times 2^1 + 1 \times 2^0 =0+0+0+0+8+4+0+1=1310= 0 + 0 + 0 + 0 + 8 + 4 + 0 + 1 = 13_{10}

    The result of 2510−121025_{10} - 12_{10} using 8-bit two's complement is 000011012\boxed{00001101_2} (which is 131013_{10}).

    20. (a) Distinguish between formatting a disk and partitioning a disk with reference to the operating system.

    • Partitioning a disk is the process of dividing a physical hard drive into one or more logical sections, called partitions. Each partition acts as an independent storage unit, allowing the operating system to treat them as separate drives (e.g., C:, D:). Partitioning defines the structure of the disk.
    • Formatting a disk (or a partition) is the process of preparing it for use by an operating system by creating a file system (e.g., NTFS, FAT32). This file system organizes how data is stored and retrieved. Formatting typically erases all existing data on the selected partition or disk. Formatting defines how data is stored within a partition.
Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp