Posts

UNDERSTANDING ABOUT CONTROL STRUCTURE

Image
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