Professional Documents
Culture Documents
True (*)
False
Correct Correct
v_emp_dept_rec emp_dept_type;
four (*)
one
three
two
Correct Correct
False
Correct Correct
It must contain one or more components, but all the components must have
scalar datatypes. (*)
v_dept_info_rec dept_info_type;
v_emp_dept_rec emp_dept_type;
four
two (*)
three
one
INDEX BY VIEW
7. An INDEX BY TABLE type can only have one data field. Mark for
Review
(1) Points
True (*)
False
Correct Correct
DECLARE
TYPE t_depttab IS TABLE OF departments%ROWTYPE
INDEX BY BINARY_INTEGER;
(*)
DECLARE
TYPE t_depttab IS TABLE OF departments%ROWTYPE
INDEXED BY NUMBER;
DECLARE
TYPE t_depttab IS INDEX BY TABLE OF departments%ROWTYPE
INDEX BY BINARY_INTEGER;
DECLARE
TYPE t_depttab IS TABLE OF departments%TYPE
INDEX BY BINARY_INTEGER;
Correct Correct
None of these.
100
4096
32767
10. An INDEX BY TABLE must have a primary key. Mark for Review
(1) Points
True (*)
False
Correct Correct
True (*)
False
Correct Correct
True
False (*)
13. Which of these PL/SQL data structures could store a complete copy
of the employees table, i.e., 20 complete table rows? Mark for Review
(1) Points
An INDEX BY table
A record
Correct Correct
COUNT (*)
DROP
FIRST (*)
PREVIOUS
EXISTS (*)
15. Which of these PL/SQL data structures can NOT store a collection?
Mark for Review
(1) Points