While loop

While loop

A while loop is a control flow statement in programming languages that executes code repeatedly as long as a specified condition is true. It functions similarly to an if statement but repeats the execution of code.

2 courses cover this concept

CICS 110: Foundations of Programming

The University of Massachusetts Amherst

Spring 2023

This course introduces computer programming and problem-solving. Students learn using a modern language, covering variables, data types, branching, functions, classes, and methods. Emphasis is on real-world problem translation, computational understanding, and debugging.

No concepts data

+ 30 more concepts

CSE 142 Computer Programming I

University of Washington

Summer 2022

This introductory course teaches programming using Java. Students learn computational problem-solving techniques, functional decomposition, control structures, data abstraction, and code documentation. No prior programming experience is required.

No concepts data

+ 46 more concepts