IB Computer Science HL · Year 2 · Lesson 36
Compilers, interpreters, JIT and bytecode
Translation turns source code into executable behaviour through compilation, interpretation, bytecode and just-in-time techniques.
Paper 150 minutesA1.4.1
Use Next or the arrow keys.
Today’s targets
What you need to be able to do
2 / 7
- EvaluateThe translation processes of interpreters and compilers
A1.4.1
Paper 1 lensMatch the depth of every response to the command term. Previously learned content can move quickly, but retrieval must still be accurate.
Page 2 of 7
Retrieve
Rapid Recall Deck
3 / 7
Say the answer aloud before flipping. Mark secure knowledge quickly and spend time on the gaps.
- How does a compiler translate a program?: It translates the program into a target form before normal execution, reporting detected translation errors as part of that process.
- How does an interpreter execute a program?: It translates and executes code incrementally at runtime rather than producing the entire final executable beforehand.
- What is just-in-time (JIT) compilation?: Runtime compilation of code—often bytecode—into native machine code, combining portability with improved execution speed for frequently used code.
- What is bytecode?: An intermediate, platform-independent instruction representation designed to be executed or further compiled by a virtual machine/runtime.
- Which translation approaches fit rapid testing, high performance, and cross-platform deployment?: Interpreted/incremental execution can aid rapid testing; ahead-of-time compilation suits performance-critical software; bytecode plus a VM/JIT is useful for cross-platform deployment.
Page 3 of 7
A1.4.1 · Learn
Core knowledge and application
4 / 7
A1.4.1Evaluate
The translation processes of interpreters and compilers
Translation turns source code into executable behaviour through compilation, interpretation, bytecode and just-in-time techniques.
Exam moveWeigh strengths and limitations in context, then reach a supported judgement.
Required detail 1The mechanics and use-cases of each translation approach
Required detail 2The difference in error detection, translation time, portability and applicability for different translation processes, including just-in-time compilation (JIT) and bytecode interpreters
Required detail 3Example scenarios where the translation method should be considered must include rapid development and testing, performance-critical applications and cross-platform development
Explain it without notes
Evaluate: The translation processes of interpreters and compilers in the context of a development team choosing how source code will be translated and executed.
- The mechanics and use-cases of each translation approach
- The difference in error detection, translation time, portability and applicability for different translation processes, including just-in-time compilation (JIT) and bytecode interpreters
- Example scenarios where the translation method should be considered must include rapid development and testing, performance-critical applications and cross-platform development
Page 4 of 7
Apply
Transfer to a new scenario
5 / 7
ScenarioA development team choosing how source code will be translated and executed needs a design or technical decision related to today’s topic. Explain what matters and why.
- The mechanics and use-cases of each translation approach
- The difference in error detection, translation time, portability and applicability for different translation processes, including just-in-time compilation (JIT) and bytecode interpreters
Page 5 of 7
Exam lens
Paper 1 practice
6 / 7
Build the response before checking notesUse precise terminology and match the required depth.
- Evaluate: The translation processes of interpreters and compilers in the context of a development team choosing how source code will be translated and executed.
Self-checkAnswer the exact command term. For explain, include mechanism/reason; for compare, pair criteria; for discuss/evaluate/justify, build supported reasoning and a conclusion.
Page 6 of 7
Homework
Finish the learning cycle
7 / 7
IA — main task
Finish Criterion D evidence: development documentation, testing evidence, video planning/recording and full source-code appendix.
Syllabus — short
Complete a short Paper 1 retrieval set based on today’s topic.
Designed by David Xu
© 2026 David Xu. All rights reserved.
Educators and students are welcome to use these materials for non-commercial teaching and learning with attribution. Please share the original link when possible. Reposting, redistributing modified copies, removing attribution, or commercial use requires prior permission.
End of Lesson 36.