COMPUTER SCIENCE AND ENGINEERING
ALGORITHMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Iteration.
|
|
Repetition.
|
|
Selection.
|
|
Sequence.
|
Detailed explanation-1: -The basic Control Structures in programming languages are: Conditionals (or Selection): which are used to execute one or more statements if a condition is met. Loops (or Iteration): which purpose is to repeat a statement a certain number of times or while a condition is fulfilled.
Detailed explanation-2: -In selection control structures, conditional statements are features of a programming language which perform different computations or actions depending on whether a programmer-specified Boolean condition evaluates to true or false.
Detailed explanation-3: -She explains that every step must be followed in order and that no steps may be skipped. She shows the errors that will occur if the order is mixed or steps are skipped. This type of programming structure is known as: sequence.
Detailed explanation-4: -Sequence is the default control structure; instructions are executed one after another.