Learn CS Visual

How Algorithm Representations Work

An algorithm is the procedure itself for solving a problem. That procedure can be written in several forms: natural language in everyday words, a flowchart drawn with boxes and arrows, or pseudocode in a notation close to a program. Changing the form doesn't change the procedure's content — what gets checked and what gets done stays the same.

In the procedure that finds the larger of A and B, if A is 7 and B is 3, what gets output?