Java para AP CS A
Programação Java para o exame AP Computer Science A.
- java
- 21 Lições
- 16 videos
- Roda no seu navegador
Neste dispositivo: 0 de 21 aulas concluídas
Cada aula roda no seu navegador — escreva código real, pressione Executar e as tarefas se verificam sozinhas. Grátis, sem necessidade de conta, com notas traduzidas em par com o inglês.
Lições neste curso
25 de 25 aulas mostradas
Nenhuma aula corresponde. Limpe a busca ou escolha outro filtro.
- Básicos de Java: classes, main e saída AP Computer Science A usa Java · A estrutura básica do Java · Tipos Lesson 1 · 3 tarefas obrigatórias · ★
- Usando objetos: String, Math e wrappers Usando objetos · Criando objetos com new · Métodos String · Comparando Strings Lesson 2 · 3 tarefas obrigatórias · ★ Vídeo
- Booleans and selection: if/else and logic Booleans and selection · Relational operators · if / else if / else · Logical operators Lesson 3 · 3 tarefas obrigatórias · ★★ Vídeo
- Loops: while, for, and accumulation Loops · The while loop · The for loop · Accumulation Lesson 4 · 3 tarefas obrigatórias · ★★ Vídeo
- Strings e laços aninhados Traversing a String · Counting characters · Building a new String Lesson 5 · 3 tarefas obrigatórias · ★★★ Vídeo
- Writing a class: fields, constructor, methods Make your own type · Instance variables · A constructor · Instance methods Lesson 6 · 3 tarefas obrigatórias · ★★ Vídeo
- Encapsulation: private fields, getters, setters Protect your data · private fields · Accessors (getters) · Mutators (setters) Lesson 7 · 3 tarefas obrigatórias · ★★★
- 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 tarefas obrigatórias · ★★ Vídeo
- Array algorithms: max, count, search, average Common array jobs · Sum and count · Find the maximum · Find the minimum Lesson 9 · 4 tarefas obrigatórias · ★★★ Vídeo
- ArrayList: a list that grows A list that can grow · Making an ArrayList · The methods you need · Numbers need Integer Lesson 10 · 3 tarefas obrigatórias · ★★ Vídeo
- 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 tarefas obrigatórias · ★★★ Vídeo
- 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 tarefas obrigatórias · ★★★ Vídeo
- Searching: linear and binary Finding a value · Linear search · How fast is linear search? · Binary search needs a sorted array Lesson 13 · 3 tarefas obrigatórias · ★★★ Vídeo
- 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 tarefas obrigatórias · ★★★★ Vídeo
- 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 tarefas obrigatórias · ★★★★ Vídeo
- 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 tarefas obrigatórias · ★★★ Vídeo
- 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 tarefas obrigatórias · ★★★★ Vídeo
- 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 tarefas obrigatórias · ★★★★ Vídeo
- 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 tarefas obrigatórias · ★★★★★
- 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 tarefas obrigatórias · ★★★
- 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 tarefas obrigatórias · ★★★
Leitura e recursos
- Uma breve história do Java Where Java came from · Write once, run anywhere · Java grows up · Java today Leitura e recursos
- Para que Java é usado What people build with Java · Phone apps · Big-company systems · Big data and games Leitura e recursos
- Onde aprender mais Brincar e praticar · Ler e consultar · Mais neste site · Dica Leitura e recursos
- Configure seu computador Run Java on your own computer · Step 1 — Install the JDK · Step 2 — Install VS Code · Step 3 — Add the Java extension Leitura e recursos
Open the Java reference
Every topic in one place, with short examples you can run.
Onde aprender mais
- Exercism — trilha Java Exercícios de codificação gratuitos com feedback amigável
- CodinGame Aprenda Java resolvendo jogos de codificação divertidos
- HackerRank — Java Desafios curtos, do fácil ao difícil
- dev.java (oficial) O site oficial do Java, com guias claros para aprendizes
- Os Tutoriais do Java Lições passo a passo da Oracle
- Visual Studio Code O editor gratuito para escrever Java no seu próprio computador
- Problemas de prática Java (este site) Questões estilo exame para testar seu Java
- AP CS Principles (este site) As grandes ideias da computação, em Python