Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Bitwise math/Exercises"

From NetSec
Jump to: navigation, search
(Created page with "<noinclude>{{subpage|Bitwise math}}</noinclude> 1) Solve for B left shift one ::{| class="wikitable" width="40%" style="text-align:center" |- !Operation !Hexadecimal !Binary |-...")
 
 
(No difference)

Latest revision as of 07:38, 19 July 2012

back to Bitwise math


1) Solve for B left shift one


Operation Hexadecimal Binary


Left Shift One

B

1

"(B in Binary)"

0001

= "??" "???"

2) Solve for F right shift three

Operation Hexadecimal Binary


Right Shift three

F

3

"(F in Binary)"

0011

= "??" "???"

Answers:


1) 0110 or 6.

Operation Hexadecimal Binary


Left Shift One

B

1

1011

0001

= "6" "0110"


2) 0001 or 1.


Operation Hexadecimal Binary


Right Shift three

F

3

1110

0011

= 0001 1