糖心动漫vlog

Science

AP鈥檚 Newest Computer Science Course Has Attracted More Diverse Students

By Sarah Schwartz 鈥 April 15, 2025 5 min read
Side view of young  African girl programming electric toys and robots at classroom.
  • Save to favorites
  • Print
Email Copy URL

Encouraging students to pursue higher-level science, technology, engineering, and math courses requires deliberate planning, especially for those students historically underrepresented in those fields.

Schools can鈥檛 put more advanced courses on the schedule without teachers who feel confident taking on the material. And even then, simply offering such classes doesn鈥檛 necessarily mean students will enroll in them鈥攐r succeed.

But one Advanced Placement STEM course has overcome many of these barriers, .

When schools offered the relatively new AP Computer Science Principles course, more students took any AP computer science exam at the end of the year鈥攁nd the number of female, Black, and Hispanic exam-takers more than quadrupled, concludes the research from Stanford University.

鈥淲hat we鈥檙e seeing here strikes me as a really notable success in education policy,鈥 said Thomas Dee, a professor at Stanford University鈥檚 Graduate School of Education, and an author of the study. 鈥淚t suggests the promise of really intentional course design that instantiates high expectations and gets academically rigorous content in front of our kids.鈥

The College Board, the organization that runs the AP program, launched AP Computer Science Principles, or AP CSP, during the 2016-17 year, aiming to bring more Black, Latino, and female students into the field. It serves as an introduction to the discipline, exploring the core concepts that underlie computer science and its real-world applications鈥攊n contrast to the longer-standing AP Computer Science A course, which focuses more squarely on hands-on programming.

AP CSP has been one of the fastest-growing AP options over the past few years. Students who take it are more likely to declare STEM majors in college compared to their peers who didn鈥檛 have AP CSP available to them, the .

Now, the Stanford study shows that, at least in Massachusetts where the study was conducted, this rapid growth comes from more students who wouldn鈥檛 have otherwise taken computer science courses entering the discipline鈥攏ot from kids who would have taken AP Computer Science A opting to take the CSP course instead.

It鈥檚 possible, the researchers said, that offering AP CSP could have introduced new inequities into schools. Girls, and Black and Latino students, might have switched into鈥攐r been routed into鈥攖he CSP course instead of Computer Science A. The former is more introductory and contains less technical content.

鈥淭here鈥檚 a long history of worry about exactly that鈥攖he in-school stratification that can happen when there are different pathways to academic rigor,鈥 said Dee.

But that鈥檚 not what happened. The number of students taking AP Computer Science A remained mostly unchanged, while the number of kids taking the AP CSP test rose, the researchers found.

鈥淚f that continues, that鈥檚 hundreds of thousands, maybe millions, of kids who are exposed to rigorous computer science in high school,鈥 said Daniela Ganelin, a PhD student at Stanford and the lead author on the study.

How AP鈥檚 two computer science courses differ

The researchers compared two sets of schools in Massachusetts: 172 schools that offered at least one course in AP CSP, and 115 schools that only offered AP CSA. They examined the number of students who took any AP computer science exam鈥擟SP or CSA鈥攂etween the 2016-17 school year and the 2020-21 school year.

They found that in schools that offered AP CSP, schools reported on average an additional 16 computer science exams taken each year. These test-takers are a more diverse group than before, with more girls, Black students, and Hispanic students represented.

Still, the overall numbers of historically underrepresented students taking AP exams in the subject are small, said Dee. For example, in a typical AP CSA course in Massachusetts, data show one or two girls enrolled, compared to five girls in an AP CSP course.

鈥淚t鈥檚 a change that鈥檚 substantial, but often a very low base,鈥 he said.

The researchers also found an unexpected bonus: Schools that offered AP CSP saw more AP exam participation overall鈥攐ver and above the increase due to computer science exams alone.

Massachusetts鈥攚hich the researchers chose because of the state鈥檚 department of education鈥檚 detailed data on AP participation鈥攈as higher AP participation in general than other states. The effect of offering AP CSP could vary in other places.

The study didn鈥檛 investigate why exam-taking increased, but Ganelin offered some hypotheses. The designers of the course were 鈥渧ery intentional鈥 about making it accessible to all students, regardless of prior programming experience, she said. The College Board has also offered summer training programs for teachers to prepare them for the class鈥攕lightly more than half of 糖心动漫vlog teaching AP CSP don鈥檛 have a background in the subject.

鈥淚 think this is all very positive,鈥 said Doug Havard, an assistant professor of quantitative methods in the Attallah College of Educational Studies at Chapman University in Orange, Calif., whose research compares the two AP computer science offerings. (He was not involved with the Stanford study.)

Still, he offered some caution in assuming that students in AP CSP are receiving the same access to, and preparation for, STEM education as their peers in AP CSA, because of some of the design choices the course鈥檚 creators made.

Students in the AP CSP course don鈥檛 learn a designated programming language鈥攚hich differs from AP CSA, in which students work in Java, a commonly used programming language.

An AP CSP teacher at one school might use Scratch, a beginner language aimed at teaching kids and teens how to code, Havard said. Another teacher at a different school might teach students to work in Python, a general-purpose programming language that鈥檚 used by many large tech companies and government agencies.

Both groups of students might do well in the course, but they would leave it with different levels of preparation for college and the workforce, he said.

鈥淭he way that AP Computer Science Principles is written,鈥 Havard said, 鈥渋t could look very different in the same school setting with two different teachers.鈥

A version of this article appeared in the April 30, 2025 edition of Education Week as AP鈥檚 Newest Computer Science Course Has Attracted More Diverse Students

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
College & Workforce Readiness Webinar
Smarter Tools, Stronger Outcomes: Empowering CTE Educators With Future-Ready Solutions
Open doors to meaningful, hands-on careers with research-backed insights, ideas, and examples of successful CTE programs.
Content provided by 
Reading & Literacy Webinar Supporting Older Struggling Readers: Tips From Research and Practice
Reading problems are widespread among adolescent learners. Find out how to help students with gaps in foundational reading skills.
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
Reading & Literacy Webinar
Improve Reading Comprehension: Three Tools for Working Memory Challenges
Discover three working memory workarounds to help your students improve reading comprehension and empower them on their reading journey.
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 Opinion Science Is Losing the Battle for America鈥檚 Trust. How Schools Can Help
I grew up a creationist and became a science educator. Here鈥檚 what I know about building trust in science.
Amanda L. Townley
8 min read
A diverse group of people building a hall of science using scientific tools, blocks, and symbols.
Islenia Mil for Education Week
Science Want Students to Be Better in Science? Bolster Their Math Skills
Teachers share how they model problem-solving, build conceptual understanding of equations, and collaborate with math 糖心动漫vlog.
5 min read
Seniors at Thurgood Marshall Academic High School in San Francisco practice the use of a pipette as part of a STEM initiative on April 29, 2024.
Seniors at Thurgood Marshall Academic High School in San Francisco practice the use of a pipette as part of a STEM initiative on April 29, 2024. Science teachers say they often have to shore up students' math skills in their lessons.
Peter Prato for Education Week
Science From Our Research Center Nearly Half of Teens Can鈥檛 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鈥攑otentially setting them up for later success in the discipline.
Allison Shelley for All4Ed