CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Binary data is being represented in size of byte and in 2's complement form. The number of 1's present in representation of (-59)

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

The correct option is D 4

(59)10=(111011)2
In byte,
(59)10=(00111011)2
1's complement representation of -59 is 11000100
2's complement representation of -59 is 11000101
Number of 1's = 4


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Is Light a Traveller?
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon