The three measures commonly used to assess the quality of an algorithm from the given options are:
- Time complexity - This measures how the time to complete an algorithm increases with the size of the input data.
- Resource consumption - This assesses how much memory or other resources the algorithm uses during execution.
- Reusability - This indicates how easily the algorithm can be reused in other applications or contexts.
The other options (number of lines and amount of variables) are not standard measures for assessing algorithm quality.