Question 1:
Of the three ways to create an Oracle database, which one is the easiest and most recommended?
A.
Using the Oracle Database Configuration Assistant.
B.
Using the Oracle-supplied database creation procedures.
C.
Using the SQL CREATE DATABASE command.
D.
None of the above is correct.
Answer: _________
Question 2:
What Oracle backup and recover file contains user and system data?
A.
Control file
B.
Datafile
C.
OnLine ReDo file
D.
Offline ReDo file
Answer: _________
Question 3:
When using SQL*Plus, Oracle commands, column names, table names and all other database elements:
A.
are case insensitive.
B.
are case sensitive.
C.
must always be in lower case.
D.
must always be in upper case.
Answer: _________
Question 4:
Which SQL phrase is not supported by Oracle?
A.
ON DELETE CASCADE
B.
ON UPDATE CASCADE
C.
CREATE SEQUENCE [SequenceName]
D.
DROP SEQUENCE [SequenceName]
Answer: _________
Question 5:
What is the type of Oracle backup in which all uncommitted changes have been removed from the datafiles?
A.
Full backup
B.
Consistent backup
C.
Inconsistent backup
D.
Differential backup
Answer: _________
Question 6:
You have linked SQL*Plus to an external text editor. To invoke the text editor for use within SQL*Plus, which command do you use?
A.
Open [ FileName ]
B.
Show [ FileName ]
C.
Alter [ FileName ]
D.
Edit [ FileName ]
Answer: _________
Question 7:
The default extension for an Oracle SQL*Plus file is:
A.
.txt
B.
.pls
C.
.ora
D.
.sql
Answer: _________
Question 8:
An Oracle System Change Number (SCN):
A.
is a value that is incremented whenever a dirty read occurs.
B.
is incremented whenever a deadlock occurs.
C.
is a value that keeps track of explicit locks.
D.
is a value that is incremented whenever database changes are made.
Answer: _________
Question 9:
To obtain the structure of an Oracle table, the command to use is:
A.
STRUCTURE [ TableName ].
B.
DESCRIBE [ TableName ].
C.
DESCRIBE STRUCTURE [ TableName ].
D.
DESC TABLE [ TableName ].
Answer: _________
Question 10:
To see the contents of the SQL*Plus buffer, type:
A.
CONTENTS
B.
BUFFER
C.
CURRENT
D.
LIST
Answer: _________
Question 11:
What type of failure occurs when Oracle fails due to an operating system or computer hardware failure?
A.
Application failure
B.
Instance Failure
C.
Media Failure
D.
Rollback failure
Answer: _________
Question 12:
Which statement about sequences is not true?
A.
A sequence is an object that generates a sequential series of unique numbers.
B.
Sequences are most often used to provide values for surrogate keys.
C.
NextVal and CurrVal are both sequence methods.
D.
Sequences guarantee valid surrogate key values.
Answer: _________
Question 13:
Which prefixes are available to Oracle triggers?
A.
:new only
B.
:old only
C.
Both :new and :old
D.
Neither :new nor :old
Answer: _________
Question 14:
In creating a procedure, you may get a message if you have compile errors. Which of the following is true?
A.
The line numbers reported match the line numbers you see in your text editor.
B.
SQL*Plus will automatically show the errors to you.
C.
To see the errors, enter SHOW ERRORS in SQL*Plus.
D.
If there are no syntax errors, you will receive the message "NO ERRORS."
Answer: _________
Question 15:
Which of the following is not true about indexes?
A.
Indexes are created to enforce uniqueness on columns.
B.
Indexes are created to enable fast retrieval by column values.
C.
Columns that are frequently used with equal conditions in WHERE clauses are good candidates for indexes.
D.
Indexes are created with the ALTER TABLE command.
Answer: _________
Question 16:
Which of the following is not true of SQL views?
A.
Oracle views cannot use the ORDER BY clause in view definitions.
B.
Oracle views are created using the standard SQL-92 CREATE VIEW command.
C.
Oracle views can by queried.
D.
The SQL-92 standard does not allow the use of the ORDER BY clause in view definitions.
Answer: _________
Question 17:
Which of the following is NOT an Oracle-supported trigger?
A.
BEFORE
B.
DURING
C.
AFTER
D.
INSTEAD OF
Answer: _________
Question 18:
After a table has been created, its structure can be modified using the SQL command:
A.
UPDATE TABLE [ TableName ].
B.
MODIFY TABLE [ TableName ].
C.
ALTER TABLE [ TableName ].
D.
CHANGE TABLE [ TableName ].
Answer: _________
Question 19:
Which of the following is not true about modifying table columns?
A.
You can drop a column at any time.
B.
You can add a column at any time as long as it is a NULL column.
C.
You can increase the number of characters in character columns or the number of digits in numeric columns
D.
You cannot increase or decrease the number of decimal places.
Answer: _________
Question 20:
Indexes are created to enforce uniqueness on columns and to enable fast retrieval by column values.
A.
True
B.
False
Answer: _________
Question 21:
Money is defined in Oracle with the Currency data type.
A.
True
B.
False
Answer: _________
Question 22:
The default extension for SQL*Plus is .sql.
A.
True
B.
False
Answer: _________
Question 23:
The left-leaning slash tells Oracle to execute whatever statement is in the buffer.
A.
True
B.
False
Answer: _________
Question 24:
Oracle maintains a System Change Number (SCN) which is a database-wide value that is incremented by Oracle whenever database changes are made.
A.
True
B.
False
Answer: _________
Question 25:
The semicolon terminates a SQL statement (and executes it).
A.
True
B.
False
Answer: _________
Question 26:
SQL*Plus is a text editor.
A.
True
B.
False
Answer: _________
Question 27:
When you type Start FILENAME, the statement in your file will be executed automatically.
A.
True
B.
False
Answer: _________
Question 28:
You can check on the status of tables with the DESCRIBE or DESC command.
A.
True
B.
False
Answer: _________
Question 29:
Oracle directly supports the definition of surrogate keys.
A.
True
B.
False
Answer: _________
Question 30:
When you type into SQL*Plus and press enter, the statement will be finished and executed.
A.
True
B.
False
Answer: _________
Question 31:
Oracle allows the ORDER BY clause in view definitions.
A.
True
B.
False
Answer: _________
Question 32:
Oracle does NOT support a CASCADE UPDATE constraint.
A.
True
B.
False
Answer: _________
Question 33:
Sequences guarantee valid surrogate key values.
A.
True
B.
False
Answer: _________
Question 34:
Oracle will let you define Notepad as your default editor, and whenever you type NOTEPAD, SQL*Plus will invoke Notepad.
A.
True
B.
False
Answer: _________
Question 35:
Oracle commands, column names, table names, view names and all other database elements are case sensitive.
A.
True
B.
False
Answer: _________
Question 36:
If there is only one statement and no ambiguity about what is wanted, Oracle will treat the semicolon and slash as the same.
A.
True
B.
False
Answer: _________
Question 37:
The only time that case matters is inside quotation marks of strings.
A.
True
B.
False
Answer: _________
Question 38:
You can use the DROP statement to remove structures from the database.
A.
True
B.
False
Answer: _________
Question 39:
Oracle, the world's most popular DBMS, is powerful and robust, running on many different operating systems.
A.
True
B.
False
Answer: _________
Question 40:
SQL*Plus will finish the statement and execute it when the user types in this:
A.
A left slash ( ) followed by [Enter].
B.
A colon ( : ) followed by [Enter].
C.
A semicolon (
) followed by [Enter].
D.
A period ( . ) followed by [Enter].
Answer: _________
Answer Key
1:
A
2:
B
3:
A
4:
B
5:
B
6:
D
7:
D
8:
D
9:
B
10:
D
11:
B
12:
D
13:
C
14:
C
15:
D
16:
A
17:
B
18:
C
19:
D
20:
A
21:
B
22:
A
23:
B
24:
A
25:
A
26:
A
27:
A
28:
A
29:
B
30:
B
31:
A
32:
A
33:
B
34:
B
35:
B
36:
A
37:
A
38:
A
39:
A
40:
C