Question

In: Advanced Math

Example Explanation • The original number was 101 in binary which is equivalent to 5 in...

Example Explanation
• The original number was 101 in binary which is equivalent to 5 in decimal.
• The answer after shifting to the right is 2 in decimal.
• That means by shifting one digit to the right the binary number gets divided by 2 (5/2 = 2 in binary)
Shifting to the Left
• Shifting a binary number to the left is equivalent to multiplying it.
• If you shift once to the left , you multiply the binary number by 2
• If you shift twice to the left, you multiply the number by 4
How to Shift to the Left
Example: The number is 1 0 1
INSERT a ZERO in the Least Significant Bit (LSB) 1 0 1 1 0 1 0 LSB
Example Explanation
• The original number was 101 in binary which is equivalent to 5 in decimal.
• The answer after shifting to the left is 10 in decimal.
• That means by shifting one digit to the left the binary number gets multiplied by 2 (5*2=10)



Solve: 1. (110)2 x (2)10 = ( )2

2. (1011)2 x (4)10 = ( )2

Shift the following numbers twice to the left:

3. (111)2= ( )2

4. (1010)2= ( )2

Solve: 5. (110)2 / (2)10 = ( )2

6. (1011)2 / (4)10 = ( )2

Shift the following numbers twice to the right:

7. (111)2= ( )2

8. (1010)2= ( )2

please give me the full explanation for the answer

Solutions

Expert Solution


Related Solutions

THE FOLLOWING QUESTION IS FOR C PROGRAMMING LANGUAGE Printing the decimal equivalent of a binary number....
THE FOLLOWING QUESTION IS FOR C PROGRAMMING LANGUAGE Printing the decimal equivalent of a binary number. Write a program that accepts an integer (5 digits or fewer) containing only 0s and 1s (i.e., binary) and prints out its decimal equivalent using the remainder and division operator to select the "binary" digits one at a time. Make sure your input is tested for multiple options: incorrect characters, too many, too few, etc. I need help making this program. No loops, if...
write a VBA code to convert an arbitrary positive binary fractional number (0< number<1) to equivalent...
write a VBA code to convert an arbitrary positive binary fractional number (0< number<1) to equivalent decimal number. the code should acquire the binary fraction number in the format"0.xxxxxx"from input box, then return the equivalent decimal number in a message box. in the code, you may need to use VBA function "mid(_,_,_)" to pick up a specific symbols or characters from a string. you can use below conversion as benchmark to verify and debug your code: (0.1011)2 = (0.6875)10   
represent the decimal number 101 and 6 as floating point binary numbers please show your work...
represent the decimal number 101 and 6 as floating point binary numbers please show your work and explained, I have a test.
convert the binary number(base 2) To Octal (base 8) to decimal (base 10) a. 101 b....
convert the binary number(base 2) To Octal (base 8) to decimal (base 10) a. 101 b. 1001 c. 101010 d.1101101 convert the number to the other base a. 253 base 10 to base 8 b. 98 base 10 to base 3 C. 1340 base 10 to base 16 D. AB Base 16 to base 8 E. 111010 base 2 to base 16 F. 1010101 base 2 to base 6 g. 69 base 10 to base 2 h . 1023 base...
I am trying to create bit masks to create a new binary number with the original...
I am trying to create bit masks to create a new binary number with the original bits' orders turned around, and concataneted. For example, int test=0b01100010001010001001(20 bits) now, I need bit masking to make it: int result = 20th bit, 10-1 bits, 11th bit, 19-12 bits, in this order. So in this case, answer would be: 0(20th bit)10100010(10-1 bits)0(11th bit)1011000100(19-12 bits). Im trying to do something like int res |= test & 0x7F800; res |= test& 0x400; Can't seem to...
1. Give the binary equivalent of the decimal number of 11.77 (assume fixed point, no more...
1. Give the binary equivalent of the decimal number of 11.77 (assume fixed point, no more than 6 bits left and right of the decimal point)
Give the binary equivalent of the decimal number of 11.77 (assume fixed point, no more than...
Give the binary equivalent of the decimal number of 11.77 (assume fixed point, no more than 6 bits left and right of the decimal point)
Give the binary equivalent of the decimal number of 19.9 (assume fixed point, no more than...
Give the binary equivalent of the decimal number of 19.9 (assume fixed point, no more than 6 bits left and right of the decimal point(show work)
a)The decimal equivalent of the signed 2’s complement 8-bit binary number 11010101B is ______________. b)The decimal...
a)The decimal equivalent of the signed 2’s complement 8-bit binary number 11010101B is ______________. b)The decimal equivalent of the unsigned 8-bit hex number 0B4H is ______________. c)The value of the expression ‘H’ – ‘B’ is less than / equal to / greater than that of the expression ‘L’ – ‘C’. d)If the .data segment contains declarations                         A    BYTE      2 DUP (‘a’), ‘+’ B    BYTE      3 DUP (‘b’), 0 C    BYTE      4 DUP (‘c’), ‘–’ D    BYTE     ...
Java Asks the user to enter a binary number ,example: 1011011 Validates that the entry is...
Java Asks the user to enter a binary number ,example: 1011011 Validates that the entry is a binary number. Nothing but a binary number should be allowed. The program converts and displays the binary number to its base 10 equivalent, Example 1112 = 710 The user must be asked if he/she wants to continue entering numbers or quit. Keeps a record in a txt file named outDataFile.txt with the history of all numbers entered and the associated results, in the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT