CMB and SNe

Are cosmic microwave background measurements enough to claim spatial flatness and supernova measurements sufficient for claiming accelerated expansion of a FLRW-metric?

bonus question: If a set contains \(n\) elements, how many subsets can you form? Can you prove this relation with combinatorial arguments and with induction?