At one point, Justice Sonia Sotomayor raised doubts about how much Americans are being taught about civics in schools.