Ķvlog

Science

One Change That Can Get More Girls, Students of Color Taking Computer Science

By Alyson Klein — October 22, 2024 5 min read
Two teen girls, one is a person of color and the other is white, building something in a science robotics class.
  • Save to favorites
  • Print
Email Copy URL

More states are requiring students to take a foundational computer science class to graduate—employing a powerful policy lever to bridge long-standing gender, racial, and socioeconomic gaps in course enrollments, concludes on the state of computer science education.

But despite the increase in states requiring foundational computer courses for graduation, those disparities persist nationally, the report found.

“The biggest message is that graduation requirements, they work,” said Hannah Weissman, the senior director of policy for Code.org, a nonprofit that seeks to expand computer science education, including for marginalized student groups. “There’s a lot of great work going on in classrooms across the country, but if there isn’t that requirement for students to take computer science, we’re continuing to miss millions of students, and those students are primarily young women, primarily Hispanic and Latino students, and primarily low income.”

Girls are still less likely than boys to choose foundational computer science courses. About a third of high school students enrolled in such classes are young women, the report found.

And nationally, Hispanic and/or Latino high school students are 1.7 times less likely to take a computer science course than their white and Asian peers.

Overall, about 60 percent of high schools offer foundational computer science courses, up from 57.5 percent last year.

‘Pervasive stereotypes about who is good’ at computer science persist

Back in 2017, just one state—Nevada—had a computer science graduation requirement. In 2024, 10 additional states—Alabama, Arkansas, Indiana, Louisiana, Nebraska, North Carolina, North Dakota, Rhode Island, South Carolina, and Tennessee—have a requirement on the books, up from eight last year.

Three of those states—Alabama, Indiana, and Louisiana—added the requirement just this past year.

The requirement is still being implemented in most of those states, however. Two states—Nevada and South Carolina—required a foundational computer science course for students who graduated in 2023 or 2024. In other states, the requirements won’t kick in until the 2025-26 school year, at the earliest.

Overall, 6.4 percent of high schoolers enrolled in foundational computer science courses during the most recent school year in the 41 states for which data are available. That’s a slight increase from last year when 5.8 percent of students enrolled.

But it’s still far short of 25 percent of students enrolled in foundational computer science courses. That’s what the percentage would be if every student took foundational computer science at some point in their four-year high school career.

Even so, states with a graduation requirement have almost double the percentage of students enrolled in a foundational computer science class, 10.8 percent, compared to 5.2 percent for states without a graduation requirement, according to Code.org.

When states require computer science courses in order to graduate, they’re essentially saying, “let’s give everyone that basic exposure,” Weissman said.

Even though technology is a part of most students’ daily lives, “they still might not actually know what computer science means,” Weissman said. What’s more, “there still are pervasive stereotypes about who is good at it, who isn’t good.”

Students who take a course may be surprised by their interest in, or aptitude for, the subject, she said. “And then careers open up” in fast-growing areas like artificial intelligence and cybersecurity, she added.

“Before the first day of my first computer science class, I didn’t feel confident that I could be good at coding,” said Alexis Oh, a 10th grader in California, in a statement included in the report. “However, I can confidently say that with a great teacher, and supportive friends that share my interests, computer science is my favorite class and has helped me strengthen my creativity and problem solving.”

Gender, race, and income are big factors in who takes the courses

In addition to the gender gap, there are enrollment gaps between different racial groups, as well as between students from low-income families and financially better-off classmates, and English learners and their peers. Similar gaps exist for students in special education compared to those in general education.

  • White students make up 45 percent of the total student population and comprise about the same percentage of enrollment in computer science courses.
  • Asian students make up about 5 percent of students overall but are overrepresented in foundational computer science courses, where they comprise 13 percent of enrollment.
  • Hispanic students, meanwhile, make up 29 percent of the student population, but 20 percent of enrollment in foundational computer science courses.
  • Students from low-income families comprise 53 percent of students but make up 38 percent of those in foundational computer science courses.
  • English learners are 11 percent of the student population but 7 percent of those in foundational computer sciences classes.
  • And while 1 in 6 students has an Individualized Education Plan, one in 10 in foundational computer science courses do.

Notably, Black students are slightly overrepresented in computer science courses. They comprise 15 percent of the student population but make up 17 percent of enrollment in computer science courses.

That may be because some of the states that have embraced expanding computer science enrollment have sizeable Black populations, such as Alabama, Mississippi, and South Carolina, Weissman said.

Even though Black students are overrepresented overall in computer science, there’s still work to do, she added.

“I think it can be easy to see a graph and be like, ‘Oh, we reached parity. We’re done,’” she said. “That data looks different for different states. And so while on a national level, we have closed that participation gap, that is not the case in every state.”

Are elementary and middle school courses a computer science gateway for girls?

Meanwhile, the gender gap in computer science course-taking isn’t nearly as apparent among younger students.

About 8 percent of middle schoolers have taken a foundational computer science class in 31 states for which data are available, the report said. The gender breakdown in middle school is much more even than it is in high school, with girls making up 44 percent of enrollment in computer science classes, compared to 56 percent for boys.

That smaller gap in middle school is to be expected, Weissman said.

In some middle schools, computer science may be an elective, but there tend to be fewer electives for students to choose from than in high school, she added.

But students—including girls—who are exposed to computer science in elementary or middle school may be more likely to continue their studies in high school.

“We are very much expecting to see those positive benefits as we have more kids exposed in elementary school who then take a course in middle school and high school,” Weissman said.

Events

This content is provided by our sponsor. It is not written by and does not necessarily reflect the views of Education Week's editorial staff.
Sponsor
Teaching Webinar
Maximize Your MTSS to Drive Literacy Success
Learn how districts are strengthening MTSS to accelerate literacy growth and help every student reach grade-level reading success.
Content provided by 
College & Workforce Readiness Webinar How High Schools Can Prepare Students for College and Career
Explore how schools are reimagining high school with hands-on learning that prepares students for both college and career success.
This content is provided by our sponsor. It is not written by and does not necessarily reflect the views of Education Week's editorial staff.
Sponsor
School Climate & Safety Webinar
GoGuardian and Google: Proactive AI Safety in Schools
Learn how to safely adopt innovative AI tools while maintaining support for student well-being. 
Content provided by 

EdWeek Top School Jobs

Teacher Jobs
Search over ten thousand teaching jobs nationwide — elementary, middle, high school and more.
Principal Jobs
Find hundreds of jobs for principals, assistant principals, and other school leadership roles.
Administrator Jobs
Over a thousand district-level jobs: superintendents, directors, more.
Support Staff Jobs
Search thousands of jobs, from paraprofessionals to counselors and more.

Read Next

Science From Our Research Center Nearly Half of Teens Can’t Identify What Causes Climate Change. Why That Matters
Climate change is affecting many industries and students need a basic understanding of the concept to succeed in those fields, experts say.
7 min read
Scientists say that climate change makes storms like hurricanes more destructive. This 2022 aerial view of Fort Myers Beach, Fla. shows the aftermath of Hurricane Ian which made landfall as a Category 4 hurricane.
In this aerial view, heavily damaged mobile homes are seen in Fort Myers Beach, Fla., a month after Hurricane Ian made landfall as a Category 4 hurricane in 2022, causing an estimated $67 billion in insured losses. Experts say climate change is leading to more hurricanes and floods.
Paul Hennessy/Sipa via AP
Science Making Time for Science in Kindergarten Could Have a Big Payoff
When teachers in grades P-1 received high-quality curriculum and PD in science, students' scores rose, a new meta-analysis finds.
4 min read
First graders take a closer look at bees during a class lesson.
First graders take a closer look at bees during a class lesson. Science is often neglected in the early grades, but new research suggests that young students who are exposed early to science instruction do better on science exams—potentially setting them up for later success in the discipline.
Allison Shelley for All4Ed
Science Download How Teachers Are Motivating Students To Learn STEM (DOWNLOADABLE)
Teachers asked students what motivates them to work harder in STEM. Here's what they found.
1 min read
Diverse school children students build robotic cars using computers and coding.
iStock / Getty
Science From Our Research Center Students Say They Care More About STEM as They Get Older. Teachers Disagree
An EdWeek Research Center survey examined student motivation in STEM classes.
3 min read
Cropped from original illustration, silhouetted figures water a blooming STEM flower.
Danny Allison for Education Week