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

AP CS AのためのJava

AP Computer Science A試験のためのJavaプログラミング。

  • java
  • 21 レッスン
  • 16 videos
  • ブラウザ内で動作

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

コース開始

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

このコースのレッスン

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

  1. Javaの基礎:クラス、main、および出力 AP Computer Science A は Java を使用します · Javaの骨組み · タイプ Lesson 1 · 3必須タスク · ★
  2. オブジェクトの使用:String、Math、およびラッパー オブジェクトの使用 · new によるオブジェクトの作成 · String メソッド · 文字列の比較 Lesson 2 · 3必須タスク · ★ 動画
  3. Booleans and selection: if/else and logic Booleans and selection · Relational operators · if / else if / else · Logical operators Lesson 3 · 3必須タスク · ★★ 動画
  4. Loops: while, for, and accumulation Loops · The while loop · The for loop · Accumulation Lesson 4 · 3必須タスク · ★★ 動画
  5. 文字列とネストループ Traversing a String · Counting characters · Building a new String Lesson 5 · 3必須タスク · ★★★ 動画
  6. Writing a class: fields, constructor, methods Make your own type · Instance variables · A constructor · Instance methods Lesson 6 · 3必須タスク · ★★ 動画
  7. Encapsulation: private fields, getters, setters Protect your data · private fields · Accessors (getters) · Mutators (setters) Lesson 7 · 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 · 3必須タスク · ★★ 動画
  9. Array algorithms: max, count, search, average Common array jobs · Sum and count · Find the maximum · Find the minimum Lesson 9 · 4必須タスク · ★★★ 動画
  10. ArrayList: a list that grows A list that can grow · Making an ArrayList · The methods you need · Numbers need Integer Lesson 10 · 3必須タスク · ★★ 動画
  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 · 3必須タスク · ★★★ 動画
  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 · 3必須タスク · ★★★ 動画
  13. Searching: linear and binary Finding a value · Linear search · How fast is linear search? · Binary search needs a sorted array Lesson 13 · 3必須タスク · ★★★ 動画
  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 · 3必須タスク · ★★★★ 動画
  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 · 3必須タスク · ★★★★ 動画
  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 · 3必須タスク · ★★★ 動画
  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 · 3必須タスク · ★★★★ 動画
  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 · 3必須タスク · ★★★★ 動画
  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 · 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 · 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 · 4必須タスク · ★★★

読書とリソース

  1. Javaの短い歴史 Where Java came from · Write once, run anywhere · Java grows up · Java today 読書とリソース
  2. Javaが何に使われるか What people build with Java · Phone apps · Big-company systems · Big data and games 読書とリソース
  3. さらに学ぶ場所 遊びながら学ぶ · 読み物・リファレンス · このサイトについて · ポイント 読書とリソース
  4. コンピュータをセットアップする Run Java on your own computer · Step 1 — Install the JDK · Step 2 — Install VS Code · Step 3 — Add the Java extension 読書とリソース
Open the Java reference Every topic in one place, with short examples you can run.

さらに学ぶ場所

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

IGCSE, A-Level & AP