4.5 Informal Code Analysis

Enduring Understanding

Programmers incorporate iteration and selection into code as a way of providing instructions for the computer to process each of the many possible input values.

Learning Objective

Compute statement execution counts and informal run-time comparison of iterative statements.

Essential Knowledge

A statement execution count indicates the number of times a statement is executed by the program.

Last updated

Was this helpful?