logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Database Comments

  • Question
  • Using OQL, you may do which of the following?


  • Options
  • A. Return an entire collection of elements including duplicates.
  • B. Return a collection of elements without duplicates.
  • C. Return a specific subset of elements using a given criteria.
  • D. All of the above.

  • Correct Answer
  • All of the above. 


  • Database problems


    Search Results


    • 1. The object definition language (ODL) is which of the following?

    • Options
    • A. Used to develop logical schemas
    • B. A data definition language for OODB
    • C. A method to implement a logical schema
    • D. All of the above.
    • Discuss
    • 2. A distributed database is which of the following?

    • Options
    • A. A single logical database that is spread to multiple locations and is interconnected by a network
    • B. A loose collection of file that is spread to multiple locations and is interconnected by a network
    • C. A single logical database that is limited to one location.
    • D. A loose collection of file that is limited to one location.
    • Discuss
    • 3. A distributed database can use which of the following strategies?

    • Options
    • A. Totally centralized one location and accessed by many sites
    • B. Partially or totally replicated across sites
    • C. Partitioned into segments at different sites
    • D. All of the above
    • Discuss
    • 4. Stored procedures have which of the following advantages?

    • Options
    • A. It takes a longer time to write them as compared to writing Visual Basic.
    • B. Data integrity improves as multiple applications access the same stored procedure.
    • C. Network traffic increases
    • D. Result in thicker client and thinner database server.
    • Discuss
    • 5. Which of the following improves a query's processing time?

    • Options
    • A. Write complex queries.
    • B. Combine a table with itself.
    • C. Query one query within another.
    • D. Use compatible data types.
    • Discuss
    • 6. In a 1:N relationship, the foreign key is placed in:

    • Options
    • A. the parent table.
    • B. the child table.
    • C. either table without specifying parent and child tables.
    • D. either the parent table or the child table.
    • Discuss
    • 7. The process of reading a database schema and producing a data model from that schema is known as:

    • Options
    • A. data modeling.
    • B. database design.
    • C. reverse engineering.
    • D. None of the above is correct.
    • Discuss
    • 8. To drop a column that is used as a foreign key, first:

    • Options
    • A. drop the primary key.
    • B. drop the table containing the foreign key..
    • C. drop the foreign key constraint.
    • D. All of the above must be done.
    • Discuss
    • 9. What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

    • Options
    • A. ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
    • B. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
    • C. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);
    • D. None of the above is correct.
    • Discuss
    • 10. Of the three ways to create an Oracle database, which one is the easiest and most recommended?

    • Options
    • 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.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment