Unit 05
Grids
Edit a photograph pixel by pixel, then build a playable 2048: a row of rows, visited cell by cell, and the moves that rewrite it.
Every assignment filed under this unit, and where each one stands with your classes. The whole console →
- The last indexchecking
- The disappearing elementschecking
- Could we, should wechecking
- What the data can answerchecking
- What an array starts aschecking
- What the enhanced for can touchchecking
- Reading the accumulatorchecking
- Opening a filechecking
- Text into numberschecking
- Replace, or insertchecking
- Removing safelychecking
- Two lists at oncechecking
- Row, then columnchecking
- Across, or downchecking
- One loop, or twochecking
- Finding itchecking
- Swap, or slidechecking
- On the way outchecking
- Halving and mergingchecking
- FRQ · Last threechecking
- FRQ · Streakchecking
- FRQ · Known sumchecking
- FRQ · Diagonalschecking
- FRQ · Heaviest rowchecking
- FRQ · Last indexchecking
- FRQ · Insert nextchecking
- FRQ · Digit sumchecking
- FRQ · Sum fromchecking
- FRQ · Binary searchchecking
- FRQ · Remove shortchecking
- FRQ · Count startingchecking
- FRQ · Sorted insertchecking
- FRQ · Column sumschecking
- FRQ · Row ofchecking
- FRQ · Select intochecking
- FRQ · File totalchecking
- FRQ · Mergechecking
- FRQ · Neighborschecking
- FRQ · Averagechecking
- FRQ · Weather Logchecking
- Quiz · Nutrition Factschecking
- Quiz make-up · Nutrition Factschecking
- FRQ · Digitschecking
- FRQ · Tripchecking
- FRQ · Crosswordchecking
- FRQ · StringCoderchecking
- FRQ · StringFormatterchecking
- FRQ · BatteryChargerchecking
- FRQ · DiverseArraychecking
- FRQ · SparseArraychecking
- FRQ · MasterOrderchecking
Computer Science in Java · members' unit
Grids is behind a locked door
Units in Computer Science in Java are for people taking the course. Getting in takes a link or a key — signing in on its own doesn't do it.
What's in this unit · 13 min read
- What you will build
- 4.11 · Creating and Indexing 2D Arrays
- 4.12 · 2D array traversals
- 4.13 · Standard 2D Array Algorithms
- Project 5-A · PicLab
- Project 5-B · 2048
11 quick checksannotated specimenarray explorercode exercisesdebugging drills
1 Sign in
With your school Google account. This is how your work reaches the gradebook — it doesn't open the unit by itself.
Or buy it
Reading on your own, with no class? The course can be yours.
For someone else, you keep Stripe's receipt and get a link to send them. They claim it with any account of their own.
One payment, yours for as long as the course is offered. Your hand-ins are marked by a person. No account is needed to buy: sign in afterwards with the address you paid with. It can be a gift, too: press Buy and say who it is for.
A key unlocks this browser and keeps your progress here; signing in keeps it with you across devices. Either way the key itself is only ever checked as a hash. Manage all of this on your account, read what signing in stores, or go back to Computer Science in Java.
Sources
- College Board — AP Computer Science A Course and Exam Description, Effective Fall 2025