answersLogoWhite

0


Best Answer

0.00195 KB equals 2 bytes

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Convert 2 byte binary number to decimal?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

What is the largest decimal value that can be represented in binary using two bytes?

11b which is 1*2 + 1*1 = 3 would be for two bits. But a byte is 8 bits, so 2 bytes is 16 bits. The largest binary number is [2^16 - 1], which is 65535 (base ten)


What are the advantages and disadvantage of BCD number system?

AdvantagesMany non-integral values, such as decimal 0.2, have an infinite place-value representation in binary (.001100110011...) but have a finite place-value in binary-coded decimal (0.0010). Consequently a system based on binary-coded decimal representations of decimal fractions avoids errors representing and calculating such values.Scaling by a factor of 10 (or a power of 10) is simple; this is useful when a decimal scaling factor is needed to represent a non-integer quantity (e.g., in financial calculations)Rounding at a decimal digit boundary is simpler. Addition and subtraction in decimal does not require rounding.Alignment of two decimal numbers (for example 1.3 + 27.08) is a simple, exact, shift.Conversion to a character form or for display (e.g., to a text-based format such as XML, or to drive signals for a seven-segment display) is a simple per-digit mapping, and can be done in linear (O(n)) time. Conversion from pure binary involves relatively complex logic that spans digits, and for large numbers no linear-time conversion algorithm is known (see Binary numeral system).[edit]DisadvantagesSome operations are more complex to implement. Adders require extra logic to cause them to wrap and generate a carry early. 15-20 percent more circuitry is needed for BCD add compared to pure binary. Multiplication requires the use of algorithms that are somewhat more complex than shift-mask-add (a binary multiplication, requiring binary shifts and adds or the equivalent, per-digit or group of digits is required)Standard BCD requires four bits per digit, roughly 20 percent more space than a binary encoding (the ratio of 4 bits to log210 bits is 1.204). When packed so that three digits are encoded in ten bits, the storage overhead is greatly reduced, at the expense of an encoding that is unaligned with the 8-bit byte boundaries common on existing hardware, resulting in slower implementations on these systems.Practical existing implementations of BCD are typically slower than operations on binary representations, especially on embedded systems, due to limited processor support for native BCD operations.


Why does a java byte variable only hold a minimum value of -128 and a maximum value of 127. I dont get why only those range of 3 digits. Its just holding 3 characters really. Why not hold AB2?

A byte is 8 binary bits, each of which hold a value of 0 or 1 (true or false). When counting in binary, a value of 11111111 is the highest value a byte can hold, this is 255. It doesn't matter what programming language is assigning a value to the byte, the highest it can hold is 255. A 'signed' byte uses one bit for the sign, and 7 for the value. Hence 7 bits can show values of up to 128 either side. That's a positive value of 1-127, along with the 0, and then negative values of -1 to -128. Again, regardless of the system assigning the value, 8 bits can only produce 255 different combinations.


What does a byte represent?

A byte represented of 8 bits


How many bits contain a byte?

1 byte = 8 bits

Related questions

How do you convert -10.5 into binary?

This has a very simples solution. You have to treat the integer part separately from the decimal part. Therefore, you simply convert the integer part (10) to binary, which becomes 1010. Let's work with the decimal part of the number (0.5): We get the decimal part and multiply it by our number system base, which is 2, the amount of times correspondent to our desire of decimal places for the number. 0.5 x 2 = 1.0 Since we only want one decimal place, we stop right now. We obtained the number 1.0, which is the same as 1, the number for the decimal binary. 10.5 = 1010.1 in binary. In byte representation: 1010.1000


The largest number that can be represented by one byte is?

The biggest number that can be represented in one byte is 11111111. Binary numbers have the ability to added together in a fashion similar to decimal numbers.


What are the procedure involved in calculating ip address?

The standard written format for an IP address is as 4 bytes written as their decimal values separated by periods. Just convert each decimal value to a binary byte and append them to make a 32 bit number. Reverse that to convert a 32 bit number to 4 decimal bytes separated by periods.


What are the Computer units?

BCD (binary coded decimal) - 4 bit Byte - 8 bit Byte


What does the decimal number 255 mean in binary?

Oh, dude, you're asking about binary now? Alright, so in binary, the decimal number 255 is represented as 11111111. It's like all those ones are just hanging out together, having a binary party. So yeah, 255 in binary is just a bunch of ones chilling together.


How do you convert text into binary in vb or c sharp code?

C# EXAMPLEString text="My sample data";System.Text.ASCIIEncoding encode=new System.Text.ASCIIEncoding();//convert to binary and store in a byte[]byte[] binaryArray=encode.GetBytes(text);


What is the address of the last byte in a 512 mega byte memory expressed as a decimal number?

The address of the last byte in a 512 mega byte memory, expressed as a decimal number, is 536,870,911.


Is each byte in memory limited in size?

The true answer is yes and no Yes: in binary coded decimal and hexadecimal each byte is 4 bits long; in octal each byte is three bits long. No: in true binary theoretically there is no "last bit".


How many megabytes are in 100 megabytes?

100, 104.858, or 95.367, depending on if you mean decimal to decimal, binary to binary, decimal to binary, or binary to decimal. Simply, decimal megabytes, used by the storage industry, is 1,000KB, where each KB is 1,000 bytes. Binary megabytes, used by programmers (such as Microsoft, Linux, etc) are 1,024 KB, where each KB is 1,024 bytes (2^10, or 0x0200). Converting from decimal to binary will yield a smaller number of megabytes, while converting from binary to decimal will result in more megabytes.


What does binary 01110111 equals in decimal form?

(01110111)2 = hexadecimal byte 77 = (119)10


In what class is the ip address 169.45.66.200?

Class B includes anything that starts with binary "10", or in decimal, 128-191 for the first byte.Class B includes anything that starts with binary "10", or in decimal, 128-191 for the first byte.Class B includes anything that starts with binary "10", or in decimal, 128-191 for the first byte.Class B includes anything that starts with binary "10", or in decimal, 128-191 for the first byte.


What is the binary range in decimal of a byte?

Nobody knows what you are talking about, but if you mean what the biggest number is in a byte, it is 255 or 127. The former is only for unsigned, while the latter is the maximun if the byte is signed. If you mean how many numbers can be represented, it is 256 or 128. Again, the former is if it is unsigned and the latter is if it is signed.