permaculture playing cards*
The moose likes Associate Certification (SCJA,OCAJ 5/6) and the fly likes Section 4 - Algorithm Design inquiry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Associate Certification (SCJA,OCAJ 5/6)
Bookmark "Section 4 - Algorithm Design inquiry" Watch "Section 4 - Algorithm Design inquiry" New topic

Section 4 - Algorithm Design inquiry


Joined: Jun 17, 2008
Posts: 2
I have reviewed the Objectives of SCJA v1.0, and found the Algorithm Design and Implementation section a little vague.

Are the algorithms sorting one? Or possibly rules-engine ones?

one of these objectives:
Given an algorithm with multiple inputs and an output, develop method code that implements the algorithm using method parameters, a return type, and the return statement, and recognize the effects when object references and primitives are passed into methods that modify them.

This just seems like general Java development to me - I'm guessing the exam gives an algorithm and expects the candidate to devise the answer given the constraints. Similar to word problems in algebra class?

Any insight is appreciated
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Yeah, I think you're right.

So, if you know how to write a method signature with the appropriate arguments passed, and know how to return the correct type, you'll be okay.

So, a method called calcTotal that takes two doubles and returns a double would look like this:

public double calcTotal(double a, double b){return 0;}

as opposed to this:

public (double a, double b)calcTotal() {}

I'm pretty sure that's where they're going with that objective.

-Cameron McKenzie
I agree. Here's the link:
subject: Section 4 - Algorithm Design inquiry
Similar Threads
Design Patterns vs. Algorithms
Only GoF Design Patterns for SCEA...rite?
Can I take SCWCD 1.4 having SCJP 1.2?
SCBCD Objectives/Specification
SCJP Syllabus