Algorithmic Thinking MCQs

Topic-wise practice questions for Problem Solving & Analytical Skills. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q21hard
When comparing Iteration (loops) to Recursion, which of the following is usually true regarding performance?
Q22medium
You need to find the shortest path between two cities in a navigation app. The road weights (distances) are all positive. Which algorithm is the most efficient choice?
Q23hard
(Code Output / Logic) Trace this pseudocode:

function solve(n):
    if n <= 1: return n
    return n + solve(n - 2)
print(solve(5))
Q24medium
If an O(N^2) algorithm takes 1 second to process 1,000 items, how long will it approximately take to process 10,000 items?
Q25medium
You are designing a system to find the "Top 10 Most Visited Websites" from a log of 1 trillion entries. You have limited RAM. Which algorithmic concept is most helpful?