Sail E0 Webinar

MCQs

Total Questions : 66 | Page 1 of 7 pages
Question 1. What type of failure occurs when Oracle fails due to an operating system or computer hardware failure?
  1.    Application failure
  2.    Instance Failure
  3.    Media Failure
  4.    Rollback failure
 Discuss Question
Answer: Option B. -> Instance Failure
Question 2. Which statement about sequences is not true?
  1.    A sequence is an object that generates a sequential series of unique numbers.
  2.    Sequences are most often used to provide values for surrogate keys.
  3.    NextVal and CurrVal are both sequence methods.
  4.    Sequences guarantee valid surrogate key values.
 Discuss Question
Answer: Option D. -> Sequences guarantee valid surrogate key values.
Question 3. Which prefixes are available to Oracle triggers?
  1.    :new only
  2.    :old only
  3.    Both :new and :old
  4.    Neither :new nor :old
 Discuss Question
Answer: Option C. -> Both :new and :old
Question 4. In creating a procedure, you may get a message if you have compile errors. Which of the following is true?
  1.    The line numbers reported match the line numbers you see in your text editor.
  2.    SQL*Plus will automatically show the errors to you.
  3.    To see the errors, enter SHOW ERRORS in SQL*Plus.
  4.    If there are no syntax errors, you will receive the message "NO ERRORS."
 Discuss Question
Answer: Option C. -> To see the errors, enter SHOW ERRORS in SQL*Plus.
Question 5. Which of the following is not true about indexes?
  1.    Indexes are created to enforce uniqueness on columns.
  2.    Indexes are created to enable fast retrieval by column values.
  3.    Columns that are frequently used with equal conditions in WHERE clauses are good candidates for indexes.
  4.    Indexes are created with the ALTER TABLE command.
 Discuss Question
Answer: Option D. -> Indexes are created with the ALTER TABLE command.
Question 6. Which of the following is not true of SQL views?
  1.    Oracle views cannot use the ORDER BY clause in view definitions.
  2.    Oracle views are created using the standard SQL-92 CREATE VIEW command.
  3.    Oracle views can by queried.
  4.    The SQL-92 standard does not allow the use of the ORDER BY clause in view definitions.
 Discuss Question
Answer: Option A. -> Oracle views cannot use the ORDER BY clause in view definitions.
Question 7. SQL*Plus will finish the statement and execute it when the user types in this:
  1.    A left slash ( ) followed by [Enter].
  2.    A colon ( : ) followed by [Enter].
  3.    A semicolon ( ; ) followed by [Enter].
  4.    A period ( . ) followed by [Enter].
 Discuss Question
Answer: Option C. -> A semicolon ( ; ) followed by [Enter].
Question 8. Which of the following is NOT an Oracle-supported trigger?
  1.    BEFORE
  2.    DURING
  3.    AFTER
  4.    INSTEAD OF
 Discuss Question
Answer: Option B. -> DURING
Question 9. After a table has been created, its structure can be modified using the SQL command:
  1.    UPDATE TABLE [TableName].
  2.    MODIFY TABLE [TableName].
  3.    ALTER TABLE [TableName].
  4.    CHANGE TABLE [TableName].
 Discuss Question
Answer: Option C. -> ALTER TABLE [TableName].
Question 10. Which of the following is not true about modifying table columns?
  1.    You can drop a column at any time.
  2.    You can add a column at any time as long as it is a NULL column.
  3.    You can increase the number of characters in character columns or the number of digits in numeric columns
  4.    You cannot increase or decrease the number of decimal places.
 Discuss Question
Answer: Option D. -> You cannot increase or decrease the number of decimal places.

Latest Videos

Latest Test Papers