Green’s Dictionary of Slang

dog n.11

[initial letters]

(US campus use) the grade D.

[US]Baker et al. CUSS.
[US](con. 1964–8) oral testimony in Lighter HDAS I 368/1: When I was in college an A was an ace, a B was a bang, a C was a cat or a hook, a D was a dog, an F was a frog. B+ was a bang and a half.
[US]Eble Campus Sl. Oct. 2: Dog [...] the grade D.
[US]Eble Sl. and Sociability 37: Ace ‘the grade A’, Dog ‘the grade D’, and Zoo ‘the lowest grade possible, Z’ are straightforward expansions.