Final answer:
The hypoglossal (XII) nerve is classified as motor according to function. It controls the muscles of the tongue, allowing for movements and functions such as speech and swallowing.
Step-by-step explanation:
The hypoglossal (XII) nerve is classified as motor according to function. It is responsible for controlling the muscles of the tongue, except for the palatoglossus muscle. The hypoglossal nerve allows for movements of the tongue, such as protrusion, and is important for speech and swallowing.