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

Bitwise math/Exercises

From NetSec
Revision as of 03:22, 19 July 2012 by GertieUbpgdd (Talk | contribs) (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 |-...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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