wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

How many 1's are present in the binary representation of
5×1024+7×128+7×16+3?

A
8
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
9
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
10
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
11
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 10

1's complementof a binary number is another binary number obtained by toggling all bits in it, that transforming the 0 bit to 1 and the 1 bit to 0. The ones' complement of the number then behaves like the negative of the original number in some arithmetic operations.

1's are present in the binary representation of
5×1024+7×128+7×16+3=10.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Binary Operations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon