Question

Using Excel build a decimal to 8-bit binary converter. do not use any excel function except...

Using Excel build a decimal to 8-bit binary converter.
do not use any excel function except for IF.

Homework Answers

Answer #1

Decimal notation describes numbers using the digits 1 through 10. Binary notation describes them using just two digits, 1 and 0, where each bit in a string represents a power of 2. The right-most bit represents 2 raised to the power of 0, the next right-most bit represents 2 raised to the power of 1, and each remaining digit represents double the previous one's quantity. Microsoft Excel converts from binary to decimal notation using the BIN2DEC function and from decimal to binary using the DEC2BIN function.

1. Type "=DEC" without quotes in an Excel cell. A drop-down box will prompt you to select DEC2BIN, DEC2HEX or DEC2OCT. Tooltip text will state that DEC2BIN "Converts a decimal number to binary."

2. Click "DEC2BIN," the first of the three options. Tooltip text will prompt you to enter arguments in the form of "DEC2BIN (number, [places])."

3. Enter the number you wish to convert. For example, if you want to convert 100 to binary, type "100" without quotes.

4. Type a comma.

5. Enter the number of bits you wish your binary number to contain. The number may append a string of 0's to the 1's and 0's necessary for expressing the figure. For example, if you want your binary number to contain eight bits, which is the number of bits in a byte, type "8" without quotes.

6. Press "Enter." The binary number will appear. With this example, Excel will display "01100100." The initial zero does not affect the number's magnitude, but it completes the byte.

Note : Excel will only produce binary numbers with up to 10 bits. This means that it can only convert decimal numbers greater than -513 and less than 512.

Decimal Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
10 1010
11 1011
12 1100
13 1101
14 1110
15 1111
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain...
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain why, If decimal number cannot be represented with 8 bits. a. -46 b. -63 c. 118 d. -128 e. 128 B). Perform following operations by converting the decimal numbers to 8-bit two’s complement binary. Check results by converting final result to decimal a. 94-53 b. 15–84
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement:...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement: a) 77 b) -42 c) 119 d) -107 Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement representations: a) 60 b) -60 c) 20 d) -20
convert 0.83828125 to binary using 8 bit to right of binary point
convert 0.83828125 to binary using 8 bit to right of binary point
Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10...
Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10 as an 8-bit sign-magnitude binary number. Express the decimal number (-37)10 as an 8-bit 1's complement binary number.
(a) Design a 2 - digit BCD number -to- binary number converter circuit by using 4...
(a) Design a 2 - digit BCD number -to- binary number converter circuit by using 4 bit parallel adders. (b) Design a parallel binary multiplier that multiplies a 4- bit number B = B3B2B1B0 by a 3- bit number A = A2A1A0 to form the product C = C6C5C4C3C2C1C0.
Represent 60 in binary using 8-bit as an un-signed integer. Then represent 60 in binary using...
Represent 60 in binary using 8-bit as an un-signed integer. Then represent 60 in binary using 8-bit signed magnitude. show work
Question 2: The Arduino UNO micro-controller measures 4.25V on its 10-bit 0 − 5V analog-to-digital converter...
Question 2: The Arduino UNO micro-controller measures 4.25V on its 10-bit 0 − 5V analog-to-digital converter (ADC) (a) What is the output of the ADC in decimal and binary? (b) If this digital number is converted to analog using an 8-bit 0 − 5V digital-to-analog converter (DAC). What will be the output of the DAC? What will be the error associated with it?
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement:...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement: a) 77 b) -42 c) 119 d) -107 E) 60 f) -60 g) 20 h) -20
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
Convert the decimal numbers 40 and 20 into 8-bit unsigned binary representation and add the two...
Convert the decimal numbers 40 and 20 into 8-bit unsigned binary representation and add the two numbers.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT