Quick Answer
1 US cup of all-purpose flour is about 125 grams.
That means 1/2 cup is about 63 grams, 1/4 cup is about 31 grams, and 2 cups is about 251 grams.
Flour compacts easily, so spooning and leveling is more consistent than scooping straight from the bag.