Consider the equation L + M = N, where L = (100011) in base 2 and N = (101000) in base 2. What is the value of M as represented in decimal format?
A40
B35
C10
D5 ✓ Correct
Correct answer: (D) 5
Explanation
M = 5 in decimal, because M = N - L = 40 - 35.
Rule: convert binary to decimal by adding the place values 32, 16, 8, 4, 2, 1 of each 1 bit.
L = 100011 = 32 + 2 + 1 = 35.
N = 101000 = 32 + 8 = 40.
M = N - L = 40 - 35 = 5, which is 101 in binary.
Check in binary: 100011 + 000101 = 101000.
40 is the value of N and 35 the value of L, while M = 10 would give L + M = 45.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →