Number-Systems
November 12, 2024Number-Systems
November 12, 2024Number-Systems
Question 26 |
Assuming all numbers are in 2’s complement representation, which of the following numbers is divisible by 11111011?
11100111 | |
11100100 | |
11010111 | |
11011011 |
Question 26 Explanation:
Given: Binary numbers = 11111011
MSB bit is ‘1’ then all numbers are negative
1’s complement = 00000100
2’s complement = 00000100 + 00000001 = 00000101 = -5
(A) 11100111 – (-25)10
(B) 11100100 – (-28)10
(C) 11010111 – (-41)10
(D) 11011011 – (-37)10
Answer: Option A (-25 is divisible by -5)
MSB bit is ‘1’ then all numbers are negative
1’s complement = 00000100
2’s complement = 00000100 + 00000001 = 00000101 = -5
(A) 11100111 – (-25)10
(B) 11100100 – (-28)10
(C) 11010111 – (-41)10
(D) 11011011 – (-37)10
Answer: Option A (-25 is divisible by -5)
Correct Answer: A
Question 26 Explanation:
Given: Binary numbers = 11111011
MSB bit is ‘1’ then all numbers are negative
1’s complement = 00000100
2’s complement = 00000100 + 00000001 = 00000101 = -5
(A) 11100111 – (-25)10
(B) 11100100 – (-28)10
(C) 11010111 – (-41)10
(D) 11011011 – (-37)10
Answer: Option A (-25 is divisible by -5)
MSB bit is ‘1’ then all numbers are negative
1’s complement = 00000100
2’s complement = 00000100 + 00000001 = 00000101 = -5
(A) 11100111 – (-25)10
(B) 11100100 – (-28)10
(C) 11010111 – (-41)10
(D) 11011011 – (-37)10
Answer: Option A (-25 is divisible by -5)