糖心动漫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 Leader To Learn From Computer Science for All: This District Leader Is Making It a Reality
An initiative to create and expand a computer science program pays big dividends in a Colorado district.
13 min read
Anna Otto, Computer Science and Online Learning Coordinator for Adams 12 Five Star Schools, and her 9-year-old son, Aiden, who was born prematurely at 28 weeks and lives with cerebral palsy, pictured at home in Longmont, Colo., in Dec. 17, 2024.
Anna Otto, the computer science and online learning coordinator for the Adams 12 Five Star school district in Colorado, and her 9-year-old son, Aiden, who was born prematurely at 28 weeks and lives with cerebral palsy, at home in Longmont, Colo., on Dec. 17, 2024. Otto's passion for computer science is inspired, in part, by the role it has played in her son's ability to walk independently.
Jimena Peck for Education Week
Science Q&A Closing the Gender Gap in Computer Science Starts With Student Input
Girls are less likely to take computer science then their male peers. Designing classes that appeal to them can help close the gap.
4 min read
Anna Otto, Computer Science and Online Learning Coordinator for Adams 12 Five Star Schools, visits a 5th grade class at Glacier Peak Elementary School in Brighton, Colo., on Dec. 9, 2024. Otto leads the development of the district's K-12 computer science pathway, integrates digital literacy into core subjects, and collaborates on creating AI guidelines and professional learning initiatives for the district.
Anna Otto, the computer science and online learning coordinator for the Adams 12 Five Star school district in suburban Denver, visits a 5th grade class at Glacier Peak Elementary School in Brighton, Colo., on Dec. 9, 2024.
Jimena Peck for Education Week
Science LEGO Education鈥檚 Latest Offering: The Building Blocks of Science Lessons?
The toymaker plans to release units that inch closer to a core curriculum.
3 min read
Lego Classroom
Courtesy of LEGO Education
Science The STEM Stereotypes That Hold Students Back Aren't What You Think
Girls may not underrate their math performance compared to boys, after all. But math-oriented sciences are a different matter.
3 min read
Two Female College Students Building Machine In Science Robotics Or Engineering Class
iStock/Getty