download Mastguru Android App

Question Detail

The complexity of Binary search algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)
Similar Questions :

1. Which is having highest precedence in C

  • relational operators
  • equality operator
  • logical operator
  • arithmetic operator

2. Which of the following data structure is linear data structure

  • Trees
  • Graphs
  • Array
  • None of above

3. In C how many parameters can passed to a function

  • 2
  • 5
  • 10
  • as many as defined in function definition

4. Information about an array used in a program will be stored in

  • symbol table
  • activation record
  • dope vector
  • system table

5. A linear list from which elements can be added or removed from either end is called

  • stack
  • queue
  • deque
  • tree
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment