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!
ps. here is the question & displayed code:
evaluate this pl/sql block:
v_low NUMBER :=1;
v_high NUMBER :=6;
v_count NUMBER :=2;
FOR i IN v_low..v_high LOOP
v_count := v_count + 1;
How many times will the loop execute?
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).
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.