Which statement is true about the execution of the code?

Examine the following PL/SQL code:

The server output is on for the session. Which statement is true about the execution of the code?

Examine the following PL/SQL code:

The server output is on for the session. Which statement is true about the execution of the code?

A.
The code executes successfully and gives the desired output.

B.
The code generates an error because the EMP_RECORD variable is not declared.

C.
The code generates an error because the cursor is not opened before the FOR loop.

D.
The code generates an error because the loop does not have the exit when clause.



Leave a Reply 15

Your email address will not be published. Required fields are marked *


Vipin

Vipin

Hello every one,

if anyone has given 1z0-144 exam, please tell me if all the 78 questions given here is enough to pass the exam.
Pls reply.

Thanks.

Devendra

Devendra

Even I want to know the answer of the comment from Vipin. Anyone please reply ??????

Raghav

Raghav

Even I would like to know ……?

Justyna

Justyna

Can happen that you will have only these questions, but is also possible that you get a few different questions. You never know. usualy you need about 60-70% perecent to pass exam. It depends on the exam (PL/SQl, or SQL, database administration etc.)

Jo

Jo

It could be nice to have the code snippet in this one.

Sandor

Sandor

DECLARE
CURSOR C_EMP_CURSOR IS
SELECT EMPLOYEE_ID, LAST_NAME FROM EMPLOYEES
WHERE DEPARTMENT_ID = 30;
BEGIN
FOR EMP_RECORD IN C_EMP_CURSOR
LOOP
DBMS_OUTPUT.PUT_LINE(EMP_RECORD.EMPLOYEE_ID||’ ‘||EMP_RECORD.LAST_NAME);
END LOOP;
END;
/

Javier

Javier

A is the answer.
B,C & D will be OK if change to a different loop, not a for.

karthik

karthik

can anybody share the dumps for 1z0-144…iam taking up the exam day in two days pls help me
Thanks in advance

Uladzimir

Uladzimir

Did you take an exam?
Do you need dumps now?

Raghu

Raghu

could you pls share the quetsions of 1z0-144 asap, I have the exam by this Friday.Thanks

prag

prag

Hi,

Just wanted to confirm if you have given this exam and have any dumps for the same as I am also planning to give this exam this week.

Thanks in advance.

Striker

Striker

Hi Uladzimir ,

actually i need a dump for 1z0-144 and for forms and reports .

Raghu

Raghu

could any one pls share 1z0-144 questions if you have? I am having the exam by Friday morning

Maria

Maria

Those examples of question from this site were very usefully. I get many of then on the exam, and many of them help me to learn. Thanks