Computer Science, asked by sudheksha, 11 months ago

what is the importance of the three programming constructs in python ​

Answers

Answered by rockasit
55

Explanation:

PROGRAM CONSTRUCTS. All programming language utilise program constructs. In imperative languages they are used to control the order (flow) in which statements are executed (or not executed). There are a number of recognised basic programming constructs that can be classified as follows: Sequences (First Floor)

Answered by Anonymous
2

The constructs are the selection, iteration and sequence.

  • The importance of these constructs is -
  1. Sequence - It is the order in which instructions are received and processed. It is critical since carrying out instructions in the wrong sequence causes a program to malfunction.
  2. Selection - When a program is carried out, it dictates the path to be chosen. Making a decision is the process of selection and the outcome of the process determines the future course of action for the program.
  3. Iteration - it is the repeated effect of a segment of co de. It can be count controlled or condition controlled and it helps to simplify a program.
Similar questions