What does while loop mean?

Definitions for while loop
while loop

This dictionary definitions page includes all the possible meanings, example usage and translations of the word while loop.


Did you actually mean whelp or wolfe?

Wiktionary

  1. while loopnoun

    A section of computer code in which an instruction or group of instructions is executed only while a certain condition continues to be met.

  2. Etymology: From the keyword used in many programming languages for this purpose.

Wikipedia

  1. While loop

    In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The while loop can be thought of as a repeating if statement.

Wikidata

  1. While loop

    In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. The while loop can be thought of as a repeating if statement. The while construct consists of a block of code and a condition. The condition is evaluated, and if the condition is true, the code within the block is executed. This repeats until the condition becomes false. Because while loop checks the condition before the block is executed, the control structure is often also known as a pre-test loop. Compare with the do while loop, which tests the condition after the loop has executed. For example, in the C programming language, the code fragment first checks whether x is less than 5, which it is, so then the {loop body} is entered, where the printf function is run and x is incremented by 1. After completing all the statements in the loop body, the condition, is checked again, and the loop is executed again, this process repeating until the variable x has the value 5. Note that it is possible, and in some cases desirable, for the condition to always evaluate to true, creating an infinite loop. When such a loop is created intentionally, there is usually another control structure that controls termination of the loop. For example:

How to pronounce while loop?

How to say while loop in sign language?

Numerology

  1. Chaldean Numerology

    The numerical value of while loop in Chaldean Numerology is: 9

  2. Pythagorean Numerology

    The numerical value of while loop in Pythagorean Numerology is: 7


Translations for while loop

From our Multilingual Translation Dictionary

  • حائط اللوبArabic
  • zatímco smyčkaCzech
  • while loopSpanish
  • घुमाव के दौरानHindi
  • அதே நேரத்தில் வளையTamil

Get even more translations for while loop »

Translation

Find a translation for the while loop definition in other languages:

Select another language:

  • - Select -
  • 简体中文 (Chinese - Simplified)
  • 繁體中文 (Chinese - Traditional)
  • Español (Spanish)
  • Esperanto (Esperanto)
  • 日本語 (Japanese)
  • Português (Portuguese)
  • Deutsch (German)
  • العربية (Arabic)
  • Français (French)
  • Русский (Russian)
  • ಕನ್ನಡ (Kannada)
  • 한국어 (Korean)
  • עברית (Hebrew)
  • Gaeilge (Irish)
  • Українська (Ukrainian)
  • اردو (Urdu)
  • Magyar (Hungarian)
  • मानक हिन्दी (Hindi)
  • Indonesia (Indonesian)
  • Italiano (Italian)
  • தமிழ் (Tamil)
  • Türkçe (Turkish)
  • తెలుగు (Telugu)
  • ภาษาไทย (Thai)
  • Tiếng Việt (Vietnamese)
  • Čeština (Czech)
  • Polski (Polish)
  • Bahasa Indonesia (Indonesian)
  • Românește (Romanian)
  • Nederlands (Dutch)
  • Ελληνικά (Greek)
  • Latinum (Latin)
  • Svenska (Swedish)
  • Dansk (Danish)
  • Suomi (Finnish)
  • فارسی (Persian)
  • ייִדיש (Yiddish)
  • հայերեն (Armenian)
  • Norsk (Norwegian)
  • English (English)

Word of the Day

Would you like us to send you a FREE new word definition delivered to your inbox daily?

Please enter your email address:


Citation

Use the citation below to add this definition to your bibliography:

Style:MLAChicagoAPA

"while loop." Definitions.net. STANDS4 LLC, 2024. Web. 23 Apr. 2024. <https://www.definitions.net/definition/while+loop>.

Discuss these while loop definitions with the community:

0 Comments

    Are we missing a good definition for while loop? Don't keep it to yourself...

    Image or illustration of

    while loop

    Credit »

    Free, no signup required:

    Add to Chrome

    Get instant definitions for any word that hits you anywhere on the web!

    Free, no signup required:

    Add to Firefox

    Get instant definitions for any word that hits you anywhere on the web!

    Browse Definitions.net

    Quiz

    Are you a words master?

    »
    applied to a fish depicted horizontally
    A naiant
    B currish
    C valetudinarian
    D jejune

    Nearby & related entries:

    Alternative searches for while loop: