Looping Constructs

Primary tabs

Abdelraheem Al-najjar Raheem's picture

No Description Set

Subjects: 

Bookmark to learn: Login to use bookmarks.

Bookmark to learn: Login to use bookmarks.

Add to collection ... add Looping Constructs to your collections:

Help using Flashcards ...just like in real life ;)

  1. Look at the card, do you know this one? Click to flip the card and check yourself.
  2. Mark card Right or Wrong, this card will be removed from the deck and your score kept.
  3. At any point you can Shuffle, Reveal cards and more via Deck controls.
  4. Continue to reveal the wrong cards until you have correctly answered the entire deck. Good job!
  5. Via the Actions button you can Shuffle, Unshuffle, Flip all Cards, Reset score, etc.
  6. Come back soon, we'll keep your score.
    “Repetition is the mother of all learning.”
  7. Signed in users can Create, Edit, Import, Export decks and more!.

Bookmark to learn: Login to use bookmarks.

Share via these services ...

Email this deck:

Right: #
Wrong: #
# Right & # Wrong of #

Programming languages provide various - that allow for more complicated execution paths.

Control structures

A - statement allows us to execute a statement or group of statements multiple times and following is the general form of a - statement in most of the programming languages.

loop

Java programming language provides the following types of loop to handle looping requirements :

1. While loop
2. For loop
3. Do..While loop

A while loop statement in Java programming language repeatedly executes a - as long as a given condition is true.

target statement

A - is a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times.

for loop

A for loop is useful when you -

know how many times a task is to be repeated.

A - loop is similar to a while loop, except that a - loop is guaranteed to execute at least one time.

do...while

As of Java 5, the - loop was introduced. This is mainly used to traverse collection of elements including arrays.

enhanced for

Subjects: