Here's an extra technique that produces nice quads on certain amounts of segments that wasn't mentioned yet; 1) use the Border selection mode to select the open edge 2) deselect two opposing edges 3) hit the "Bridge" tool
@Millenia: This method can also be used, but I experienced some issues when creating high poly (sub-D) models from it. I normally prefer a "centerpoint-cap", even if this creates one additional vert and some more polys.
Go to "border selection" (Default key 3), select one edge of the hole, all other should be selected automatically) and then click on "cap" in the Edit Rollout. This will fill the hole with a single n-gon. You can then go to vertex mode (default: 1) select the vertex and use connect to create 4-sided Polygons. Another…