דלג לתוכן
למד לתכנת — 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 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