3- Perform the following mathematical operations using binary arithmetic. Use 8 bits of precision for each of the operations. (43)10 (13)10 4- Perform the following mathematical operations using binary arithmetic. Use 8 bits of precision for each of the operations. (11)10 (9)10
3- Perform the following mathematical operations using binary arithmetic. Use 8 bits of precision for each of the operat...
5- Find the 2s complement of the following numbers. Use 8 bits of precision for each of the operations. (104)10 6- . Using 2s complement representation of negative numbers, perform the following operations in binary. Use 8 bits of precision for each of the operations. Also, convert your result back to decimal to verify the calculation (36)10 − (55)10
3. Perform the following arithmetic operations in Binary and present your resu indicate the C &Z & DC flags status after each operation: (18 Points) (NOTE: another way of indicating that the value is HEX) nd present your results in HEX and also (a) OX48 - 0X75 (d) OX56 - OXAD (b) OXEF + OXAC (e) OX34 - OXE7 (c) OX49 + OX9D (f) OXFE - OX02 6. Perform the following logic operations in Binary and present your results innen...
6. Convert .3710 to a binary fraction of 10 binary digits. 7. Use two's compliment arithmetic to perform the following 8 bit binary operations. a. 0010 1110 + 0001 1011 b. 0101 1101 – 0011 1010 c. 1011 1000 – 1000 1011 d. 1000 1100 – 1111 0111 8. Convert 150.8476562510 to IEEE Floating Point Standard. 9. Simplify the following Boolean expressions. a. xy + xy + xz b. (w + x)(x + y)(w + x + y + z)...
2) Perform the following Mathematical operations Using 2's complement, Indicate where overflow occurs, (You must convert to s-bit Binary and then do the Math, A=+ll B = +6 c= -4 е) В - А c) a) A-B b) CIA C- A- d) C
If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits using excess-127 representation, 23 significand bits with implied bit), then which of the following hexadecimal number is equal to the decimal value 3.875? C0780000 40007800 Oo 40780000 40A80010 The binary string 01001001110000 is a floating-point number expressed using a simplified 14-bit floating-point representation format (1 sign bit, 5 exponent bits using excess-15 representation, and 8 significand bits with no implied bit). What is its...
For this problem, assume 4 bits precision. Add two binary numbers, 1.110 two x 2 -7 and 1.010 two x 2 -5 by showing the following steps: Step1: The significand of the number with the lesser exponent is shifted right to match the exponent of the larger number. Step2: Add the significands. (you can assume that you can carry all digits) Step3: Normalize the sum, determine whether there is an overflow or an underflow. Step4: Truncate the sum (using 4...
8. Using 4 bits and two’s complement representation , what is the binary representation of the following signed decimal values; a) +6 b) -3
8 - For the following operations: write the operands as 2's complement binary numbers then perform the addition or subtraction operation shown. Show all work in binary operating on 8-bit numbers. • [1 pts) 6+3 . [1 pts) 6-3 • [1 pts) 3 - 6
3. (8 points) Using the implementation of binary search tree operations we discussed in class, draw the trees that result from the following operations: (a) Inserting 142, 400, 205, 127, 100, 320, 160, 141, and 110 into an initially-empty tree (in that order). (b) Deleting 142 from the tree you drew for part (a). 4. (8 points) Draw the unique binary tree that has a preorder traversal of 4, 1, 6, 3, 7, 5, 9, 2, 8 and an inorder...
(30 pts) In addition to the default IEEE double-precision format (8 byte 64 bits) to store floating-point numbers, MATLAB can also store the numbers in single-precision format (4 bytes, 32 bits). Each value is stored in 4 bytes with 1 bit for the sign, 23 bits for the mantissa, and 8 bits for the signed exponent: Sign Signed exponent Mantissa 23 bits L bit 8 bits Determine the smallest positive value (expressed in base-10 number) that can be represented using...