Electronics - Number Systems and Codes - Discussion
Discussion Forum : Number Systems and Codes - General Questions (Q.No. 2)
2.
Convert the decimal number 151.75 to binary.
Discussion:
12 comments Page 2 of 2.
BINU said:
8 years ago
28, 64, 32, 16, 8, 4,2,1 ---- 0.5, 0.25, 0.125.
So, 1 0 0 1 0 1 1 1 ---- 1 1 = Ans# 10010111.11.
Add 1 to odd numbers, Add 0 to even numbers.
151 (odd)=1,,
151/2=75 (odd)=1,
75/2=37(odd) =1,
37/2=18(even)=0,
18/2=9=1,
9/2=4=0,
4/2=2=0,
2/2=1=1 then in order=10010111.
So, 1 0 0 1 0 1 1 1 ---- 1 1 = Ans# 10010111.11.
Add 1 to odd numbers, Add 0 to even numbers.
151 (odd)=1,,
151/2=75 (odd)=1,
75/2=37(odd) =1,
37/2=18(even)=0,
18/2=9=1,
9/2=4=0,
4/2=2=0,
2/2=1=1 then in order=10010111.
Janaki said:
6 years ago
Not getting this, please anyone explain clearly.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers