Multiple choice

The first step in problem solving process is to

  1. plan the algorithm

  2. analyze the problem

  3. desk-check the algorithm

  4. code the algorithm

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Before writing any code or planning solutions, you must first understand what problem you're trying to solve. Analysis involves understanding requirements, identifying inputs/outputs, and recognizing constraints. Planning algorithms (B) comes after analysis, desk-checking (C) validates the algorithm, and coding (D) is the implementation phase.