Introduction to Computer Science A Course


notion image
 
 

Poem: Code for a better future

Some see code—just ones and zeros— but in young minds, it shapes tomorrow’s heroes. A world is born, a dream takes flight, with every loop, with every byte.

So learn with heart, and build with care— the future's written everywhere: in lines of code, in sparks that glow, in every lesson, watch it grow.

 

1. AP CSA Revision For 2026 Candidates

 
notion image
 
notion image
 
 
notion image
 
notion image
notion image
 

2.Course at a glance:

notion image
 
 

Contents:

notion image
 
notion image
 
中文
以下是翻译成中文的内容:

1.1 算法、编程与编译器简介
1.2 变量与数据类型
1.3 表达式与输出
1.4 赋值语句与输入
1.5 类型转换与变量范围
1.6 复合赋值运算符
1.7 应用程序接口(API)与库
1.8 使用注释进行文档编写
1.9 方法签名
1.10 调用类方法
1.11 Math 类
1.12 对象:类的实例
1.13 对象的创建与存储(实例化)
1.14 调用实例方法
1.15 字符串操作

2.1 含选择与重复的算法
2.2 布尔表达式
2.3 if 语句
2.4 嵌套 if 语句
2.5 复合布尔表达式
2.6 比较布尔表达式
2.7 while 循环
2.8 for 循环
2.9 实现选择与迭代算法
2.10 实现字符串算法
2.11 嵌套迭代
2.12 非正式运行时间分析

3.1 抽象与程序设计
3.2 程序设计的影响
3.3 类的结构
3.4 构造方法
3.5 方法:如何编写
3.6 方法:传递与返回对象引用
3.7 类变量与类方法
3.8 作用域与访问权限
3.9 this 关键字

4.1 数据收集的伦理与社会问题
4.2 数据集的基础使用
4.3 数组的创建与访问
4.4 数组遍历
4.5 实现数组算法
4.6 使用文本文件
4.7 包装类
4.8 ArrayList 方法
4.9 ArrayList 遍历
4.10 实现 ArrayList 算法
4.11 二维数组的创建与访问
4.12 二维数组遍历
4.13 实现二维数组算法
4.14 搜索算法
4.15 排序算法
4.16 递归
4.17 递归搜索与排序

 

3.AP CSA Exam:

  • 2026 AP CSA Exam Date: May 7th (around)
  • Exam Duration: 3 hours
  • Exam Format:
Part 1:
Multiple Choice | 42 questions | 90 minutes | 55% of total exam score
Part 2:
Free Response | 4 questions | 90 minutes | 45% of total exam score
Question 1: Methods and Control Structures
Question 2: Classes
Question 3: ArrayList
Question 4: Two-Dimensional Arrays
notion image
 
notion image

4. Java online:

 

5. Learn Java step by step:

 
 

6.Learning Platform:

Best resources that match the new AP CSA syllabus

  1. College Board AP CSA CED + AP Classroom — essential
    1. Use these as the master specification for everything else. The new four units are:
      Unit 1 — Using Objects and Methods: 15–25%
      Unit 2 — Selection and Iteration: 25–35%
      Unit 3 — Class Creation: 10–18%
      Unit 4 — Data Collections: 30–40%. (AP Central)
      Also download the Course at a Glance, Java Quick Reference, sample FRQs, scoring guidelines, and use the AP Classroom question bank/progress checks. The current exam is fully digital in Bluebook, with 42 MCQs / 90 minutes / 55% and 4 FRQs / 90 minutes / 45%. (AP Central)
  1. CSAwesome2 — my #1 free recommendation
    1. This is probably the best match for your situation if you want a complete teaching resource without buying a commercial package. CSAwesome2 was specifically rewritten for the 2025–26 AP CSA revision and is College Board endorsed. (Runestone Academy)
      Its structure follows the new framework:
      Using Objects and Methods → Selection and Iteration → Class Creation → Data Collections, with interactive Java coding, exercises, quizzes, lesson plans, FRQ practice and practice exams. (Runestone Academy)
      Important: use CSAwesome2, not the old CSAwesome v1 / “AP CSA Java Course 2019–2025.” (Runestone Academy)
  1. CodeHS AP CSA — Cortado
    1. If you want a polished LMS-style course with lots of automatically graded coding exercises, AP Computer Science A (Cortado) is the correct new version. CodeHS states that Cortado is its most up-to-date AP CSA course, and College Board recognizes it as an endorsed curriculum. (CodeHS)
      Particularly useful are its Java practice problems, Question of the Day, AP CSA review course, digital textbook, FRQ Center, labs and supplemental projects. (CodeHS)
      Be careful: CodeHS Nitro and Mocha are explicitly marked as the old 2019 AP CSA framework. Do not build a new 2026–27 course around those versions. (CodeHS)
  1. NJCTL AP Computer Science A — excellent free teacher materials
    1. College Board lists NJCTL as an endorsed provider. Its resources include presentations, guided programming activities, classwork/homework, labs, quizzes, tests, AP exam preparation, unit plans and an approved AP syllabus. The materials are also editable. (AP Central)
      This is especially useful if you prefer a traditional teacher presentation → examples → classwork → homework → assessment structure rather than having students spend the whole lesson inside an online course.
  1. Code.org AP Computer Science A
    1. College Board also endorses Code.org's CSA curriculum. It now offers both an objects-first approach and a version arranged according to the sequence of the new AP CSA CED. (AP Central)
      I would consider it particularly useful for students who are relatively new to programming and need more scaffolding.
  1. CompuScholar Java Programming
    1. CompuScholar has updated and re-endorsed its Java Programming curriculum specifically for the Fall 2025+ CED. It includes lessons, videos, quizzes, tests, coding exercises, projects, an approved syllabus and an AP exam topic cross-reference. (CompuScholar)
      The major advantage is teacher workload: many exercises and projects are automatically graded. (CompuScholar)
  1. Barron's AP Computer Science A Premium, 13th Edition
    1. If you want a printed exam-preparation book, make sure you get the 13th Edition / 2026 edition, not an older Barron's copy. The publisher description specifically states that this edition incorporates the revised CED and College Board changes for 2025–26. (亚马逊)

What I would use for your AP CSA classes

For a teacher building a course from scratch, I would not buy a large curriculum immediately. I would build the course around:
College Board CED + AP Classroom → official specification and exam questions
CSAwesome2 → main student textbook/course
CodeHS Cortado → extra coding practice and FRQ practice
NJCTL → PowerPoints, classwork, homework and assessments
Bluebook practice → digital exam preparation. (AP Central)
That combination can cover almost everything you need.
One particularly important change for lesson planning is the FRQ structure. Students should be trained repeatedly on exactly these four forms: Methods & Control Structures, Class Design, Data Analysis with ArrayList, and 2D Array. (AP Central)
If you are preparing materials for the 2026–27 school year / May 2027 exam, the Fall 2025 CED shown in your image remains the current framework; College Board currently lists no newer AP CSA framework change. (AP Central)
 
 

7.IDE offline:

notion image
 

8.百度网盘共享资料

内含: 大纲, pdf教材 , 视频等
通过网盘分享的文件:2027csa网盘资料 链接: https://pan.baidu.com/s/1FRhagHo5CXWL5zvheNhE2Q 提取码: xjpu --来自百度网盘超级会员v9的分享
 
 

9. 入门程序:

下面给你一套适合 AP Computer Science A 初学者的 Java 入门程序,共 30 个 mini programs,从最基础的输出、变量、if、循环,一直到数组、ArrayList、类与对象,基本对应 AP CSA 前期到中期的学习路线。

AP CSA 入门程序 30 Pieces

  1. Hello World
考点:程序基本结构、main 方法、输出。
  1. 自我介绍
考点:多个输出语句。
  1. 整数加法
考点:int、变量、算术运算。
  1. 长方形面积
考点:double、乘法。
  1. 摄氏度转华氏度
考点:表达式、整数与浮点运算。
  1. 平均数
考点:运算顺序。
  1. 判断正数还是负数
考点:if-else。
  1. 判断奇偶数
考点:% 取余。
  1. 比较两个数
考点:比较运算。
  1. 成绩等级
考点:if / else if / else。
  1. 判断闰年
考点:条件判断。
  1. 输出 1 到 10
考点:for 循环。
  1. 计算 1 到 100 的和
考点:累加器 accumulator。
  1. 输出偶数
考点:循环步长。
  1. 九九乘法表中的一行
考点:字符串拼接、循环。
  1. 阶乘
考点:乘法累积。
  1. While 倒计时
考点:while。
  1. 随机数
考点:Math.random()、类型转换。
  1. 掷两个骰子
考点:随机数综合应用。
  1. 简单方法 Method
考点:method、parameter、return。
  1. 求两个数中的较大值
考点:带返回值的方法。
  1. String 长度
考点:String、.length()。
  1. String 截取
考点:substring(),AP CSA 高频知识点。
  1. 统计字符串中字母 a 的数量
考点:String traversal、.equals()。
  1. 数组求和
考点:array、index、.length。
  1. 数组求最大值
考点:数组遍历、最大值算法。
  1. Enhanced for loop
考点:enhanced for loop。
  1. ArrayList
考点:ArrayList、add()、get()。
  1. 创建 Student 类
测试:
考点:class、object、constructor、instance variable、getter。
  1. 学生成绩管理小程序
考点:综合运用 ArrayList + loop + if + casting + average/max。
推荐教学顺序:
1–6 基础语法 → 7–11 条件语句 → 12–19 循环与随机数 → 20–24 Methods & String → 25–28 Array & ArrayList → 29–30 Classes + 综合程序
 
他山之石-9618:
 
 

学生名单:
 
CHEN,YILU(River)|陈依璐
 
HE,ZIQI(Rocky)|何梓淇
 
ZHU,QICHEN(Leo)|朱启辰
 
张浚熙
 
 

Quiz:

下面这 20 道题严格围绕前面 30 个 Java 入门程序设计,难度从基础逐渐提高,题型尽量贴近 AP CSA MCQ 风格。每题只有 一个正确答案。

AP CSA Introductory MCQ — 20 Questions

Question 1

Consider the following code.
What is printed?
A. 128
B. 20
C. 12 + 8
D. 4

Question 2

Consider the following code.
What is printed?
A. 12.5
B. 34
C. 34.0
D. 32.5

Question 3

Consider the following code.
What is printed?
A. 2
B. 2.0
C. 2.5
D. 3

Question 4

Consider the following code.
What is printed?
A. Even
B. Odd
C. 17
D. Nothing is printed.

Question 5

Consider the following code.
What is printed?
A. A
B. B
C. C
D. D

Question 6

Consider the following code.
What is printed?
A. 0 1 2 3 4
B. 1 2 3 4
C. 1 2 3 4 5
D. 1 2 3 4 5 6

Question 7

Consider the following code.
What is printed?
A. 4
B. 6
C. 10
D. 15

Question 8

Consider the following code.
How many values are printed?
A. 4
B. 5
C. 6
D. 10

Question 9

Consider the following code.
What is printed?
A. 10
B. 16
C. 24
D. 64

Question 10

Consider the following code.
What is printed?
A. 1 2 3 Go!
B. 3 2 1 Go!
C. 3 2 1 0 Go!
D. 2 1 Go!

Question 11

Consider the following expression.
Which of the following represents all possible values of the expression?
A. Integers from 0 through 5
B. Integers from 0 through 6
C. Integers from 1 through 6
D. Integers from 1 through 7

Question 12

Consider the following method.
What is the value of the following expression?
A. 7
B. 12
C. 24
D. 25

Question 13

Consider the following method.
What is returned by the call below?
A. 0
B. 8
C. The method does not return a value.
D. A runtime error occurs.

Question 14

Consider the following code.
What is printed?
A. 7
B. 8
C. 9
D. 10

Question 15

Consider the following code.
What is printed?
A. Com
B. Comp
C. omp
D. Computer

Question 16

Consider the following code.
What is printed?
A. 2
B. 3
C. 4
D. 6

Question 17

Consider the following code.
What is printed?
A. 4
B. 7
C. 2
D. 9

Question 18

Consider the following code.
What is printed?
A. 8
B. 10
C. 15
D. 42

Question 19

Consider the following code.
What is printed?
A. Amy
B. Ben
C. Chris
D. An IndexOutOfBoundsException occurs.

Question 20

Consider the following code.
What is printed?
A. 90
B. 90.0
C. 270.0
D. 100.0

 
 
 
 
9e Pseudocode Questions from Past apers 伪代码往年真题AP CSA 视频讲解
Loading...