Debt-to-Equity Ratio / Barbara Carlyle Case CFAI Topic Test

Is D/E ratio really calculated using BV of Debt and Equity?

In the last question of the case, the effect of share repurchase on D/E ratio is based on the BV of debt anf equity.