FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A loop is
A
a list of steps
B
a forward move in program
C
a sequence of steps that is repeated
D
a turn to the right in a program
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: -In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached. Typically, a certain process is done, such as getting an item of data and changing it, and then some condition is checked such as whether a counter has reached a prescribed number.

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

Detailed explanation-4: -Repetition structures may repeat the code a definite number of times (usually for loops) or an indefinite number of times (usually while or do while loops).

Detailed explanation-5: -Repetition statements are called loops, and are used to repeat the same code mulitple times in succession.

There is 1 question to complete.