

High vs Low level Code and Translators
Presentation
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Easy
Ben Dobson
Used 3+ times
FREE Resource
91 Slides • 12 Questions
1
High vs Low level Languages and Translators
2
3
4
High level vs Low Level Languages and Translators
5
6
7
8
9
10
11
12
What is machine code?
13
A low level language....
That uses binary instruction that CPU can decode and execute
Different instructions have different binary values
What is machine code?
14
Open Ended
What is machine code?
15
A low level language....
That uses binary instruction that CPU can decode and execute
Different instructions have different binary values
What is machine code?
16
What is assembly language?
17
What is assembly language?
A low level language....
That has simple instructions such as LOAD, each of which corresponds to a single machine code instruction.
It must be translated into machine code (object code) to be understood by CPU.
But this translation process is faster than translating high level language into machine code
18
What is assembly language?
A low level language....
That has simple instructions such as LOAD, each of which corresponds to a single machine code instruction.
It must be translated into machine code (object code) to be understood by CPU.
But this translation process is faster than translating high level language into machine code
19
Open Ended
What is assembly language?
20
What is assembly language?
A low level language....
That has simple instructions such as LOAD, each of which corresponds to a single machine code instruction.
It must be translated into machine code (object code) to be understood by CPU.
But this translation process is faster than translating high level language into machine code
21
22
Open Ended
What are the advantages of low level languages?
23
24
25
Open Ended
What is a high level language?
26
27
28
Open Ended
What are the advantages of high level languages?
29
Advantages of high level languages
•A high-level language is easier to learn
•Programs can be written faster in a high-level language
•It is easier to understand and debug a high-level language
30
31
Whiteboard.
Low level vs High Level Languages.
Explain each and explain some advantages/disadvantages of each
32
33
34
35
36
37
38
39
40
41
Open Ended
Explain what a compiler does.
42
A compiler translates the whole of a high level language program into machine code at once.
(Unless there is a syntax error....in which case no machine is made)
43
Open Ended
In a compiled language what happens if compilation is attempted if high level code breaks the grammar rules of programming language?
44
An error (syntax) message will be given to the user but no machine code will be produced
45
46
Open Ended
What is an interpreter?
47
An interpreter is program that translates high level source code, line by line, into machine code, which is then executed (by the CPU via FDE; the CPU does not need the interpreter to understand the machine code made after it is made)
48
Open Ended
1) When high level code is compiled does the user need the compiler?
2) When high level code is interpreted does the user need the interpreter installed to run the code?
49
1) When high level code is compiled does the user need the compiler? NO
2) When high level code is interpreted does the user need the interpreter installed to run the code? YES
50
Open Ended
1) When high level code is compiled what is given to the user (by the developer) ?
2) When high level code is interpreted what is given the user(by the developer)?
51
1) When high level code is compiled what is given to the user (by the developer) ?
Just the machine (object) code
2) When high level code is interpreted what is given the user(by the developer)? The source code (and possibly the interpreter although the developer may assume the user has this already)
52
53
54
55
56
57
Open Ended
Describe some compiler advantages
58
59
60
Open Ended
Describe some interpreter advantages
61
62
Whiteboard up Compiler vs Interpreter.
(What they are/do and pros and cons)
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
High vs Low level Languages and Translators
Show answer
Auto Play
Slide 1 / 103
SLIDE
Similar Resources on Wayground
97 questions
APHG Unit 3 Review Lesson
Presentation
•
9th Grade
99 questions
GOALS World History I Lesson 5
Presentation
•
9th - 12th Grade
97 questions
Pengayaan Informatika Kelas X Semester 1
Presentation
•
10th Grade
100 questions
Unit 2: DNA & Heredity Review
Presentation
•
9th - 12th Grade
100 questions
Staar Biology Ecology
Presentation
•
9th - 12th Grade
99 questions
self guided periodic table intro
Presentation
•
11th Grade
99 questions
Continuity and Unity of Life
Presentation
•
10th - 12th Grade
100 questions
C1: States of Matter
Presentation
•
9th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Early Computing
Quiz
•
7th - 12th Grade
20 questions
Module 1 Topic 1 Vocabulary
Quiz
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
14 questions
Introduction to Digital Citizenship
Quiz
•
9th Grade
39 questions
Safety Review
Quiz
•
9th - 12th Grade
20 questions
Digital Citizenship
Quiz
•
8th - 12th Grade
25 questions
OSHA and Lab Safety
Quiz
•
9th Grade
22 questions
Electronic Computing
Quiz
•
8th - 12th Grade