At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
the result has to be a decimal
in decimal it is 247
it's signed bro
There are 10 types of people in this world, ones who know binary, others who don;t! ;)
yes sir it is 247
yup @shubhamsrg since 10 is 2 in decimal
I dont want to convert it, I need to know the steps for it, and im not a "sir" :P
am glad you got it! -_-
Yo Yo @shubhamsrg
There are 10 types of people in this world, ones who know binary, others who don;t, rest 8 doesn't exist in this world
\[1+2+4+16+32+64+128\] i think will do it
there is a zero in the 8th place
:P But please show me the steps if you can I would be grateful
I know Binary... Use it's knowledge in Computer @Christos
In my statement, 10 corresponded to 2 , (in base 2) -_-
work from the right to the left
That's why rest 8 dont exist :P
ok satellite ill do it
it is negative number
first invert it
we can talk about 8 if it was base 10 , but when its base 2, talking about 8 is baseless ?
1s place 2s place 4s place 16s place 32s place 64s place 128s place
Am I forced to invert it @modphysnoob ?
I mean thats the only way?
yes, that's how you figure out negative number
u have to change 11110111 into decimal ryt?
11110111 1 in the ones place 1 in the twos place 1 in the fours place 0 in the eights place 1 in the sixteens place 1 in the thirty twos place 1 in the sixty fours place 1 in the one hundred twenty eights place
thanks modphy I figured it out thanks all for the contributions :D
It is signed , Can't you people read?
invert then add one
signed by what artist?
11110111 (2) = 1*2^7+1*2^6+1*2^5+1*2^4+0*2^3+1*2^2+1*2^1+1*2^0
Or use Dibble Dobble method....It Will Easier
4 Bit signed number -3 1101 -2 1110 -1 1111 0 1 0001 2 0010 3 0011
11110111 subtract one 11110110 invert 00001001 now use conversion
should give you -9
yes indeed it gave me -9 I already had the solution I just needed the steps to reproduce it with other numbers
it is just subtract one and then invert
or invert and then add one right?
I think they both work , 1111 invert 0000 add one 0001 1111 subtract one 1110 invert 0001
I am assuming you are in computer architecture class ?
Yea that's right :)
if it's a sign positive number I don't need to do that stuff right?
no, singed positive number would have leading number =0