
5.2 Language Translators
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Adrian Ortiga
Used 1+ times
FREE Resource
14 Slides • 7 Questions
1
Language Translators (page 149)
The purpose of a translator for high-level programming languages is to convert human-readably code into machine executable code.
2
Language Translators
Assembler: Assembly language -> Machine code.
Compiler: Creates an object program to be execute.
Interpreter: Goes line by line translating and executing, it does not create an object program.
3
Fill in the Blanks
4
Fill in the Blanks
5
Fill in the Blanks
6
Assembler
Very fast due to its closeness to the machine code.
Machine dependent
Generates a object program.
Very complex at the same time that you have more control of the resources.
One to one translation to machine code.
7
Interpreter
Read one line at a time and execute that line without needing to create an object program. Example: python.
8
Compiler
Creates a object program that can be execute.
Before the compiler creates the executable or the object program it check for errors.
If it find any errors the compiler will not create the object program it will list all the errors for the developer to solve them.
If the compiler does not find errors will create the object program that can be execute.
9
Categorize
The developer retains the source code.
End users cannot modify or extend it.
The developer can charge for updates and changes.
End users have access to the source code.
Makes it harder to charge for updates.
Users may use or modify the developer’s code.
Organize characteristics of a compiler and a interpreter.
10
Multiple Select
Select the correct reasons why it is easier to debug the program code using an interpreter instead of a compiler.
The code can be tested multiple times without having to recompile.
The interpreter will be stop when an error is found.
The errors can be corrected in real time.
Only one error is display at a time.
Creates an executable file.
11
Multiple Select
Select the benefits of using the compiler during testing.
The code can be tested multiple times without having to recompile.
The interpreter will be stop when an error is found.
The errors can be corrected in real time.
Only one error is display at a time.
Creates an executable file.
12
Partial compiling and interpreting
Some programming languages like Java make use of other way of translation.
For example Java uses a Java Virtual Machine (JVM) that convert the Java code into Java bytecode.
So any computer that has the JVM install in its software can execute Java programs.
13
IDE (Integrated Development Environment)
An Integrated Development Environment (IDE) is software providing tools like code editor, debugger, and compiler for efficient program development.
14
Pretty Printing: Formatting code or output with proper structure, indentation, and optionally colors, to improve readability and debugging.
15
Context-Sensitive Prompt: Shows suggestions and labels that could be use at the current position of the program.
16
Auto-correct: Corrects or mark spelling mistakes so that the users has less errors to correct.
17
Dynamic syntax checks.
18
Expanding and collapsing code blocks.
19
Debugging with the debugger. Help us to identify errors. By allowing to add breakpoints and going through the program one step at at time.
20
Syntax errors and Logic errors
21
Categorize
Context-sensitive prompts
Auto-correct
Pretty-printing
Expand/collapse code blocks
Single stepping
Breakpoints
Organize these IDE features into the right purpose.
Language Translators (page 149)
The purpose of a translator for high-level programming languages is to convert human-readably code into machine executable code.
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
16 questions
Lewis Electron Dot Structure
Presentation
•
9th Grade
17 questions
Speed and Velocity
Presentation
•
9th Grade
15 questions
SEX DETERMINATION
Presentation
•
9th Grade
17 questions
Horizontal and Vertical Lines LIVE
Presentation
•
9th Grade
15 questions
Differentiation & Specialization
Presentation
•
9th Grade
20 questions
GOOGLE APPS
Presentation
•
9th Grade
16 questions
Troubleshooting
Presentation
•
9th Grade
16 questions
Combining Like Terms with Exponents
Presentation
•
9th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
10 questions
Fire Prevention
Quiz
•
9th - 12th Grade
24 questions
BIOLOGY STAAR REVIEW
Quiz
•
9th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
30 questions
English 1 STAAR Review
Quiz
•
9th Grade
46 questions
Linear and Exponential Function Key Features
Quiz
•
9th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
30 questions
Biology STAAR Review #3
Quiz
•
9th Grade