To represent the number of points needed for Kendra to earn a B in her science class, you can simply express one-eighth of a point as a rational number.
One-eighth can be written as:
\[ \frac{1}{8} \]
Thus, the rational number that Kendra needs in order to get a B in science class is \(\frac{1}{8}\).