GoConqr has a new look! Let us know what you think.

Quiz

Simulado Capítulo 2

braulio_figueiredo 14 questions

Take the quiz

Questions in this quiz (14)

  1. 1A table is which of the following? (Choose all that apply.)
    1. AA schema object
    2. BA non-schema object
    3. CA role
    4. DAll of the above
  2. 2Which of the following are schema objects? (Choose all that apply.)
    1. ASEQUENCE
    2. BPASSWORD
    3. CINDEX
    4. DROLE
  3. 3A CONSTRAINT is assigned to which of the following? (Choose all that apply.)
    1. ATABLE
    2. BSYNONYM
    3. CSEQUENCE
    4. DINDEX
  4. 4Which of the following are valid CREATE TABLE statements? (Choose three.)
    1. ACREATE TABLE $ORDERS
      (ID NUMBER,
      NAME VARCHAR2(30));
    2. BCREATE TABLE CUSTOMER_HISTORY
      (ID NUMBER,
      NAME VARCHAR2(30));
    3. CCREATE TABLE “Boat Inventory”
      (ID NUMBER,
      NAME VARCHAR2(30));
    4. DCREATE TABLE workSchedule
      (ID NUMBER,
      NAME VARCHAR2(30));
  5. 5Which of the following may follow the reserved word CREATE to form a complete SQL
    statement? (Choose three.)
    1. ATABLE
    2. BVIEW
    3. CCONSTRAINT
    4. DSEQUENCE
  6. 6You are logged in to user FINANCE. It is currently the only schema in the entire database. The
    following exist in the database:
    – A VIEW named VENDORS
    – A CONSTRAINT named VENDORS
    – An INDEX named CUSTOMER#ADDRESS
    You attempt to execute the following SQL statement:
    CREATE TABLE CUSTOMER#ADDRESS
    (ID NUMBER,
    NAME VARCHAR2(30));
    1. AThe question is flawed because you cannot have an INDEX named
      CUSTOMER#ADDRESS.
    2. BThe question is flawed because you cannot have a VIEW and a CONSTRAINT with identical
      names in the same schema.
    3. CThe SQL statement will fail to execute and result in an error message because you cannot
      create a TABLE name with the “#” character.
    4. DThe SQL statement will fail to execute and result in an error message because you cannot
      create a TABLE that has the same name as an INDEX in the same schema.
    5. EThe SQL statement will execute and the TABLE will be created.
  7. 7You have a single database, with only one schema. The following four objects exist in the
    database:
    – A TABLE named PRODUCT_CATALOG
    – A TABLE named ADS
    – A USER named PRODUCT_CATALOG
    – A VIEW named CONFERENCE_SCHEDULE
    How many of the four objects are owned by the schema?
    1. A0
    2. B2
    3. C3
    4. D4
  8. 8ROLES:
    1. AAre schema objects, but only when created from within a user account.
    2. BAre in the same namespace as CONSTRAINTS.
    3. CAre in the same namespace as TABLES.
    4. DAre in the same namespace as USERS.
  9. 9The DESCRIBE, or DESC, command, can be used to do which of the following?
    1. AShow a table’s columns and the datatypes of those columns.
    2. BShow a brief paragraph describing what the table does.
    3. CShow a table’s name and who created it.
    4. DShow the data that is contained within a table.
  10. 10You attempt to execute the following SQL statement:
    CREATE TABLE VENDORS
    (VENDOR_ID NUMBER,
    VENDOR_NAME VARCHAR2,
    CATEGORY CHAR);
    Which one of the following is true?
    1. AThe execution fails because there is no precision indicated for NUMBER.
    2. BThe execution fails because there is no precision indicated for VARCHAR2.
    3. CThe execution fails because there is no precision indicated for CHAR.
    4. DThe execution succeeds and the table is created.

Information

Description
Programas de Certificação Oracle (Exame OCE 1Z0-047 (Simulados)) Quiz on Simulado Capítulo 2, created by braulio_figueiredo on 05/05/2015.
Language
Português
Views
5
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?