The kid is not in school and she hardly ever (if ever) interracts with anyone besides nannies and her "family", so if she knows the F word, she would have had to have learned it at home.