COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
turning themselves off
|
|
repeating commands
|
|
not working
|
|
doing jobs for humans
|
Detailed explanation-1: -The REPEAT (or RPT) command causes the next command to be processed the specified number of times if that command is one of the following: ALIGN, BLANK, CENTER, JUSTIFY, OVERLAY, and SHIFT. The operands of the RPT command are the same as those shown for the REPEAT command below.
Detailed explanation-2: -To repeat the same group of commands successively, use one of the loop structures. Several types of loops are available. Each type gives you a different way to exit the loop, based on a conditional test. Loop and loop-related commands reside on the Program Editor’s Control and Transfers menus.
Detailed explanation-3: -Repetition means repeating a sequence of instructions a certain number of times, or until some specific result is achieved. In programming terms this means loops of all kinds, such as repeat, for, while, until etc. (e.g. move dog 1 step forward; repeat until dog is in kennel then stop).
Detailed explanation-4: -Turtle can draw intricate shapes using programs that repeat simple moves. By combining together these and similar commands, intricate shapes and pictures can easily be drawn.