The study found that children as young as 6 think girls are less interested than boys in engineering and computer science.