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

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

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

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