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

IGCSE 计算机科学 Python

面向剑桥 IGCSE 0478 的编程、算法、数据库与逻辑。

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

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

开始课程

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

本课程中的课程

显示 14 / 14 门课程

  1. 顺序、输入与输出 A program runs in order · OUTPUT becomes print() · INPUT becomes input() · Turn input into a number Lesson 1 · 3 项必做任务 · ★ 视频
  2. Variables, constants & data types A variable is a named box · The five data types · Constants stay the same · Changing between types Lesson 2 · 3 项必做任务 · ★ 视频
  3. Selection — IF and CASE Making a decision · else: the other path · elif: many paths · Comparison operators Lesson 3 · 3 项必做任务 · ★★ 视频
  4. Iteration — loops Count-controlled loops · Choosing the range · Pre-condition loops: while · Post-condition loops: REPEAT UNTIL Lesson 4 · 3 项必做任务 · ★★ 视频
  5. Totalling & counting Totalling: a running total · Counting: a running count · Average = total ÷ count Lesson 5 · 3 项必做任务 · ★★ 视频
  6. Procedures & functions A function is a named block · Parameters pass data in · Functions return a value Lesson 6 · 3 项必做任务 · ★★★ 视频
  7. Validation & verification Why validate input · Range check · Length check · Presence check Lesson 7 · 3 项必做任务 · ★★ 视频
  8. 1-D arrays (lists) A list holds many values · Reach an item by its index · Change an item · Length and looping Lesson 8 · 3 项必做任务 · ★★ 视频
  9. 2-维数组 A grid of rows and columns · Reach one cell · A nested loop visits every cell · Add up a grid Lesson 9 · 3 项必做任务 · ★★★ 视频
  10. Searching & max / min Linear search · Finding the maximum · Finding the minimum Lesson 10 · 3 项必做任务 · ★★★ 视频
  11. 冒泡排序 Sorting puts items in order · Swapping two values · Bubble sort: compare neighbours Lesson 11 · 3 项必做任务 · ★★★★ 视频
  12. 文本文件 Files keep data · Writing to a file · Reading a file · Reading line by line Lesson 12 · 3 项必做任务 · ★★★ 视频
  13. 数据库与 SQL A database stores tables · SELECT: choose columns · WHERE: filter rows · ORDER BY: sort the results Lesson 13 · 5 项必做任务 · ★★★ 视频
  14. Boolean logic & truth tables Boolean values · AND, OR, NOT · A truth table · Build a truth table with loops Lesson 14 · 3 项必做任务 · ★★ 视频
Open the Python reference Every topic in one place, with short examples you can run.

深入学习入口

登录或创建账户

IGCSE, A-Level & AP