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

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.
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)
1. Which of the following were provided in the Money 101 Video as the 5 Basic...
1. Which of the following were provided in the Money 101 Video as the 5 Basic Money Rules to Use Forever? Choose all that apply. Cut up credit cards and close the accounts Save and Invest Make savings automatic Have a positive Net Worth when you graduate from college Create an amortization schedule for all of your loans Spend less than you make Make a plan: Set goals, create a budget, and track everything 2. You just won the $1,000,000...
Q: Give numerical example explaining the concept of Equivalent number of units. Discuss the advantages of...
Q: Give numerical example explaining the concept of Equivalent number of units. Discuss the advantages of using equivalent number f units?
Need explanation of MATLAB code which creates echo. (SIGNAL PROCESSING) If the original audio signal is...
Need explanation of MATLAB code which creates echo. (SIGNAL PROCESSING) If the original audio signal is x(t) then the echo is y(t) = x(t) + alpha*x(t-delay) This code below creates this echo however I don't understand how every line of the code works, could someone comment this code so I can understand? [x,Fs] = audioread('Hallelujah.wav'); sound(x,Fs); delay = 0.5; % 0.5s delay alpha = 0.65; % echo strength D = delay*Fs; y = zeros(size(x)); y(1:D) = x(1:D); for i=D+1:length(x) y(i)...
Write an application that prints a table of the binary and octal equivalent of the decimal...
Write an application that prints a table of the binary and octal equivalent of the decimal numbers in the range 1 through 256. **Write in JAVA**
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT