Oracle PL/SQL and Database Fundamentals
Test your knowledge of Oracle PL/SQL programming, including PL/SQL blocks, control structures, exception handling, data types, and Oracle data dictionary views.
Questions
_______ commands can be used in PL/SQL blocks.
- DML
- DDL
- DCL
- None of above
_______ is a pointer to an object and may be used within a SQL statement as an operator.
- DREF
- REF
- OREF
- None of above
PL/SQL supports all _____ statements.
- DML
- TCL
- SQL
- DCL
_______ engine executes only the procedural statement.
- PL/SQL
- SQL
- DBMS
- RDBMS
PL/SQL text can contain group of characters known as _______ units.
- variable
- numerical
- lexical
- binary
Variables and constants should be declared in the _______ part of PL/SQL block.
- declarative
- executable
- exception handling
- none of above
______ is available only with SQL statement.
- CEST
- CAST
- CUST
- None of above
DBMS stands for
- Database Migrate System
- Database Management System
- Data Manipulating System
- Database Management Storage
_______ statement allows us to complete a loop if further processing is undesirable or impossible.
- IF
- IF THEN ELSE IF
- EXIT WHEN
- GO TO
_______ statement can be used when we want to select from several mutually exclusive alternatives.
- IF
- IF THEN ELSE IF
- EXIT WHEN
- GO TO
_______ statement allows us to branch to a label unconditionally.
- IF
- IF THEN ELSE IF
- EXIT WHEN
- GO TO
Loops can be broadly classified into _____ types.
- two
- three
- four
- five
Which of the following statements is used to execute sequence of statements multiple times?
- Condition
- Loop
- Label
- None of above
PL/SQL data types can be classified into _______ data types.
- five
- two
- three
- four
To check the source code of object types, use the _____ data dictionary view.
- user_types
- user_source
- user_data
- user_code
______condition in PL/SQL is termed as an exception.
- If
- If then else if
- For
- Error
User-defined exceptions should be declared in the ________ part of the PL/SQL block.
- declarative
- executable
- exception handling
- none of above
To see the various types created, use the ______ data dictionary view.
- user_types
- user_source
- user_data
- user_code
There are _____ types of exceptions in PL/SQL.
- two
- four
- three
- six