Programming Languages and Integrated Development Environments | OCR GCSE Computer Science (J277)
Programming Languages and Integrated Development Environments
- 32 questions
- 2 subtopics
- J277/02
- J277/02
Programming Languages and Integrated Development Environments is examined in J277/02, Computational thinking, algorithms and programming.
It covers high-level and low-level languages and translators and the integrated development environment (IDE).
Sample questions from Programming Languages and Integrated Development Environments
Answer each one closed book first, then open the answer.
-
High-level and low-level languages and translators
Why can a program written in a high-level language run on different types of processor?
Show the answer
High-level code is not tied to one processor's instruction set. The code can be translated into the machine code of whichever processor will run it. -
High-level and low-level languages and translators
What does an interpreter do?
Show the answer
An interpreter translates and runs a program's source code one line at a time. The interpreter produces no separate executable file, so the code is translated every time it runs. -
The integrated development environment (IDE)
Why does an IDE editor display line numbers?
Show the answer
Line numbers let the programmer find the exact line that an error message refers to. Line numbers also make it easier to discuss code with other programmers. -
The integrated development environment (IDE)
What is a variable watch in an IDE?
Show the answer
A watch window displays the current values of chosen variables while the program runs. The programmer can see the moment a variable takes an unexpected value.
The 2 subtopics
One subtopic is one session. Work down the list.
| Subtopic | What it covers | Questions |
|---|---|---|
| High-level and low-level languages and translators | High-level and low-level languages, machine code and assembly language, source code, and how compilers and interpreters differ in translation, speed and error reporting. | 16 |
| The integrated development environment (IDE) | The editor, syntax highlighting, auto-completion and line numbers, error diagnostics, breakpoints, stepping and variable watches, and the run-time environment and translator. | 16 |
How the guide is worked
Answering a question from memory stores it far better than reading the answer again. The guide runs that as a fixed procedure on one subtopic at a time, about twenty minutes a session.
-
Step 1 · Closed book
Cover the answers. Work through one subtopic and write down what you can. Leave blanks where you have nothing.
-
Step 2 · Open book
Go back to the top. Read each printed answer and write it out in full, including the ones you had right.
-
Step 3 · Closed book again
Same questions, same order, from memory. The gap between pass one and pass three is the session result.
Read the full method, the return schedule and the research behind it.
Nearby topics
OCR GCSE Computer Science Active Recall Guide
Every topic, not just this one. 740 questions with their answers.