Unit 5.2 Language Translators

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

Translator

Software that converts programming code from one language to another.

2
New cards

Assembler

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

3
New cards

Compiler

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

4
New cards

Interpreter

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

5
New cards

Integrated Development Environment (IDE)

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

6
New cards

Single Stepping

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

7
New cards

Variable Watch Window

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

8
New cards

Breakpoints

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

9
New cards

Auto Complete

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

10
New cards

Pretty Printing

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

11
New cards

Auto Indent

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

12
New cards

Error Diagnostics

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

13
New cards

Interpreter Pro 1

Runs until first error then stops

14
New cards

Interpreter Pro 2

Easier to debug as individual lines are tested

15
New cards

Interpreter Con

Runs slowly as code is translated one at a time

16
New cards

Interpreter Con

Needed each time program is run

17
New cards

Compiler Pro 1

Runs program faster (once compiled) as code is translated

18
New cards

Compiler Pro 2

Only needed once for initial translation

19
New cards

Compiler Con 1

Difficult to debug & test individual lines of code

20
New cards

Compiler Con 2

Code wont run if there is an error.

21
New cards

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.

22
New cards

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