2.4.1
Types of Programming Languages
High-Level Languages
High-Level Languages
Most computer languages are written in high-level programming languages.
High-Level Languages
High-Level Languages
- High-level languages (HLLs) include most programming languages such as Python, C++ and Java.
- High-level languages are made of human-readable statements that make it easier for us to program.
- High-level languages are portable, which means that they can be run on many different types of hardware.
What does a HLL look like?
What does a HLL look like?
- Commands in a high-level language look very like English. For example:
- print()
- SELECT * FROM users;
Why don't we always use HLLs?
Why don't we always use HLLs?
- Computers can only process instructions in the form of binary numbers.
- We use special software called a translator to convert our HLL source code into an executable binary file.
Low-Level Languages
Low-Level Languages
Low-level programming languages are languages which are much closer to computer-understandable binary.
Low-Level Languages
Low-Level Languages
- Low-level languages (LLLs) are much closer to executable machine code than high-level languages.
- LLLs are harder to read by humans, but are easier to read for the computer.
What does an LLL look like?
What does an LLL look like?
- LLL commands are not easy to read, and might include commands such as:
- MOV ax, bx
- CMP ch, dh
- CLI
Why do we use LLLs?
Why do we use LLLs?
- LLLs provide exact control over the central processing unit.
- LLLs need less translation, and often lead to faster code which is useful for computers with low specifications such as embedded systems.
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Jump to other topics
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Unlock your full potential with GoStudent tutoring
Affordable 1:1 tutoring from the comfort of your home
Tutors are matched to your specific learning needs
30+ school subjects covered