Questions RDBMS Unix Stream
Questions RDBMS Unix Stream
Questions 1-15 State whether the following statements are true or false
11) A JOIN fetches data from two or more tables that are related by some condition
(a) True (b) False
12) Data redundancy is the state whereby some data within a database is unnecessarily
duplicated
(a) True (b) False
Questions 16-50 : Select the most appropriate answer from the choices given below
mark each)
20) The following Relational concept ensures the corrective ness and completeness of the
data in a database.
(a) Normalization (b) Denormalization
(c) Data Integrity (d) Data Validity
28) Uniqueness can also be enforced (apart from Primary Key) by creating a
___________
(a) Foreign Key (b) Unique Index
(c) Index (d) View
30) If a SELECT statement with in a PL/SQL runs does not retrieve any rows then the
following pre-defined exception is raised.
(a) no_data_found (b) lot_of_rows
(c) many_rows (d) too_many_rows
31) A function has two parts, namely specification and the ___________
(a) function body (b) function code
(c) function definition (d) function declaration
33) All the triggers defined for a specific table can be enabled by using the following
clause
(a) ENABLE ALL (b) ENABLE
(c) ENABLE ALL TRIGGERS (d) None of the above0
34) After issuing a DML statement (Update, Delete,..), changes to the records can be
cancelled by using the following command
(a) COMMIT (b) ROLLBACK
(c) UNDO (d) CANCEL
36) The _______ statement of a Cursor retrieves the current row and advances the cursor
to the next row.
(a) Open (b) Fetch
(c) Retrieve (d) None of the above
37) The _______ Cursor attribute can be used to check whether a Cursor is open or not
(a) %whenopen (b) %isopen
(c) %open (d) %whileopen
38) After issuing a DML statement ( Udpate, Delete,..), changes to the records can be
cancelled by using the following command
(a) COMMIT (b) ROLLBACK
(c) UNDO (d) CANCEL
40) The _______ statement of a Cursor retrieves the current row and advances the cursor
to the next row.
(a) Open (b) Fetch
(c) Retrieve (d) None of the above
42) When multiple table columns are included in the index, it is called a _______
a) Composite Index b) Primary index
c) Clustered index d) Primary Key
43) The BIND variable declared in a Session can be used in
a) SQL only b) PL/SQL only
c) Both SQL and PL/SQL d) None of the Above
47) ________________ Are PL/SQL blocks that return values and are stored in the
database.
a) Procedure b) Trigger
c) Cursor d) Function