Question

In: Computer Science

Calculate A+B, A-B, AxB, and A/B for each of the following pairs of binary numbers. (Assume...

Calculate A+B, A-B, AxB, and A/B for each of the following pairs of binary numbers. (Assume the first number in each pair = A and the second number =B). Append all numbers to 8 bits. Subtraction is not2’s complement.

a.1010101, 011010

b.101101, 10101

c.11001, 1100

d.1010101, 1110

Solutions

Expert Solution

Don't get confused by images because you may get confused.I've put them in order as per your question.



Related Solutions

Convert each of following numbers to Binary numbers, showing all steps. a. (572) 8 b. (1604)...
Convert each of following numbers to Binary numbers, showing all steps. a. (572) 8 b. (1604) 8 c. (1066)10 d. (99)10 e. (80E)16 f. (135AB)16
Convert the following values into binary numbers for each word and place the binary values in...
Convert the following values into binary numbers for each word and place the binary values in the two-dimensional array in their proper order of words. Value Binary Number Equivalent Word 0 462,91210 Word 1 1142008 Word 2 5420h Word 3 20,992d Word 4 1104208 Word 5 6102008 Word 6 9F88h Word 7 20,49610 Word 8 502416 Word 9 1101018 Word 10 71082h
Each of the following pairs of elements will react to form a binary ionic compound. Write...
Each of the following pairs of elements will react to form a binary ionic compound. Write the formula of each compound formed, and give its name. Please explain how you arrived at your answer. a) Magnesium and chlorine b) Calcium and oxygen c) Lithium and nitrogen d) Aluminum and oxygen
Look for the binary representation for each of the numbers in the left column of the...
Look for the binary representation for each of the numbers in the left column of the following table using the algorithm that iteratively divides by two. Show all steps of the algorithm for each number in different rows of a table with three columns like the example I have included. All steps are essential for getting full credit. Create 5 different tables for the 5 numbers. The numbers in the left column of the following table are expressed in base-10...
Develop a python program to convert two decimal numbers (A and B) to binary numbers. You...
Develop a python program to convert two decimal numbers (A and B) to binary numbers. You should generate B complement signal (flip all the bits of Input B,
Make the following assumptions: Assume a binary search tree holds integer numbers Write a pseudocode for...
Make the following assumptions: Assume a binary search tree holds integer numbers Write a pseudocode for a binary tree search algorithm that searches in the tree (starting at root) for a node which meets the following requirements, and prints a message when found: (a) has a value that is one third as large as either its left or right child node. Think carefully about what steps are needed to do the search, and review the insert and search methods for...
1.convert the following numbers from decimal to binary assuming seven-bit twe's complement binary representation: a)49 b)...
1.convert the following numbers from decimal to binary assuming seven-bit twe's complement binary representation: a)49 b) -27 c)0 d) -64 e) -1 f) -2 g) what is the range for this computer as written in binary and in decimal? 2.convert the following numbers from decimal to binary assuming nine-bit twe's complement binary representation: a)51 b) -29 c) -2 d)0 e) -256 f) -1 g ) what is the range for this computer as written in binary and in decimal?
Unify (if possible) the following pairs of predicates and give the resulting substitutions, assume b is...
Unify (if possible) the following pairs of predicates and give the resulting substitutions, assume b is a constant. a. P(x, f(x), z) ¬ P(g(y),f(g(b)),y) b. P(x, f(x)) ¬ P(f(y), y) c. P(x, f(z)) ¬ P(f(y), y)
Calculate the value of each of the physical addresses. Assume numbers are hexadecimal. a) B2C0:FA12 I...
Calculate the value of each of the physical addresses. Assume numbers are hexadecimal. a) B2C0:FA12 I am having difficulties to solve this. I know that I have to add a zero to the starting so it becomes B2C00 + FA12 = B is 11 C is 13 F is 15 and A is 10 --> 1121300 + 151012 I do not know if this is the right procedure to add them. Thank you in advance
Calculate the following 1) a. Give examples of each: A hex dword, a binary word, and...
Calculate the following 1) a. Give examples of each: A hex dword, a binary word, and decimal byte c. If x is a word, which command(s) are legal ? movzx eax,x movzx ah,x movzx ax, x d. How many bits in a word? e. Put 12345h in DWORD format.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT