Java สำหรับ AP CS A
การเขียนโปรแกรม Java สำหรับข้อสอบ AP Computer Science A
- java
- 21 บทเรียน
- 16 videos
- ทำงานบนเบราว์เซอร์ของคุณ
บนอุปกรณ์นี้: สำเร็จ 0 จาก 21 บทเรียน
ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ
บทเรียนในหลักสูตรนี้
แสดง 25 จาก 25 บทเรียน
ไม่พบบทเรียนที่ตรงกับการค้นหา ล้างการค้นหาคืนหรือเลือกตัวกรองอื่น
- Java basics: classes, main, และ output AP Computer Science A ใช้ Java · โครงสร้างของ Java · Types Lesson 1 · งานที่ต้องทำ 3 รายการ · ★
- การใช้ objects: String, Math, และ wrappers การใช้ objects · การสร้าง objects ด้วย new · String methods · การเปรียบเทียบ Strings Lesson 2 · งานที่ต้องทำ 3 รายการ · ★ วิดีโอ
- Booleans and selection: if/else and logic Booleans and selection · Relational operators · if / else if / else · Logical operators Lesson 3 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- Loops: while, for, and accumulation Loops · The while loop · The for loop · Accumulation Lesson 4 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- Strings และ nested loops Traversing a String · Counting characters · Building a new String Lesson 5 · งานที่ต้องทำ 3 รายการ · ★★★ วิดีโอ
- Writing a class: fields, constructor, methods Make your own type · Instance variables · A constructor · Instance methods Lesson 6 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- Encapsulation: private fields, getters, setters Protect your data · private fields · Accessors (getters) · Mutators (setters) Lesson 7 · งานที่ต้องทำ 3 รายการ · ★★★
- 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 รายการ · ★★ วิดีโอ
- Array algorithms: max, count, search, average Common array jobs · Sum and count · Find the maximum · Find the minimum Lesson 9 · งานที่ต้องทำ 4 รายการ · ★★★ วิดีโอ
- ArrayList: a list that grows A list that can grow · Making an ArrayList · The methods you need · Numbers need Integer Lesson 10 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- 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 รายการ · ★★★ วิดีโอ
- 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 รายการ · ★★★ วิดีโอ
- Searching: linear and binary Finding a value · Linear search · How fast is linear search? · Binary search needs a sorted array Lesson 13 · งานที่ต้องทำ 3 รายการ · ★★★ วิดีโอ
- 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 รายการ · ★★★★ วิดีโอ
- 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 รายการ · ★★★★ วิดีโอ
- 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 รายการ · ★★★ วิดีโอ
- 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 รายการ · ★★★★ วิดีโอ
- 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 รายการ · ★★★★ วิดีโอ
- 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 รายการ · ★★★★★
- 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 รายการ · ★★★
- 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 รายการ · ★★★
การอ่านและแหล่งข้อมูล
- ประวัติศาสตร์สั้นๆ ของ Java Where Java came from · Write once, run anywhere · Java grows up · Java today การอ่านและแหล่งข้อมูล
- Java ใช้ทำอะไร What people build with Java · Phone apps · Big-company systems · Big data and games การอ่านและแหล่งข้อมูล
- แหล่งเรียนรู้เพิ่มเติม เล่นและฝึกฝน · อ่านและอ้างอิงข้อมูล · เนื้อหาเพิ่มเติมในเว็บนี้ · เคล็ดลับ การอ่านและแหล่งข้อมูล
- ตั้งค่าคอมพิวเตอร์ของคุณ 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.
แหล่งเรียนรู้เพิ่มเติม
- Exercism — เส้นทาง Java แบบฝึกหัดเขียนโค้ดฟรีพร้อมคำแนะนำที่เป็นมิตร
- CodinGame เรียนรู้ภาษา Java ผ่านเกมเขียนโค้ดสนุกๆ
- HackerRank — Java ท้าทายสั้นๆ จากง่ายไปยาก
- dev.java (ทางการ) เว็บไซต์ทางการของ Java พร้อมคู่มือที่ชัดเจนสำหรับผู้เรียน
- Java Tutorials บทเรียนแบบก้าวต่อจาก Oracle
- Visual Studio Code Editor ฟรีสำหรับการเขียน Java บนคอมพิวเตอร์ของคุณเอง
- โจทย์ฝึก Java (เว็บไซต์นี้) คำถามสไตล์ข้อสอบเพื่อทดสอบทักษะ Java ของคุณ
- AP CS Principles (เว็บไซต์นี้) แนวคิดหลักของวิทยาการคอมพิวเตอร์ ในภาษา Python