Number_System-Exercises
Number_System-Exercises
Q1.
Ans:
Q2.
Ans:
Q3.
Ans:
Q4.
Ans:
Q5.
Q6.
Q7.
Q8.
Complement of a number
Method-1:
Diminished radix (r-1) complement:
(rn - r-m) - N
Radix (r) complement
rn - N
Where, r - base/radix, n - number of integer part digits/bits, m - number of fractional part
digits/bits, and N - input number
Method-2:
Diminished radix (r-1) complement: Subtract every digit/bit by (r-1)
Radix (r) complement: Add 1 to (r-1)’s complement
1. Find, 11’s and 10’s complement of (576)11
Ans:
Method-1: 11’s complement →(11)3 - (576)11 = (1331)10 → (1000)11 - (576)11 = (535)11
10’s complement → (113 - 1) - (576)11 = (AAA)11 - (576)11 = (534)11
Method-2: 10’s complement → (AAA)11 - (576)11 = (534)11
11’s complement → 10’s complement of 576 + 1 = (535)11