1.2.2 ( d. Translators: Interpreters, compilers and assemblers)

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

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:42 PM on 3/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

11 Terms

1
New cards

What is machine code?

- This is low-level code that represents how computer hardware and CPUs understand instructions.

- It is represented by binary numbers.

2
New cards

What is assembly code?

-Low level language

Humanly readable way of writing machine code.

eg. LDA 5

3
New cards

What is an assembler?

Assembler is a software that translates assembly language into machine language.

- Each processor has its own instruction set and so the object code produced will be hardware specific

<p>Assembler is a software that translates assembly language into machine language.</p><p>- Each processor has its own instruction set and so the object code produced will be hardware specific</p>
4
New cards

What is object code?

A compiled program - a program translated into machine code

5
New cards

What is source code?

The human-readable text that programmers write using a specific programming language

6
New cards

What is a compiler?

A compiler translates a whole program written in a high level language into executable machine code, going through several stages​

- Resulting object code is hardware specific

<p>A compiler translates a whole program written in a high level language into executable machine code, going through several stages​</p><p>- Resulting object code is hardware specific</p>
7
New cards

What are example of compiled high level languages?

- Visual Basic

- C++

8
New cards

What is an interpreter?

An interpreter also translates code written in a high level language into machine code

However, the interpreter does this line by line

9
New cards

What are example of interpreted high level languages?

- JavaScript

- PHP

10
New cards

What are the difference between a compiler and interpreter?

Compiler:

- Program can be run many times without the need to recompile​

- Faster to execute ​

- Executable code does not require the interpreter to run​

- Compiled code cannot be easily read and copied by others

Interpreter:

- Source code can be run on any machine with the interpreter​

- If a small error is found, no need to recompile the entire program

<p>Compiler:</p><p>- Program can be run many times without the need to recompile​</p><p>- Faster to execute ​</p><p>- Executable code does not require the interpreter to run​</p><p>- Compiled code cannot be easily read and copied by others</p><p>Interpreter:</p><p>- Source code can be run on any machine with the interpreter​</p><p>- If a small error is found, no need to recompile the entire program</p>
11
New cards

What is bytecode?

The intermediate code between object and source code generated by the Java compiler

- Most languages are not solely compiled or interpreted

Explore top notes

note
Exercise Physiology
Updated 807d ago
0.0(0)
note
AP Bio Unit 1 Review Notes
Updated 314d ago
0.0(0)
note
Physical Science - Chapter 7
Updated 1014d ago
0.0(0)
note
Types of Waves
Updated 845d ago
0.0(0)
note
9.1- 9.3: Reversible Reactions
Updated 1307d ago
0.0(0)
note
Exercise Physiology
Updated 807d ago
0.0(0)
note
AP Bio Unit 1 Review Notes
Updated 314d ago
0.0(0)
note
Physical Science - Chapter 7
Updated 1014d ago
0.0(0)
note
Types of Waves
Updated 845d ago
0.0(0)
note
9.1- 9.3: Reversible Reactions
Updated 1307d ago
0.0(0)

Explore top flashcards

flashcards
Genetics
21
Updated 1193d ago
0.0(0)
flashcards
RESEARCH METHODS
83
Updated 272d ago
0.0(0)
flashcards
Korean: Food
61
Updated 1215d ago
0.0(0)
flashcards
AP US History Chapter 1 Test
108
Updated 893d ago
0.0(0)
flashcards
exam 3 psych questions
30
Updated 8d ago
0.0(0)
flashcards
professions et métiers
344
Updated 1093d ago
0.0(0)
flashcards
los 3 reyes magos vocab
36
Updated 799d ago
0.0(0)
flashcards
Genetics
21
Updated 1193d ago
0.0(0)
flashcards
RESEARCH METHODS
83
Updated 272d ago
0.0(0)
flashcards
Korean: Food
61
Updated 1215d ago
0.0(0)
flashcards
AP US History Chapter 1 Test
108
Updated 893d ago
0.0(0)
flashcards
exam 3 psych questions
30
Updated 8d ago
0.0(0)
flashcards
professions et métiers
344
Updated 1093d ago
0.0(0)
flashcards
los 3 reyes magos vocab
36
Updated 799d ago
0.0(0)