day 1/30

Languages are used to communicate with each other.

computers don’t understand that language, they only understand 0’s and 1’s on the very fundamental level.

0’s and 1’s are switch on and switch off. this is called binary system.


machine language — uses binary language

assembly language — closely related to the machine language, but provides a more human-readable form for programmers, using mnemonics and symbols to represent binary instructions. it requires high skill understanding of CPU architecture


High-level languages — like Java

more human readable, but a higher level of abstraction from the machine (does not really tell you what is happening in the background). has a compiler/interpreter which interprets and tells our instructions to the computer. it is highly productive compared to the other two languages.


as such we can say that there are 2 types of languages, Low-level languages, like machine and assembly, and high-level like java.


Programming language

a formal system of communications to give instructions to a computer for it to execute. provides syntax and semantics for the user to use.


algorithm

a sequence of well defined instructions to solve a specific problem.


program

an implementation of algorithm. a sequence of instructions written in a prog. language that tells a comp. how to perform a specific task. algorithms are not necessarily executable, they could even be in human language. program is executable by the computer.