• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Regarding SCJP 1.4

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
During the exams scjp 1.4 is there is a quesiton on bitwise oprators or the shift operators will the binary value of the numbers be given???
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Srikanth ,

There will be quite a few questions on Bitwise & shift operators. The binary value wont be given . We have to convert the decimal value to the binary value and then work on them .

eg : 3<<2 ;
3*2^2;
3*4;
3<<<2 ;

Which two of the above are same ?

Hope I answered your question .



Originally posted by Srikanth Iyer:
During the exams scjp 1.4 is there is a quesiton on bitwise oprators or the shift operators will the binary value of the numbers be given???

 
Srikanth Iyer
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you rakesh
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, the numbers you need to convert to binary will not be that difficult. For example, you might see values in the neighborhood of 12 or 15 (just enough to test your knowledge of binary conversion) -- but you should not need to convert something like 6763 (which is 1101001101011, by the way).

Note: Negative one is commonly used in these problems, so you definitely need to know that -1 is all 1's in binary.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic