stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Interpreter vs compiler (and assemblers) Flashcards | StudBud
Explore
/
Interpreter vs compiler (and assemblers)
Interpreter vs compiler (and assemblers)
12 terms
·
StudBud Administration
·
1,050 plays
Computing - the interpreter and compiler
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
Spot the compiled language:
Perl
Python
JavaScript
Java
2
Programming code that has not yet been compiled into an executable file is called:
Raw code
Uncooked code
Object code
Source Code
3
Spot the advantage of a compiler:
Once code has been compiled you no longer need the source.
whenever you make an alteration to the code you recompile
The program can run on different interpreters.
It is easier to spot logical errors in your source code
4
The lowest level of code made up of 0s and 1s
Assembly Language
Binary
Byte Code
Machine Code
5
A programming language that makes use of a virtual machine, must first translate source code to
Assembly language
Java
Bytecode
Object code
6
Two low-level languages:
Assembly language and Machine code
Python and C#
Assembly language and Java
JavaScript and Assembly language
7
Spot the advantage of an Interpreter
Source code is compiled very rapidly.
The source code must be distributed to users.
Can run on machines with different instruction sets.
The source code is hidden from the users.
8
A language that allows programs to be written using abstract concepts using English keywords:
High Level Language
Assembly language
Low Level Language
Byte Code
9
A way of programming that uses a 1-1 mapping between instruction set commands and mnemonics.
Compiler
Interpreter
Assembly language
Binary
10
Typical features of interpreters
Can spot logical errors at compile time.
Can spot errors at compile time.
Produces a 'stand-alone' executable.
Provides an 'eval()' function and 'shell'
11
Spot three interpreted languages...
Java, JavaScript, C
Python, Perl, JavaScript
Python, Perl, Delphi
Java, C, Perl
12
Object code is...
A program that translates byte code into machine code.
Compiled code that can run on a machine specific device
Code produced by an object-oriented language, like Java
Assembly language