If a loop does not terminate at all and keeps on executing endlessly, then it…

2021

If a loop does not terminate at all and keeps on executing endlessly, then it is known as _____.

Answer: D. Infinite loopAn infinite loop occurs when a program executes a block of code repeatedly without a terminating condition. This differs from finite loops which stop after a…

  1. A.

    For loop

  2. B.

    Finite loop

  3. C.

    While loop

  4. D.

    Infinite loop

Attempted by 707 students.

Show answer & explanation

Correct answer: D

An infinite loop occurs when a program executes a block of code repeatedly without a terminating condition. This differs from finite loops which stop after a specific number of iterations or when a condition becomes false.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…