In: Electrical Engineering

PROBLEM 2

(a) Do operation 75.38 - 18.62 in binary using two's
complement. Use for the 6 bit fractional part

(b) Convert the resulting expression to decimal, and say how
much is the absolute error obtained in the operation

(a) Do operation 75.38 - 18.62 in binary using two's complement.
Use for the fractional part 6 bits
(b) Convert the resulting expression to decimal, and say how much
is the absolute error obtained in the operation.

Part 1: Solve the operation 75.38-18.62 in binary
using two's complement. Use 6 bits for the fractionary part.
Part 2:Convert the result to a decimal, and explain
how much is the absolute error obtained in the operation.
(Provide Step by Step process of problem solving in
each part.)

Find the solution of the following operation for
binary numbers 11011.111- * 100101.01 using2'complement

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.

Write -127 as 8 bit signed binary number both using 2'complement
and sign/magnitude notation.

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.

covert -19.875 to the following:
i) Two's complement
ii) Octal
iii) Hexadecimal
iv) Gray code

i need to convert decimal to twos complement binary and then add
the binary digits but I am unable to do it. I am only allowed to
use string, can anyone help me out please. i need the code
urgently.
#include
#include
#include
#include
using namespace std;
string reverse(string s)
{
string x = "";
for (long i = s.length() - 1; i >= 0; i--)
{
x += s[i];
}
return x;
}
string twosComplementStringsAddition(string A, string B)
{...

Problem 5: Perform the subtraction on the following pairs of
signed numbers using the 2’s complement system. Express the results
as signed binary numbers and as decimal values. Please show all
work to fully understand.
A. 01001 - 11010 B. 10010 - 10011

The standard method of representing negative numbers in the
binary system is with 2's complement notation. What are the
advantages and disadvantages of using this method to represent
negative numbers?

ADVERTISEMENT

ADVERTISEMENT

Latest Questions

- What is the treatment for schzophrenia condition? How was this disorder treated in the past? Has...
- Which of these are a case for Cultural Relativism? 1. Different societal contexts demand different moral...
- Annuity You are going to borrow money from the bank. But when considering your income, you...
- As you will learn, working in groups is no easy task! Hopefully, you will master some...
- An agronomist is conducting a field experiment to identify the best management practice for minimizing spread...
- What’s a firm’s market value? What are some factors driving a firm’s market value?
- Create the following positions based upon a job analysis: Mailroom clerk: Entry level for a long-term...

ADVERTISEMENT