# data[].attributes.body
1. WHAT IS A LOOP?

𝙰 𝚕𝚘𝚘𝚙 𝚒𝚜 𝚞𝚜𝚎𝚍 𝚝𝚘 𝚌𝚘𝚗𝚝𝚒𝚗𝚞𝚊𝚕𝚕𝚢 𝚛𝚞𝚗 𝚊 𝚜𝚎𝚝 𝚘𝚏 𝚒𝚗𝚜𝚝𝚛𝚞𝚌𝚝𝚒𝚘𝚗𝚜 𝚘𝚛 𝚊 𝚋𝚕𝚘𝚌𝚔 𝚘𝚏 𝚌𝚘𝚍𝚎 𝚠𝚒𝚝𝚑𝚘𝚞𝚝 𝚑𝚊𝚟𝚒𝚗𝚐 𝚝𝚘 𝚠𝚛𝚒𝚝𝚎 𝚒𝚝 𝚘𝚞𝚝 𝚏𝚛𝚘𝚖 𝚜𝚌𝚛𝚊𝚝𝚌𝚑. 𝙾𝚗 𝚝𝚑𝚎 𝚋𝚊𝚜𝚒𝚜 𝚘𝚏 𝚊 𝚜𝚙𝚎𝚌𝚒𝚏𝚒𝚌 𝚌𝚒𝚛𝚌𝚞𝚖𝚜𝚝𝚊𝚗𝚌𝚎, 𝚝𝚑𝚎 𝚌𝚘𝚍𝚎 𝚋𝚕𝚘𝚌𝚔 𝚒𝚜 𝚛𝚞𝚗. 𝙰 𝚙𝚛𝚘𝚐𝚛𝚊𝚖'𝚜 𝚌𝚘𝚗𝚝𝚛𝚘𝚕 𝚜𝚝𝚛𝚞𝚌𝚝𝚞𝚛𝚎𝚜 𝚊𝚛𝚎 𝚕𝚘𝚘𝚙𝚜.

2. What are the differences between a for loop, while loop, and do-while loop?

𝐀 𝐰𝐡𝐢𝐥𝐞 𝐥𝐨𝐨𝐩 𝐢𝐬 𝐚 𝐜𝐨𝐧𝐭𝐫𝐨𝐥 𝐟𝐥𝐨𝐰 𝐬𝐭𝐚𝐭𝐞𝐦𝐞𝐧𝐭 𝐭𝐡𝐚𝐭 𝐚𝐥𝐥𝐨𝐰𝐬 𝐜𝐨𝐝𝐞 𝐭𝐨 𝐛𝐞 𝐞𝐱𝐞𝐜𝐮𝐭𝐞𝐝 𝐫𝐞𝐩𝐞𝐚𝐭𝐞𝐝𝐥𝐲 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐚 𝐠𝐢𝐯𝐞𝐧 𝐁𝐨𝐨𝐥𝐞𝐚𝐧 𝐜𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧. 𝐓𝐡𝐞 𝐰𝐡𝐢𝐥𝐞 𝐥𝐨𝐨𝐩 𝐜𝐚𝐧 𝐛𝐞 𝐭𝐡𝐨𝐮𝐠𝐡𝐭 𝐨𝐟 𝐚𝐬 𝐚 𝐫𝐞𝐩𝐞𝐚𝐭𝐢𝐧𝐠 𝐢𝐟 𝐬𝐭𝐚𝐭𝐞𝐦𝐞𝐧𝐭. 𝐃𝐨 𝐰𝐡𝐢𝐥𝐞 𝐥𝐨𝐨𝐩 𝐢𝐬 𝐬𝐢𝐦𝐢𝐥𝐚𝐫 𝐭𝐨 𝐰𝐡𝐢𝐥𝐞 𝐥𝐨𝐨𝐩 𝐰𝐢𝐭𝐡 𝐭𝐡𝐞 𝐨𝐧𝐥𝐲 𝐝𝐢𝐟𝐟𝐞𝐫𝐞𝐧𝐜𝐞 𝐭𝐡𝐚𝐭 𝐢𝐭 𝐜𝐡𝐞𝐜𝐤𝐬 𝐟𝐨𝐫 𝐭𝐡𝐞 𝐜𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧 𝐚𝐟𝐭𝐞𝐫 𝐞𝐱𝐞𝐜𝐮𝐭𝐢𝐧𝐠 𝐭𝐡𝐞 𝐬𝐭𝐚𝐭𝐞𝐦𝐞𝐧𝐭𝐬, 𝐚𝐧𝐝 𝐭𝐡𝐞𝐫𝐞𝐟𝐨𝐫𝐞 𝐢𝐬 𝐚𝐧 𝐞𝐱𝐚𝐦𝐩𝐥𝐞 𝐨𝐟 𝐄𝐱𝐢𝐭 𝐂𝐨𝐧𝐭𝐫𝐨𝐥 𝐋𝐨𝐨𝐩. 𝐋𝐚𝐬𝐭𝐥𝐲, 𝐭𝐡𝐞 for 𝐥𝐨𝐨𝐩 𝐢𝐭𝐞𝐫𝐚𝐭𝐞𝐬 𝐢𝐧𝐟𝐢𝐧𝐢𝐭𝐞 𝐧𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 𝐭𝐢𝐦𝐞𝐬 𝐢𝐟 𝐭𝐡𝐞 𝐜𝐨𝐧𝐝𝐢𝐭𝐢𝐨𝐧 𝐢𝐬 𝐧𝐨𝐭 𝐬𝐩𝐞𝐜𝐢𝐟𝐢𝐞𝐝.

# data[].attributes.body
A loop is a program used to repeat a specified action until it fulfills a certain condition.

While loops are used when there isn't a specified number of repetitions. Do while loops execute the condition of the loop after the body of the loop. While loops are considered as entry-controlled loops while do-while loops are considered as exit controlled loops.

# data[].attributes.body
1. Loops in Java is a feature used to execute a particular part of the program repeatedly if a given condition evaluates to be true. While all three types' basic functionality remains the same, there's a vast difference in the syntax and how they operate.

2. For loop in Java iterates a given set of statements multiple times. The Java while loop executes a set of instructions until a boolean condition is met. The do-while loop executes a set of statements at least once, even if the condition is not met. While loop checks the condition first and then executes the statement(s), whereas do while loop will execute the statement(s) at least once, then the condition is checked. While loop is entry controlled loop, whereas do while is exit controlled loop.

# data[].attributes.body
1. A loop is a set of instructions that are repeatedly executed until a specific condition is met.

2. First, the while loop is an entry controlled loop. It evaluates the condition before it executes the code. Second, the do-while loop is an exit controlled loop. Unlike the while loop, its condition is at the bottom of the loop. Lastly, the for loop is a shorter way of writing loops. It combines initialization, condition, and increment in one line.

# data[].attributes.headline
Eve Bianca Ysabelle Barrameda, Grade 10 - St. Ignatius of Loyola

# data[].attributes.subject
Eve Bianca Ysabelle Barrameda, Grade 10 - St. Ignatius of Loyola

# data[].attributes.body
1. Loops repeat stretches of code as long as a statement is true.
2. The while loop first checks if its statement is true then executes, the do-while loop does the opposite, and the for loop is a more compact while loop.

# data[].attributes.body
Loops in Java are instructions that allows you to effectively code statements repeatedly without having to make the same statements again and again. They contain 3 types of loops that work well with specific kind of statements or problem and make your program short but effective.

There are 3 types of loops in Java:
While loop --> The simplest loop in Java and checks condition first before exciting a statement.

For loop--> A compound code that contains the initialization,condition, and increment/dicrement.

Do while loop--> An impulsive instruction that prints the statement before checking the condition. It is the opposite of the while loop.

# data[].attributes.body
1.) Loops in Java help make your codes shorter in order to make it faster and more efficient to code. Loops are also the codes that are used in order to prevent your program look complicating since you don’t need to repeat your codes again since loops would make it shorter.

2.) While loops are loops where the condition is at the beginning while the do-while loops have there condition in the end of the code and these loops checks it’s condition after executing the statements. For loops have 3 parts which is the initialization, test condition, and increment/operations.

# data[].attributes.body
1. Loops in java are used to execute a statement or code multiple times without having to type them repeatedly.

While loop - A type of loop where the condition is at the beginning.

Do while loop - A type of loop that is similar to the Whole loop but this one checks the condition at the end of the loop.

For loop - A type of loop wherein the control statement is executed a pre-known number of times.

# data[].attributes.body
1. What is a loop?
Loops in code allow a certain action to be repeated, if a condition is met. It makes a code simpler if we want to have a repeating output or process. It also makes your code shorter, instead of creating multiple and repetitive syntaxes.

What are the differences between for, while and do-while loop?
-For loops have a set amount of iterations, which start with initializations.
-While loops have a condition and if the condition is met, the statements or actions will be followed and looped until it becomes false.
-In do-while loop, a set of actions are executed first, then it will check if a condition is met, then it iterates the actions until the condition is no longer met.

# data[].attributes.headline
Shania Reigne B. Bayron - Grade 10 Loyola

# data[].attributes.subject
Shania Reigne B. Bayron - Grade 10 Loyola

# data[].attributes.body
1. What is a loop in Java?
A loop is a set of instructions that repeatedly executes a part of the program (the body of the loop) when the conditions are met.

2. What are the differences between a for loop, while loop, and do-while loop?

For loop is for fixed iterations and it always starts with initialization. In while loop, a condition is evaluated before executing the body of the loop. Meanwhile in do-while loop, the body of the loop is executed first before the condition is evaluated.

# data[].attributes.body
1. Loops is a feature used in programming that executes a command or an instruction repeatedly which makes programming convenient. There are three types of loops: the while loop, the for loop, and the do-while loop.

2. While loop checks the condition first before executing a statement. For loops and the while loops have the same function, but for loop has three main parts initialization, increment operation, and test condition. Do-while loops executes the statement until the condition becomes false.

# data[].attributes.body
Loops is a feature in java wherein it executes a part repeatedly depending on the given condition if it is true. This feature allows a program to be more efficient and clean as it helps us lessen the code written. There are 3 kinds of loops: For loop, While loop and Do-while loop. These loops generally have the same functions, but they differ in syntax and how they operate.

How do they differ?

For

Syntax:
for( initialization; test condition; increment/ decrement){
<statement/s>
}
Example:
For ( int counter=5; counter>=0; counter--)
The syntax of for loop is more compact compared to others, so it is good for nested loops.

While
Syntax:
while(condition)
{
<statement/s>
Increments/decrements
}
This loop first evaluates the conditions before executing it, if it is false it skips it and moves on to the next part.

Do-while
Syntax:
do
{
<statement/s>
}
while(expressiom);

Do-while loop is good for menu driven programs.
This loop runs the code before checking the condition

# data[].attributes.headline
Dale Latonio Grade 10 - St. Ignatius of Loyola

# data[].attributes.subject
Dale Latonio Grade 10 - St. Ignatius of Loyola

# data[].attributes.body
Loops are a set of instructions that repeat or reiterate a part of the program multiple times until a certain condition is met. It’s sort of a short-cut so that instead of manually rewriting a block of code multiple times, you can just use loops to save time and make your program more concise and efficient.

The difference between the three types of loops, while loop, for loop, and do while loop, is generally its syntax because of its use.

The while loop checks the condition at the beginning, unlike do while loop which checks it at the end. The for loop, unlike the while loop and do while loop, has a particularly different syntax because it condenses the three main parts which are the initialization, test condition, and increment/decrement operator. Another difference among the three is that while loops are used when the number of iteration is not fixed while for loops are used when the number of iteration is fixed. For the do while loop, it is used if the number of iteration is not fixed and you must have to execute the loop at least once.

# data[].attributes.headline
Clair Princess Jamzelle D. Elizalde, Grade 10 St. Ignatius of Loyola

# data[].attributes.subject
Clair Princess Jamzelle D. Elizalde, Grade 10 St. Ignatius of Loyola

# data[].attributes.body
1. Loops contain a set of instructions, which will be repeated until a set condition is met. They make programs more interactive and smarter as they make codes shorter, which lessens chances of error and make debugging easier.

2. For loop and while loop are entry-controlled loops, while the do-while loop is an exit-controlled loop. Thus, conditions are checked first in for and while loops before executing, while conditions are checked only after the first iteration in do-while loops.

# data[].attributes.body
A loop is a set of code that repeatedly executes what you want it to execute. Its somewhat like an if-else statement because of the condition checking then executing the statement.

The loop that stands out the most out of the three is the do-while, as it executes first before checking the condition, hence it being called an exit-controlled loop. The while and for loop does the opposite. The difference between the while and for loop is that in the while loop, the iteration is not fixed and in the for loop, it is fixed. However, its not entirely true how the for loop is only for fixed iterations as you are also able to use scanner in for loops.

# data[].attributes.body
1. A loop is a method in java where in a set of instructions are repeatedly executed until a specific condition is met.

2. The while loop is an entry-controlled loop, the most straight forward looping structure, and its iteration isn’t fixed. The for loop’s control statement is executed to a pre-known number of times. The do while loop is an exit-controlled loop and only checks if the condition is met after doing the statement first.

# data[].attributes.headline
Arc Bantasan, 10 - St. Ignatius of Loyola

# data[].attributes.subject
Arc Bantasan, 10 - St. Ignatius of Loyola

# data[].attributes.body
1) A loop is a set of instructions that keep on repeating until the condition is not met/followed. Loops enables programmers to not repear the same code over and over.

2) The while loop relies on the input of the user to know how many times it has to repeat. The for loop is the same as while loop except for the fact that there already is a set number of repitions. The do while loop checks the processes first then the conditions after.

# data[].attributes.body
1. A loop is a feature in Java that allows sets of instructions to be repeated until a certain condition turns false.

2. The difference between the three is for the whole loop, it is a loop that can continue repeating for an unknown number of times when a condition is met and until a condition turns false. For the for loop, it is a while loop but it is when you know how many iterations you will certainly make and you can initialize your variables in the loop itself while while loop needs an external initialization but you can also use this for an unknown number of times. It is also the loop used for nested loops. Finally for the do-while loop, it will do something first before you will evaluate a condition and repeat the code in the do part if it is true.

# data[].attributes.body
What is a loop in Java?

Loops are sets of instructions that are executed repeatedly until a specific condition is met or until the conditions do not apply.

What are the different kinds of loops?

The 3 kinds of loops are the While-loop, For-loop, and Do-While loop. The While-loop is an “entry controlled loop” where the conditions are evaluated before the body of the loop is executed/processed. The for-loop is similar to the while-loop except the syntax makes it that the initialization, test condition, and increment/operation is all in one line/parenthesis . And lastly, the do-while loop is an “exit controlled loop” where the body is processed before the conditions are evaluated.

# data[].attributes.headline
Anthon Gabriel P. Kintanar - 10 - Loyola

# data[].attributes.subject
Anthon Gabriel P. Kintanar - 10 - Loyola

# data[].attributes.body
What is a loop in Java?

A loop is a function that repeats a process or a set of instructions

What's the difference of for loop, while loop, and do while loop?

For - The for loop is an entry-controlled loop, and it repeats for a set amount

While - Entry controlled & not fixed

Do while - exit controlled loop; does the commands then checks if it complies with the condition.

# data[].attributes.body
What is loop in Java?

A loop in Java is a set of instructions that is executed repeatedly until the condition is false.

What are the key differences between For loop, While loop, and Do-While loop?

In For loop, it always starts with an initialization or declaration of a variable. While a While loop always starts with a condition, which is why it is called an entry-controlled loop. On the other hand, a Do-While loop ends with a condition, which is why it is called an exit-controlled loop. last but not the least, For loop is for fixed iteration of numbers while a While loop is for unknown or uncertain iteration of numbers.

# data[].attributes.body
What is a loop
-Loops repeat code

What are the differences between the 3 types of loops?

While loop- intialization is outside the parenthesis and put before the loop, and increments are put after the statement. The condition is the inly on in the parethesis.Variables are not fixed

For loop- intialization,condition and increment is inside the parenthesis. Variables are fixed.

Do while- The only exit controlled loop, condition is towards the end of the syntax. The loop ends when the condition is false.

# data[].attributes.body
Loops are to help make the code shorter by repeating the commands until the condition is not met

While loop - will be repeat the condition until false
For loop - used with a structure like the initialization, condition, increment
Do while- checks the conditions after doing the statements

# data[].attributes.body
1) A loop is a series of codes that is executed again and again if it satisfies a condition. It shortens your code and makes it more efficient.
2) A while loop is a set of codes where a condition is checked first then the statements are executed. It is entry-controlled. A do-while loop is the opposite: it executes the statements first then checks the condition. It's an exit-controlled loop. A for loop has three sections: initialization, test condition, and increment operation.

# data[].attributes.body
1. Loops are a feature in java that allows a body of code to repeat itself following a condition. They are more efficient because you don't actually need to write the code repeatly, instead the loop will do it for you. The loop will also continue to execute just as long as the condition is met.

2. The different types of loops are the while loop, for loop, and do while loop. The while loop is the simplest loop and it evaluates the condition before executing the body. The for loop is the same except its syntax is compacted into one line with the initialization, condition, and increments/decrements. The do while does the statement first then checks if the condition is met.

# data[].attributes.body
What is a loop?
A loop allows is a set of instructions to be repeated over and over again by going through and identifying the conditions stated.

What is the difference of for loop, while loop, and do-while loop?
In a while loop, the code first checks the condition before executing an action. In a do-while loop, the code first executes an action before checking the condition. A for loop is similar to the while loop, but it is done with a different syntax. A for loop is fixed while the while loop is not fixed.

# data[].attributes.headline
Alen Chandler Chu-Grade 10 St. Ignatius of Loyola

# data[].attributes.subject
Alen Chandler Chu-Grade 10 St. Ignatius of Loyola

# data[].attributes.body
1. What is a loop in java?
A loop in java is a set of instructions that is repeatedly executed until the given conditions are met.

2. What is the difference among the three loops?

Do-While Loop: A do while loop executes the statement or action before the condition of the loop. It is an exit-controlled type of loop.

While Loop: A while loop is the most straightforward loop structure and is an entry controlled loop where the action is only executed when the condition is met. If the condition is not true, it will automatically skip the loop.

For Loop: A for loop is a loop that has specified conditions and will only execute the condition if the given condition is met. If the condition is not true, it will automatically skip the loop.

# data[].attributes.headline
Monty Maximilian L. Co - Gr. 10 - Loyola

# data[].attributes.subject
Monty Maximilian L. Co - Gr. 10 - Loyola

# data[].attributes.body
1. A loop in Java is a set of instructions that are repeated until the condition proves false, which then allows the code to move to the part outside the bracket.

2. A for loop’s syntax is unlike other loops because it contains the initialization, the condition, and the increment all in one line, in a parenthesis after the for keyword. It is mostly used for fixed values, though through scanner class, it can still be used for unfixed values.

A while is one of the simplest loops because it simply checks the condition first, and then, if it’s true, it executes the code below. Once the value is false, it moves to the part below the curly line. It is also called Entry-Controlled Loop.

Lastly, unlike the other two, a do-while loop executes the condition first before checking the condition. It is also called the Exit-Controlled Loop and can be seen in menus created in Java.

# data[].attributes.body
What are loops in Java?
To put it simply, loops are a set of instructions that executes a set of functions repeatedly in a way that is interactive, may be entry-controlled, and depend on the conditions set. This way coders are able to print the same output in a conscise manner.

While Loop:
- Declaration and initialization are placed outside the loop.
- Condition is at the beginning of the loop code.
- Entry-controlled
- If the condition is false, it will not run the loops.

For Loop:
- Declaration and initialization are placed inside the loop.
- Creates a loop with 3 optional expressions
- If the condition is false, it will not run the loops.

Do While Loop:
- Declaration and initialization are placed outside the loop.
- Checks the condition after executing the codes

# data[].attributes.headline
Paola Cosido - 10 - St. Ignatius of Loyola

# data[].attributes.subject
Paola Cosido - 10 - St. Ignatius of Loyola

# data[].attributes.body
1. A loop is a set of conditions and statements that is repeated until a specific condition is met.
2. While loop - an entry controlled loop which checks the condition first and is executed if the condition is true.
For loop- it is composed of the initialization, condition and increment in one line.
Do-while loop- it is an exit control loop which checks the statement first before evaluating it's condition.

# data[].attributes.body
1. What is a loop in Java?

A loop in Java is a set of instructions that are repeatedly executed based on certain conditions.

2. What are the differences between a For loop, While loop, and a Do While loop?

A For loop is a fixed and straightforward loop that is compact and is usually used in nested loops.

A While loop is a loop that isn’t fixed and evaluates the program before executing the conditions. It is an entry-controlled loop.

A Do While loop is an exit-controlled structure loop that doesn’t evaluate the conditions first before executing them.

# data[].attributes.body
Loops in java allows the user to repeat a part of the code until said statement is met. It allows a more intetactive version and efficient lines of code, especially when using scanner classes. There are 3 types of loops: While, For and Do-While loop.

WHILE loop is similiar to an if statement as it is the easiest and its iterations are not fixed. It is an entry-controlled loop.

FOR loop requires exact iterations that will be met. It can be used for multiple loops.

DO - WHILE loop is an exit controlled loop. Unlike the others, it executes the code first before evaluating if the condition is true.

# data[].attributes.body
1. Loop is the execution of instructions or code repeatedly when the given condition is true. There are 3 different kinds of loops: For Loop, While Loop, and Do While Loop.

2. For Loop has three parts: initialization, test condition, and increment operation. While Loop repeats the code until the condition becomes false and does not contain a control variable. Do-While Loop runs the condition before checking if the condition is true or false.

# data[].attributes.body
Q: What's a loop?
- A statement that repeatedly executes the code in its inner scope.

Q: What's the difference between the types of loops?

- while loops and for loops essentially serve the same purpose. For loops are just more readable and are used in majority of cases.
- do while loops are just like other types of loops, but it's exit controlled so it's used if you need to iterate at least once.

# data[].attributes.body
1. A loop is a set of instructions that allows us to repeat a part of a program a number of times. They make the code smarter and more interactive.

2. In a For Loop, a control statement is executed a pre-identified number of times. A While Loop is an entry-controlled loop. It evaluates before processing the body of the loop. A Do While Loop is the opposite of a While Loop. It is an exit-controlled loop and evaluates after processing the body.

# data[].attributes.body
What is a loop in Java?
A loop is a set if instructions in Java that repeats a certain part of the program if its given condition is true. Loops can be associated with a routine you repeat everyday. It has 3 types, the for loop, the while loop, and the do-while loop.

# data[].attributes.headline
Avery Dela Cruz, Grade 10 - St. Ignatius of Loyola

# data[].attributes.subject
Avery Dela Cruz, Grade 10 - St. Ignatius of Loyola

# data[].attributes.body
1) Loops are a number of methods or instructions that can be executed multiple times, and this goes on until the following conditions or statements are being followed.

2) For loop reiterates a part of a program multiple times, while the while loop it is a entry controlled group that if a condition is true, then the body of a loop is executed. Lastly, the do-while loop is a exit controlled group that reads the statement first before the condition is being checked.

# data[].attributes.body
1. Loops are a set of steps/instructions that follow certain condition/s and will be repeatedly executed until the condition is not met.

2. The different types of loops are the while loop which is an entry-controlled loop and evaluates the condition before executing the body of the loop, the for loop, which is basically like the while loop but for a command which is pre-fixed or already has a determined number of repetitions, and the do-while loop which is an exit-controlled loop and processes the body before evaluating the conditions.

# data[].attributes.body
What is a loop in java?

is a set of instructions that is repeatedly executed

What are the differences between a for loop, while loop, and do while loop?

For loop - you know how many times it will be repeated

While loop - you do not know how many times it will be repeated

do while loop - It is a exit controlled loop

# data[].attributes.body
What is a loop in Java
>It is a way to repeat a certain task or tasks.

Differences between while, do-while, and for loop
>The while and do-while loop is used if the number of iterations are not fixed and the for loop is used when it is fixed. The difference between the while and do-while loop is that the while loop checks the condition at the beginning and the do-while checks it at the end.

# data[].attributes.body
What is a loop?

In my opinion a loop is used to repeat particular programs/conditions

What are the differences  between a for loop, while loop, and do while loop?

while loop is executed if a condition is evaluated. for loop performs a statement multiple times and do while loop will continue to execute until the given condition is true.

# data[].attributes.body
What is a loop?
- A loop in my own understanding is a command that is used to repeat a block of code.

What are the differences between while, for, and do while loops?
- While loops are used when you don't know how many times you want the code to repeat itself; For loops are used when you know how many times it will loop; and the do while loops are similar to while loops except it executes after the body of the loop.

# data[].attributes.body
In my understanding, a loop is when a condition or set of conditions is repeated.

When the conditions are uncertain or unknown, we use the while loop method. For loop, on the other hand, is the inverse of it in which the conditions are known. Finally, the do while loop is only executed after the body of the code.

# data[].attributes.body
A loop in my own words is a command that instructs the code  to repeat.

While loop checks the condition first and then runs the statement(s), do while loop performs the statement(s) at least once before checking the condition. The while loop is an entry-controlled loop, whereas the do while loop is an exit-controlled loop.

# data[].attributes.body
Loops are a tool for easy repetition

While loops are repeating without a targetted number, for loops have a fixed number, do while loops are the exit on the loops

# data[].attributes.body
Loop in my own words would be when you know how much your output would produce.

While Loop is a a condition stated in the start of the program
Do while loop is the one stated at the end of the program

# data[].attributes.body
A while loop continues until entered number is positive. A do while loop is after the body of a loop and used if the number of iteration is not fixed also known as a controlled loop. For loop is to iterate a part of the program  many times.

-John Steven A. Masapequeña 11

# data[].attributes.body
Q:
What is/are the key difference/s between while, do while, and for loop?

A:
While loop - you use it when uncertain or unfixed.
For loop - you use it when you know how many times it will be repeated
Do while loop - used when you need an exit controlled loop

# data[].attributes.headline
What is/are the key difference/s between while, do while, and for loop? ( Annica Mell N. Monroid )

# data[].attributes.subject
What is/are the key difference/s between while, do while, and for loop? ( Annica Mell N. Monroid )

# data[].attributes.body
While loop - the number of iteration is not fixed

For loop - the number of iteration is fixed

Do-While loop- the number of iteration is not fixed. You must execute the loop at least once.

# data[].attributes.headline
Mischa Ilen Leigh G. Ko - Grade 10 Gonzaga

# data[].attributes.subject
Mischa Ilen Leigh G. Ko - Grade 10 Gonzaga

# data[].attributes.body
What is LOOP in my own words?
- The loop method are instructions for repeated executed conditions.

What are the key differences between while, do-while, and for loop?
- The while loop is an entry-controlled loop, do-while is an exit-controlled loop, and for is when  controlled statements are fixed.

# data[].attributes.body
What are loops?

Loops are a set of instructions that are repeated. There are 3 types of loops, For loop, While loop, and do while. What these loops have in common is the fact that they repeat the statements or instructions that are set by the programmer.

What is/are the key difference/s between while, do while, and for loop?

In the while loop, the number of times the instructions and statements will repeat is uncertain. In the for loop and do while loop however, the number of times the instructions/ statements will repeat is certain and fixed. Unlike the for loop and while loop, the do while loop is actually an exit loop, the statements and instructions are done before checking the conditions. In the for loop and while loop however, the conditions are checked before the instructions and statements are executed.

# data[].attributes.body
𝘞𝘩𝘢𝘵 𝘪𝘴 𝘢 𝘭𝘰𝘰𝘱 𝘪𝘯 𝘺𝘰𝘶𝘳 𝘰𝘸𝘯 𝘸𝘰𝘳𝘥𝘴?

A loop, particularly in coding includes a command, with either an uncertain or pre-known number of repetitions.

𝘞𝘩𝘢𝘵 𝘢𝘳𝘦 𝘵𝘩𝘦 𝘥𝘪𝘧𝘧𝘦𝘳𝘦𝘯𝘵 𝘬𝘪𝘯𝘥𝘴 𝘰𝘧 𝘭𝘰𝘰𝘱𝘴?

The three types of loops are the for loop, while loop and the do-while loop. For loop has a fixed amount of repetitions, similarly-- or rather the opposite is the while loop, where the number of repetitions are uncertain. The do-while loop is where the conditions is always executed after the body of a loop.

- Princess Ashley Balansag, 10- Gonzaga
∘₊✧──────✧₊∘∘₊✧──────✧₊∘∘