FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WHAT IS WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What statement are used frequently in scripts to set up a block of statements that repeat?
A
Conditional
B
Function
C
Loop
D
Arithmetic
Explanation: 

Detailed explanation-1: -In python, a while loop is used to execute a block of statements repeatedly until a given condition is satisfied.

Detailed explanation-2: -A while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The while loop can be thought of as a repeating if statement.

Detailed explanation-3: -For Loops in JavaScript The for loop is an iterative statement which you use to check for certain conditions and then repeatedly execute a block of code as long as those conditions are met.

Detailed explanation-4: -you can use second for loop. in the second loop write how many times do you want to repeat first loop. Also you can use while loop.

Detailed explanation-5: -A for-loop is a control flow statement which is used to execute a block of code a number of times. The flow of the for-loop is specified after each execution of the code block (called an iteration).

There is 1 question to complete.