1Z0-144 Exam Dumps Updated Pass4itSure MS-700 Practice Q&As Exam Material

Passing the exam requires access to the updated Passitdump 1Z0-144 Exam Dump MS-700 Practice Q&A exam material. The latest 1Z0-144 exam dumps help you prepare for the Oracle Database 11g: Program with PL/SQL certification exam.

Take the first step toward passing the 1Z0-144 exam with Passitdump’s latest 1Z0-144 exam dumps. The rest is for you to practice the exam questions.

Free sample questions of 1z0-144 free dumps are provided here. All the following questions are from the latest real 1z0-144 dumps.

Question 1:

View the Exhibit to examine the PL/SQL code:

DECLARE x NUMBER := 5; y NUMBER := NULL; BEGIN IF x != y THEN — yields NULL, not TRUE DBMS_OUTPUT.PUT_LINE(`x != y\’); — not run ELSIF x = y THEN — also yields NULL DBMS_OUTPUT.PUT_LINE(`x = y\’); ELSE DBMS_OUTPUT.PUT_LINE (`Can\’t tell if x and y are equal or not.\’); END IF; END; /

SERVEROUTPUT is on for the session. Which statement is true about the output of the PL/SQL block?

A. The output is x = y.

B. It produces an error.

C. The output is x != y.

D. The output is Can\’t tell if x and y are equal or not.

Correct Answer: D


Question 2:

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.

Correct Answer: B


Question 3:

View the Exhibit and examine the structure of the customer table.

Examine the following trigger code:

What is the outcome when the above trigger is compiled?

A. It compiles successfully.

B. It gives an error because the when condition is not valid.

C. It gives an error because when cannot be used for row-level triggers.

D. It gives an error because the statements under updating are not valid.

E. It gives an error because the new qualifier in the when clause requires a colon prefix.

Correct Answer: A


Question 4:

Which statements are true about PL/SQL procedures? (Choose two.)

A. Users with definer\’s rights who are granted access to a procedure that updates a table must be granted access to the table itself.

B. Reuse of parsed PL/SQL code that becomes available in the shared SQL area of the server avoids the parsing overhead of SQL statements at run time.

C. Depending on the number of calls, multiple copies of the procedure are loaded into memory for execution by multiple users to speed up performance.

D. A PL/SQL procedure executing on the Oracle database can call an external procedure or function that is written in a different programming language, such as C or Java.

Correct Answer: BD


Question 5:

The STRING_TAB table has the following structure:

View the Exhibit and examine the code.

What is the outcome on execution?

A. It displays Output buffer not long enough. This is my test string.-.

B. It displays only Output buffer not long enough. and exits the anonymous block.

C. It displays only This is my test string. – because EXCEPTION should have been defined in the anonymous block to get the error message.

D. It does not display any of the DBMS_OUTPUT messages and gives an error because a transaction control statement cannot be used in the exception section of a procedure.

Correct Answer: C


Question 6:

Identify two situations where the DBMS_SQL package should be used. (Choose two.)

A. The SELECT list is not known until run time.

B. The dynamic SQL statement retrieves rows into records.

C. You do not know how many columns a SELECT statement will return, or what their data types will be.

D. You must use the % FOUND SQL cursor attribute after issuing a dynamic SQL statement that is an INSERT or UPDATE statement.

Correct Answer: AC


Question 7:

View the Exhibit and examine the code.

Why does the code give an error on execution?

A. because the WORD_LIST variable is not visible in PROCEDURE WORDING

B. because the LEXICON variable is not visible in PROCEDURE ADD_ENTRY

C. because the LEXICON variable is not initialized in PROCEDURE WORDING

D. because the WORD_LIST parameter in IN OUT mode cannot be of a RECORD data type

Correct Answer: A


Question 8:

View the Exhibit and examine the structure of the EMP table.

You want to create two procedures using the overloading feature to search for employee details based on either the employee name or employee number.

Which two rules should you apply to ensure that the overloading feature is used successfully? (Choose two.)

A. The procedures can be either stand-alone or packaged.

B. The procedures should be created only as packaged subprograms.

C. The procedures should be created only as stand-alone subprograms.

D. Each subprogram\’s formal parameters should differ in both name and data type.

E. The formal parameters of each subprogram should differ in data type but can use the same names.

Correct Answer: BE


Question 9:

Which two statements are correct about the usage of parameters in functions? (Choose two.)

A. Functions can have only in mode parameters.

B. Functions called in SQL statements cannot have out or in out mode parameters.

C. Functions having in, out, or in out parameters can be called only in named PL/SQL subprograms

D. Functions having in, out, or in out parameters can be called in PL/SQL procedures and anonymous blocks.

Correct Answer: BD


Question 10:

View the Exhibit and examine the structure of the employees table.

Examine the following block of code:

What is the outcome when the above code is executed?

A. It executes successfully.

B. It gives an error because decode cannot be used in a PL/SQL block.

C. It gives an error because the AVG function cannot be used in a PL/SQL block

D. It gives an error because the MONTHS_BETWEEN function cannot be used in a PL/SQL block.

E. It gives an error because both the AVG and decode functions cannot be used in a PL/SQL block.

Correct Answer: A


Question 11:

Examine the following code:

Which two statements are true about the above function? (Choose two.)

A. It can be used only in a parallelized query.

B. It can be used in both a parallelized query and a parallelized DML statement.

C. It can be used only in a parallelized data manipulation language (DML) statement.

D. It can have a separate copy run in each of the multiple processes when called from a SQL statement that is run in parallel.

E. It requires a PRAGMA RESTRICT_REFERENCES declaration with RNDS, WNDS, RNPS, and WNPS specified in order to use parallel optimization.

Correct Answer: BD


Question 12:

/temp/my_files is an existing folder in the server, facultylist.txt is an existing text file in this folder.

Examine the following commands that are executed by the DBA:

SQL>CREATE DIRECTION my_dir AS `/temp/my_files\’: SQL>GRANT READ ON DIRECTORY my_dir To public:

View the Exhibit and examine the procedure created by user SCOTT to read the list of faculty names from the text file.

SCOTT executes the procedure as follows:

SQL>SET SERVEROUTPUT ON

SQL>EXEC read_file (`MY_DIR\’, FACULTYLIST.TXT\’)

What is the outcome?

A. It goes into an infinite loop.

B. It executes successfully and displays only the list of faculty names.

C. It does not execute and displays an error message because the end-of-file condition is not taken care of.

D. It executes successfully and displays the list of faculty names followed by a “no data found” error message.

Correct Answer: D


Question 13:

View the Exhibit to examine the PL/SQL block.

Which two statements are true about the execution of the PL/SQL block? (Choose two.)

A. It executes successfully and gives the desired output.

B. It does not execute because the definition of type POPULATION is indexed by VARCHAR2.

C. It executes, and the string keys of an associative array are not stored in creation order, but in sorted order.

D. It does not execute because the value that is once assigned to the element of the associative array cannot be changed.

Correct Answer: AC


Question 14:

User SCOTT has been granted CREATE ANY TRIGGER and ALTER ANY TABLE by the DBA. HR is an

existing schema in the database.

SCOTT creates the following trigger:

CREATE OR REPLACE TRIGGER drop_trigger

BEFORE DROP ON hr.SCHEMA

BEGIN

RAISE_APPLICATION_ERROR (-20000, `Cannot drop object\’);

END;

SCOTT does not grant the EXECUTE privilege on this trigger to any other users.

For which user(s) would this trigger fire by default when they drop an object in the HR schema?

A. Only HR

B. SCOTT and HR

C. Only SCOTT

D. SCOTT, HR, and SYS

Correct Answer: A


Question 15:

Which two statements are true about the continue statement? (Choose two.)

A. The PL/SQL block execution terminates immediately.

B. The CONTINUE statement cannot appear outside a loop.

C. The loop completes immediately and control passes to the statement after end loop.

D. The statements after the continue statement in the iteration are executed before terminating the LOOP.

E. The current iteration of the loop completes immediately and control passes to the next iteration of the loop.

Correct Answer: BE