Convert decimal +47 and +31 to binary, using the
signed-2’s-complement representation and enough digits to
accommodate the numbers. Then perform the binary equivalent of
(+31)+(-47), (-31)+(+47), and (-31)+(-47). Convert the answers back
to decimal and verify that they are correct.
Binary
How is 00001001 (base 2) represented in 8-bit two’s complement
notation?
Convert 0.3828125 to binary with 4 bits to the right of the binary
point.
How is 00110100 (base 2) represented in 8-bit one's
complement.
1) Convert (0.513)10 to octal.
2) Given the two binary numbers X = 1010100 and Y = 1000011,
perform the subtraction (a) X - Y and (b) Y - X by using 2’s
complements.
4) Simplify the Boolean function and draw the logic diagram to
implement the function (i) F(a,b,c,d) = ∑(0,1,9,12,13,14) (ii)
F(a,b,c,d) = ∑(0,2,3,5,9,10,15) with don’t care d(a,b,c,d) =
∑(1,3,7,8,11,)
5) Implement the Boolean expression F (A, B, C, D) = _(1, 3,
4,7, 8,12, 13, 14, 15)...
Problem: Convert the following binary number to decimal.
1. 110101.101
Problem: Convert the following decimal number to fractional binary
representation.
1. 103.5625
(a) Convert the decimal numbers, 70 and -26 to binary in the
signed 2’s complement system. Make sure there are enough digits in
the results to be able to perform arithmetic operations with these
two numbers.
(b) Perform in the signed 2’s complement system, (+70) +
(-26)
(c) Perform in the signed 2’s complement system, (-70) -
(-26)
(d) Perform in the signed 2’s complement system, (+70) +
(+26)
Salesperson
Years of Experience
Annual Sales ($1000s)
1
3
79
2
4
92
3
4
91
4
4
106
5
7
102
6
9
112
7
10
120
8
11
117
9
11
114
10
13
135
A sales manager collected data on annual sales for new customer
accounts and the number of years of experience for a sample of 10
salespersons. In the Microsoft Excel Online file below you will
find a sample of data on years of experience...
Write a program to convert the input numbers to another number
system.
1. Decimal to Binary
2. Binary to Decimal
3. Hexadecimal to Decimal
4. Decimal to Hexadecimal
5. Binary to Hexadecimal
6. Hexadecimal to Binary
The user will type in the input number as following:
Binary number : up to 8 bits
Hexadecimal number: up to 2 bytes
Decimal number: Less than 256
As a result, print out the output after the conversion with
their input numbers.
The program...