
Programming Languages. (II)
Presentation
•
English, Computers
•
University
•
Practice Problem
•
Medium
Claudio Cárdenas
Used 35+ times
FREE Resource
10 Slides • 9 Questions
1
Programming Languages
Lesson 2
2
High and Low Level Languages
A computer program is a list of instructions that enable a computer to perform a specific task.
Computer programs can be written in high and low level languages, depending on the task and the hardware being used.
So, what’s the difference between high level language and low level language?
3
High Level Languages
When we think about computer programmers, we are probably thinking about people who write in high-level programming languages.
High level languages are written in a form that is close to our human language, enabling to programmer to just focus on the problem being solved.
4
No particular knowledge of the hardware is needed as high level languages create programs that are portable and not tied to a particular computer or microchip.
These programmer friendly languages are called ‘high level’ as they are far removed from the machine code instructions understood by the computer.
Examples include: C++, Java, Pascal, Python, Visual Basic.
5
Advantages of high-level languages
Easier to modify as it uses English like statements
Easier/faster to write code as it uses English like statements
Easier to debug during development due to English like statements
Portable code – not designed to run on just one type of machine
6
Low Level Languages
Low level languages are used to write programs that relate to the specific architecture and hardware of a particular type of computer.
They are closer to the native language of a computer (binary), making them harder for programmers to understand.
7
Examples of low level language:
Assembly language
Machine code
8
Assembly Language
Few programmers write programs in low level assembly language, but it is still used for developing code for specialist hardware, such as device drivers.
It is easyly distinguishable from a high level language as it contains few recognisable human words but plenty of mnemonic code.
9
Advantages of assembly language
Can make use of special hardware or special machine-dependent instructions (e.g. on the specific chip)
Translated program requires less memory
Write code that can be executed faster
Total control over the code
Can work directly on memory locations
10
Machine Code
Programmers rarely write in machine code (binary) as it is difficult to understand.
11
Multiple Choice
Which generation?
Machine Code - Low
Assembly Code - Low
High Level
12
Multiple Choice
Which generation?
Machine Code - Low
Assembly Code - Low
High Level
13
Multiple Choice
Which generation?
Machine Code - Low
Assembly Code - Low
High Level
14
Multiple Choice
15
Multiple Choice
16
Multiple Choice
Python is an example of a High Level programming language
True
False
17
Multiple Choice
Which level would create the easiest code for humans to understand?
Low
Assembly
High
18
Multiple Choice
Which level of a programming language is Assembly Code?
Low
High
19
Multiple Choice
Which level of a programming language is Machine Code?
Low
High
Programming Languages
Lesson 2
Show answer
Auto Play
Slide 1 / 19
SLIDE
Similar Resources on Wayground
14 questions
GIVING A SPEECH
Presentation
•
University
14 questions
ML Inter, Unit 1 - Brands
Presentation
•
University
15 questions
Gerunds and Infinitives
Presentation
•
University
16 questions
The Theory of Evolution
Presentation
•
8th Grade
15 questions
Should
Presentation
•
University
12 questions
The Scarlet Letter Anticipation Guide
Presentation
•
KG - University
11 questions
PARAGRAPH STRUCTURE
Presentation
•
University
16 questions
Types of sentences
Presentation
•
University
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Assessment 1
Quiz
•
3rd Grade
15 questions
HCS SCI 05 Summer School Assessment 1 Review
Quiz
•
5th Grade
22 questions
Day 9 Equations and Inequalities Review
Quiz
•
9th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
7 questions
PYRAMID PERSPECTIVES part 1
Presentation
•
9th - 12th Grade
12 questions
Understanding the Fourth of July
Quiz
•
9th Grade
15 questions
Soccer World Cup Quiz Questions
Quiz
•
7th Grade