Data Structure Questions Answers - Chapter 1

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

    1. Insertion sort
    2. Heap sort
    3. Quick sort
    4. Bubble sort
    Answer :

    Option D

  • 16. O log(n) can be conneted with

    1. Selection sort
    2. Insertion sort
    3. Binary sort
    4. Merge sort
    Answer :

    Option C

  • 17. Which of the languages is often translated to the pseudo code

    1. PASCAL
    2. FORTRAN
    3. PL/I
    4. BASIC
    Answer :

    Option A

  • 18. The memory address of the first element of an array is called

    1. floor address
    2. first address
    3. foundation address
    4. base address
    Answer :

    Option D

  • 19. Which is having highest precedence in C

    1. relational operators
    2. equality operator
    3. logical operator
    4. arithmetic operator
    Answer :

    Option D

  • 20. Repeated execution of simple computation may cause compounding of

    1. round off errors
    2. syntax errors
    3. run time errors
    4. logic errors
    Answer :

    Option A

  • 21. ++i is equivalent to

    1. i = i + 2
    2. i = i + 1
    3. i = i + i
    4. i = i - 1
    5. Only argument I is strong
    6. Only argument II is strong
    7. Either I or II is strong
    8. Neither I nor II is strong
    9. Both I and II are strong
    Answer :

    Option E

Please Like Us

disawar satta king