To do this action
Use this shortcut
Hide or show the Dock
Command-Option-D
Change the size of the Dock
Drag the dividing line
See a Dock item's contextual menu
Control-click an icon in the Dock
Quit an open application
Click a running application's icon and choose Quit
Force-quit an application
Option-click a running application's icon and choose Force Quit
Switch from one open application to the next
Command-Tab
To reverse the order of switching between applications
Command-Shift-Tab
Hide the active application
Command-H
Quit the selected application
Command-Q
Force an application to open when you drag a document into it
Command-Option