Saltar al contenido
Aprende a programar — Python, Java, C, SQL y Web

Java para AP CS A

Programación en Java para el examen de Computer Science A.

  • java
  • 21 Lecciones
  • 16 videos
  • Se ejecuta en tu navegador

En este dispositivo: 0 de 21 lecciones completadas

Iniciar el curso

Cada lección funciona en su navegador: escriba código real, presione Ejecutar y las tareas se verifican solas. Gratis, sin necesidad de cuenta, con notas traducidas emparejadas con inglés.

Lecciones en este curso

25 de 25 lecciones mostradas

  1. Básicos de Java: clases, main y salida AP Computer Science A utiliza Java · La estructura básica de Java · Tipos Lesson 1 · Tareas obligatorias 3 · ★
  2. Usando objetos: String, Math y envolventes Usando objetos · Creación de objetos con new · Métodos de String · Comparación de Strings Lesson 2 · Tareas obligatorias 3 · ★ Video
  3. Booleans and selection: if/else and logic Booleans and selection · Relational operators · if / else if / else · Logical operators Lesson 3 · Tareas obligatorias 3 · ★★ Video
  4. Loops: while, for, and accumulation Loops · The while loop · The for loop · Accumulation Lesson 4 · Tareas obligatorias 3 · ★★ Video
  5. Cadenas y bucles anidados Traversing a String · Counting characters · Building a new String Lesson 5 · Tareas obligatorias 3 · ★★★ Video
  6. Writing a class: fields, constructor, methods Make your own type · Instance variables · A constructor · Instance methods Lesson 6 · Tareas obligatorias 3 · ★★ Video
  7. Encapsulation: private fields, getters, setters Protect your data · private fields · Accessors (getters) · Mutators (setters) Lesson 7 · Tareas obligatorias 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 · Tareas obligatorias 3 · ★★ Video
  9. Array algorithms: max, count, search, average Common array jobs · Sum and count · Find the maximum · Find the minimum Lesson 9 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 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 · Tareas obligatorias 4 · ★★★

Lectura y recursos

  1. Una breve historia de Java Where Java came from · Write once, run anywhere · Java grows up · Java today Lectura y recursos
  2. Para qué se usa Java What people build with Java · Phone apps · Big-company systems · Big data and games Lectura y recursos
  3. Dónde aprender más Juega y practica · Lee y consulta · Más en este sitio · Consejo Lectura y recursos
  4. Configura tu computadora Run Java on your own computer · Step 1 — Install the JDK · Step 2 — Install VS Code · Step 3 — Add the Java extension Lectura y recursos
Open the Java reference Every topic in one place, with short examples you can run.

Dónde aprender más

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP