logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Database Comments

  • Question
  • The time complexity of sequential search is


  • Options
  • A. O(n)
  • B. O(2n)
  • C. O(n^2)
  • D. None

  • Correct Answer
  • O(n) 

    Explanation

    The time complexity of sequential search is O(n)

  • Tags: Database Administrator

    Database problems


    Search Results


    • 1. Which among the following is the disadvantage of circular list?

    • Options
    • A. An info field that contains the information stored in the node
    • B. Can?t traverse the list backward
    • C. A pointer to the node is given we cannot delete the node
    • D. Both 2 and 3
    • Discuss
    • 2. Which among the following is the relationship constraints

    • Options
    • A. Cardinality ratio
    • B. Participation constraints
    • C. Both A and B
    • D. None of the above
    • Discuss
    • 3. The relationship where both the participating entities belong to same entity type is called

    • Options
    • A. Participation
    • B. Recursive
    • C. Standard
    • D. Normal
    • Discuss
    • 4. The no of entities participating in a relation is called

    • Options
    • A. Relation
    • B. Degree of relationship
    • C. Recursive relationship
    • D. None of the above
    • Discuss
    • 5. What are different types of DBMS?
    • Discuss
    • 6. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
    • Discuss
    • 7. Does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?

    • Options
    • A. Yes
    • B. No
    • C. May be Yes or No
    • D. None
    • Discuss
    • 8. Which of the following products implemented the CODASYL DBTG model?

    • Options
    • A. IDMS
    • B. DB2
    • C. dBase-II
    • D. R:base
    • Discuss
    • 9. Which of the following indicates the maximum number of entities that can be involved in a relationship?

    • Options
    • A. Minimum cardinality
    • B. Maximum cardinality
    • C. ERD
    • D. Greater Entity Count (GEC)
    • Discuss
    • 10. A reason for using an SQL view to hide columns is:

    • Options
    • A. to simplify a result only.
    • B. to prevent the display of sensitive data only.
    • C. to accomplish both of the above.
    • D. None of the above are reasons for using an SQL view.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment