跳到主要内容
编程入门 — Python, Java, C, SQL & Web

AP 计算机科学原理 Python

计算机科学的核心思想 —— 数据、算法、互联网与影响。

  • python
  • 16 课程
  • 14 videos
  • 在浏览器中运行

此设备:完成 0 / 16 门课程

开始课程

每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。

本课程中的课程

显示 16 / 16 门课程

  1. 计算是什么 Welcome to AP CSP · Every program has a purpose · Input → process → output · A tiny example Lesson 1 · 3 项必做任务 · ★ 视频
  2. 位与二进制 Bits: the smallest piece of data · Why computers use binary · How binary counts · Python can convert for you Lesson 2 · 3 项必做任务 · ★ 视频
  3. 数据压缩 Why compress data · Lossless compression · Lossy compression · The trade-off: size vs quality Lesson 3 · 3 项必做任务 · ★★ 视频
  4. 变量与表达式 Variables hold values · Arithmetic operators · Relational operators · Logical operators Lesson 4 · 3 项必做任务 · ★ 视频
  5. 列表与数据抽象 Why a list? · What is a data abstraction? · Make a list and read it · Grow a list with append Lesson 5 · 3 项必做任务 · ★★ 视频
  6. 选择结构 Programs make choices · if / elif / else · Comparisons make conditions · Boolean logic: and / or / not Lesson 6 · 3 项必做任务 · ★★ 视频
  7. 迭代 Repeat with iteration · Count with for and range · Build a total (accumulation) · Loop until a condition with while Lesson 7 · 3 项必做任务 · ★★ 视频
  8. 过程与抽象 Make a procedure · Parameters pass data in · return gives a value back · Why procedures help: abstraction Lesson 8 · 4 项必做任务 · ★★★ 视频
  9. 算法:搜索 Linear search · Why a sorted list helps · Binary search · Putting ideas together Lesson 9 · 3 项必做任务 · ★★★ 视频
  10. 随机性与模拟 Import random · random.randint(a, b) · Same numbers with a seed · A tiny simulation Lesson 10 · 3 项必做任务 · ★★★ 视频
  11. 算法效率 Counting the work · Reasonable vs unreasonable run time · A tiny demo: counting steps · When fast is not enough Lesson 11 · 3 项必做任务 · ★★★ 视频
  12. 互联网与数据传输方式 The Internet · Data is split into packets · Routing: many paths · Redundancy and fault tolerance Lesson 12 · 3 项必做任务 · ★★ 视频
  13. 并行与分布式计算 Doing work in order · Parallel computing · Speedup · Not always N times faster Lesson 13 · 3 项必做任务 · ★★★ 视频
  14. 计算的影响 Computing changes the world · Benefits and harms together · The digital divide · Bias in computing Lesson 14 · 3 项必做任务 · ★★ 视频
  15. The Create Performance Task (guided) The Create Performance Task · What the program needs · Keep the algorithm inside the procedure · A complete practice example Lesson 15 · 3 项必做任务 · ★★★★
  16. The exam reference sheet: lists and the robot The exam's own pseudocode · List procedures change the list · The robot on a grid · Reading a robot program Lesson 16 · 3 项必做任务 · ★★★

登录或创建账户

IGCSE, A-Level & AP