Community resourceWorksheet

J277 2.5.2 IDE tools and facilities

Part 3 of 4 · J277 2.5 · Programming languages and IDEs

The four IDE facilities OCR names, described by what they do for the programmer rather than by their own name.

Students will:

  • explain what makes a development environment integrated
  • describe the editor and the features that help most
  • describe error diagnostics and the run-time environment
  • explain the translator's place in an IDE
  • avoid circular descriptions of a named tool

Inside: 5 explanation cells, 1 runnable Python task, 2 multiple-choice questions, 1 fill-in-the-blanks cell and 3 written answers. 20 marks, about 45 minutes.

Series: J277 2.5 · Programming languages and IDEs, part 3 of 4.

Shared by Coding PathwayVerified teacher

  • 12 cells
  • About 45 minutes
  • CC BY-SA 4.0
  • Shared 17 Aug 2026
  • Updated 9 Sept 2026

Preview

The whole resource, exactly as a class sees it. Answers and marking are held back.

Integrated Development Environment tools

An Integrated Development Environment (IDE) brings together tools that help a programmer write, translate, run, test and debug programs. “Integrated” means the programmer can use these facilities in one working environment rather than switching between unrelated applications.

OCR names four common facilities:

  • editor;
  • error diagnostics;
  • run-time environment;
  • translator.

In an examination, naming a tool is often worth one mark and describing how it helps the programmer earns another. Avoid circular descriptions such as “an editor edits code”.

How the facilities support development

Four common facilities in an integrated development environment The IDE contains an editor for entering and changing source code, error diagnostics for locating and describing errors, a translator for converting source code, and a run-time environment for executing the program and showing its output. Integrated Development Environment EditorError diagnostics TranslatorRun-time environment enter and change source codeline numbers, colour coding, completionand automatic indentation may help identify an error's location and detailsmay highlight a line or suggest a fixdoes not guarantee automatic correction compiler or interpreter convertssource code for execution runs the program and displays outputso behaviour can be tested
Fill in the blanks4 marks
Match each purpose to the facility. The label 1 is used to enter and change source code. label 2 identify the location or details of errors. The label 3 executes the program. A label 4 converts source code into a form that can be executed.
  • editor
  • error diagnostics
  • run-time environment
  • translator
  • comment
  • variable
Multiple choice1 mark

Which is a programming-language feature rather than an IDE facility?

  • AAn editor
  • BA variable
  • CError diagnostics
  • DA run-time environment
Multiple choice1 mark

Which description adds useful detail to the name ‘error diagnostics’?

  • AIt diagnoses errors
  • BIt guarantees that every logic error is corrected
  • CIt identifies the location and type of a detected error
  • DIt stores all program variables

Practical IDE experience

The following program should multiply a ticket price by a quantity, but the calculation contains a logic error.

  1. Run the code and inspect its output.
  2. Use Check my answer to see which expected behaviour is not met.
  3. Edit the calculation.
  4. Run and check it again.

While doing this, you use the editor to change source code and the run-time environment to execute it. The platform's check feedback plays a similar diagnostic role by showing that expected behaviour has not been met, but it is not itself the IDE error-diagnostics facility named by OCR.

Coding task2 marks
ticket_price = 6
ticket_quantity = 4

# Correct the calculation so it works for any supplied values.
booking_total = ticket_price + ticket_quantity
print(booking_total)
Written answer4 marks

Describe how the editor and run-time environment helped during the practical correction task.

For each named facility, describe the specific action it enabled and how that supported the correction.

Students type their answer here.

Useful editor and debugging features

An editor may provide syntax highlighting, automatic indentation, line numbering and statement completion. Diagnostic or debugging facilities may provide breakpoints, single stepping, a variable watch or a trace.

Connect each feature to its effect: line numbers help locate a reported error; a breakpoint pauses execution at a chosen point; single stepping runs one statement at a time; and a variable watch shows how a chosen value changes.

OCR's four required IDE facilities remain editor, error diagnostics, run-time environment and translator.

Written answer4 marks

A student's total unexpectedly changes inside a loop. Explain how a breakpoint, single stepping and a variable watch could help investigate the problem.

Describe the sequence of actions, not just three definitions.

Students type their answer here.

Written answer4 marks

Name and describe two common IDE facilities required by OCR.

Recall two distinct IDE facilities required by OCR. For each one, explain what it helps the programmer do.

Students type their answer here.

Review

For each required facility, complete this sentence aloud: “A programmer uses the ___ to ___, which helps because ___.” This produces the feature, description and consequence expected in an applied answer.