Pan heads are slightly rounded with short vertical sides. Spanner (a.k.a. snake eyes) is a tamper resistant drive that requires a special driver to install.
Driver bits are available in various drive types and bit styles.
Screws with machine threads for use with a nut or in a tapped hole.
Screws with an Allen wrench drive.