Star Formation History and Stellar Metallicity Distribution in a Cold Dark Matter Universe