Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple70

Pass the Oracle Database PL/SQL Developer Certified Professional 1z0-149 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam 1z0-149 Premium Access

View all detail and faqs for the 1z0-149 exam


530 Students Passed

84% Average Score

97% Same Questions
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

Which three are true about functions and procedures? (Choose three.)

Options:

A.

The ACCESSIBLE BY clause can be used only for procedures.

B.

In a function, every execution path must lead to a RETURN statement.

C.

Both can have only constants as actual parameters for IN mode parameters.

D.

Both can be invoked from within SQL statements.

E.

In a procedure the RETURN statement cannot specify an expression.

F.

In a function every RETURN statement must specify an expression.

Questions # 2:

Examine this anonymous block of code:

Question # 2

Which two statements are true about the results of executing it? (Choose two.)

Options:

A.

It will set all salaries to 0 if it executes successfully.

B.

It will always return a compile time error because it lacks an EXCEPTION section.

C.

It might return a run time error depending on who invokes it.

D.

It will always automatically initialize v_raise.

E.

It will set all salaries to NULL if it executes successfully.

F.

It will always return a run time error because v_raise is not initialized.

Questions # 3:

Which three statements are true about passing parameters to subprograms? (Choose three.)

Options:

A.

PL/SQL assigns values to actual parameters in subprograms with unhandled exceptions.

B.

IN parameters passed to subprograms act like constants, to which values cannot be assigned by the subprogram.

C.

IN OUT parameters pass initial values to subprograms and return values updated by subprograms to the caller.

D.

The actual parameter must be a variable when calling a subprogram with an OUT parameter.

E.

IN parameters passed to subprograms act like variables, to which values can be assigned by the subprogram.

F.

OUT parameters returning values to calling subprograms act like constants in the called subprogram.

G.

Actual parameters corresponding to IN OUT formal parameters can be constants or expressions.

Questions # 4:

Examine this statement which executes successfully:

SQL> SET SERVEROUTPUT ON;

Now, examine this code which is executed:

Question # 4

What is true about the result?

Options:

A.

It returns an error in line 2.

B.

It returns an error in line 4.

C.

It returns an error in line 9.

D.

It executes and displays output.

Questions # 5:

Which two are true about the PLSQL_CODE_TYPE parameter? (Choose two.)

Options:

A.

Changing the parameter setting automatically changes the setting for existing PL/SQL library units.

B.

The default value is NATIVE.

C.

If set to NATIVE, programs are stored in platform dependent machine code.

D.

It can use the REUSE SETTINGS clause to recompile a program unit without changing to the current session settings.

E.

If set to NATIVE, programs are stored in a PL/SQL bytecode format.

Questions # 6:

Which three are valid PL/SQL variable names? (Choose three.)

Options:

A.

printer_name#

B.

1to7number

C.

yesterday's_date

D.

leap$year

E.

Number_of_days_between_March_and_April

F.

#printer_name

G.

v_fname

Questions # 7:

Which three statements are true about Implicit Cursor and Explicit Cursor? (Choose three.)

Options:

A.

Implicit cursor returns only one record.

B.

Explicit cursor can return more than one record.

C.

%Isopen, %Rowtype, %Notfound, and %Found are the attributes of Explicit Cursor.

D.

%Isopen, %Rowcount, %Notfound, and %Found are the attributes of Explicit Cursor.

E.

%Isopen, %Type, %Notfound, and %Found are the attributes of Explicit Cursor.

F.

%Isopen is always false in Explicit Cursor.

G.

%Isopen is always false in Implicit Cursor.

Questions # 8:

Which two are true about collections and RECORD types? (Choose two.)

Options:

A.

A variable of RECORD type can contain fields of another RECORD type or any collection type.

B.

Only associative arrays and nested tables can have elements of RECORD type.

C.

All collections and RECORD types can be defined in PL/SQL blocks, packages, or at the schema level.

D.

Collections and RECORD types are always dense.

E.

All collections and RECORD types can be stored in table columns.

F.

VARRAYS, nested tables and each field in %ROWTYPE type variables have a default value of null.

Questions # 9:

Which two statements are true about using the OR REPLACE clause when creating named subprograms? (Choose two.)

Options:

A.

Function based indexes remain usable when replacing the function on which the index depends.

B.

Object privileges to execute a replaced function must be regranted to those users who had the privilege.

C.

This clause can be used only for procedures and functions.

D.

A function definition can be modified without dropping and re-creating it.

E.

Object privileges to execute a replaced function are retained by those users who had the privileges.

Questions # 10:

Examine the EMPLOYEES table structure:

Question # 10

Now, examine this code:

Question # 10

Which statement is true about the result of executing this block?

Options:

A.

It will execute successfully provided the salary of EMP_ID 200 does not exceed the value 99999.

B.

It will return an error at line 2.

C.

It will return an error at line 3.

D.

It will return an error at line 8.

E.

It will execute successfully by rounding up the salary of EMP_ID 200 to the appropriate value.

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.