Forum Stats

  • 3,875,872 Users
  • 2,266,977 Discussions
  • 7,912,361 Comments

Discussions

SL-275

holod
holod Member Posts: 281
I've just finished SL-275. (few days ago)
So theoretically I can pass exam to get status of "Java programmer".
I am pretty familiar with programming technologies (I am IT-department student).
But I want to ask: is it really hard to pass exam?
What kind of questions I will meet there?

For example I dislike "thin questions" which tests your knowledge of language perculiarity. Such as:
String str1="first";
String str2="first";
These variables just keep links.

and it's useless to do like in C:
if(str1==str2)
You have to write this way:
if(str1.equals(str2))
Such questions just try to catch you like rabbit in trap.
But really, they do not show anything.

So, did anybody pass the first exam?
What can you suggest me?

Comments

  • 843789
    843789 Member Posts: 46,655 Green Ribbon
    If you think knowing what this does:
    if(str1==str2)
    is pointless knowledge, try using it in a program and see how well it works out.
  • holod
    holod Member Posts: 281
    I agree, this is not good example.
    Such knowledge shows your understanding of Java.basics :)

    Another one:

    short, byte,char,int,long
    Which of these types can't be used in switch case ?

    The answer is long, it can't be downcasted to int type.
    Why all case variables automatically up/down cast to int- maybe it is connected with ME version....?
    long is too big type, it's better to reduce use of it.
    I do not know.

    This particular question really shows nothing.
    just pecularity. and nothing more.

    But I do not want to discuss my examples.
    Anyway thank you for your comment, but the topic is exam after SL-275

    As I understood I can pass now
    http://www.sun.com/training/catalog/courses/WGS-PREX-J055C.xml

    is that right?
  • 843789
    843789 Member Posts: 46,655 Green Ribbon
    But I do not want to discuss my examples.
    Anyway thank you for your comment, but the topic is
    exam after SL-275
    Well I don't know anything about that exam, so I'll keep talking about the other topic ;-P

    There's a difference between not thinking that a particular feature or part of the spec makes sense, and not thinking you should learn how they work. To borrow your example, we can argue all day about whether or not == should be overridden to compare Strings (we've argued all day about much dumber things here!), but there's not a lot to be done about it. In the case of not wanting to learn how it works, well that's just part of programming in a language. You have to learn the quirks. Usually you learn those things through experience, so it's not as painful as memorizing for an exam.

    Anyway, this isn't a dig on you, I just felt like ranting before I went home.
  • holod
    holod Member Posts: 281
    Ofcourse, professinal programmer must know pecularities of language and so on.
    But I think examshould test your understanding of some subject of language or tecnology, but not it's secret tips and tricks.
    All these stuff programmer will learn during practice.
  • 843789
    843789 Member Posts: 46,655 Green Ribbon
    If you think knowing what this does:
    if(str1==str2)
    is pointless knowledge, try using it in a program and
    see how well it works out.
    It's far from pointless. It's a major source of errors in programs created by people who don't know.
  • holod
    holod Member Posts: 281
    edited Feb 21, 2007 11:56AM
    I agree, this is not good example.
    Such knowledge shows your understanding of Java.basics :)
    I've accepted, that it was not good example.
    I gave another one.
    See my previous post:
    <<<<<<<<<<<<<<<<<<<
    short, byte,char,int,long
    Which of these types can't be used in switch case ?

    The answer is long, it can't be downcasted to int type.
    Why all case variables automatically up/down cast to int- maybe it is connected with ME version....?
    long is too big type, it's better to reduce use of it.
    I do not know.
    >>>>>>>>>>>>>>>>>>>>>>>>

    Ant this error is typical for C/C++ programmers.
    During first practice tasks on cources, I've rote C code instead of Java code :)
    that was pretty hard to put away C-style and thinking.

    I found today a list of some questions.
    If you want, I can publish them (if it is not restricted).

    For example, in question a code is given and it is not written with Java code conventions.
    Class defination in one string.
    Very hard to read.
    That's kind of unfair to so.

    Message was edited by:
    Holod
  • 843789
    843789 Member Posts: 46,655 Green Ribbon
    and that kind of code you won't find on the exam...

    The exam is NOT out to trick you into giving incorrect answers. It is however out to test your in depth knowledge, so the correct answer may not always be the obvious one.
This discussion has been closed.