Перейти к содержанию
Изучение программирования — Python, Java, C, SQL и веб-разработка

Python for A-Level CS

Data structures, algorithms, and OOP for Cambridge 9618.

  • питон
  • 19 Уроки
  • 15 videos
  • Работает в вашем браузере

На этом устройстве: завершено 0 из 19 уроков

Начать курс

Каждый урок работает в вашем браузере — пишите реальный код, нажимайте «Выполнить», и задания проверяют себя сами. Бесплатно, регистрация не требуется, с переведёнными заметками, сопоставленными с английским языком.

Уроки в этом курсе

Показано 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