FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
a sequence of instructions that is continually repeated until a certain condition is reached
A
variable
B
function
C
conditional statement
D
loop
Explanation: 

Detailed explanation-1: -A loop is a sequence of instructions that is repeated until a certain condition is met. An example would be the process of getting an item of data and changing it, and then making sure some condition is checked-such as if a counter has reached a prescribed number.

Detailed explanation-2: -A nested loop allows us to repeat along two dimensions.

Detailed explanation-3: -The while loop is used to repeat a section of code an unknown number of times until a specific condition is met.

Detailed explanation-4: -An infinite loop is a sequence of instructions in a computer program which loops endlessly, either due to the loop having no terminating condition, having one that can never be met, or one that causes the loop to start over.

Detailed explanation-5: -A set of instructions in a program that are repeated until interrupted. The main event loop in an application is an example. The loop keeps repeating until a keyboard, mouse or tap event occurs.

There is 1 question to complete.