Labour Day Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Oracle Database 19c: Program with PL/SQL Question and Answers

Oracle Database 19c: Program with PL/SQL

Last Update May 3, 2024
Total Questions : 65

We are offering FREE 1z0-149 Oracle exam questions. All you do is to just go and sign up. Give your details, prepare 1z0-149 free exam questions and then go for complete pool of Oracle Database 19c: Program with PL/SQL test questions that will help you more.

1z0-149 pdf

1z0-149 PDF

$35  $99.99
1z0-149 Engine

1z0-149 Testing Engine

$42  $119.99
1z0-149 PDF + Engine

1z0-149 PDF + Testing Engine

$56  $159.99
Questions 1

Which three are true about anonymous blocks and subprograms? (Choose three.)

Options:

A.  

Named subprograms cannot be called from other packages.

B.  

PROCEDURE subprograms can accept parameters.

C.  

A FUNCTION subprogram must return one or more values.

D.  

Anonymous blocks cannot use packaged variables.

E.  

Named subprograms are stored in the database server.

F.  

Anonymous blocks must always start with the Declare keyword.

G.  

FUNCTION subprograms must be called and passed through one or more parameters.

Discussion 0
Questions 2

Examine this table in the SH schema:

Now, examine this code:

Which two changes are required to ensure that PDT_REPORT executes successfully? (Choose two.)

Options:

A.  

In line 1, change IN OUT mode to IN mode.

B.  

In line 2, change IN OUT mode to IN mode.

C.  

In line 3, replace CUR_PRICE with P_PDT_PRICE in the query condition.

D.  

In line 1, add the default parameter DEFAULT 2000.

E.  

In line 6, replace P_PDT_PRICE parameter name with CUR_PRIC

E.  

F.  

In line 2, add the default parameter DEFAULT 2000.

Discussion 0
Questions 3

Which two are true about named notations in a PL/SQL subprogram? (Choose two.)

Options:

A.  

The actual parameters must be specified in the same order as the formal parameters are declared.

B.  

Specifying actual parameters in the wrong order results in the subprogram terminating with an exception.

C.  

Only trailing optional parameters can be omitted in the invocation call.

D.  

The subprogram invocations must be changed when the formal parameter list acquires new required parameters.

E.  

Any optional parameters can be omitted in the invocation call.

Discussion 0
Questions 4

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

Discussion 0
Questions 5

Which statement is true about user-defined records?

Options:

A.  

They can be returned from a function.

B.  

Field types must match column types.

C.  

The number of fields must match the number of columns in a table.

D.  

Field names must match selected column names.

Discussion 0
Questions 6

Examine this statement which is submitted for compilation:

Which three are true? (Choose three.)

Options:

A.  

This is a PACKAGE specification. A PACKAGE BODY is needed to use this.

B.  

This will not compile successfully because the loan_amount variable is declared NOT NULL but lacks an initialization assignment.

C.  

This program unit will compile successfully.

D.  

Initialization of min_bal can be done while using this packaged constant in another program.

E.  

Initialization of loan_amount can be done while using this packaged variable in another program.

F.  

This will not compile successfully because the min_bal constant must be initialized.

G.  

This is BODILESS PACKAGE. A PACKAGE BODY is not required to use this.

Discussion 0
Questions 7

Which is true about the PLSCOPE_SETTINGS parameter?

Options:

A.  

It is deprecated in Oracle 12c.

B.  

It can be used to obtain information about all identifiers when compiling a procedure.

C.  

It can be used to control execution of specific portions of the PL/SQL code conditionally.

D.  

It can be used to control a user's privileges on PL/SQL objects at run time.

Discussion 0
Questions 8

Examine these statements which execute successfully:

Which anonymous block executes successfully?

Options:

A.  

B.  

C.  

D.  

Discussion 0
Questions 9

Examine this anonymous block of code:

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.

Discussion 0