4. The syntax of an if statement is: if : statement1 statement2

1. In programming, refers to the order in which statements are executed.

2. statements are used to control the flow of a program based on certain conditions.

7. The statement is used when there are multiple possible cases and a different action needs to be taken for each case.

6. The syntax of an if-else statement is: if : statement1 statement2 else: statement3 statement4

8. In Python prior to version 3.10, the switch statement used to be implemented using the ladder.

5. The if-else statement allows for execution paths.