コンテンツへスキップ
プログラミング学習 — Python, Java, C, SQL & Web

Python for A-Level CS

Data structures, algorithms, and OOP for Cambridge 9618.

  • python
  • 19 レッスン
  • 15 videos
  • ブラウザ内で動作

このデバイス: 0 / 19 課題完了

コース開始

全レッスンはブラウザ内で実行され、実際のコードを記述し、「実行」ボタンを押すだけでタスクが自己確認を行う。無料であり、アカウント不要。翻訳付きメモが英語とペアになっている。

このコースのレッスン

表示されたlesson のうち 19 件中 19 件

  1. Nested loops & 2-D lists A loop inside a loop · A list of lists · Loop over a grid Lesson 1 · 4必須タスク · ★★★ 動画
  2. テキストファイル Why files? · Open, use, close · The with block · Reading the lines Lesson 2 · 3必須タスク · ★★★ 動画
  3. 例外処理 When things go wrong · try / except · Catch the right error · finally and raise Lesson 3 · 3必須タスク · ★★★ 動画
  4. スタック What is an ADT? · A stack is LIFO · push and pop with a list · peek and empty Lesson 4 · 3必須タスク · ★★★★ 動画
  5. キュー A queue is FIFO · enqueue and dequeue with a list · front and empty · A note on speed Lesson 5 · 4必須タスク · ★★★★ 動画
  6. リンクドリスト Nodes joined by links · A node is a small record · Walk the list · Why a linked list? Lesson 6 · 3必須タスク · ★★★★ 動画
  7. 検索 Searching a list · Linear search · Binary search · Compare them Lesson 7 · 3必須タスク · ★★★ 動画
  8. ソート Putting items in order · Bubble sort · Insertion sort · Compare them Lesson 8 · 3必須タスク · ★★★★ 動画
  9. 再帰 A function that calls itself · Base case and recursive case · A worked example: factorial · How the computer runs it Lesson 9 · 3必須タスク · ★★★★ 動画
  10. クラス & オブジェクト A class is a blueprint · init and attributes · Methods · Enumerated types Lesson 10 · 3必須タスク · ★★★ 動画
  11. 継承 & エンカプゼーション Build on an existing class · Call the parent with super() · Override a method · Encapsulation Lesson 11 · 4必須タスク · ★★★★ 動画
  12. プログラミングパラダイム What is a paradigm? · Imperative and procedural · Object-oriented · Declarative Lesson 12 · 3必須タスク · ★★★ 動画
  13. ハッシュテーブル Hash tables: fast lookup · A hash function · Collisions · Linear probing Lesson 13 · 3必須タスク · ★★★★ 動画
  14. 二分探索木 The BST rule · A node · Inserting a value Lesson 14 · 3必須タスク · ★★★★★ 動画
  15. グラフ Representing a graph: adjacency list · Adding an edge · Walking the neighbours Lesson 15 · 3必須タスク · ★★★★★ 動画
  16. Classes with private attributes Private attributes keep the data safe · Getters and setters · Double underscores use name mangling · A list of objects Lesson 16 · 3必須タスク · ★★★★
  17. Stacks and queues in fixed lists The exam's way: a fixed list and pointers · Why global? · A circular queue in a fixed list Lesson 17 · 2必須タスク · ★★★★
  18. Records in a text file Read every line with readline() · Catch a missing file · Write records back to a file Lesson 18 · 3必須タスク · ★★★★
  19. Recursive binary search and random numbers Binary search, written recursively · Random numbers Lesson 19 · 2必須タスク · ★★★★
Open the Python reference Every topic in one place, with short examples you can run.

さらに学ぶ場所

ログインまたはアカウント作成

IGCSE, A-Level & AP