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