OCR GCSE Computer Science J277 - 2.5 Programming Languages and IDEs

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering programming language levels, translators, compilers, interpreters, and IDE tools for OCR GCSE Computer Science J277 section 2.5.

35 Terms

1
New cards

High-level programming language

A programming language designed to be relatively easy for humans to read, write and understand.

2
New cards

Low-level programming language

A language close to the instructions understood directly by computer hardware.

3
New cards

Key advantage of a high-level language

It is generally easier for programmers to read, write, debug and maintain.

4
New cards

Key advantage of a low-level language

It gives the programmer greater direct control over hardware and system resources.

5
New cards

Common disadvantage of a high-level language

It requires translation before the processor can execute it and gives less direct hardware control.

6
New cards

Common disadvantage of a low-level language

It is harder for humans to read, write, debug and maintain.

7
New cards

Portability of high-level languages

The same source code can often be translated for different processors or systems with little or no change.

8
New cards

Portability of low-level languages

They are closely tied to a particular processor architecture or instruction set.

9
New cards

Translator

Software that converts program code into a form the computer can execute.

10
New cards

Reason a translator is needed

A processor cannot directly execute high-level source code; it needs machine-executable instructions.

11
New cards

Compiler

A translator that translates a whole program before execution.

12
New cards

Interpreter

A translator that translates and executes code one statement at a time.

13
New cards

Compiler vs interpreter translation timing

A compiler translates the program before it runs; an interpreter translates statements as the program runs.

14
New cards

Output of a compiler

Executable/object code that can be run without translating the source program again each time.

15
New cards

Advantage of a compiler

Once compiled successfully, the executable can usually run without the compiler and may execute faster than interpreted code.

16
New cards

Disadvantage of a compiler

The whole program must be compiled before it can be run, and error diagnosis during development may be less immediate.

17
New cards

Advantage of an interpreter

Code can be run and tested statement by statement, making development and debugging convenient.

18
New cards

Disadvantage of an interpreter

The program needs the interpreter and is translated during execution, which can make execution slower.

19
New cards

Use case for an interpreter

During development, when a programmer wants to test code and identify problems quickly.

20
New cards

Use case for a compiler

When distributing a finished program or when execution speed is important.

21
New cards

OCR J277 requirement on assemblers

OCR explicitly states that understanding assemblers is not required.

22
New cards

IDE (Integrated Development Environment)

Software providing tools that help a programmer develop programs.

23
New cards

Explicitly required IDE tools/facilities

Editors, error diagnostics, a run-time environment and translators.

24
New cards

Editor

An IDE tool used to enter and edit program source code.

25
New cards

Role of an IDE editor

Provides a convenient place to create and modify source code, often with features that improve readability and editing.

26
New cards

Error diagnostics

IDE tools or messages that help identify errors or possible problems in program code.

27
New cards

Role of error diagnostics

They indicate where errors may have occurred and provide information that helps the programmer correct them.

28
New cards

Run-time environment

An IDE facility that allows a program to be executed and tested.

29
New cards

Role of a run-time environment

Allows the programmer to run the program, observe its behaviour and test changes.

30
New cards

Translator within an IDE

A compiler or interpreter provided or accessed by the IDE to translate program code.

31
New cards

Role of an IDE translator

Allows source code to be translated and run as part of the development process.

32
New cards

Overall usefulness of an IDE

Brings coding, translation, running/testing and error support together in one development environment.

33
New cards

OCR expected practical experience for IDEs

Students should have practical experience using a range of IDE tools within at least one IDE.

34
New cards

Required translator comparison

Explain differences, benefits and drawbacks of a compiler and an interpreter in a given context.

35
New cards

Required language levels comparison

Explain differences between high-level and low-level languages and why one may suit a particular purpose.