COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Put on socks, put on shoes, put on coat
|
|
Put on coat, put on shoes, put on socks
|
|
Put on socks, put on coat, put on shoes
|
|
None of the above
|
Detailed explanation-1: -Sequencing is the sequential execution of operations, selection is the decision to execute one operation versus another operation (like a fork in the road), and iteration is repeating the same operations a certain number of times or until something is true.
Detailed explanation-2: -The basic elements of an algorithm are sequence, selection, and iteration.
Detailed explanation-3: -Sequencing is the specific order in which instructions are performed in an algorithm. For example, a very simple algorithm for brushing teeth might consist of these steps: put toothpaste on toothbrush. use toothbrush to clean teeth.
Detailed explanation-4: -When designing algorithms, it is important to make sure that all the steps are presented in the correct order. This is known as sequencing, and can be displayed in pseudocode or flowcharts.