SAM HARRIS TECH REVISION
OCR GCSE CS - 2.5 Programming Languages and IDEs
2.5 Programming Languages and IDEs (OCR J277)
2.5.1 Programming Languages
- High-Level Languages: Written in English-like commands (e.g., Python, Java). Easy for humans to read but must be translated for the CPU.
- Low-Level Languages: Machine code (binary) and Assembly. Harder for humans but closer to what the CPU understands.
- Translators: Programs that convert source code into machine code so the computer can execute it.
- Compilers: Translates the entire source code at once to create an executable file. Faster execution but harder to debug.
- Interpreters: Translates and executes code line-by-line. Stops at the first error, making it great for debugging.
2.5.2 Integrated Development Environments (IDEs)
- Definition: A software application that provides comprehensive facilities to computer programmers for software development.
- Editors: Features like syntax highlighting (colour coding) and auto-completion to help write code.
- Error Diagnostics: Tools like underlining errors or providing error messages to help fix bugs.
- Runtime Environment: Allows the programmer to run and test their code instantly within the IDE.
- Debuggers: Tools like breakpoints and variable watchers to step through code and find logic flaws.
Related Past Paper Questions
-
Year: 2024
Identify two features of an Integrated Development Environment (IDE) that help a programmer to write code.
Mark: [2]
-
Year: 2024
Explain the difference between a high-level language and a low-level language.
Mark: [2]
-
Year: 2023
Describe how a 'Compiler' translates a high-level program into machine code.
Mark: [3]
-
Year: 2023
Identify one advantage of using an 'Interpreter' instead of a compiler during the development process.
Mark: [1]
-
Year: 2022
Explain the purpose of 'Breakpoints' as a debugging tool within an IDE.
Mark: [2]
-
Year: 2022
State why a programmer would choose to write a program in Assembly Language rather than a high-level language.
Mark: [2]
-
Year: 2021
Identify and describe one 'Runtime' tool provided by an IDE.
Mark: [2]
-
Year: 2021
Define the term 'Machine Code'.
Mark: [1]
-
Year: 2020
Explain how an IDE's 'Error Diagnostics' help a programmer to produce robust code.
Mark: [2]
-
Year: Sample Paper
Compare the translation process of a compiler with that of an interpreter.
Mark: [4]