is 0.789 rational because the decimal terminates, or because the decimal does not terminate

0.789 is rational because it can be expressed as a fraction of two integers. In this case, it can be written as 789/1000, which is the fully reduced form of the fraction. The fact that the decimal terminates is just an additional characteristic of rational numbers, but it is not the only requirement.