Does computer science count toward a Virginia high school diploma?
It can. Code of Virginia § 22.1-253.13:4 tells the Board of Education to treat every computer science credit as a science, mathematics or career and technical education credit, and the Standards of Learning must include computer science and computational thinking, including computer coding. Modern Age Coders teaches that same ground live online, from Scratch in kindergarten to AP Computer Science A in Java.
Virginia took an unusual route. Rather than adding a separate computer science course to the list every student must pass, the General Assembly wrote coding into the law that defines what public schools teach, then let a CS credit stand in for credits a student already needs. That makes the subject flexible, and it also makes it easy to miss: a ninth grader can reach a diploma without ever choosing it. Below, the statute and the diploma regulation as the Legislative Information System publishes them, how many Virginia high schools offered computer science in the most recent year with data, and a data project built on Fairfax County’s own trail and bike lane records.
Facts last verified 18 October 2026. Teaching is online; no Virginia branch is claimed.
Each card is a full course with its own syllabus. The free first lesson decides which one fits, so nobody has to guess.

Computational thinking in blocks: events, loops and a finished game that a young student can explain line by line.
See the syllabus
Typed Python from the first print statement to programs that read real files, such as the Fairfax trail records below.
See the syllabus
Java, object-oriented design and the free-response style of the AP Computer Science A exam.
See the syllabus
Cleaning, charting and questioning public data with pandas, the skill the Fairfax project practises.
See the syllabusBrowse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.
The four we are known for
These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Python, web and AI projects where the learner still owns the thinking.
See the syllabus
Automate the work you already do, then let AI carry part of it.
See the syllabus
Train a model, read what it learned, and be able to say why it is wrong.
See the syllabus
Run AI coding agents on real work without losing control of the codebase.
See the syllabusThe Virginia Department of Education site refused our request on 17 October 2026, so this section quotes the law itself, from the General Assembly’s Legislative Information System, read the same week.
| Section | What the statute says | What it means for a student (our reading) |
|---|---|---|
| § 22.1-253.13:1, Standard 1 | The Standards of Learning shall include computer science and computational thinking, including computer coding | Coding is part of the content every public school is expected to teach, not an optional extra |
| § 22.1-253.13:1, subsection C | Local school boards shall emphasize the same subject in a program of instruction for grades K through 12 | The expectation runs from kindergarten, not only in high school |
| § 22.1-253.13:4, D 14 | The Board shall consider all computer science course credits to be science, mathematics, or career and technical education credits, and develop guidelines on how they satisfy graduation requirements | A CS class can fill a slot a student must fill anyway |
| § 22.1-253.13:4, D 19 | An English language learner with a qualifying AP, IB or SAT II foreign language score may substitute computer coding course credit for a foreign language credit, except where an advanced studies provider requires the language credit | A narrow route, for students who have already shown a second language |
| § 22.1-253.13:4, D 20 | A student pursuing an advanced studies diploma whose IEP specifies a world language credit accommodation may substitute two standard units in computer science for two in a world language, with notice from the school counselor about college entrance | Another narrow route, with a warning attached |
Virginia does not add computer science as its own line in the diploma table. It folds the subject into the Standards of Learning and lets the credit travel, so whether a student takes CS depends on the choices made in eighth and ninth grade.
The law itself requires a counselor to warn families about possible college entrance effects before a CS credit replaces a world language credit. That is a good habit for every substitution, not only the ones the statute names.
Item 14 hands the details to the Board of Education, which publishes them on the department site we could not reach. Ask your school which approved courses count as a mathematics or science credit in your division.
Regulation 8VAC20-132-51 applies to students who entered ninth grade in 2018 to 2019 or later. Its current text took effect on September 25, 2024, according to the Virginia Register note on the section.
| Discipline area | Standard Diploma | Advanced Studies Diploma | Can a CS credit count here? |
|---|---|---|---|
| English (reading and writing) | 4 | 4 | No |
| Mathematics | 3 | 4 | Yes, per the footnote citing the Standards of Quality |
| Laboratory Science | 3 | 4 | Yes, per the footnote |
| History and Social Science | 3 | 4 | No |
| World Language | Shared slot below | 3 | Only through the IEP accommodation route |
| World Language, Fine Arts, or Career and Technical Education | 2 | Fine Arts or CTE: 1 | Yes, as a CTE credit |
| Health and Physical Education | 2 | 2 | No |
| Economics and Personal Finance | 1 | 1 | No |
| Electives | 4 | 3 | Any CS course can be an elective |
| Total | 22 standard units, 5 verified credits | 26 standard units, 5 verified credits |
Read the footnotes slowly. Each says a computer science credit “may be considered” a mathematics, science or CTE credit, and each points back to the Standards of Quality. The regulation also says the board approves the courses that satisfy each requirement, so the practical answer for any one class lives in your school division’s program of studies. Our column is a reading of the published text, not legal advice and not a ruling for any particular course.
If a student already loves coding, the question for the middle school counselor is which high school CS course counts as a mathematics or laboratory science credit in your division, and in which grade it can be taken.
With four mathematics and four laboratory science credits to earn for an advanced studies diploma, an approved CS course in one of those slots can make room in a crowded timetable.
AP Computer Science A or Principles adds college-level work. Whether the school counts it as mathematics, science, CTE or an elective is the division’s decision under the Board’s guidelines.
Virginia figures from the Code.org (2025) State of AI + CS Education data and from the College Board, as published.
| School year | Share offering CS | Note |
|---|---|---|
| 2018 to 2019 | 73% | |
| 2019 to 2020 | 73% | |
| 2020 to 2021 | No figure published | The sheet shows a dash |
| 2021 to 2022 | 75% | |
| 2022 to 2023 | 74% | |
| 2023 to 2024 | 68.4% | 229 of 335 high schools, reported by the State Education Agency |
| Measure | Virginia | Source |
|---|---|---|
| High school students enrolled in CS, 2022 to 2023 | 19,801 of 400,497, or 4.94% | Code.org (2025); student total from NCES, fall 2022 |
| CS enrollment share, 2020 to 2021 and 2021 to 2022 | 6.5% and 5.7% | Code.org (2025) |
| Schools with AP exams, 2023 and 2024 | 455 in 2023, 453 in 2024 | College Board, School Report of AP Exams by State 2023-24 |
| Of those, public schools | 325 in 2023, 324 in 2024 | College Board |
| Of those, non-public schools | 130 in 2023, 129 in 2024 | College Board |
Three things stand out, and none of them needs a guess about causes. First, Virginia’s access share was in the low to mid seventies for four reported years, then 68.4% in 2023 to 2024. Second, the enrollment share fell in each of the three years published, from 6.5% to 4.94%. Third, the two measures are years apart: the newest enrollment figure is 2022 to 2023, the newest access figure 2023 to 2024, so do not divide one by the other. We report the pattern; the data alone does not say why it moved.
Suggested citation for the access and enrollment figures: Code.org (2025). 2025 State of AI + CS Education. We quote individual Virginia values from the raw sheet’s access and participation tabs and do not republish the dataset.
Fairfax County publishes its Existing Bicycle and Pedestrian Network as open GIS data. We downloaded every record on 18 October 2026. Before a student can rank anything, the labels have to be made consistent.
| Treatment type in the data | Records | Our miles |
|---|---|---|
| ShareRoad | 2,335 | 574.9 |
| Trail | 2,571 | 533.6 |
| BikeLane | 555 | 145.8 |
| Path | 169 | 64.4 |
| Sidewalk | 401 | 50.8 |
| Sharrow | 136 | 28.1 |
| UnmarkedCross and MarkedCross | 560 and 344 | 7.1 and 6.1 |
The service reported 7,237 records and allowed 2,000 per request, so the download took four pages. Students check that the rows they hold equal the count the server reports before calculating anything. Ours matched exactly.
The CONDITION field holds both “Poor” and “POOR”, both “Excellent” and “EXCELLENT”, and dozens of entries that are a single space. MAINTENANCE has “Unknown” 1,246 times and “UNKNOWN” 56 times. Stripping spaces and upper-casing fixes the counting.
Keep only Trail records, total the length for each FACILITY_NAME, sort from longest to shortest. The layer stores lengths in US feet, so dividing by 5,280 gives miles. Fairfax County Parkway Trail comes first in our run, at 20.26 miles across 43 segments.
| FACILITY_NAME | Segments | Our miles |
|---|---|---|
| Fairfax County Parkway Trail | 43 | 20.26 |
| Cross County Trail | 35 | 20.24 |
| Cross Country Trail | 18 | 14.70 |
| Ox Rd Trail E | 22 | 11.22 |
| Mount Vernon Trail | 14 | 9.50 |
Look at rows two and three. “Cross County Trail” and “Cross Country Trail” might be one trail entered with two spellings, or two different things. Merging them would make it the longest trail in our table; leaving them apart keeps it second. The data cannot settle that, so a careful analyst writes the question down instead of quietly merging. That habit is worth more than the ranking itself.
There is more to question. The largest single name in the Trail rows is not a name at all: “Unnamed Trail” covers 691 segments, and 74 records list two supervisor districts separated by a semicolon, which breaks any simple count by district. Fairfax County says it makes no warranties about the accuracy or completeness of its GIS data, so every mile above is our arithmetic on one download, never an official trail length. A student who can explain each of those caveats has learned more about data than any ranking can show.
In class, the cleanup step is one line of pandas, df["CONDITION"].fillna(""), followed by a value_counts() before and after so the student can see exactly which labels collapsed together. The ranking is a filter with df[df.TREATMENT_TYPE == "Trail"], a groupby on the name and a sort. Short code, but every line carries a decision the student must defend.
The whole Commonwealth uses the IANA zone America/New_York, which the time zone database describes as “Eastern (most areas)”.
Arlington, Richmond, Roanoke and Norfolk all keep the same clock, so a mixed batch of Virginia students never has to translate times between themselves.
Our teachers work on India time, which has no daylight saving. The gap to Virginia therefore widens by an hour in winter, and we always write class times in Eastern Time so parents do not have to do the arithmetic.
The IANA rule for the United States moves clocks back on the first Sunday in November and forward on the second Sunday in March: November 1, 2026 and March 14, 2027 for this school year.
A bug to write on purpose
Students who store a class time as a fixed offset from India time watch it drift by an hour across November 1, 2026. Rewriting the reminder with the America/New_York zone teaches why programmers never hard-code an offset.
Grade bands are a rough guide; the free first lesson places each student by what they can already do.
Sequencing, loops and events in Scratch, then small games that make computational thinking visible.
Scratch Coding for KidsCoding for KidsPython and simple web pages, chosen so a high school CS course feels familiar on day one.
Python and AI for KidsHTML & CSS for BeginnersPython with files and pandas, and projects built on public data like the Fairfax trails layer.
Python for TeensData Science for TeensAP Computer Science A in Java, or AI models trained and checked on data the student understands.
AP Computer Science AAI and Machine Learning for TeensIt could write the code. It could not tell you which choices the code was making.
Ask an AI assistant to rank Fairfax trails and it will happily produce a script. It may or may not upper-case the labels, it will not notice that two trail names differ by one letter, and it will not warn you that 691 segments have no name. Each of those silent choices changes the answer, and a student who has never cleaned data by hand has no way to spot them.
That is why Virginia’s law speaks of computational thinking alongside computer coding. Thinking means knowing what a step does to the data before running it. In our AI units students use assistants openly, then audit what they produced line by line, the same way they audit their own code.
Assistants make typing faster; judging the output is still the student’s job, and it is the part schools and colleges actually assess. The longer argument is in why coding still matters when AI writes code.
Distance from a coding center stops mattering when the class comes to the kitchen table.
A student in Loudoun and one in Danville can sit in the same live session, each at their own computer, with no commute after school or practice.
Teachers work in US grade levels and plan around semesters, SOL testing windows and AP exam season. Graded school assignments always remain the student’s own work.
A real coding task with a teacher, then a recommendation for level, course and time. No payment details are requested at this point.
Groups of fifteen to twenty students at the same stage, drawn from Virginia and other states.
A dedicated teacher for students preparing for AP, catching up after a missed unit, or simply moving faster than any group.
Weekdays or weekends, flexible: choose your batch, or for a very personalised plan choose 1-on-1 at your convenience, weekend mornings or weekdays.
Online only
Every Modern Age Coders class is taught live over video from India. We have no office or classroom in Virginia and do not claim one. A laptop or desktop, headphones and a steady connection are all a student needs.
The figures below are the whole price list.
One full lesson at no charge, ending with a recommended course, level and class time.
A month of live classes in a group of fifteen to twenty students at a similar level.
A month of live classes with a teacher working with one student only.
Families in the United States pay in US dollars, and a student in Fairfax pays what a student in Abingdon pays. Nothing is billed until after the free lesson, once course and time are agreed; the pricing page covers holidays and missed sessions.
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
Tell us the grade and what the student enjoys. A second grader might start with a Scratch animation, an eighth grader with a first Python program, and a junior with the Fairfax trail data.
Short answers, each tied to the source named on this page.
Not as a separate course in the diploma table of 8VAC20-132-51. Instead, Code of Virginia section 22.1-253.13:4 says computer science credits are to be considered science, mathematics or career and technical education credits.
The diploma regulation says a computer science course credit may be considered a mathematics credit, citing the Standards of Quality. Which specific courses count is set by the Board and your school division, so confirm with the school counselor.
The Standards of Learning must include computer science and computational thinking, including computer coding, under section 22.1-253.13:1, and local school boards must emphasize it in a K through 12 program of instruction.
Under 8VAC20-132-51, a Standard Diploma needs 22 standard units of credit and an Advanced Studies Diploma 26 standard units, each with 5 verified credits.
Only in two narrow cases in the statute: certain English language learners with a qualifying language exam score, and advanced studies students whose IEP specifies a world language accommodation. A counselor must explain possible college entrance effects.
Code.org reports 229 of 335 Virginia high schools, or 68.4%, offering foundational computer science in 2023 to 2024, with 4.94% of high school students enrolled in 2022 to 2023.
No. Credits come only from courses approved by the Board and the school division. Our classes build skill, projects and AP readiness alongside school, and graded school work stays the student's own.
Weekdays or weekends, flexible: choose your batch, or for a very personalised plan choose 1-on-1 at your convenience, weekend mornings or weekdays. Every time is confirmed in Eastern Time.
No. There is no Virginia office or classroom, and none is claimed. Every class is live online with a teacher in India.
They are in the fees section of this page: a free first lesson, then a monthly group option and a monthly one-to-one option, with billing only after the free lesson.
Juniors aiming at the Java exam can read about AP Computer Science A classes, and students choosing between the two AP courses can start with AP Computer Science Principles coaching. High schoolers planning a portfolio can browse coding classes for high school students and the Congressional App Challenge guide. For another state’s approach, see North Carolina, or return to the United States hub.