download Mastguru Android App

Question Detail

The complexity of linear search algorithm is

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

1. Sort which compares adjacent elements in a list and switches where necessary is

  • Insertion sort
  • Heap sort
  • Quick sort
  • Bubble sort

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

  • Trees
  • Graphs
  • Array
  • None of above

3. Which is problem oriented language

  • BASIC
  • PL/I
  • FORTRAN
  • none of above

4. minimum number of stacks of size n required to implement a queue of size n

  • One
  • Two
  • Three
  • Four

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

  • symbol table
  • activation record
  • dope vector
  • system table
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment