Total Questions : 30
Expected Time : 30 Minutes

1. What is the time complexity of the 'bubble sort' algorithm in the worst case?

2. What is the time complexity of an algorithm that has constant runtime?

3. In algorithm design, what does the term 'optimization' refer to?

4. What does the term 'greedy algorithm' imply?

5. What does the term 'Dijkstra's algorithm' refer to?

6. What is the purpose of the 'Floyd-Warshall algorithm'?

7. What is the purpose of the 'continue' statement in a loop?

8. What is the purpose of the 'binary search' algorithm?

9. What is the time complexity of the 'insertion sort' algorithm in the worst case?

10. What does the term 'iteration' mean in programming?

11. What is the difference between BFS and DFS in graph traversal?

12. In algorithm design, what does the term 'backtracking' mean?

13. What is the primary purpose of the 'if' statement in programming?

14. What is the purpose of the 'Depth-First Search (DFS)' algorithm?

15. What does the term 'recursion' refer to in programming?

16. Which of the following is an example of a recursive algorithm?

17. Which data structure is commonly used to implement a queue?

18. What is the primary purpose of the 'break' statement in a loop?

19. What is the purpose of dynamic programming in algorithm design?

20. What is the purpose of the 'while' loop in programming?

21. In the context of algorithm design, what does the term 'NP-complete' mean?

22. What is the primary purpose of the 'else' statement in programming?

23. What is the primary purpose of the 'heap' data structure?

24. In the context of algorithm design, what does the term 'efficiency' refer to?

25. Which of the following is a characteristic of a 'greedy algorithm'?

26. What is the time complexity of the 'selection sort' algorithm in the worst case?

27. What does the term 'dynamic programming' mean in algorithm design?

28. What is the primary goal of the 'greedy algorithm'?

29. What is the purpose of the 'shell sort' algorithm?

30. What is the purpose of the 'for' loop in programming?