Implementation Methods

Description

The machine language of a computer is its set of instructions; they are generally hard to read by humans. Higher-level languages used by programmers must undergo processing by the operative system to convert those instructions for the machine to understand. How these languages undergo those changes are discussed here.
Amy Dang
Flashcards by Amy Dang, updated more than 1 year ago
Amy Dang
Created by Amy Dang almost 2 years ago
7
0

Resource summary

Question Answer
Compilation Programs (source language) are translated into machine code (machine language) so that they can be executed directly on the computer. Ex. C, COBOL, C++ Slow translation, fast execution
Compilation Process
von Neumann Bottleneck The speed of the connection between a computer's memory and its processor often determines the speed of the computer. Instructions often can be executed faster (CPU) than they can be moved back to the processor (RAM) for execution.
Pure Interpretation Programs are interpreted by another program called an interpreter, with no translation. Advantage: easy implementation of programs, run-time errors can be easily and immediately displayed Disadvantage: slower execution and requires more space Ex. APL, SNOBOL, JavaScript, PHP
Pure Interpretation Process
Hybrid Implementation Systems Programs that are partially compiled and partially interpreted. A high-level language program is translated (compiled) to an intermediate language that is then interpreted. Advantage: Faster than pure interpretation Ex. Perl, Java
Preprocessors A program that processes a program to expand embedded preprocessor macros just before the program is compiled. Ex. C Preprocessor: #include, #define
Programming Environments A programming environment is the collection of tools used in the development of software. This collection may consist of only a file system, a text editor, a linker, and a compiler or it can include a large collection of integrated tools, each accessed through a uniform user interface. Ex. UNIX, Microsoft Visual Studio .NET
Show full summary Hide full summary

Similar

P1 - Describe the hardware components of a computer system
Paul Clews
Computer System Flashcards
Riley Loades
Computing Hardware - CPU and Memory
ollietablet123
GCSE Computing: Hardware
Yasmin F
CPU and Memory
LunaLovegood
Memory & Storage
Ben Fellows
Financial Ratios
Liz Barraclough
Kunst - Bildanalyse
Laura Overhoff
AQA (9-1) Topic 3
https:// revisechemistry.uk
RAM and ROM
Tiffany Biles
Chapter 1 Review Questions
Kristján Ólafsson