Results 1 to 4 of 4

Math Help - Unsigned intger, sign magnitude notation (Binary)

  1. #1
    Member
    Joined
    Oct 2011
    Posts
    170
    Thanks
    3

    Unsigned intger, sign magnitude notation (Binary)

    Hey guys, I've searched and searched but I can't seem to find any help on this question I have.

    Express the following bit pattern 10011001 in:

    a) Unsigned integer
    b) Signed integer in sign-magnitude notation
    c) Signed integer in Twos-compliment

    I don't understand what these means and I've looked online but I can only find converters etc but I need to learn how do do this with pen and pad for my exams. Please try to explain the best you can if you can. Thanks.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Apr 2012
    From
    Northwich UK
    Posts
    20
    Thanks
    1

    Re: Unsigned intger, sign magnitude notation (Binary)

    OK I can do a and b. In binary there is no + or - so all numbers are unsigned integers unless otherwise specified, therefore converting the binary no to a decimal will give a). We know computers deal with signed integers too, in this case the first digit in binary assigns + or - to the figure (not sure which is which), so the signed int will be -/+ from the first digit and the decimal will be the representation of the rest of the digits.. not sure about c.

    I suggest googling for how computers use numbers for this rather than just binary
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Oct 2011
    Posts
    170
    Thanks
    3

    Re: Unsigned intger, sign magnitude notation (Binary)

    Can anyone else shed some light?
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,707
    Thanks
    1470

    Re: Unsigned intger, sign magnitude notation (Binary)

    "twos complement" has negative numbers with "1" as first bit and the magnitude given as the complement of each bit:
    the number +1011011 would be stored as 01011011 while -1011011 would be stored as 10100100.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. "sign()" notation
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: August 29th 2011, 04:54 PM
  2. \perp sign = independence? (stat inference, notation question)
    Posted in the Advanced Statistics Forum
    Replies: 9
    Last Post: February 18th 2011, 02:12 PM
  3. Binary notation and mods
    Posted in the Number Theory Forum
    Replies: 1
    Last Post: March 16th 2010, 09:49 PM
  4. Replies: 1
    Last Post: August 26th 2009, 12:40 PM
  5. Binary Notation<-->Number Converter
    Posted in the Math Software Forum
    Replies: 5
    Last Post: September 1st 2008, 12:31 PM

Search Tags


/mathhelpforum @mathhelpforum