COMPUTER NETWORKS AND COMMUNICATIONS
INTERNET AND WEB TECHNOLOGIES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
for loop
|
|
while loop
|
|
do.while loop
|
|
beef loop
|
Detailed explanation-1: -The correct answer is If-Else. If-Else is not a type of loop in C. The if-else statement in C is used to perform the operations based on some specific condition. The operations specified in if block are executed if and only if the given condition is true.
Detailed explanation-2: -In Java, there are three types of loops: for, while, and do-while. The for loop is used for a known number of iterations, the while loop is used for an unknown number of iterations based on a condition, and the do-while loop is similar to the while loop, but the code block is executed at least once.
Detailed explanation-3: -Continue is not a looping statement.
Detailed explanation-4: -Which of the following is not used as loop in Python? Explanation: do-while loop is not used as loop in Python.
Detailed explanation-5: -1 Answer. The best explanation: WHILE is a loop statement.