• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

any tutorials or notes for shifts?

 
Ranch Hand
Posts: 435
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello guys
I am still not able to understand the concepts of shift operators
Is there any notes or tutorials which explain this concept in a better way??(just like it explains a begineer)
please help?
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by sonir shah:
hello guys
I am still not able to understand the concepts of shift operators
Is there any notes or tutorials which explain this concept in a better way??(just like it explains a begineer)
please help?


You can check out this story from the campfire section which may be helpful to get you started. I'd try a few problems and, if you're finding that you're having trouble getting the right answer or explaining why, post it here and I'm sure there are tons of bit-shifting gurus here that can explain it to you in pseudo-plain english.
Corey
 
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
U can have this Sun Tutorial and u'll get much help not only on operators but on whole Java.Specially AWT,IO & Event Handling.
Bye.
Viki.
 
sonir shah
Ranch Hand
Posts: 435
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
I tried studying the CampFire at the Javaranch regarding Bits and Shift operators.
But I am still not cleared my concepts very efficiently.I dont know why?
Can any one suggest me what am I supposed to do??
Sonir
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I found Marcus Green's tutorial on shifting pretty good. www.jchq.net
Chances are that you'll get 1-2 questions in the exam exclusively on shifting... max so don't loose too much sleep on the subject! One tip I can think of is to start thinking in groups of bits eg 8 groups of 4 1/0s for integers, 2 groups of 4 for bytes etc do the decimal-binary conversion, and write down the problem in these groupings.
Also you may want to do a search through this board for specific questions on bit-shifting asit comes up regularly
[ January 11, 2002: Message edited by: Jim Petersen ]
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic