Grade 11 Computer Science · The bridge to Java
Summary practice — the bridge
Ten exercises on everything the unit taught.
One difference, and the rest follow
The checking stage, a declared type, everything inside a class, the first error only, and what carried over unchanged. These exercises check whether you see that most of what looks new in Java is what the check before running needs in order to work.
This unit dealt with one essential difference and several syntactic ones. The essential one is the stage added between writing and running; the syntactic ones are what that stage needs in order to work. And all the rest — the way of thinking, the algorithms, the judgement — stayed exactly as it was.
Review — what happens from typing to output
- Code is written inside a class.
- The check reads and checks it all.
- If it passed — a runnable program is produced.
- The run begins at the agreed operation.