check for 2's complemen calculation link :
https://coderanch.com/t/251801/java-programmer-SCJP/certification/hexadecimal-format There is a little trick to calculate faster in the exam for -ve numbers:
If it's a odd number let's say (2n + 1) format, then add 1 and devide by 2.. ie your answer in -ve.
ie to get -15 >> 1, answer is -(15+1)/2 = -8
Similarly -16 >> 1, answer is 16/2=8.
Guys, thank me for saving ur binary calculation time

[ December 08, 2005: Message edited by: Enge Chall ]