Unit 5.2 Language Translators

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Translator

1 / 21

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

22 Terms

1

Translator

Software that converts programming code from one language to another.

New cards
2

Assembler

A type of translator that converts assembly language code into machine code.

New cards
3

Compiler

A translator that converts high-level programming code into low-level machine code all at once.

New cards
4

Interpreter

A translator that converts high-level code into low-level code one line at a time and executes it immediately.

New cards
5

Integrated Development Environment (IDE)

Software that provides tools for programmers to write, test, and debug code efficiently.

New cards
6

Single Stepping

Feature in IDEs that allows code to be executed one line at a time for checking and error detection.

New cards
7

Variable Watch Window

Tool in IDEs that displays the values of variables while the code is running.

New cards
8

Breakpoints

Feature in IDEs that allows the code to pause at specific points for error checking and variable value inspection.

New cards
9

Auto Complete

IDE feature that suggests complete statements for code elements like functions or variables to reduce errors and improve efficiency.

New cards
10

Pretty Printing

IDE feature that color-codes different parts of code for easy visual distinction and syntax error identification.

New cards
11

Auto Indent

IDE feature that automatically formats code indentation to improve readability and prevent code errors.

New cards
12

Error Diagnostics

IDE tool that helps locate and report errors in the code, providing details to aid in debugging.

New cards
13

Interpreter Pro 1

Runs until first error then stops

New cards
14

Interpreter Pro 2

Easier to debug as individual lines are tested

New cards
15

Interpreter Con

Runs slowly as code is translated one at a time

New cards
16

Interpreter Con

Needed each time program is run

New cards
17

Compiler Pro 1

Runs program faster (once compiled) as code is translated

New cards
18

Compiler Pro 2

Only needed once for initial translation

New cards
19

Compiler Con 1

Difficult to debug & test individual lines of code

New cards
20

Compiler Con 2

Code wont run if there is an error.

New cards
21

Interpreter Features

  • Translates code 1 line at a time & executes immediately.

  • Needed every time the program is run

  • Runs until first error then stops

  • Runs slowly because code is translated as program is running

  • Doesn’t produce object code or executable file.

New cards
22

Compiler Features

  • Translates all programming codes simultaneously

  • Only needed once

  • Runs programs quickly (once compiled) as code is translated

  • Difficult to test individual lines as it will return list of errors for entire program

  • Does produce object code and executable file

New cards

Explore top notes

note Note
studied byStudied by 17 people
... ago
5.0(2)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 70 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(2)
note Note
studied byStudied by 63 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (65)
studied byStudied by 107 people
... ago
5.0(2)
flashcards Flashcard (141)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (27)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (28)
studied byStudied by 6 people
... ago
4.0(1)
flashcards Flashcard (42)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 9 people
... ago
5.0(2)
flashcards Flashcard (96)
studied byStudied by 19 people
... ago
5.0(1)
flashcards Flashcard (198)
studied byStudied by 28 people
... ago
5.0(2)
robot