7. What Chinese dynasty had the first written record of using the compass on ships?
A. The Northern Qi dynasty
B. The Northern Zhou dynasty
C. The Northern Wei dynasty
D. The Northern Song dynasty