12 Computer Science Programs for High School Students

Start with Harvard's free CS50x. For summer 2027, apply to CMU's CS or AI Scholars or MIT's Beaver Works. Costs, eligibility and deadlines for 12 programs.

Written by
Last updated
October 28, 2026
11
minute read
Research Programs
Tasmir Aziz
Tasmir Aziz
M.S., Oxford University
Tasmir Aziz, Contributing Writer at Nova Scholar, holds an M.S. from Oxford and has mentored 100+ students on research ideas and college essays.
About the author

Start with Harvard's CS50x, a free online course that assumes no coding experience. For summer 2027, the strongest free programs are Carnegie Mellon's CS Scholars and AI Scholars and MIT's Beaver Works Summer Institute. CMU's programs are fully funded for students who document financial need, and Beaver Works is free when family income and assets are under $200,000.

We picked these 12 because each involves coding or computing research, takes high school students in 2026-27 and posts its cost and eligibility online. For free summer programs in other sciences, see our list of free summer STEM programs for high school students.

Facts checked October 2026. Dates are for summer 2027 or the 2026-27 school year. Where a program hasn't posted them, we give its latest dates and say so.

12 computer science programs at a glance

  • Harvard's CS50x: beginners age 12 and up; free; start any time (2026 work is due December 31, 2026)
  • MIT's 6.100L: beginners who like math; free; start any time
  • freeCodeCamp: students who want to build websites or learn Python; free; start any time
  • Codecademy: students testing whether they like coding; free Basic plan, Plus from $14.99 a month; start any time
  • Girls Who Code Pathways: girls and nonbinary students in grades 9 to 12; free; apply online, no deadline posted
  • Stanford Online High School: students who want a full school course online; $6,380 per course in 2026-27 (2027-28 tuition not posted); January 7, 2027
  • Carnegie Mellon CS Scholars and AI Scholars: current 10th graders (CS) and 11th graders (AI) with documented financial need; fully funded; February 1, 2027
  • MIT Beaver Works Summer Institute: 10th and 11th graders in US schools; free or $3,000, depending on family finances; online prerequisite opens February 1, 2027
  • Stanford AI4ALL: current 9th graders; $4,120 online or $9,800 residential in 2026, with need-based aid; 2027 deadline not posted (2026's was February 6)
  • Harvard Secondary School Program: students who are 16 by June 13, 2027; $4,180 to $15,980; January 13, 2027 (early) or February 10 (regular)
  • USA Computing Olympiad (USACO): anyone, from beginners up; free; 2026-27 contest dates not posted yet
  • NIST SHIP: US citizen juniors and seniors living near NIST's Maryland or Colorado labs; no fee, unpaid; end of January 2027

What are the best free online programming courses for high school students?

The best free online programming courses for high school students are Harvard's CS50x and MIT's 6.100L, which starts directly in Python. For web development, try freeCodeCamp; Codecademy's free plan is a quick trial, and Girls Who Code Pathways adds a community and career events.

1. Harvard's CS50x

  • Deadline: none to start; CS50x 2026 work must be submitted by December 31, 2026
  • Who can take it: anyone; the CS50x FAQ suggests ages 12 and up, and two thirds of CS50 students have never taken CS
  • Cost: free, including the CS50 certificate; edX sells a verified certificate
  • Format: lectures and a problem set for each week of material, covering Scratch, C, Python, SQL, web basics and AI, then a final project
  • Official page: CS50x 2026

To earn the free certificate, you need at least 70% on every problem set and on the final project (CS50's certificate page). Work you finish in 2026 carries into 2027.

2. MIT's Introduction to CS and Programming Using Python (6.100L)

  • Deadline: none; start any time
  • Who can take it: anyone; MIT built it for students "with little to no programming experience"
  • Cost: free
  • Format: lecture videos, problem sets and short "finger exercises" from MIT's fall 2022 class, taught in Python 3
  • Official page: 6.100L on MIT OpenCourseWare

There are no deadlines, so it suits you if you can keep your own schedule. If you like math and logic puzzles, start here instead of CS50x.

3. freeCodeCamp

  • Deadline: none; start any time
  • Who can take it: anyone
  • Cost: free; a donor-supported nonprofit runs it
  • Format: self-paced lessons, labs and quizzes, with certifications in Responsive Web Design, JavaScript, Python, Relational Databases and more
  • Official page: freeCodeCamp's curriculum

Each full-stack certification requires five projects and a final exam, according to freeCodeCamp's GitHub page. It's a good next step after CS50x if you want to build websites.

4. Codecademy

  • Deadline: none; start any time
  • Who can take it: anyone
  • Cost: Basic is free with limited course access; Plus is $14.99 a month billed yearly or $29.99 billed monthly
  • Format: self-paced courses, with skill paths and portfolio projects on paid plans
  • Official page: Codecademy's plans

Certificates also need a paid plan. If cost matters, CS50x and freeCodeCamp give you the same kind of practice for free.

5. Girls Who Code Pathways

  • Deadline: none posted; Pathways runs year-round, but its application page still describes 2025 programs
  • Who can apply: girls and nonbinary students in grades 9 to 12, including rising 9th graders and graduating seniors
  • Cost: free
  • Format: virtual and self-paced, with 6 to 7 weeks to finish projects in game design, data science, AI, cybersecurity or web development
  • Official page: Girls Who Code Pathways

Pathways adds a Discord community, career panels and advisor-led workshops, plus in-person Industry Immersion Days in some cities. The two-week Summer Immersion Program is no longer on the Girls Who Code programs page, so don't count on it for 2027.

What computer science classes can you take in high school?

In high school, you can take AP Computer Science Principles, a broad introduction, or AP Computer Science A, which teaches Java. Neither lists coding experience as a prerequisite. If your school offers neither, take a full course online through Stanford Online High School, or ask a teacher about CS50 AP.

  • AP Computer Science Principles: programming, data, the internet and the effects of computing, with algebra recommended. In 2027, the Create performance task is due April 30 and the exam is May 14 (College Board)
  • AP Computer Science A: Java, with algebra and functions recommended. The 2027 exam is May 12 (College Board)

6. Stanford Online High School

  • Deadline: January 7, 2027, for the 2027-28 school year (how to apply)
  • Who can apply: students in grades 7 to 12; single-course students usually attend another school full-time
  • Cost: $6,380 per course for 2026-27, with need-based aid; 2027-28 tuition isn't posted yet (tuition)
  • Format: live online classes; high school courses run from Introduction to Programming through Data Structures and Algorithms to Computer Systems
  • Official page: Stanford OHS computer science

Stanford OHS replaced its AP courses with its own, but you can still register for an AP exam in your area (course catalog). Expect 8 to 10 hours a week per course (enrollment options).

What are the best computer science summer programs for high school students?

The best free programs are Carnegie Mellon's CS Scholars and AI Scholars and MIT's Beaver Works Summer Institute, and all three choose students by application. Stanford AI4ALL teaches AI to 9th graders, and Harvard's Secondary School Program charges tuition for college courses.

7. Carnegie Mellon CS Scholars and AI Scholars

  • Deadline: February 1, 2027; decisions April 1, 2027 (CMU Pre-College admission)
  • Who can apply: US citizens and permanent residents who are 16 by June 26, 2027. CS Scholars takes current 10th graders, and AI Scholars current 11th graders
  • Cost: fully funded, including tuition, housing and meals; you must document financial need, and there's no option to pay tuition instead
  • Format: four weeks, residential, at CMU in Pittsburgh, June 26 to July 24, 2027
  • Official pages: CS Scholars and AI Scholars

Neither program requires coding experience, and both end with a group project you present at a closing symposium. CS Scholars encourages applicants who are underrepresented in STEM, including first-generation college students.

8. MIT Beaver Works Summer Institute (BWSI)

  • Deadline: register early for the free online prerequisite; approvals go out in late January, and the course opens February 1, 2027. Registered students get the summer application in March, and recommendations are due April 2 (BWSI application page)
  • Who can apply: 10th and 11th graders who attend high school and live in the US; most accepted students are finishing 11th grade
  • Cost: free for families with income and assets under $200,000; $3,000 otherwise; housing isn't provided
  • Format: four weeks, July 5 to August 1, 2027; some courses meet in person at MIT and others on Zoom
  • Official page: BWSI FAQ

Virtual courses include CogWorks (machine learning), Cyber Operations, Quantum Software and Medlytics, which applies machine learning to medical data (BWSI course list). If you take an in-person course, your family has to find housing near MIT, and an adult must stay with you.

9. Stanford AI4ALL

  • Deadline: 2027 dates aren't posted yet; the 2026 deadline was February 6, 2026 (Stanford AI4ALL admissions)
  • Who can apply: current 9th graders who will be under 16 during the program
  • Cost: $4,120 online or $9,800 residential in 2026, with need-based financial aid (tuition and aid)
  • Format: two weeks, online or residential at Stanford; the 2026 sessions ran June 15 to 26 (online) and July 19 to 31 (residential)
  • Official page: Stanford AI4ALL

Students learn AI through lectures, demos with AI companies and team research projects on topics like computer vision, medical AI and robotics.

10. Harvard Secondary School Program

  • Deadline: January 13, 2027 (early, with priority financial aid), February 10 (regular) or March 31 (late, no aid)
  • Who can apply: the classes of 2027, 2028 and 2029, if you're 16 by June 13, 2027, and won't turn 19 before July 31, 2027
  • Cost: $4,180 for 4 credits online or commuting, up to $15,980 for 7 weeks residential, plus a $75 application fee
  • Format: 4- or 7-week sessions, residential, commuting or online; the 7-week session runs June 21 to August 6, 2027
  • Official page: Harvard's Secondary School Program

In summer 2026, its computer science courses included CSCI S-7 (Python), CSCI S-50 (an intensive intro) and CSCI S-80 (AI with Python). Not every course runs online, and financial aid goes only to US citizens and permanent residents who apply by February 10.

Where can high school students do computer science research or competitions?

USACO is the easiest place to start: it's a free online programming contest with no application. For research, NIST's SHIP places juniors and seniors in federal labs, but only if they live near one. You can also run your own project with a teacher or mentor, starting from our computer science research topics for high school students.

For lab and company internships beyond SHIP, read our guide to landing a computer science internship in high school. Prefer building an app? The Congressional App Challenge takes apps from middle and high school students, alone or in teams of up to four.

The 2026 app deadline was October 26, and our Congressional App Challenge guide has tips for entering next year. To build and launch your own app or AI product with a mentor, see our Nova Product Launch program.

11. USA Computing Olympiad (USACO)

  • Deadline: none; you compete during each contest window. 2026-27 dates aren't posted yet; the 2025-26 contests ran from January 9 to March 28, 2026
  • Who can enter: anyone; only US pre-college students can be chosen as finalists for the training camp and international teams
  • Cost: free
  • Format: 4- to 5-hour online contests in C, C++, Java or Python, in Bronze, Silver, Gold and Platinum divisions; the US Open is proctored
  • Official page: USACO

Everyone starts in Bronze and moves up by scoring above each contest's cutoff (USACO's contest rules). Reaching Silver or Gold gives you a specific result to list on an application.

12. NIST Summer High School Intern Program (SHIP)

  • Deadline: end of January 2027; NIST expects to post the application on USAJobs by November 1, 2026
  • Who can apply: US citizens who are juniors or seniors when they apply, with an unweighted GPA of 3.0 or higher. You must live within 50 miles of NIST in Gaithersburg, Maryland, or Boulder, Colorado
  • Cost: no fee, but it's unpaid, and your family provides housing and transport
  • Format: seven weeks in a NIST lab, mid-June to early August; 2027 dates aren't set
  • Official page: NIST SHIP

Your research project depends on which lab you're placed in. NIST lists Python, Java, SQL and web development among helpful skills, but not every project involves computer science.

When are the deadlines for summer 2027 computer science programs?

Most fall between January 7 and February 10, 2027, so choose your programs by winter break. Ask for recommendations in early December, since CMU's programs require two. Programs can change their dates, so check each official page before you submit.

  • November 2026: SHIP's USAJobs posting (expected by November 1)
  • December 2026: Harvard's application opens December 1; submit CS50x 2026 work by December 31
  • January 2027: Stanford OHS (January 7), Harvard's early deadline (January 13), NIST SHIP (end of January)
  • February 2027: CMU's programs (February 1), BWSI's online prerequisite (opens February 1) and Harvard's regular deadline (February 10); Stanford AI4ALL's 2026 deadline was February 6
  • March 2027: BWSI sends summer applications to registered students; Harvard's late deadline is March 31
  • April 2027: BWSI recommendations (April 2)

Which computer science program fits your grade?

Your grade decides which selective programs you can apply to. Use 9th grade for free courses and Stanford AI4ALL, and apply to summer programs in 10th and 11th grade. As a senior, look at Harvard and SHIP.

  • 9th grade: finish CS50x or a freeCodeCamp certification, apply to Stanford AI4ALL, try a USACO Bronze contest and, if eligible, join Girls Who Code Pathways
  • 10th grade: take AP CSP or AP CSA if your school offers them, and apply to CMU's CS Scholars, which takes current 10th graders only
  • 11th grade: apply to CMU's AI Scholars, BWSI, Harvard's Secondary School Program and, if you live near a NIST campus, SHIP
  • 12th grade: Harvard accepts the class of 2027, and SHIP accepts seniors, whose internship falls the summer after graduation

What mistakes should you avoid with computer science programs?

Read each program's eligibility rules before you start an essay, and finish one course before you begin another. An eligibility problem found after you submit usually can't be fixed.

  • Finishing nothing: one completed course with a project tells a reader more than three you abandoned. CS50x's free certificate gives you a clear finish line.
  • Applying only to selective programs: pair each application with something you control, such as a USACO contest or a project of your own.

Frequently asked questions

Are there AI summer programs for high school students?

Yes. Carnegie Mellon's AI Scholars takes current 11th graders with financial need, and BWSI's virtual CogWorks and Medlytics courses teach machine learning. For 9th graders, Stanford AI4ALL runs two-week online and residential sessions.

How should a high schooler start coding?

Finish one free course, then build something small, like a quiz game, a personal website or a budget calculator. Keep your code on GitHub, where open-source projects mark beginner tasks with a "good first issue" label. Then try a hackathon: Major League Hacking's event list tags some as high school events.

What are the most selective computer science research programs for high schoolers?

Among free options, NIST describes SHIP as competitive, and CMU's CS Scholars and AI Scholars and BWSI all choose students by application. None of their official pages lists an acceptance rate. MIT PRIMES no longer admits new computer science students; its 2027 cycle covers math and bioinformatics.

Ready to turn potential into real achievements?

Discover the right pathway, learn about timelines, and see how our mentorship-driven approach can help your student succeed.
Download the Programs Brochure