COMPUTER NETWORKS AND COMMUNICATIONS
INTERNET AND WEB TECHNOLOGIES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Conditional
|
|
Function
|
|
Loop
|
|
Arithmetic
|
Detailed explanation-1: -You set up a condition. The condition is tested at the top of each loop. If the condition is true, the loop repeats. If the condition is not true, the loop stops.
Detailed explanation-2: -Repetition statements are called loops, and are used to repeat the same code mulitple times in succession.
Detailed explanation-3: -In most computer programming languages a do while loop is a control flow statement that executes a block of code and then either repeats the block or exits the loop depending on a given boolean condition.
Detailed explanation-4: -Iterative statements are also known as repetitive statements or looping statements. A looping statement is used when the program requires a statement’s execution (or the repeated execution of a set of statements) until some condition for loop termination is satisfied.
Detailed explanation-5: -for loops are used when you have a block of code which you want to repeat a fixed number of times.