ascii code reprentation of 259 decimal

Discussion in 'Homework Help' started by transgalactic, May 23, 2008.

  1. transgalactic

    Thread Starter Active Member

    Apr 29, 2008
    74
    0
    i need to represent 295 in ascii code
    using 8bit ,with even parity bit
    using 7bit ASCII table
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,175
    1,798
    Do you have an ASCII Table? You must be blessed because there is a whole website just for you.

    http://www.asciitable.com/

    Do you know what even parity is? Again you are in luck. Google and Wikipedia to the rescue.

    http://en.wikipedia.org/wiki/Parity_bit

    Is there some reason why these simple tasks are so difficult for you to manage on your own? I'm just curious about why you feel it is easier to post the same question on multiple forums and have us continue to do the simplest tasks for you. You really should try to make a greater effort.
     
    Last edited: May 23, 2008
  3. mrmeval

    Distinguished Member

    Jun 30, 2006
    833
    2
    259 is greater than 254 so you need two bytes and would NOT be ascii but umm unicode?
     
  4. Mark44

    Well-Known Member

    Nov 26, 2007
    626
    1
    Unless the OP needs to represent each digit character in 295 by its ASCII code, which will take three bytes. Otherwise, it will be impossible to represent 295 in eight bits, let alone seven.
     
  5. Papabravo

    Expert

    Feb 24, 2006
    10,175
    1,798
    This one gets my vote for ambiguous question of the week. There are also responses on at least two other forums. I had no idea there were so many viable solutions depending on initial assumptions.
     
Loading...