logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Database Comments

  • Question
  • It is necessary to sort a file before searching a particular item


  • Options
  • A. True
  • B. False
  • C. May or may not be true
  • D. None of the above

  • Correct Answer
  • May or may not be true 

    Explanation

    If less work is involved in searching a element than to sort and then extract, then we don?t go for sort

    If frequent use of the file is required for the purpose of retrieving specific element, it is more efficient to sort the file.

    Thus it depends on situation

  • Tags: Database Administrator

    Database problems


    Search Results


    • 1. A transitive dependency is which of the following?

    • Options
    • A. A functional dependency between two or more key attributes.
    • B. A functional dependency between two or more nonkey attributes.
    • C. A relation that is in first normal form.
    • D. A relation that is in second normal form.
    • Discuss
    • 2. A shared database should:

    • Options
    • A. be accurate and available.
    • B. provide for backup and recovery.
    • C. be secure.
    • D. All of the above.
    • Discuss
    • 3. For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?

    • Options
    • A. Two
    • B. Three
    • C. Four
    • D. Six
    • Discuss
    • 4. With this type of SQL Server cursor concurrency no lock is obtained until the user updates the data.

    • Options
    • A. READ_ONLY
    • B. SCROLL_LOCK
    • C. OPTIMISTIC
    • D. PESSIMISTIC
    • Discuss
    • 5. When mapping a supertype/subtype relationship which of the following is true?

    • Options
    • A. The supertype primary key is assigned to each subtype.
    • B. The subtype primary key is assigned to each supertype.
    • C. There is no link between the supertype/subtype entities.
    • D. There is no primary key/foreign key relationship between a supertype/subtype.
    • Discuss
    • 6. Parenthesis is never required in Postfix or Prefix expressions

    • Options
    • A. TRUE
    • B. FALSE
    • Discuss
    • 7. Which type of entity is related to two or more associated entities that each contain specialized attributes that apply to some but not all of the instances of the entity?

    • Options
    • A. Supertype entity
    • B. Subtype entity
    • C. Archetype entity
    • D. Instance entity
    • Discuss
    • 8. To eliminate definition duplication, XML Schemas define:

    • Options
    • A. an intersection table.
    • B. global elements.
    • C. a normalized definition table.
    • D. None of the above is correct.
    • Discuss
    • 9. When an entity instance may be a member of multiple subtypes or it does not have to be a member of a subtype, it is which of the following?

    • Options
    • A. Disjoint with total specialization
    • B. Disjoint with partial specialization
    • C. Overlap with total specialization
    • D. Overlap with partial specialization
    • Discuss
    • 10. The HAVING clause does which of the following?

    • Options
    • A. Acts like a WHERE clause but is used for groups rather than rows.
    • B. Acts like a WHERE clause but is used for rows rather than columns.
    • C. Acts like a WHERE clause but is used for columns rather than groups.
    • D. Acts EXACTLY like a WHERE clause.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment