1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Obtain Binary String ?

  1. Jun 7, 2009 #1
    Obtain Binary String ????

    1. The problem statement, all variables and given/known data

    Given That X=10111 ,Y=101; Z=1001, obtain binary strings that represent P Q where
    P=X+Y and Q=P-Z; state clearly each rule you apply .

    2. Relevant equations

    3. The attempt at a solution

    Hey up to the extent which i know i did this as a normal binary addition and subtractions >then i got P=10010
    and Q=1001 .But the problem is im not sure that i have used any kind of rules here. or Have I ?? Or did i made a mistake in interpreting the problem .Can somebody help . this is all u got for that question ,i have included all the details.
  2. jcsd
  3. Jun 7, 2009 #2


    Staff: Mentor

    Re: Obtain Binary String ????

    Doing binary addition, I get a different result for P. The addition rules in binary are:
    0 + 0 = 0
    0 + 1 = 1
    1 + 0 = 1
    1 + 1 = 10

    I can't think of any rules other than these.

    So for X + Y you have
    + 101
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Obtain Binary String ?
  1. Binary Relations (Replies: 25)

  2. Binary addition (Replies: 7)

  3. Binary to decimal. (Replies: 4)