Homepage Show
Accessibility links
BBC Account Notifications
More menu Search Bitesize Search Bitesize
BITESIZE
GCSE Programming software and the IDEThere are many programming languages. To execute, they have to be compiled or interpreted. An IDE (integrated development environment) is used to write code, test for errors and translate a program. Part of Computer Science Programming
quiz Test
Assemblers, compilers and interpretersTranslators - usually included within programming software - convert high-level code into machine code. Translators are assemblers, interpreters or compilers. Assembler'An assembler translates assembly language into machine code. Assembly language is a low-level language written in mnemonics that closely reflects the operations of the CPU. InterpreterAn interpreter translates code into machine code, instruction by instruction - the CPU executes each instruction before the interpreter moves on to translate the next instruction. Interpreted code will show an error as soon as it hits a problem, so it is easier to debug than compiled code. An interpreter does not create an independent final set of source code - source code is created each time it runs. Interpreted code is slower to execute than compiled code. Interpreted languages include JavaScript, PHP, Python and Ruby. Interpreted languages are also called scripting languages. These are ideal for using within dynamic web applications. They are used for client-side and server-side coding, as they are small programs that are executed within the browser. CompilerA compiler translates the whole program into machine code before the program is run. It can be difficult to test individual lines of compiled code compared to interpreted languages as all bugs are reported after the program has been compiled. The machine code is saved and stored separately to the high-level code. Compilation is slow but machine code can be executed quickly. Java and C++ are compiled programming languages. Java is a high-level programming language which is compiled to produce bytecode which is then interpreted by a virtual machine (VM). Bytecode is code which is compiled and can then be interpreted. Jackson Gabbard explains how Facebook uses compilers download TranscriptDownloadTranscript
GCSE Subjects
Which type of program converts a highA compiler is a program that translates a high-level language program into a separate machine language program.
Which of the following is a program that translates English language instructions into computer language?The correct answer is Interpreter. A computer program that translates one program's instructions at a time into machine language is called an Interpreter. An interpreter translates one instruction at a time and executes that instruction immediately.
Which of the following are examples of interpreted languages?Examples of common interpreted languages are PHP, Ruby, Python, and JavaScript.
Are the programs that make a computer useful for everyday tasks?Programs that make a computer useful for everyday tasks are known as application soft- ware. These are the programs that people normally spend most of their time running on their computers.
|