What is the purpose of using a flowchart in analyzing an algorithm?

  • ATo compile the program
  • BTo identify logical errors and weakness
  • CTo create a user interface
  • DNone of these
Show answerHide answer

Correct answer B

Flowcharts help visualize the logic and flow of an algorithm. They are useful for spotting errors, inefficiencies, or missing steps before coding.