Skip to content

Exploring computer science: a guide for future innovators

What computer science is, the path from block coding to AP CSP and AP CSA, what tech careers pay, and how AI is changing entry-level work.

By Ernie Delgado8 min read

Updated with current data and sources. Originally published April 22, 2025.

Illustration for: Exploring computer science: a guide for future innovators

Computer science is the study of how computers and algorithms work and how people design them to solve problems. A student can start with block coding at age 5, take AP Computer Science Principles with no prior coding experience, and go deeper in AP Computer Science A.

Most students never walk that path. Code.org and CSforALL report that 60% of public high schools offered foundational computer science in 2024-25, yet only 6.1% of high school students in the 42 reporting states enrolled. This guide is for the students deciding, the parents asking whether it is still worth it, and the counselors building the schedule.

Computer science
The study of computers and algorithmic processes: how they work, how their hardware and software are designed and built, and how they affect society. Coding is one tool of the field, not the whole field.

What is computer science, and what is it not?

Computer science is about understanding and creating technology, not only using it. The K-12 Computer Science Framework separates it from four neighbors that schools often blur together:

  • Computer literacy: general use of computers and programs, such as productivity software.
  • Educational technology: using computers to learn other subjects.
  • Digital citizenship: using technology responsibly, such as keeping a password safe.
  • Information technology: installing and operating software rather than creating it.

A student can be fast on a Chromebook and never have studied computer science. Those other skills still matter, because they are the ground the subject stands on. TechPlus AI, our TK-8 digital literacy and AI literacy curriculum, builds that layer, and every project ends with the student explaining their work.

Computer science is also wider than code. College Board weights Algorithms and Programming at 30% to 35% of the AP Computer Science Principles multiple-choice section, and Impact of Computing at 21% to 26%. A student who likes data, systems, or ethics has a place here.

How many students actually take computer science?

Fewer than the course catalogs suggest. Access has stalled, and the students in the seats do not yet look like the school.

60%

of public high schools offered foundational computer science in 2024-25, the same as the year before.

Code.org and CSforALL, 2025

6.1%

of high school students in 42 reporting states enrolled, down from 6.4%.

Code.org and CSforALL, 2025

34%

of foundational computer science students were young women, up from 32.5%.

Code.org and CSforALL, 2025

12

states require a computer science course to graduate, and none requires an AI and computer science course.

Code.org and CSforALL, 2025

Policy makes a visible difference. The same report shows access at 76% and participation at 10.4% in states with a graduation requirement, against 58% and 5.3% in states without one. It also says schools with fewer than 500 students have the hardest time offering and keeping these courses. If your school is small, plan for that early.

What does the pathway look like from block coding to AP?

The usual path moves from blocks to text and from small projects to larger ones. The age ranges below come from the Scratch Foundation, the grade bands from Code.org, and the AP details from College Board. Code.org says its curriculum is free for anyone to teach.

StageTypical toolsWhat students learn
Ages 5 to 7ScratchJr, unplugged lessonsSequences, simple loops, and telling a story with code
Grades K to 5Code.org CS Fundamentals (Sprite Lab, Play Lab)Loops, events, and fixing their own mistakes
Ages 8 to 13 and upScratchVariables, games, animation, and sharing work
Grades 6 to 10Code.org CS Discoveries (Web Lab, Game Lab, App Lab, AI Lab)Websites, apps, and the move from blocks to text
Grades 9 to 12, first courseAP Computer Science Principles (in Code.org's version, JavaScript in App Lab or a Python option)Data, networks, algorithms, and the impact of computing
Grades 9 to 12, next courseAP Computer Science A (Java)Object-oriented programming in depth

AP CSP or AP CSA: which comes first?

For most students, AP Computer Science Principles comes first. College Board says no previous coding experience is required, recommends but does not require Algebra I, and counts a Create performance task toward the score. In 2025, 175,174 students took the exam and 61.9% scored 3 or higher, according to College Board.

AP Computer Science A is the deeper programming course. College Board says it uses a subset of Java and lists high school English and algebra as recommended background. In 2025, 93,217 students took it and 67.2% scored 3 or higher, according to College Board. A student with real programming experience can reasonably start here.

What do computer science careers pay?

They pay well above the median. The U.S. Bureau of Labor Statistics reports a median of $109,470 for computer and information technology occupations in May 2025, against $50,980 for all occupations, and projects about 280,000 openings a year in those occupations.

Median annual pay, May 2025 (thousands of dollars)

Software developers $136K Information security analysts $129K Data scientists $120K Computer programmers $100K Web developers and designers $100K Computer support specialists $63K All occupations $51K
Source: U.S. Bureau of Labor Statistics, Occupational Outlook Handbook (2026).

BLS lists a bachelor's degree as the typical entry point for most of these roles. Computer support is the exception. BLS says entry requirements vary, from some college or an associate's degree to a high school diploma plus IT certifications. That matters to the student who wants a working start before, or instead of, four years of college.

Which computing jobs are growing, and which are shrinking?

The field is not moving in one direction. BLS projections for 2025 to 2035 show strong growth for data and security work, moderate growth for software development, and decline in the roles closest to writing code to a specification.

Projected job growth, 2025 to 2035

Data scientists 35% Information security analysts 21% Software developers 10% Web developers and designers 5% Computer support specialists -3% Computer programmers -7%
Source: U.S. Bureau of Labor Statistics, Occupational Outlook Handbook (2026).

BLS expects computer programmer jobs to fall 7% because companies will use tools, including AI, to automate repetitive programming tasks. Software developers are projected to grow 10%. Even shrinking fields hire: BLS still projects about 48,700 computer support openings a year, all from replacing workers who leave.

How is AI changing entry-level computer science work?

The first job is where the pressure shows. Families should hear this plainly before they plan around a major.

Stanford's finding has a useful detail for students. Declines concentrate where AI mainly substitutes for human tasks, and employment is flat or rising where it mainly complements workers. The strongest position belongs to the student who can define a problem, check the machine's work, and explain the result to a person.

Take computer science because it teaches you to think clearly about the systems that run your life, not because it promises you a first job.Ernie Delgado, BeyondK12

Is computer science still worth taking in the AI era?

Yes, and the case is wider than a software career. Researchers studying Maryland students, writing for Brookings in 2024, found that high schools offering high-quality computer science courses raised annual earnings at age 24 by about 8%. A high school course also raised the chance of earning a computer science bachelor's degree by 5 percentage points.

Students also need to understand what AI is before they can question it. The Code.org and CSforALL report puts it directly: AI depends on computer science and does not replace it. A nurse, a lawyer, or a shop owner who understands how an algorithm reaches an answer is better placed to question one.

How can a student start at any age?

  1. Pick one free tool tonight. The Scratch Foundation lists ScratchJr for ages 5 to 7 and Scratch for ages 8 to 13 and up. Older beginners can open a free Code.org course.
  2. Make one small thing. A short animation or a two-button game gives a beginner something real to change. Finish it, then change it.
  3. Explain it out loud. Ask the student what the program does, why it broke, and how they fixed it. This is the habit that matters most once AI can draft the code.
  4. Join a shared event. Code.org and CSforALL turned the Hour of Code into the Hour of AI in 2025.
  5. Read the course catalog with a counselor. Map the courses from now to graduation, including the one that comes after the first.
  6. Do not count out a late start. A junior who has never coded can still take AP Computer Science Principles, since College Board requires no previous coding experience.

Where to start this week

Students: make one small project and show it to someone. Parents: ask what the pathway looks like past the first course. Counselors: invite one student who would not sign up on their own, starting with the groups missing from the room.

School leaders can look at the whole picture. A pathway depends on a trained teacher, so professional development often comes first. The free AI Readiness Assessment takes five minutes and scores your school across Policy, People, Curriculum, Guardrails, and Funding, so you can see where computer science and AI literacy stand today.

Related reading: Why computer science matters in K-12 education and What are the 4 types of programming languages?

Questions school leaders ask

What is the difference between computer science and digital literacy?

Digital literacy is using technology well. Computer science is understanding how it works and creating it. The K-12 Computer Science Framework treats computer literacy, educational technology, digital citizenship, and information technology as separate from computer science, and students need both.

Should my child take AP CSP or AP CSA first?

For most students, AP Computer Science Principles comes first. College Board says it requires no previous coding experience and recommends, but does not require, Algebra I. AP Computer Science A uses a subset of Java and suits a student who already enjoys programming.

How much do computer science jobs pay?

The U.S. Bureau of Labor Statistics reports a median of $109,470 for computer and IT occupations in May 2025, against $50,980 for all occupations. Software developers earned a median of $135,980, information security analysts $129,180, and computer support specialists $62,890.

Is computer science still worth studying now that AI can write code?

Yes, with clear eyes. BLS projects 10% growth for software developers and a 7% decline for computer programmers from 2025 to 2035, and Stanford researchers report weaker hiring of young workers in AI-exposed occupations. A Maryland study found high-quality high school computer science courses raised earnings at age 24 by about 8%, so the value is wider than one job title.

What age should a child start learning to code?

The Scratch Foundation lists ScratchJr for ages 5 to 7 and Scratch for ages 8 to 13 and up, so a child can start early. A later start is fine too: AP Computer Science Principles requires no previous coding experience, according to College Board.

Sources

  1. Code.org and CSforALL, 2025 State of AI + CS Education (December 2025) (opens in a new tab) (checked 2026-11-05)
  2. K-12 Dive, Most states still don't tie AI literacy and computer science together (December 2025) (opens in a new tab) (checked 2026-11-05)
  3. Education Week, How to get more students into computer science classes in the age of AI (December 2025) (opens in a new tab) (checked 2026-11-05)
  4. K-12 Computer Science Framework, Defining computer science (opens in a new tab) (checked 2026-11-05)
  5. U.S. Bureau of Labor Statistics, Computer and information technology occupations (Occupational Outlook Handbook) (opens in a new tab) (checked 2026-11-05)
  6. U.S. Bureau of Labor Statistics, Software developers, quality assurance analysts, and testers (opens in a new tab) (checked 2026-11-05)
  7. U.S. Bureau of Labor Statistics, Information security analysts (opens in a new tab) (checked 2026-11-05)
  8. U.S. Bureau of Labor Statistics, Data scientists (opens in a new tab) (checked 2026-11-05)
  9. U.S. Bureau of Labor Statistics, Computer programmers (opens in a new tab) (checked 2026-11-05)
  10. U.S. Bureau of Labor Statistics, Web developers and digital designers (opens in a new tab) (checked 2026-11-05)
  11. U.S. Bureau of Labor Statistics, Computer support specialists (opens in a new tab) (checked 2026-11-05)
  12. College Board, AP Computer Science Principles score distributions (opens in a new tab) (checked 2026-11-05)
  13. College Board, AP Computer Science A score distributions (opens in a new tab) (checked 2026-11-05)
  14. College Board, AP Computer Science Principles course page for students (opens in a new tab) (checked 2026-11-05)
  15. College Board, AP Computer Science Principles course page for educators (opens in a new tab) (checked 2026-11-05)
  16. College Board, AP Computer Science A course page for students (opens in a new tab) (checked 2026-11-05)
  17. Scratch Foundation, Tools and age ranges (opens in a new tab) (checked 2026-11-05)
  18. Code.org, Computer Science Fundamentals curriculum (opens in a new tab) (checked 2026-11-05)
  19. Code.org, Computer Science Discoveries curriculum (opens in a new tab) (checked 2026-11-05)
  20. Code.org, Computer Science Principles curriculum (opens in a new tab) (checked 2026-11-05)
  21. Code.org, Computer Science A curriculum (opens in a new tab) (checked 2026-11-05)
  22. Stanford Digital Economy Lab, Canaries in the Coal Mine? (revised August 2026) (opens in a new tab) (checked 2026-11-05)
  23. VnExpress, U.S. computer science grads face fifth-highest unemployment rate, reporting New York Fed data (March 2026) (opens in a new tab) (checked 2026-11-05)
  24. Computing Research Association, Taulbee Survey 2025 (opens in a new tab) (checked 2026-11-05)
  25. National Student Clearinghouse, Computer science enrollment is cooling (August 2026) (opens in a new tab) (checked 2026-11-05)
  26. Brookings, How computer science for all initiatives affect students' college and career outcomes (May 2024) (opens in a new tab) (checked 2026-11-05)
  27. THE Journal, Code.org reinvents Hour of Code as Hour of AI (October 2025) (opens in a new tab) (checked 2026-11-05)
Ernie DelgadoFounder and CEO of BeyondK12. 35 years in education technology, founder of Beyond Technology Education in 2001, host of the BeyondK12 podcast.About BeyondK12

Two emails a month for school leaders

Policy changes, funding deadlines, and what is working in real schools, written plainly. Unsubscribe anytime.

By subscribing you agree to receive emails from BeyondK12. See our privacy policy.

See where your school stands on AI, in five minutes

Eight questions. A score out of 24 across Policy, People, Curriculum, Guardrails, and Funding, with the three fixes that move it most. The report is yours whether or not you ever call us.

Get My Free Readiness Score