Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

fill in the blanks: . building up a result by updating a variable insid…

Question

fill in the blanks: . building up a result by updating a variable inside a loop is called ____. . one pass through the body of a loop is called __. . data structures that can change after creation are __; strings are ____.

Explanation:

Brief Explanations

Building up a result by updating a variable in a loop is called accumulation. One pass through a loop body is an iteration. Mutable data - structures can change after creation, and strings are immutable in many programming languages.

Answer:

  • Building up a result by updating a variable inside a loop is called accumulation.
  • One pass through the body of a loop is called an iteration.
  • Data structures that can change after creation are mutable; strings are immutable.