DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: mistakes in self test software

  1. #1
    Join Date
    Aug 2000
    Location
    Alberta
    Posts
    82

    Exclamation

    Just brushing up with STS before I write my intro to oracle pl/sql test (1Z0-001) and I came across an error, I let them know about via e-mail and hope to hear back on monday whether there is any more "bugs" like this.

    Basically the question asked how many time a loop will execute, to which my answer was 0 because of an error in the code. STS missed the error, of which there was more than one as they were referencing a variable without declaring it and also using an expression as an assignment incorrectly.

    BTW, STS's answer to the question was 5

    Has anyone else run in to errors like these?

    I paid good $$ for the software, I expect it to NOT have errors, especially since I bought it to prepare for an exam!

    cheers!

    ps. here is the question & displayed code:

    evaluate this pl/sql block:

    declare
    v_low NUMBER :=1;
    v_high NUMBER :=6;
    v_count NUMBER :=2;
    BEGIN
    i:= v_low
    FOR i IN v_low..v_high LOOP
    v_count := v_count + 1;
    i:=i+1;
    END LOOP;
    END;


    How many times will the loop execute?

    Answer=5



  2. #2
    Join Date
    Jul 2000
    Location
    Amsterdam
    Posts
    234

    Smile Certification

    Hi

    Of course you are right with the STS question being wrong.

    But the (OCP) exams also contains errors.

    Also there are really diabolical question which you have to read 4 or 5 times before you know what they are asking.

    So in a way STS is a wright way to prepare for OCP exams.

    Good luck with 1Z0-001 (maybe after the exam you will understand my answer).

    Tycho

  3. #3
    Join Date
    Aug 2001
    Location
    Manchester, UK
    Posts
    86
    In the exam if such a situation arises lookout for the choice

    "will return error" else you have to overlook these kind of small mistakes.

    -- Anurag.
    OCP Application Developer
    ---------------------------------------------------------
    "Be not afraid of growing slowly. Be afraid only of standing still."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width