Chapter 4: Problem 1
What is a control structure?
Short Answer
Expert verified
Answer: A control structure is a programming concept that manages the flow of code execution by selectively or repeatedly executing a block of codes based on specific conditions. The three basic types of control structures are Sequential, Selection (or Decision), and Iteration (or Loop). Sequential structure involves executing statements in the order they appear in the code, Selection structure allows the program to choose between multiple execution paths based on conditions, and Iteration structure repeats a section of code as long as a certain condition is met.