

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
98 questions
Sprint 1.5 NETWORK AND SECURITY
Presentation
•
10th Grade
96 questions
Biology Keystone Review B
Presentation
•
10th - 12th Grade
102 questions
Summer School BIO STAAR review: Cell Structure and Function
Presentation
•
9th - 10th Grade
94 questions
LEVEL 1b Bank Accounts
Presentation
•
10th Grade
93 questions
PPMP Bahasa Inggeris 2021: Preposition and Phrasal Verb
Presentation
•
10th Grade
95 questions
Biology MYA Review
Presentation
•
8th Grade
93 questions
Evolution and Adaptation
Presentation
•
8th Grade
101 questions
Unit 1 Quarter Review
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade