UNDERSTANDING ABOUT CONTROL STRUCTURE
UNDERSTANDING ABOUT CONTROL STRUCTURE


Sept 13, 2020
Dr. Mengvi Gatpandan
Understanding Control Structures
A control structure is like a block of programming that analyses variables and chooses a direction in which to go based on given parameters. The term flow control details the direction the program takes (which way program control "flows"). Hence it is the basic decision-making process in computing; It is a prediction.
Decision Making Structure
A decision structure is a construct in a computer program that allows the program to make a decision and change its behavior based on that decision. The decision is made based on the outcome of a logical test. A logical test is a calculation whose outcome is either true or false.

Looping Structures
loop structures allow you to run one or more lines of code repetitively. You can repeat the statements in a loop structure until a condition is True , until a condition is False , a specified number of times, or once for each element in a collection. And there are three kinds of loops the next loops, do loops and while loops.

The explanation is clear as it discuss the important things about control structures. Thank you for sharing your knowledge
ReplyDeleteThank you Bro! I learned something, hope I'll see more of your blogs :))
ReplyDelete