Many basic homology arguments work just as well for cohomology even though maps go in the opposite direction. Verify this in the following cases:
(a) Compute Hi(Sn;G) by induction on n in two ways: using the long exact sequence of a pair, and using the Mayer--Vietoris sequence.
(b) Show that if A is a closed subspace of X that is a deformation retract of some neighborhood, then the quotient map X→X/A induces isomorphisms Hn(X,A;G)≈H~n(X/A;G) for all n.
(c) Show that if A is a retract of X then Hn(X;G)≈Hn(A;G)⊕Hn(X,A;G).