1. Question: What is the minimum number of nodes in a full binary tree with depth 3?

    A
    4

    B
    8

    C
    11

    D
    15

    Note: Not available
    1. Report
  2. Question: Using which traversal in a sorted binary insertion tree can a sorted array of numbers be obtained?

    A
    Pre-order traversal

    B
    Post-order traversal

    C
    In order traversal

    D
    Top-down traversal

    Note: Not available
    1. Report
  3. Question: Where does the push member function place the new entry on the linked list in the linked list implementation of a queue?

    A
    At the head

    B
    At the tail

    C
    After all other entries that are greater than the new entry

    D
    After all other entries that are smaller than the new entry

    Note: Not available
    1. Report
  4. Question: Which term is used to describe an O(n) algorithm?

    A
    Constant

    B
    Linear

    C
    Logarithmic

    D
    Quadratic

    Note: Not available
    1. Report
  5. Question: What is the minimum number of nodes in a complete binary tree with depth 3?

    A
    4

    B
    8

    C
    11

    D
    15

    Note: Not available
    1. Report
  6. Question: What is true of the complete bipartite graphs K(3,3) and K(2,4)?

    A
    Both are planar

    B
    Neither is a planar

    C
    Both are isomorphic

    D
    None of these

    Note: Not available
    1. Report
  7. Question: If X is the adjacency matrix of a graph G with no self loops, the entries along the principle diagonal of X are ______.

    A
    all zeros

    B
    all ones

    C
    both zeros and ones

    D
    different

    Note: Not available
    1. Report
  8. Question: What is the worst-case scenario for mergesort to sort an array of n elements?

    A
    O(log n)

    B
    O(n)

    C
    O(n log n)

    D
    O(n2)

    Note: Not available
    1. Report
  9. Question: Consider a hashing function that resolves collision by quadratic probing. Assume that the address space is indexed from 1 to 8. If a collision occurs at position 4, the location which will never be probed is:

    A
    4

    B
    5

    C
    8

    D
    2

    Note: Not available
    1. Report
  10. Question: In which data structure is the concept of rotation used?

    A
    Binary search tree

    B
    Circular queue

    C
    AVL tree

    D
    Circular linked list

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd