It is more faster and easier to pass the Oracle 1Z0-144 exam by using Accurate Oracle Oracle Database 11g: Program with PL/SQL questuins and answers. Immediate access to the Refresh 1Z0-144 Exam and find the same core area 1Z0-144 questions with professionally verified answers, then PASS your exam with a high score now.

Q1. Which type of exceptions is qualified as no predefined Oracle server errors? 

A. the exceptions that are explicitly raised by the program and can be caught by the exception handler 

B. the exceptions that are raised implicitly by the Oracle server and can be caught by the exception handler 

C. an exception that the developer determines as abnormal, are in the declarative section and raised explicitly 

D. an exception that is raised automatically when the PL/SQL program violates a database rule or exceeds a system-dependent limit 

Answer:


Q2. Examine the following command: 

SQL>ALTER SESSION 

SET plsql_warnings * 

'enable: severe', 

'enable: performance', 

'ERROR: 05003' 

What is the implication of the above command? 

A. It issues a warning whenever ERROR: 05003 occur during compilation. 

B. It causes the compilation to fail whenever the warning ERROR.05003 occurs. 

C. It issues warnings whenever the code causes an unexpected action or wrong results performance problems. 

D. It causes the compilation to fail whenever the code gives wrong results or contains statements that are never executed. 

Answer:


Q3. You want to create a trigger that fires whenever rows are deleted from the customer table and that displays the number of rows remaining in the table. 

Which two statements are correct about the trigger to be created for the above requirement? (Choose two.) 

A. It should be an after trigger. 

B. It should be a before trigger. 

C. It should be a row-level trigger. 

D. It should be a statement-level trigger. 

E. It can be a before or an after trigger. 

Answer: A,C 


Q4. Which two statements are true about the instead of triggers? (Choose two.) 

A. Delete operations cannot be performed using the instead of triggers. 

B. The instead or triggers must be created to add or modify data through any view. 

C. The instead of triggers can be written only for views, and the before and after timing options are not valid. 

D. The check option for views is not enforced when Insertions or updates to the view are performed by using the instead of trigger. 

Answer: B,C 


Q5. Examine the following PL/SQL code; 

The execution of the code produces errors. Identify the error in the code. 

A. The open cursor is missing 

B. The fetch clause is missing 

C. The exit when condition is missing 

D. The EMP_NAME and EMP_JOB variables cannot be used in the for clause of the cursor FOR statement. 

Answer:


Q6. Examine the following partial declare section from a block of PL/SQL code 

Which line(s) in the above code are NOT valid? (Choose all that apply.) 

A. line 2 

B. line 3 

C. line 4 

D. line 5 

Answer: B,D 


Q7. What is the correct definition of the persistent state of a packaged variable? 

A. It is a private variable defined in a procedure or function within a package body whose 

value is consistent within a user session. 

B. It is a public variable in a package specification whose value is consistent within a user session. 

C. It is a private variable in a package body whose value is consistent across all current active sessions. 

D. It is a public variable in a package specification whose value is always consistent across all current active sessions. 

Answer:


Q8. In which of the following scenarios would you recommend using PL/SQL records? 

A. when you want to retrieve an entire row from a table and perform calculations 

B. when you know the number of elements in advance and the elements are usually accessed sequentially 

C. when you want to create a separate lookup table with multiple entries for each row of the main table, and access it through join queries 

D. when you want to create a relatively small lookup table, where the collection can be constructed in memory each time a subprogram is invoked 

Answer: C,D 


Q9. View the Exhibit and examine the blocks of code that you plan to execute. 

Which statement is true about the blocks of code? 

A. All the blocks execute successfully and the anonymous block displays 1 2 3 cant: 45 45 cnt: 45 

B. All the blocks execute successfully and the anonymous block displays 1 2 3 cut: 0 45 cart: 1 

C. The anonymous block gives an error because the function invocation in line 2 is not valid. 

D. The procedure creation gives an error because the function invocation in line 1 is not valid. 

Answer:


Q10. Examine the following code: 

Which statement is true about the execution of the above code? 

A. It executes and displays null. 

B. It executes and the condition returns true. 

C. It executes and control goes to the else statement. 

D. It fails because no value is assigned to the v_myage variable. 

Answer: