Here are the solutions to the questions.
11. (c) Convert each of the following to the number system indicated
i) Convert 1101.10112 to decimal number.
Step 1: Convert the integer part (11012) to decimal.
1×23+1×22+0×21+1×20
=1×8+1×4+0×2+1×1
=8+4+0+1=1310
Step 2: Convert the fractional part (0.10112) to decimal.
1×2−1+0×2−2+1×2−3+1×2−4
=1×21+0×41+1×81+1×161
=0.5+0+0.125+0.0625=0.687510
Step 3: Combine the integer and fractional parts.
13+0.6875=13.687510
The decimal equivalent is 13.687510.
ii) Convert 20.687510 to binary number.
Step 1: Convert the integer part (2010) to binary using repeated division by 2.
20÷2=10 remainder 0
10÷2=5 remainder 0
5÷2=2 remainder 1
2÷2=1 remainder 0
1÷2=0 remainder 1
Reading the remainders from bottom up gives 101002.
Step 2: Convert the fractional part (0.687510) to binary using repeated multiplication by 2.
0.6875×2=1.375→1
0.375×2=0.75→0
0.75×2=1.5→1
0.5×2=1.0→1
Reading the integer parts from top down gives 0.10112.
Step 3: Combine the integer and fractional parts.
101002+0.10112=10100.10112
The binary equivalent is 10100.10112.
11. (d) Using 8-bit twos complement perform the following arithmetic 2510−1210
Step 1: Convert 2510 to 8-bit binary.
2510=000110012
Step 2: Convert 1210 to 8-bit binary.
1210=000011002
Step 3: Find the two's complement of 1210 (which represents −1210).
Original binary: 000011002
One's complement (invert bits): 111100112
Two's complement (add 1 to one's complement):
111100112+12=111101002
So, −1210 in 8-bit two's complement is 111101002.
Step 4: Perform the addition 2510+(−1210).
000110012(2510)
+111101002(−1210)
1000011012
Discard the carry-out bit (the 9th bit) for 8-bit arithmetic.
Step 5: The 8-bit result is 000011012.
Convert this binary result back to decimal to verify:
0×27+0×26+0×25+0×24+1×23+1×22+0×21+1×20
=0+0+0+0+8+4+0+1=1310
The result of 2510−1210 using 8-bit two's complement is 000011012 (which is 1310).
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.
3 done, 2 left today. You're making progress.