FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is Selection?
A
Repeating a number of steps
B
A decision point in a program
C
The order in which instructions are carried out
D
None of the above
Explanation: 

Detailed explanation-1: -Example. A person is given five small bags of popcorn. After eating the each bag, then they have a decision-point as to whether to open the next bag. Another person is given two bags of popcorn, containing in total the same amount of popcorn as the first person had in five bags.

Detailed explanation-2: -Decision making is the process of making choices by identifying a decision, gathering information, and assessing alternative resolutions. Using a step-by-step decision-making process can help you make more deliberate, thoughtful decisions by organizing relevant information and defining alternatives.

Detailed explanation-3: -Decision making statements contain conditions that are evaluated by the program. If the condition is true, then a set of statements are executed and if the condition is false then another set of statements is executed.

There is 1 question to complete.