Online Access Free 1Z0-146 Practice Test
| Exam Code: | 1Z0-146 |
| Exam Name: | Oracle database 11g:advanced pl/sql |
| Certification Provider: | Oracle |
| Free Question Number: | 136 |
| Posted: | May 24, 2026 |
Examine the following settings for a session:
PLSQL_CODE_TYPE = NATIVE
View the Exhibit and examine the PL/SQL code.
You compile the program with the following attributes:
SQL> ALTER PROCEDURE proc1 COMPILE PLSQL_OPTIMIZE_LEVEL = 1;
Which statement is true about the execution of the PROC1 procedure in this scenario?
Match the following external C procedure components with their descriptions:
1.External procedure a. a process that starts the extproc process
2.Shared library b. a session-specific process that executes the external procedure
3.Alias library c. schema object that represents the operating system (OS) shared library
4.The extproc process d. operating system file that stores the external procedure
5.Listener process e. a unit of code written in C
View the Exhibit and examine the structures of the EMPLOYEES and DEPARTMENTS tables.
Examine the PL/SQL block that you execute to find the average salary for employees in the 'Sales' department: DECLARE TYPE emp_sal IS TABLE OF employees.salary%TYPE INDEX BY VARCHAR2(20); v_emp_sal emp_sal; PROCEDURE get_sal(p_dept_name VARCHAR2, p_arr OUT emp_sal) IS BEGIN SELECT AVG(salary) INTO p_arr(p_dept_name) FROM employees WHERE department_id= (SELECT department_id FROM departments
WHERE department_name=p_dept_name);
END get_sal;
BEGIN
get_sal('Sales',v_emp_sal);
DBMS_OUTPUT.PUT_LINE( v_emp_sal('Sales'));
END;
/
What is the outcome?
Examine the following structure: SQL> DESCRIBE user_identifiers Name Null? Type
NAME VARCHAR2(30)
SIGNATURE VARCHAR2(32)
TYPE VARCHAR2(18)
OBJECT_NAME NOT NULL VARCHAR2(30)
OBJECT_TYPE VARCHAR2(13)
USAGE VARCHAR2(11)
USAGE_ID NUMBER
LINE NUMBER
COL NUMBER
USAGE_CONTEXT_ID NUMBER
Identify two scenarios in which information is stored in the USAGE column. (Choose two.)