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

Java untuk AP CS A

Pemrograman Java untuk ujian AP Computer Science A.

  • java
  • 21 Pelajaran
  • 16 videos
  • Berjalan di browser Anda

Pada perangkat ini: 0 dari 21 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

25 dari 25 pelajaran ditampilkan

  1. Dasar-dasar Java: kelas, main, dan output AP Computer Science A menggunakan Java · Kerangka kerja Java · Tipe Data Lesson 1 · tugas yang di 3 · ★
  2. Menggunakan objek: String, Math, dan wrapper Menggunakan objek · Membuat objek dengan new · Method String · Membandingkan String Lesson 2 · tugas yang di 3 · ★ Video
  3. Booleans and selection: if/else and logic Booleans and selection · Relational operators · if / else if / else · Logical operators Lesson 3 · tugas yang di 3 · ★★ Video
  4. Loops: while, for, and accumulation Loops · The while loop · The for loop · Accumulation Lesson 4 · tugas yang di 3 · ★★ Video
  5. String dan perulangan bersarang Traversing a String · Counting characters · Building a new String Lesson 5 · tugas yang di 3 · ★★★ Video
  6. Writing a class: fields, constructor, methods Make your own type · Instance variables · A constructor · Instance methods Lesson 6 · tugas yang di 3 · ★★ Video
  7. Encapsulation: private fields, getters, setters Protect your data · private fields · Accessors (getters) · Mutators (setters) Lesson 7 · tugas yang di 3 · ★★★
  8. 1-D arrays: store, index, and traverse Many values in one box · Make an array with values · Index positions · Make an empty array Lesson 8 · tugas yang di 3 · ★★ Video
  9. Array algorithms: max, count, search, average Common array jobs · Sum and count · Find the maximum · Find the minimum Lesson 9 · tugas yang di 4 · ★★★ Video
  10. ArrayList: a list that grows A list that can grow · Making an ArrayList · The methods you need · Numbers need Integer Lesson 10 · tugas yang di 3 · ★★ Video
  11. ArrayList algorithms: filter and the remove bug Doing work on a whole list · Counting with a rule · Filtering into a new list · The remove-while-iterating bug Lesson 11 · tugas yang di 3 · ★★★ Video
  12. 2-D arrays: working with a grid A grid of values · Making a 2-D array · Reading and writing one cell · How big is the grid? Lesson 12 · tugas yang di 3 · ★★★ Video
  13. Searching: linear and binary Finding a value · Linear search · How fast is linear search? · Binary search needs a sorted array Lesson 13 · tugas yang di 3 · ★★★ Video
  14. Sorting: selection and insertion sort Putting an array in order · Selection sort: the idea · Selection sort: a trace · Insertion sort: the idea Lesson 14 · tugas yang di 3 · ★★★★ Video
  15. Recursion: base case and recursive case A method that calls itself · Base case and recursive case · Example: power · How the calls unwind Lesson 15 · tugas yang di 3 · ★★★★ Video
  16. Text files: write and read with Scanner Reading and writing text files · The imports you need · Files can fail, so we say throws IOException · Writing a file with PrintWriter Lesson 16 · tugas yang di 3 · ★★★ Video
  17. Inheritance: extends, super, and overriding Inheritance: building on a class · extends and super · Overriding a method · super.method() — extend, don't replace Lesson 17 · tugas yang di 3 · ★★★★ Video
  18. Polymorphism: dynamic dispatch and toString() Polymorphism: one type, many behaviours · Dynamic dispatch · One loop handles every subclass · toString(): every object inherits it from Object Lesson 18 · tugas yang di 3 · ★★★★ Video
  19. FRQ workshop: the 4 question types The free-response section · Type 1: Methods and Control Structures · Type 2: Class Design · Type 3: Data analysis with ArrayList Lesson 19 · tugas yang di 4 · ★★★★★
  20. Numbers: division, casting and overflow Numbers that surprise you · Integer division and % · Casting a double to an int · When an int is too big Lesson 20 · tugas yang di 4 · ★★★
  21. Overloading, scope, null and De Morgan Small rules that cost marks · Overloading: one name, several methods · Scope: where a variable exists · null: a reference to nothing Lesson 21 · tugas yang di 4 · ★★★

Pembacaan dan sumber daya

  1. Sejarah singkat Java Where Java came from · Write once, run anywhere · Java grows up · Java today Pembacaan dan sumber daya
  2. Apa Java digunakan untuk What people build with Java · Phone apps · Big-company systems · Big data and games Pembacaan dan sumber daya
  3. Di mana untuk belajar lebih lanjut Bermain dan berlatih · Baca dan rujuk · Lebih lanjut di situs ini · Tips Pembacaan dan sumber daya
  4. Siapkan komputer Anda Run Java on your own computer · Step 1 — Install the JDK · Step 2 — Install VS Code · Step 3 — Add the Java extension Pembacaan dan sumber daya
Open the Java reference Every topic in one place, with short examples you can run.

Di mana untuk belajar lebih lanjut

Masuk atau buat akun

IGCSE, A-Level & AP