Question from the Machine Learning Algorithms test

How is the quality of a representation of a variable measured?