Our experts have gathered these Oracle PL/SQL 9i MCQs through research, and we hope that you will be able to see how much knowledge base you have for the subject of Oracle PL/SQL 9i by answering these 40 multiple-choice questions.
Get started now by scrolling down!
A. Sql select statement
B. PL/SQL Select statement
C. DML Statements
D. DDL Statements Â
A. Cursor
B. Constant
C. Trigger
D. Sequence
E. ViewÂ
A. Dbms_Output
B. Dbms_Lob
C. Dbms_utility
D. Dbms_ErrorÂ
A. A package
B. A stored function
C. A stored procedure
D. Another database trigger Â
A. A table
B. Stored in the database
C. A file stored outside the database
D. None of the above
A. True
B. False Â
A. SELECT PLAYER_AVG(PLAYER_ID)
FROM PLAYER;
B. EXECUTE PLAYER_AVG(31);
C. PLAYER_AVG('RUTH');
D. PLAYER_AVG(31);Â
A. ALTER TRI GGERS ON TABLE employees DI SABLE;
B. ALTER employees DISABLE ALL TRI GGERS;
C. ALTER TABLE employees DISABLE ALL TRIGGERS;
D. None of the aboveÂ
A. declare
v_id number(4);
B. declare
v_x,V_y varchar2(10);
C. declare
V_birthdate date not null;
D. declare
V_Sex boolean:=1;
A. You need to execute the command CALTAX(1000);
B. You need to execute the command EXECUTE FUNCTION caltax;
C. You need to create a SQL *Plus environment variable X and issue the command
:X := CALTAX(1000);
D. You need to create a SQL *Plus environment variable X and issue the command
EXECUTE :X := CALTAX(1000);Â
A. You cannot drop a table from a stored procedure
B. By using the DROP command
C. By using the DBMS_DDL packaged routines
D. By using the DBMS_DROP packaged routines Â
A. EXECUTE add_dept(p_loc=>2500)
B. EXECUTE add_dept( 'Education', 2500)
C. EXECUTE add_dept( .2500 ,p_loc =>2500)
D. EXECUTE add_dept(p_name=>'Education', 2500)Â
A. Row Level Lock
B. Page Level lock
C. Column Level lock
D. Exclusive LockÂ
A. Trigger type
B. Trigger body
C. Trigger event
D. Trigger timingÂ
A. DML trigger
B. INSTEAD OF trigger
C. Application trigger
D. This is an invalid trigger
A. FOR EACH ROW trigger on the EMP table
B. Statement-level trigger on the EMP table
C. FOR EACH ROW trigger on the AUDIT_TABLE table
D. Statement-level trigger on the AUDIT_TABLE tableÂ
A. VARCHAR2
B. BOOLEAN
C. OUT
D. INÂ Â
A. Statement Trigger
B. Application Trigger
C. Row
D. Database TriggerÂ
A. VALUE_ERROR
B. NO_DATA_FOUND
C. STORAGE_ERROR
D. PROGRAM_ERRORÂ
A. Concurrency Control
B. Program Control
C. PL/SQL Control
D. LockingÂ
A. True
B. False
A. 1!
Still>1!
B. Goodbye
Adios
C. 1!
D. Adios
A. Implicit Cursor
B. User Defined Cursor
C. Parameterized Cursor
D.
Explicit Cursor
A. DROP gen_email;
B. REMOVE gen_email;
C. DELETE gen_email;
D. DROP FUNCTION gen_email;
A. Timestamp
B. Date
C. Rowid
A. A stored procedure uses the DECLARE keyword in the procedure specification to declare formal parameters
B. A stored procedure is named PL/SQL block with at least one parameter declaration in the procedure specification
C. A stored procedure must have at least one executable statement in the procedure body
D. A stored procedure uses the DECLARE keyword in the procedure body to declare formal parameters Â
A. Row_value
B. Column_value
C. Raise_application
D. Exception_init
A. CREATE OR REPLACE FUNCTION tax(p_id NUMBER) RETURN NUMBER
B. CREATE OR REPLACE PROCEDURE tax(p_id NUMBER) RETURN NUMBER
C. CREATE OR REPLACE PROCEDURE tax(p_id NUMBER, p_amount OUT NUMBER)
D. CREATE OR REPLACE FUNCTION tax(p_id NUMBER) RETURN NUMBER(10,2)Â
A. Record Rec is not defined
B. Fetch statement is not specified
C. Close cursor in not specified
D. There is no need to open cursor in the for loopÂ
A. You can use the DBMS_LOB.WRITE procedure to write data to a BFILE
B. You can use the DBMS_LOB.BFILENAME function to locate an external BFILE
C. You can use the DBMS_LOB.FILEEXISTS function to find the location of a BFILE
D. You can use the DBMS_LOB.FILECLOSE procedure to close the file being accessedÂ
A. 1
B. 10
C. None
D. 2Â
A. CAL_TAX
B. INSERT_EMP
C. UPDATE_SAL
D. DELETE_EMP
E. UPDATE_EMPÂ
A. The package specification is optional, but the package body is required
B. The package specification is required, but the package body is optional
C. The specification and body of the package are stored separately in the database
D. None of the aboveÂ
A. ALTER TRIGGERS ON TABLE emp DISABLE;
B. ALTER e mp l o y e e s DI SABLE ALL TRI GGERS;
C. ALTER TABLE emp DISABLE ALL TRIGGERS;
D. None of the aboveÂ
A. PGA
B. SGA
C. Redo Log Buffer
D. Data base buffer cache  Â
A. The value of DISCOUNT_RATE always remains 0.00 in a session
B. The value of DISCOUNT_RATE is set to 0.10 each time the package is invoked in a session
C. The value of DISCOUNT_RATE is set to 1.00 each time the procedure DISPLAY_PRICE is invoked
D. The value of DISCOUNT_RATE is set to 0.10 when the package is invoked for the first time in a sessionÂ
A. g_comm has a value of 15 at 9:06am for Smith
B. g_comm has a value of 15 at 9:06am for Jones
C. g_comm has a value of 20 at 9:06am for both Jones and Smith
D. g_comm has a value of 15 at 9:03 am for both Jones and SmithÂ
A. USER_PROCEDURES
B. USER_PROCS
C. USER_OBJECTS
D. USER_PLSQL_UNITSÂ
A. 50
B. 80
C. 40
D. 60Â
A. Binding
B. Parsing
C. Sequence
D. Control FlowÂ
A. Explicit Cursor
B. Implicit Cursor
C. Parameterized Cursor
D. Cursor with ArgumentsÂ
A. %ISOPEN
B. %ROWCOUNT
C. %FOUND
D. %NOTFOUND
A. To duplicate the functionality of other triggers
B. To guarantee that the related actions are performed when a specific operation is performed
C. Both a and b
D. None of the aboveÂ
A. By using the DBMS_MANAGE_LOB.MIGRATE procedure
B. By using the UTL_MANAGE_LOB.MIGRATE procedure
C. By using the DBMS_LOB.MIGRATE procedure
D. By using DBMS_REDEFINITION.START_REDEF_TABLE procedure