The thalamus, hypothalamus, and pituitary gland are located in the: A. cerebellum. B. cerebral cortex. C. medulla. D. diencephalon.