3 Definition Programming language is any set of rules that conve. Programming language is any set of rules that converts strings, or graphical program elements in the case of visual programming languages, to various kinds of machine code output In simple terms, programming languages are the tools we use to write instructions for the computer to follow History Of Programming Language Programming Language Classification
Trang 3TABLE OF CONTENTS
Trang 4• Programming language is any set of rules that
converts strings, or graphical program elements in the case of visual programming languages, to
various kinds of machine code output
• In simple terms, programming languages are the
tools we use to write instructions for the computer to follow
Trang 5What are programming languages used for ?
Trang 6What are programming languages used for ?
• Database Development
– creation of databases
which store data
• Web Development – the
work involved in
developing a website for
the Internet
Trang 7History Of Programming Language
1883: Ada Lovelace wrote the instructions for the Analytical Engine,
the first computer program
1995: PHP (developed by Rasmus Lerdorf) for Web Development
2000: Microsoft developed C# as a combination of C++ and Visual
Basic
Trang 8Is the number of programming languages
in the computer world
Trang 10Â
Trang 11Classification
Trang 13Programming Language Classification
1 3
Low abstraction
Low-level Programming Language
High abstraction
High-level Programming Language
Trang 14▹ It refers to how detached or separated a
language is from the core computer concepts and language
▹ Higher level language = More abstraction
1 4
Trang 15Low abstraction High abstraction
More abstraction = Less details
Trang 16Low-level
Programming
Language
Trang 17Low-level Programming Language
▹ Very close to writing actual
Trang 18Machine Language
• Instructions in binary form
• Can be directly understood by
the computer without
translating
Trang 19• The Assembler converts the
assembly code into machine code
Trang 20Assembler
Trang 21▹ Very fast and efficient
Trang 22High-level
Programming
Language
Trang 23High-level Programming Language
▹ Close to human languages
▹ Strong abstraction
▹ Highly compatible
→ Easy to use and understand
2 3
Trang 242 4
Trang 25Compiler & Interpreter
▹ Compiler: Converts entire program into
Machine Code → Creates exe file before running
▹ Interpreter: Converts each line of code into
Machine Code → Does not create exe file before running
Trang 26Compiler & Interpreter
Trang 27▹ Easy to write and debug
Trang 28Summary High-level Language Low-level Language
It is compatible with all
For translation, a compiler
or interpreter is required. For translation, it will need an assembler.
It is commonly used in programming.
It is no longer widely used