File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Associate Certification (SCJA,OCAJ 5/6) and the fly likes Logical operators in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Associate Certification (SCJA,OCAJ 5/6)
Bookmark "Logical operators in "Section 4: Algorithm Design and Implementation"" Watch "Logical operators in "Section 4: Algorithm Design and Implementation"" New topic
Author

Logical operators in "Section 4: Algorithm Design and Implementation"

Mahesh Kumaraguru
Ranch Hand

Joined: Jun 01, 2005
Posts: 95
Section 4: Algorithm Design and Implementation

states

...logical operators (limited to: !, &&, ||)...

Am I to understand that & and | ( simple logical operators, NOT short-circuit operators ) are excluded ?

Is there any Sun contact whom we can get clarification on this?

Regards,
K. Mahesh
Sun_Certified_Java_Associate@YahooGroups.com


Regards,<br />K. Mahesh<br /> <br />SCJP 1.2 Aug-2001 : 79%
Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 261
A sun contact sounds like a good plan but it seems they've purposely excluded the boolean logical operators for whatever reason. Probably to keep this "below" SCJP in terms of required knowledge as I think that is how Sun is setting this exam up to be...sort of a pre-exam to all the other certifications.
Mahesh Kumaraguru
Ranch Hand

Joined: Jun 01, 2005
Posts: 95
Originally posted by Matt Kidd:
A sun contact sounds like a good plan but it seems they've purposely excluded the boolean logical operators for whatever reason. Probably to keep this "below" SCJP in terms of required knowledge as I think that is how Sun is setting this exam up to be...sort of a pre-exam to all the other certifications.


In that case Matt, they should have excluded short circuit operators ( &&, || ) and kept simple logical operators ( &, | ). In my experience with Java beginners, short circuit operators are more difficult to understand compared to simple operators.

Regards,
Mahesh
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
My comment is, if you are already knew those topics, or if those topics are not really difficult to learn, why dont we also take a look on that?

At least, in order to play safe, we know how to answer those questions in case we see them in the test.

Exam-oriented is very important, however, the learning process is equivalently important as well.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Mahesh Kumaraguru
Ranch Hand

Joined: Jun 01, 2005
Posts: 95
Nick,

I know these topic, I am just curious to know why these are not part of exam objectives scope.
Beny Na
Ranch Hand

Joined: May 26, 2004
Posts: 159
review everything you know including the exam objectives will safe your life for the scja exam.
Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 261
Originally posted by Mahesh Kumaraguru:


In that case Matt, they should have excluded short circuit operators ( &&, || ) and kept simple logical operators ( &, | ). In my experience with Java beginners, short circuit operators are more difficult to understand compared to simple operators.

Regards,
Mahesh


I admit its been some time since I've had to distinguish between short circuit operators and simple logical but I understand your stance in that with simple logical operators both conditions are checked.

Now I'm trying to remember why I had such an easy time descerning this back in school because I recall the distinction came easy for me. Probably came up with some "pavlovian" trick to tell the difference between short circuit and simple.
Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 261
the lack of an edit feature is cumbersome

could it be to distinguish between the use of & and | for logic and bitwise operators and just to focus on them as conditionals?
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11525
    
100

Originally posted by Matt Kidd:
the lack of an edit feature is cumbersome


Above each individual post, there are a row of icons, one of which looks like . Clicking on it will allow you to edit your post.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Dave Wood
bronco
Ranch Hand

Joined: Aug 02, 2004
Posts: 161
In all cases where the exam objectives explicitly list things you need to know, it is safe to assume that you are being given a complete list.

In this particular case, only the most common operators were included on the exam.


Co-Author of <a href="http://www.oreilly.com/catalog/jswing2" target="_blank" rel="nofollow">Java Swing</a><br />Co-Creator of <a href="http://www.sun.com/training/catalog/courses/CX-310-055.xml" target="_blank" rel="nofollow">SCJP 5.0</a> and <a href="http://www.sun.com/training/certification/java/associate_beta.xml" target="_blank" rel="nofollow">SCJA</a> exams
Girish Bal
Ranch Hand

Joined: Jun 23, 2005
Posts: 54
Shift operators are not part of the exam or what?


Girish B
SCJA 1.0 (86%)
SCJP 1.4 (91%)
OCPJWCD (86%)
Dave Wood
bronco
Ranch Hand

Joined: Aug 02, 2004
Posts: 161
Originally posted by Girish Bal:
Shift operators are not part of the exam or what?


True.

To quote myself...

In all cases where the exam objectives explicitly list things you need to know, it is safe to assume that you are being given a complete list.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logical operators in "Section 4: Algorithm Design and Implementation"