🧪 Data structure MCQ Quiz Hub

Data Structures and algorithms MCQ Questions

Choose a topic to test your knowledge and improve your Data structure skills

1. When determining the efficiency of algorithm the space factor is measured by




2. The complexity of Bubble sort algorithm




3. Linked lists are best suited




4. If the values of a variable in one module is indirectly changed by another module this situation is called




5. In linear search algorithm the Worst case occurs when




6. For an algorithm the complexity of the average case is




7. The complexity of linear search algorithm is




8. The complexity of linear search algorithm is




9. When determining the efficiency of algorithm the time factor is measured by




10. Which of the following data structure is linear data structure?




11. The elements of an array are stored successively in memory cells because




12. Which of the following data structure is not linear data structure?




13. he Average case occur in linear search algorithm




14. Two main measures for the efficiency of an algorithm are




15. Finding the location of the element with a given value is




16. Which of the following case does not exist in complexity theory




17. The operation of processing each element in the list is known as




18. Arrays are best data structures




19. Each array declaration need not give implicitly or explicitly the information about




20. The complexity of Binary search algorithm is




21. Each data item in a record may be a group item composed of sub-items; those items which are indecomposable are called




22. Which of the following is two way list?




23. Which of the following statement is false?




24. When inorder traversing a tree resulted E A C K F H D B G; the preorder traversal would return




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




26. The difference between linear array and a record is




27. Which of the following name does not relate to stacks?




28. Which of the following data structures are indexed structures?




29. The term “push” and “pop” is related to the




30. The memory address of fifth element of an array can be calculated by the formula




31. Two dimensional arrays are also called




32. When new data are to be inserted into a data structure but there is no available space; this situation is usually called




33. The situation when in a linked list START=NULL is




34. A variable P is called pointer if




35. Which of the following data structure can’t store the non-homogeneous data elements?




36. Which of the following data structure store the homogeneous data elements?




37. Which of the following is not a limitation of binary search algorithm?




38. Binary search algorithm can not be applied to




39. A data structure where elements can be added or removed at either end but not in the middle




40. Which of the following is not the required condition for binary search algorithm?