- What is looping control flow allowing us to do?
Looping allows you to run a piece of code multiple times. - Describe what “loops” do in your own words.
They allow you to go back to another point in the program and repeat as many times as the expression is still true. - What is the difference between while and do-loops?
A do will execute the code at least once then check the condition for the loop whereas the while will check the condition first before executing any code.
What is indentation?
Indentation is used to structure the code and make it easier to read.
-
What is looping control flow allowing us to do?
looping control flow allows us to get already executed code to repeat that execution in a loop -
Describe what “loops” do in your own words.
Loops are basic instructions that you are telling a program to repeat a function until a desired solution is provided. -
What is the difference between while and do-loops?
A while loop is a loop that functions as long as the expression requested is true, a do loop repeats the same function until a false expression is produced. -
What is indentation?
Indentation is how to utilize the open space in your code to make it look readable and polished with tab or space.
What is looping control flow allowing us to do?
Looping control allows us to go back to some points in the program where we were before and allow us to repeat our current program state.
Describe what “loops” do in your own words.
They make coding easier without unnecessarily repeating every lines of codes to create a whole new statement.
What is the difference between while and do-loops?
While-loop keeps entering the statement as long as the expression produces a value that gives true when converted to boolean, the Do-loop executes at least once and it start testing whether it should stop only at first execution.
What is indentation?
Indentation makes the structure of our work easier to read, give it a structure to look at and well arranged, it doesn’t matter the indentation whether its one line one chose to write his codes, the codes will execute but indentation gives the body of work a structure.
- It allows us to go back to some point in the program where we were before and repeat it with our
current program state. - It allows the programmer to make a piece of code to repeat itself until a certain condition is met.
It can also repeat it self to infinity which is not advised because it will use a lot of memory and
can make a browser or a web page to crash. - There is only one difference:
A do-loop always executes it’s body at least once, and it start testing whether it should stop only
after the first execution. - Indentation is when tabs and spaces are used to make the code more readable.
-
A loop control flow allows us to repeat a previous code until the condition has been met, for example, if it’s true.
-
A loop is when a code repeats all the time. It stops repeating only if you tell it to stop otherwise it will go on forever. The code will stop if the condition is evaluated to true or if you use the break statement.
-
A while loop checks if the statement is true before it can start with the loop. a do-loop runs the code at least one time before it tries if the loop should stop the execution.
-
Indentation is when you add spaces and start at a new column after one code is finished. Indentation doesn’t affect the program, it’s used to make the structure of the code stand out to make it easier for you or someone else to know where the code starts and where it ends.
-
The looping control flows allows to jump back in the program and repeat it.
-
Loops allows the programmer to repeat the same or similar code several times. This number of times could be defined or reached if a certain requirement is met.
-
The piece of code inside a do loop is first executed and then the condition is checked. This means that the code within the do loop is executed once in any case. The while loop checks at the beginning if a certain condition is fulfilled. If this is not the case it could happen that the code inside the while loop never will be executed.
-
Indentations are used for making the lines of code more understandable and readable (for other persons but also for you). With indentations you can structure your code so that it fits to your block structure. It can be clear seen where for example a loop starts and ends. It is extremly useful when you have nested loops.
1 / Allows us to go back to some point in the programme where we were before and repeat it with our current programme state.
2/ Loops allow programme to loop back to the question if nothing is input until something is inserted.
3/ It differs in one point. A do-loop always executes its body at least once, and it starts testing wether it should stop only after that 1st execution. To reflect this, the test appears after the body of the loop.
4/ Indentation makes the structure of the code stand out. With proper indentation the visual shape of the programme corresponds to the shape of the block inside of it.
- What is looping control flow allowing us to do? Looping allows us to repeat certain statements until a specified condition is met.
- Describe what “loops” do in your own words. A loop performs statements until a counter or the break statement tells the loop to repeat or drop out of the loop.
- What is the difference between while and do-loops? A do loop always performs the first statements, where the while loop performs the statements while the condition is true.
- What is indentation? Indentation is the use of tabs/ spaces to make code more legible but is not required by the compiler.
- What is looping control flow allowing us to do?
It allows the program to go back to the start of condition and execute it again and again until the requirement is met. - Describe what “loops” do in your own words.
It repeats the code until condition is fulfilled. Only when it’s met, the program can continue with the code outside the loop, unless it meets a break. - What is the difference between while and do-loops?
Main difference is that do-loop executes at least once, and tests if it should stop only after the first execution. While loop keeps executing until its argument is false. - What is indentation?
Blank spaces in the code to keep its structure readable easier.
-
Looping control allows us to go back to some point in the program where we were before & repeat it with our current program state.
-
Loops gives its keywords the ability to re run codes multiple times to get different expressions. They require a solution to be complete. So it can go to the next code & complete the next code.
-
A do loop always execute its body at least once. & it start testing whether it should stop only after that first expression. The while loop will repeat the entire body rather then just the first expression an unknown number of times.
-
Makes the structure of the code stand out. In new blocks. Making it more clear to see where the code is vs. the conditions set for the code
-
“Looping control flow” allows us to repeat the same lines of code within a program until a certain condition is met. The so called “Loop” can also change values every time it repeats itself and will continue doing so until a stopping condition is reached.
-
“loops” can take away a lot of repetitive work by repeating a simple task for as long as we need it to. The program can change and add values with every loop it does until the condition is reached were we don´t need it to loop anymore.
-
A while loop only runs, if a certain condition is met and will do so as long as the condition exists. A do loop on the other hand will always run the code inside of it atleast once and will loop for as long as the condition is met to loop.
-
Indentations are for the programmers themselves only, they help bringing more visibility and clearness to the program structure. Indentations can be made using space or tab.
Using no proper indentations can lead to confusion and a hard to look into code, especially if someone else has to look at your code.
Indentations themselves have no impact on how the program runs.
-
“Looping control flow allows us to go back to some point in the program where we were before and repeat it with our current program state.”
-
Loops let us repeat formerly written code (so that we do not have write it out again and again and again) and add, remove, or alter different things about that previous code before the program continues on.
-
“a do loop always executes its body at least once, and it starts testing whether it should stop only after that first execution.” From what I understand a while loop will not do this.
-
Indentation of code refers to the spacing and placement of code. It is not required for the computer to run the code, but it will help humans to better be able to understand and read your code if it is more condensed and aesthetically pleasing to look at.
-
What is looping control flow allowing us to do?
It allows to repeat a sequence of code until an exit criterion is met. -
Describe what “loops” do in your own words.
A loop repeats a sequence of code until an exit requirement is met. -
What is the difference between while and do-loops?
A do loop will execute at least once and then check the exit expression. The while loop checks the requirement statement at the very beginning. -
What is indentation?
It is adding or removing a margin (spaces or tabs) at the left of a line to align the code to visually represent the code hierarchy.
-
To go back to some point in the program where we were before and repeat it with our current program state.
-
Looping allows us to tell the computer to do a task repeatedly until a specified time.
-
While loops operate completely on a conditional basis, Do loops always runs it’s code at least once before checking it’s conditional bounds.
-
Indentation while has no effect on how the computer sees the code, it is more appeasing to the human eye to behold uniformity rather than randomness.
- Looping control flow allows us to go back to some point in the program and repeat it with the current program state.
- Loops allow for calculations or functions to be repeated many times without having to code each execution separately.
- A While loop only executes of the conditional statement is true. The Do loop will always execute at least once because the conditional statement is at the end.
- Indentation is used to help make a program more readable. Code blocks are indented to stand out.
- Looping control flow allows us to go back to a previous part of the program and repeat it with our current program state.
- Loops can run or execute a piece of code numerous times.
- A While loop executes based on a Boolean outcome (true/false), A do-loop always executes once and then tests whether it should continue.
- The role of indentation is to make the code stand out. This is done by adding uniform space and breaks.
- Looping control flow is like a feedback loop, making a route backwards in a point in the code and using the current state to execute that part of the code.
- Loops re-execute a portion of code until a boolean logic is satisfied, at which point the loop is exited. Note that break can also be used to immediately exit a loop.
- while and do loops perform the same function, the only difference is that the do loop will alway execute its body at least once.
- Indentation is a way of organising/presenting code so that it is easier to read and identify where blocks start and end.
- What does looping control flow allowing us to do?
Looping control flow allows us to go back to some point in the program where we were before and repeat it with our current program state.
- Describe what “loops” do in your own words.
Looping is a way to execute an action using data from different cells to create a bulk project. For example, if you want to address 5000 letters, and you have the names, and the letters are written, you could use a loop to attach all the correct names in the slot titled var = name, and name== … then your loop: David, Johnny, Ivan, …
- What is the difference between while and do-loops?
Both count the number of revolutions that the execution loops. “while” counts, while “do” continually loops
- What is indentation?
The role of this indentation inside blocks is to make the structure of the code stand out. In code where new blocks are opened inside other blocks, it can become hard to see where one block ends and another begins. With proper indentation, the visual shape of a program corresponds to the shape of the blocks inside it. I like to use two spaces for every open block, but tastes differ—some people use four spaces, and some people use tab characters. The important thing is that each new block adds the same amount of space.
-
What is looping control flow allowing us to do?
Looping control flow allows us to go back to some point in the program where we were before and repeat it with the current program state -
Describe what “loops” do in your own words.
Loops execute the same lines of programs with different variables to reduce the work we need to do. -
What is the difference between while and do-loops?
DO loops will surely be executed at least once in the code because that loop checks the condition at the end of it’s body, when it already ran it’s content once. -
What is indentation?
Identation is moving the code in editor a certain number of spaces to the right in orded to indicate nesting and sub-routines? It’s a visual aid for anyone looking at the code as it appears more logically sctructured and easier to see what’s going on.
-
What is looping control flow allowing us to do?
This allows us to execute a piece of code multiple times. -
Describe what “loops” do in your own words.
Loops look at a command and execute it until the loop reaches an output that returns ‘false’. -
What is the difference between while and do-loops?
They both execute code multiple times, but a do-loop will execute the first iteration of the code regardless of whether the boolean is true or false. -
What is indentation?
Indentation is placing different sections of code inset in from the left margin. This is best practice in writing code so that humans can read it. The computer does not care about indentation.