Some professors may want more information, i.e. the assignment number, question chosen etc. Ask your professor for specific instructions. Make sure you spell his or her name correctly. On the cover page you write the identification details plus your title. The easiest way to present a cover page is with the details written in the center of the page with the title either above or below.
Some people like to be a little more creative and add graphics.
You can experiment a little with your cover page, but remember that it is primarily for information - don't get carried away and obscure the purpose. Plain white paper with the details in the middle will do the job every time.