Skip to content
Home/United States/New Hampshire
New Hampshire, United States

Coding and AI classes in New Hampshire

How many New Hampshire high schools offer computer science?

Nearly all of them in the latest count: Code.org (2025) reports 89 of 95 New Hampshire high schools, or 93.7%, offering computer science in 2024 to 2025, up from 49% in 2018 to 2019. No enrollment figure is published for the state. Modern Age Coders adds live online classes for New Hampshire students, from Scratch in elementary school to SQL and AP Computer Science Principles.

On paper, New Hampshire is close to the top of the access charts. In six school years the published share of high schools offering computer science nearly doubled, and in 2023 to 2024 it touched 94.8%. Two details make that picture less simple than it looks. The figures come from school course catalogs and teacher surveys rather than from state enrollment records, and no published number says how many New Hampshire students actually sat in those classes. This page walks through what the access data shows and what it leaves out, gives a short list of questions to put to a high school, explains a set-operations project on the state’s own trail inventory, and describes how our live online classes fit around a New Hampshire school week.

Facts last verified 17 October 2026. Teaching is online; no New Hampshire branch is claimed.

Course picks for New Hampshire

Four courses for New Hampshire students, by stage

Pick by age and interest; the free first lesson checks the level before any course begins.

Browse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.

The four we are known for

Python, AI, vibe coding and agentic coding

These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

The published numbers

From 49% to 93.7%: New Hampshire high schools offering computer science

The state’s access trend as Code.org publishes it in its 2025 State of AI + CS Education data, read on 17 October 2026.

New Hampshire high schools offering computer science, each school year, Code.org (2025)
School yearPublished share
2018 to 201949%
2019 to 202067%
2020 to 202178%
2021 to 202282%
2022 to 202381%
2023 to 202494.8%
2024 to 202593.7%, 89 of 95 high schools

How it was counted

Code.org lists the primary source for the New Hampshire figure as school course catalogs and teacher surveys, not a state education agency data return.

The six schools

In 2024 to 2025, six of the 95 high schools in the count were not recorded as offering a course. The data does not name them and neither do we.

The missing column

Every year of the participation tab is blank for New Hampshire, so there is no published count of how many high schoolers took computer science.

A catalog listing proves a course exists on paper. It does not prove the course ran that year, how many sections it had, or whether it was introductory or advanced. That is why a near-universal access figure can sit alongside families who tell us their student could not fit the only computer science section into a timetable already full of required classes.

Source for this table

Code.org (2025). 2025 State of AI + CS Education. Single New Hampshire values are quoted from its Access and Participation tabs; we do not republish the dataset.

AP in New Hampshire

Schools giving AP exams, and what that count does and does not say

The College Board’s state-by-state school report counts schools where students sat at least one AP exam, across every AP subject.

New Hampshire schools with AP exams (College Board, School Report of AP Exams by State, 2023-24)
YearAll schoolsPublicNon-public
20231088127
20241088127

Flat on both lines

The total, the public count and the non-public count were identical in 2023 and 2024, which is unusual in a report where most states move by a few schools each year.

All subjects, not just CS

A school appears here if students took any AP exam, so this is a ceiling on where AP computer science could be tested, not a count of where it was.

More schools than the CS count

The AP report covers 108 schools while the access count covers 95 high schools, because it includes non-public schools and uses its own rules.

For a New Hampshire student aiming at AP Computer Science Principles or AP Computer Science A, the practical question is simpler than either dataset: does my school offer the course and the exam this year, and if not, can I sit the exam elsewhere? Our AP classes follow the College Board course framework so that a student preparing outside school is ready either way.

What to ask

Five questions for a New Hampshire high school counselor

We could not read the state department’s own pages on the day this page was checked, so here is our checklist for getting the answers from the school itself. The questions are ours.

Our checklist for New Hampshire families (not official guidance)
QuestionWhy it matters
Which computer science courses run this year, not just appear in the catalog?The access figure is built from catalogs and surveys, so a listed course may not have run
Does a computer science course count toward any graduation credit here?Credit rules are set and explained by the state and the district; ask for the written policy
Is AP Computer Science Principles or A offered, and is the exam given on site?The AP report counts schools by any AP exam, not by subject
Can a student take an approved online course if the timetable clashes?Many districts allow it; the counselor knows which providers are approved
Is there a club, competition team or capstone that uses coding?Projects outside class are often where students go deepest

Why the state rules are not on this page

On 17 October 2026 the New Hampshire Department of Education website and the state legislature’s statute pages both refused our automated requests with an access-denied response. We do not repeat rules we could not read at the source, so this page states no New Hampshire requirement, standard or adoption date. Check the department’s site directly for those.

Signature project

How many trails can you hike and ski? Sets on the NH GRANIT trail inventory

NH GRANIT, the state’s geographic data clearinghouse, publishes NH Recreational Trails as open data. Its attribute table is a natural first lesson in sets: distinct values, unions, intersections and differences.

Set results on named trails, case-folded (our calculation from NH Recreational Trails, downloaded 17 October 2026)
Set expressionMeaningDistinct trail names
HTrails with a hiking segment marked Y3,547
STrails with a cross-country ski segment marked Y817
BTrails with a mountain bike segment marked Y886
H & SHike and ski726
S - HSki but never marked for hiking91
H | SHike or ski3,638
H & S & BAll three activities437

1. Count distinct

The layer has 15,791 segment records but 6,364 different trail names. Trimming spaces and upper-casing cuts that to 6,306, the first lesson in why you normalise before you deduplicate.

2. Inspect a flag

The hiking column holds five distinct values, not two: Y, N, NA, UNKNOWN and a blank. Students decide which ones mean yes before building any set.

3. Combine sets

With Python sets, hiking & ski and ski minus hiking are one line each. The table above is the result; checking that 3,547 + 817 - 726 = 3,638 proves the union.

A name is not a trail

There are 831 named trails that appear in more than one town, and some are not one trail at all: BLUE TRL turns up in 24 towns and RED TRL in 20. Blank names cover 3,413 segments. The counts above are ours, from one download, and the data publisher describes the layer as an approximation for planning use only whose coverage should not be treated as complete.

One more distinct-values surprise makes a good discussion: the county column lists the ten New Hampshire counties plus (Maine), (Vermont) and ALBANY, which is a town rather than a county. Spotting values that do not belong to the set you expected is a skill students use in every data project afterwards, and in SQL it becomes a SELECT DISTINCT query.

Class times

Eastern Time for the Granite State

The IANA time zone database lists New Hampshire under US eastern time, the America/New_York zone, and our teachers work from India.

Summer and winter gaps

India is 9 hours 30 minutes ahead of New Hampshire during daylight saving time and 10 hours 30 minutes ahead in standard time.

This year’s changes

Clocks go back on November 1, 2026 and forward on March 14, 2027; every class time is written down in Eastern Time.

Fitted to the week

Classes are placed after the school day, around sports seasons and before homework, then fixed in writing.

The summit that kept one clock

A 2004 comment in the IANA database records a Mount Washington Observatory staff member saying the station stayed on Eastern Standard Time without changing clocks for daylight saving. Students model that as a fixed UTC offset beside America/New_York and watch the two drift apart on November 1, 2026.

Learning ladder

From a first Scratch sprite to SQL and AP

Grade bands are a guide; the free lesson finds the real starting point.

Grades K to 3

Logic through play

Blocks, sequences and simple loops, with stories and games the child can explain to a parent.

Coding for KidsScratch Coding for Kids
Grades 4 to 6

Toward typed code

Python turtle drawings and small games, plus Minecraft coding for students who learn best by building worlds.

Python and AI for KidsMinecraft Coding for Kids
Grades 7 to 9

Real programs and pages

Python with files, lists and sets, and first websites styled by hand.

Python for TeensFrontend Development for Teens
Grades 10 to 12

Data, databases and AP

SQL on real datasets and AP Computer Science Principles, with the trail project as a portfolio piece.

MySQL for TeensAP Computer Science Principles
Coding and AI

Why a New Hampshire student who can code checks the AI’s count

A distinct-count question is easy to ask an AI tool and easy for it to get wrong.

Ask a chatbot how many trails in New Hampshire allow both hiking and skiing and it will produce a tidy number. It cannot know that the state layer has five versions of yes and no, a few hundred names that differ only in capitals, and thousands of unnamed segments. A student who built the sets can.

That is the practical meaning of AI literacy: knowing which assumptions sit under an answer. Students who have cleaned and combined the data themselves can read an AI response, see what it must have assumed, and test it, rather than copying the figure into a report.

High schools across New Hampshire list computer science; the habit worth building on top is questioning a count before trusting it. The longer argument is in should students still learn to code.

Delivery

From the Seacoast to the North Country, the same live lesson

New Hampshire towns can be an hour apart over mountain roads, and an online class makes that distance irrelevant.

From any town

A student in Nashua and one in Berlin share one teacher in real time, each at a desk at home.

Fits the school year

Teachers work in US grades and plan around New Hampshire school calendars. Any work a school marks stays the student’s own.

First lesson free

A real lesson with a teacher, then a written suggestion for course, level and time. We never ask for card details here.

Level-matched groups

Batches of fifteen to twenty learners, grouped by stage rather than age, from New Hampshire and beyond.

Private lessons

One teacher for one student, for AP work, SQL projects or simply a faster pace.

Scheduling

Weekdays or weekends, flexible: choose your batch, or for a very personalised plan choose 1-on-1 at your convenience, weekend mornings or weekdays.

Taught online from India

All teaching is live over video. Modern Age Coders has no center in New Hampshire and claims none. A computer, a headset and a stable connection are enough.

Fees

Fees for New Hampshire families

A free lesson, then a choice of two monthly plans.

First classUSD 0

One whole lesson free, with a recommended level, course and time afterwards.

Group tuitionUSD 100

Monthly live classes in a level-matched batch of fifteen to twenty.

Private tuitionUSD 150

Monthly one-to-one classes with your own teacher.

Every US family pays one rate in US dollars, from Portsmouth to Littleton. Nothing is billed before the free lesson or before you agree to a course and time; see the pricing page for missed classes and holidays.

Reviews

What families have said on Google

Rated 4.9 across 547 Google reviews. These are real reviews, reproduced as written.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Free placement class

Ask for a free lesson for a New Hampshire student

Tell us the grade and what they enjoy. A third grader might start with a Scratch game, a sixth grader with Python turtle art, and a high schooler with the trail sets project.

+1

FAQ

New Hampshire coding and AI questions

Common questions from New Hampshire parents and students.

How many New Hampshire high schools offer computer science?

Code.org (2025) reports 89 of 95, or 93.7%, in 2024 to 2025, counted from school course catalogs and teacher surveys.

How has New Hampshire access changed?

The published share rose from 49% in 2018 to 2019 to 94.8% in 2023 to 2024, then 93.7% in 2024 to 2025.

How many New Hampshire students take computer science?

No figure is published. Code.org's participation data is blank for New Hampshire in every year, so we do not estimate one.

Is computer science a graduation requirement in New Hampshire?

We could not verify it: the New Hampshire Department of Education site refused our requests on 17 October 2026. Ask your school counselor for the written district and state policy.

How many New Hampshire schools give AP exams?

The College Board reports 108 schools with AP exams in both 2023 and 2024, 81 public and 27 non-public, across all AP subjects.

What time are classes for New Hampshire?

Weekdays or weekends, flexible: choose your batch, or for a very personalised plan choose 1-on-1 at your convenience, weekend mornings or weekdays. New Hampshire is on Eastern Time, and we confirm every time in it.

Can online classes replace a school computer science course?

No. School credit comes from courses your district approves. Our classes add depth and projects beside them, and graded school work stays the student's own.

What does the trail project teach?

Sets. Using the 15,791 records in the NH GRANIT trail layer, students count distinct names, then find trails marked for hiking and skiing with intersections, unions and differences.

Is there a class for a student who already knows Python?

Yes. Teens who know Python can move to SQL, where the same set ideas become DISTINCT, UNION and INTERSECT, or to AP Computer Science Principles.

Do you have a location in New Hampshire?

No. Teaching is live online from India, so students anywhere from Keene to Conway join the same way.

More for US students

Where New Hampshire students go from here

Younger students can browse coding classes for middle school students; older ones can read coding classes for high school students and computer science extracurriculars. Competitive programmers have USACO preparation, and families curious how another state wrote computer science into law can read about North Carolina.

Free classPriority demoCall us

Keep exploring Modern Age Coders

Coding classes in nearby places

Learn more

Free resources

From the blog

Start here