Wednesday, November 25, 2026

Runestone Academy: CSAwesome: AP CSA (Java)

Free Online Textbooks for Math and Computer Science
Runestone Academy LTD is a 501(c)(3) non-profit organization.

CSAwesome is a free, College Board-endorsed interactive Java curriculum and e-book designed for AP Computer Science A (AP CSA). [1, 2]

Key Features
  • AP CSA Aligned: Covers the AP CSA course framework and computational thinking practices. [1, 2]
  • Interactive E-Book: Hosted on Runestone Academy, featuring executable Java code examples, Parsons problems (mixed-up code), multiple-choice questions, and immediate feedback. [1, 2]
  • College CS1 Equivalent: Serves as a first-semester college-level introductory computer programming course in Java. [1, 2]
  • Teacher Resources: Offers lesson plans, auto-graded activities, and access to teacher communities via the CSAwesome Official Website. [1, 2]


CSAwesome2 is the second edition of CSAwesome, a free AP CSA curriculum that is endorsed by the College Board as an official AP CSA curriculum provider following the 2025-2026 AP CSA revisions. It is an introductory college-level computer programming course in Java and freely available as an interactive e-book on Runestone at https://runestone.academy/ns/books/published/csawesome2/csawesome2.html.



using custom .rst text format (predates markdown?)
.. toctree::
   :caption: Getting Started
   :maxdepth: 2

   preface.rst
   aboutcsa.rst
   csptransition.rst
   javaIDEs.rst
   growthMindset.rst
   ptest1.rst
   survey.rst


.. activecode:: lcfc1
   :language: java
   :autograde: unittest

   Run this code to see the output below it. Then change the code to print your name, for example "Hi Pat!", and run again.
   ~~~~
   public class MyClass
   {
       public static void main(String[] args)
       {
           System.out.println("Hi there!");
       }
   }

   ====
   // should pass if/when they run code
   import static org.junit.Assert.*;

   import org.junit.*;

   import java.io.*;

   public class RunestoneTests extends CodeTestHelper
   {
       @Test
       public void testMain() throws IOException
       {
           String output = getMethodOutput("main");
           String expect = "Hi there!";
           boolean passed =
                   getResults(expect, output, "Expected output from main", true);
           assertTrue(passed);
       }
   }


Conversing with Python Python for Everyone, by  
Charles Severance






  • AP CS (CSAwesome and Mobile CSP)
  • Foundations of Python Programming
  • Python for Everybody
  • CS Java
  • How to Think Like a Computer Scientist
  • Java, Java, Java
  • Problem Solving with Algorithms and Data Structures
  • Web Programming
  • How to Think Like a Data Scientist
  • Introduction to Databases
  • Mastering Relational Databases
  • APEX Calculus
  • Active Calculus
  • Discrete Mathematics: An Open Introduction
  • Understanding Linear Algebra
  • Abstract Algebra: Theory and Applications
  • Applied Discrete Structures
  • Intermediate Algebra
full list of courses after auth: Choose a Course — Runestone Academy

Runestone Academy Courses / Classes

The books published on Runestone are all licensed under the Creative Commons CC-BY license or the GNU Free Documentation license. The source code for each book can be found on Our Github Page and will give you the specifics of the license

No comments: