Data Structure Questions Answers - Chapter 1
-
15. Sort which compares adjacent elements in a list and switches where necessary is
- Insertion sort
- Heap sort
- Quick sort
- Bubble sort
Answer :
Option D
-
16. O log(n) can be conneted with
- Selection sort
- Insertion sort
- Binary sort
- Merge sort
Answer :
Option C
-
17. Which of the languages is often translated to the pseudo code
- PASCAL
- FORTRAN
- PL/I
- BASIC
Answer :
Option A
-
18. The memory address of the first element of an array is called
- floor address
- first address
- foundation address
- base address
Answer :
Option D
-
19. Which is having highest precedence in C
- relational operators
- equality operator
- logical operator
- arithmetic operator
Answer :
Option D
-
20. Repeated execution of simple computation may cause compounding of
- round off errors
- syntax errors
- run time errors
- logic errors
Answer :
Option A
-
21. ++i is equivalent to
- i = i + 2
- i = i + 1
- i = i + i
- i = i - 1
- Only argument I is strong
- Only argument II is strong
- Either I or II is strong
- Neither I nor II is strong
- Both I and II are strong
Answer :
Option E