Free Oracle 1Z0-144 Exam Braindumps (page: 2)

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

  1. It is a private variable defined in a procedure or function within a package body whose value is consistent within a user session.
  2. It is a public variable in a package specification whose value is consistent within a user session.
  3. It is a private variable in a package body whose value is consistent across all current active sessions.
  4. It is a public variable in a package specification whose value is always consistent across all current active sessions.

Answer(s): B



View Exhibit1 and examine the structure of the employees table.



What is the outcome when the code is executed?

  1. Both blocks compile and execute successfully when called.
  2. Both blocks compile successfully but the CALC_SAL procedure gives an error on execution.
  3. The CALC_SAL procedure gives an error on compilation because the amt variable should be declared in the RAISE_SALARY procedure.
  4. The CALC_SAL procedure gives an error on compilation because the RAISE_SALARY procedure cannot call the stand-alone increase function.

Answer(s): A



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.)

  1. The procedures can be either stand-alone or packaged.
  2. The procedures should be created only as packaged subprograms
  3. The procedures should be created only as stand-alone subprograms
  4. Each subprogram's formal parameters should differ in both name and data type.
  5. The formal parameters of each subprogram should differ in data type but can use the same names.

Answer(s): B,E



View the exhibit to examine the PL/SQL code.


Which statement is true about the exception handlers in the PL/SQL code?

  1. All the exceptions in the code are trapped by the exception handler.
  2. All the "no data found" errors in the code are trapped by the exception handler.
  3. The PL/SQL program does not execute because an exception is not declared in the declare section.
  4. An exception handler in the code traps the "no data found" error after executing the handler code and the program flow returns to the next line of code.

Answer(s): B






Post your Comments and Discuss Oracle 1Z0-144 exam prep with other Community members:

1Z0-144 Exam Discussions & Posts