Answer:
Question 16
Option C is correct.
For if statements to work in Python you must indent their code block.
In python, if statements are used for decision making. For this purpose, the body o if statement is indented. It tells the compiler where the body starts and where it ends. This means when an if statement is followed by an indent it is if body and which line is non indented, it will be the end of if body.
Question 12
Algorithms:
- can perform logical operations
- produce a result
- can be done by a computer
Basically algorithms are a set of well-defined instructions which are computer applicable and they perform computations to solve problems.
I hope it will help you!