Question

- Explain how you add fixed-width digits in a decimal number
system.
- How do you do this in binary?
- How do you do this in hexadecimal?

- Explain how you subtract numbers in digits in a decimal number
system.
- How do you do this in binary?
- How do you do this in hexadecimal?

Answer #1

Add decimal numbers using binary additions for 170 and 493.
Steps: Convert each number to binary first. Then add the two binary
numbers using binary addition. Make sure to keep track of the carry
bit and show the carry for each step even when it is zero. Please
show all work.

Determine the number of digits needed to write the decimal
number 289,259,165 in binary.

1-What is the decimal number of the binary numbers
(101111)2?
2-What is 123 in BCD code?
3-Convert the binary (10101011101)2 into octal and
hexadecimal?
4-What is 2's complement of (1101110)2?
5-Convert the decimal number 152.25 into
binary?

5) Using a minimum number of digits, what is the encoding for
the decimal value 139? a) As an unsigned binary value
b) As a BCD binary value
c) As a 7 segment code binary value

In C++ Write a program that will convert a string of binary
digits to their decimal equivalent. For convenience limit the
binary number to 16 bits. Write the decimal equivalent to the
screen. For this program you must read in the binary number as a
string type. If you were to enter a large binary number like
110110001100111 as a decimal value it would be too large to fit in
an int type.

Find the 2's complement of the following decimal numbers (You
must convert the number to binary and the answer has to be in
binary with the same number of bits as the conversion)?
a. 20
b. 15
c. 2126
d. 266
e. 466
please explain how you did it!

2 Convert each of the following octal numbers to 10-bit binary,
hexadecimal, and decimal. Show your work.
(a) 368
(b) 7568
3 Convert the following binary values into Decimal, Octal and
hexadecimal. Show your work.
(a) 111010101011112
(b) 1010111011001102
(c) 1011101010001112
(d) 1111101011102
4 Convert the following hexadecimal numbers to 16-bit binary and
decimal numbers. Show your work.
(a) FE9816
(b) FCAD16
(c) B00C16
(d) FEDF16
5 Perform the addition on the following unsigned binary numbers.
Indicate whether or not...

How many string of four decimal digits do not contain the same
digit three times?
How many string of five decimal digits do not contain the same
digit three times?

Concern the following 16-bit floating point representation: The
first bit is the sign of the number (0 = +, 1 = -), the next nine
bits are the mantissa, the next bit is the sign of the exponent,
and the last five bits are the magnitude of the exponent. All
numbers are normalized, i.e. the first bit of the mantissa is one,
except for zero which is all zeros.
1. How many significant binary digits do numbers in this
representation...

Assume that you select digits from the set {1,2,3,4,5,7} to form
a number between 10 and 700.
(1) How many such numbers can be formed if digits are not
repeated?
(2) How many such numbers can be formed if digits can be
repeated?

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 22 minutes ago

asked 27 minutes ago

asked 38 minutes ago

asked 46 minutes ago

asked 1 hour ago

asked 2 hours ago

asked 2 hours ago

asked 3 hours ago

asked 3 hours ago

asked 3 hours ago

asked 3 hours ago

asked 3 hours ago