-
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
-
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
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|