This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes any tutorials or notes for shifts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "any tutorials or notes for shifts?" Watch "any tutorials or notes for shifts?" New topic
Author

any tutorials or notes for shifts?

sonir shah
Ranch Hand

Joined: Nov 01, 2001
Posts: 435
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?
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
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


SCJP Tipline, etc.
Vikrama Sanjeeva
Ranch Hand

Joined: Sep 02, 2001
Posts: 756
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.


Count the flowers of your garden, NOT the leafs which falls away!
Prepare IBM Exam 340 by joining http://groups.yahoo.com/group/IBM340Exam/
sonir shah
Ranch Hand

Joined: Nov 01, 2001
Posts: 435
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
Jim Petersen
Ranch Hand

Joined: Jul 24, 2001
Posts: 241
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 ]

- Jim Petersen <br />SCJP2<br />SCWCD<p>- but then again, I could be wrong...
 
Don't get me started about those stupid light bulbs.
 
subject: any tutorials or notes for shifts?
 
Similar Threads
Need usage help for getDocumentById
scjp material
I/O is killing me !
jdk 1.5
Model View Presenter pattern