Questions tagged [binary]

Questions related with (base 2) representation of numbers and their unique properties arising out of number representation.

Binary (base $2$) represents numbers using only the digits $0$ and $1$.

We write:

$$n=\sum\limits_{k=n}^0 a_k2^k$$

to represent a nonnegative integer, so for example $27_{10}=16+8+2+1=11011_2$

To represent nonnegative real numbers, we use:

$$n=\sum\limits_{k=n}^{-m} a_k2^k$$

where $m$ can be $\infty$. So, for example $11.001_2=3.125_{10}$.

1703 questions
0
votes
1 answer

why borrow two 1s in binary substruction?

In binary subtraction i have seen some tutorial and some sites that during 0-1 process borrow value from next 1s. Let's say one of tutorial is this http://courses.cs.vt.edu/csonline/NumberSystems/Lessons/Subtraction/ It's first rule To compute…
0
votes
1 answer

haw to find the values of binary numbers in octal?

what is the value of 101111.0111 of base 2 (binary) in octal(base 8) we know that in order to translate from binary to octal we need to group the bits in groups of three and the value is going to be in octal. can anyone please explain for me haw to…
0
votes
3 answers

Binary subtraction A0 - E4

I have two numbers. The negative one is translated using 2's complement. $$ a = 160_{10} = A0_{16} = 1010 0000_{2} \\ b = -28_{10} = E4_{16} = 1110 0100_{2} $$ And I have to perform the following operation $a - b$. I use borrowing up to the very…
Morgan Wilde
  • 431
  • 5
  • 15
0
votes
0 answers

Convert a 6 bit binary to negative

"Explain how negative numbers are represented." My answer is that if we ie. have the number 3 and want to convert that to -3 i do as follows: 3 = 0011 in 4 bits. i switch the 1s and 0s => 1100 and then add 1 => 1101, 1101 = -3. Is this correct…
0
votes
1 answer

Why do long division remainders give conversion from base 10?

I learned that you can convert base 10 numbers to other bases, like binary, with long division. I can do this, but I don't understand why this works. I can only understand that the first remainder of 1 gives a 1 in the 1's place (in binary). I can't…
-1
votes
1 answer

How to find the number of binary relations?

Possible Duplicate: Number of relations that are both symmetric and reflexive Let $X$ be a set with $8$ elements. How many binary relations on $X$ are either reflexive or symmetric or both? show work. you need not simplify the answer.
Q123
  • 251
-1
votes
1 answer

Hexadecimal representation of -24

I'm trying to convert -24 to the hexadecimal representation but I always end up with a decimal of 8 which is incorrect. Work: -24 -> 24 24 in binary is: 11000 Now I take the two's complement: 11000 -> 00111 + 1 -> 01000 01000 is 8. What did I do…
Ayyware
  • 11
-1
votes
1 answer

how to convert decimal 49.25 to hexadecimal?

please explain step by step procedure on how to convert 49.25 to hexadecimal. I don't understand how to convert the decimal part.
-1
votes
3 answers

Comparing two 2-bit binary numbers

In order to compare two 2-bit numbers, I need to create a truth table, develop the equation for the equal more or less case, optimize the equations the the Karnaugh maps, and then develop the circuits. The circuit needs to be developed to define…
-1
votes
2 answers

How to find binary representation of sets?

I have been given this question and I have no idea how to tackle it at all. any help will be super helpful
anon420
  • 29
-1
votes
1 answer

Can you take the 2's complement of an already negative number?

So for example, if we were to try and take the 2's complement of -8. Would this be un-representable or would doing the 2's complement result in a positive 8?
-1
votes
1 answer

How many numbers from 0-4095 can be represented with 2 binary digits?

How many decimal numbers 0-4095 can be converted into a binary number that has exactly 2 '1s'?
-1
votes
1 answer

How to convert 32bit binary to decimal?

For example: powers of two: 128 64 32 16 8 4 2 1 Decimal value: 192 168 168 20 Will convert to - Binary value: 11000000 10101000 10101000 000101000 Question: How to convert 110000001010100010101000000101000 (32bit) back to decimal, since the power…
bluecastle
  • 1
  • 1
  • 1
-1
votes
2 answers

Repeated division by 2 method - where is my mistake?

I keep getting a different result than from an online calculator. - http://www.wolframalpha.com/input/?i=353+to+binary What have I done wrong?
-1
votes
1 answer

BCD addition of three digit numbers

9999+3578 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 +0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 I don't know how to perform addition for larger numbers. 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 +0 0 1 1 0 1 0 1 0 1 1 1 1 0 0…
Pygirl
  • 199
1 2 3
16
17