Lompat ke konten
Belajar Memrogram — Python, Java, C, SQL & Web

Python untuk Prinsip CS AP

Gagasan besar komputasi — data, algoritma, Internet, dan dampak.

  • python
  • 16 Pelajaran
  • 14 videos
  • Berjalan di browser Anda

Pada perangkat ini: 0 dari 16 pelajaran diselesaikan

Mulai kursus

Setiap pelajaran berjalan di browser Anda — tulis kode nyata, tekan Jalankan, dan tugas memeriksa dirinya sendiri. Gratis, tidak perlu akun, dengan catatan terjemahan yang dipasangkan dengan bahasa Inggris.

Pelajaran dalam kursus ini

16 dari 16 pelajaran ditampilkan

  1. Apa itu komputasi Welcome to AP CSP · Every program has a purpose · Input → process → output · A tiny example Lesson 1 · tugas yang di 3 · ★ Video
  2. Bit dan biner Bits: the smallest piece of data · Why computers use binary · How binary counts · Python can convert for you Lesson 2 · tugas yang di 3 · ★ Video
  3. Kompresi data Why compress data · Lossless compression · Lossy compression · The trade-off: size vs quality Lesson 3 · tugas yang di 3 · ★★ Video
  4. Variabel dan ekspresi Variables hold values · Arithmetic operators · Relational operators · Logical operators Lesson 4 · tugas yang di 3 · ★ Video
  5. List dan abstraksi data Why a list? · What is a data abstraction? · Make a list and read it · Grow a list with append Lesson 5 · tugas yang di 3 · ★★ Video
  6. Seleksi Programs make choices · if / elif / else · Comparisons make conditions · Boolean logic: and / or / not Lesson 6 · tugas yang di 3 · ★★ Video
  7. Iterasi Repeat with iteration · Count with for and range · Build a total (accumulation) · Loop until a condition with while Lesson 7 · tugas yang di 3 · ★★ Video
  8. Prosedur dan abstraksi Make a procedure · Parameters pass data in · return gives a value back · Why procedures help: abstraction Lesson 8 · tugas yang di 4 · ★★★ Video
  9. Algoritma: pencarian Linear search · Why a sorted list helps · Binary search · Putting ideas together Lesson 9 · tugas yang di 3 · ★★★ Video
  10. Keacakan dan simulasi Import random · random.randint(a, b) · Same numbers with a seed · A tiny simulation Lesson 10 · tugas yang di 3 · ★★★ Video
  11. Efisiensi algoritma Counting the work · Reasonable vs unreasonable run time · A tiny demo: counting steps · When fast is not enough Lesson 11 · tugas yang di 3 · ★★★ Video
  12. Internet dan cara data bergerak The Internet · Data is split into packets · Routing: many paths · Redundancy and fault tolerance Lesson 12 · tugas yang di 3 · ★★ Video
  13. Komputasi paralel dan terdistribusi Doing work in order · Parallel computing · Speedup · Not always N times faster Lesson 13 · tugas yang di 3 · ★★★ Video
  14. Dampak komputasi Computing changes the world · Benefits and harms together · The digital divide · Bias in computing Lesson 14 · tugas yang di 3 · ★★ Video
  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 · tugas yang di 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 · tugas yang di 3 · ★★★

Masuk atau buat akun

IGCSE, A-Level & AP