One molecule of glucose can yield 36 ATP after glycolysis and aerobic respiration.
This question is a bit tricky. Glucose can produce a total of 38 ATP after glycolysis in aerobic respiration but it will need 2 ATP because you need ATP to move NADH to mitochondria so it will yield net amount 36 ATP. Sometimes, 2 ATP in the preparatory phase is also subtracted resulting in 34 ATP.