This document discusses different types of computer languages:
Machine language uses binary and is the only language computers understand directly, but it is difficult for humans. Assembly language uses letters making it easier for humans but still relies on binary and assemblers. High-level languages like Java, C++, and C are easier for humans to read and write, requiring translators like interpreters and compilers to convert them into machine language. Fourth generation languages are even more user-friendly, allowing programs to be created with minimal effort.
3. Name – Ritvi Mathur
Section- A
Class- 6
Topic Computer languages
4. What are Languages?
We know that Language means a way to communicate . Yes it is simple. Adding
Computer Infront of language means language to communicate with our
computer. We have 4 Computer languages till date which are –
Machine Language
Assembly Language
High Level Language
Fourth Generation Language
5. Machine Language
Ever seen 0 and 1 written and we cannot identify the pattern maybe like this
01001000. This just means H. You can see how much for just H. Machine
Language is written in Binary or 0 and 1.Well it is the only language machine
understands. Binary has very high speed and low memory utilisation. But it is
very hard to learn as you have seen example above . One more problem is
that like if we write in computer A we do not know that will it run in
Computer B or not. Machine Language is considered as LLL or Low Level
Language.
6. Assembly Language
What if Machine Language was some easy for us? That language is called assembly
language. We write few codes with letters but still we use binary. As we know
Computer only understands machine language so we use assemblers to change
Assembly to Machine. Assembly language is Source program and when we convert
to machine language through assemblers then machine language is object program.
Well this Language is also LLL means Low Level Language .
7. High Level Language
As we see the problem of Assembly and Machine Language. People wanted a
language that is easy to learn , uses language English . So people created HLL
High Level Language. As we know machine only knows Machine language so
we have translator .
Go to next slides for Translator
Some HLL are Java , C ++ and C
8. Interpreter
As we know we want translator for converting HLL to LLL . So first one is Interpreter .
Interpreter executes codes line by line .It is a bit slow process but we can remove errors
immediately if see it. So Interpreter is preferred for beginners.
9. Complier
Complier is also a translator program but instead of line by line complier
translates whole at once. It is faster compared to Interpreter doing Line by
Line.
10. Fourth Generation Language
As we improved language we came across 4GL . It is more user friendly. We
use minimum effort to make the program . This reduces time of making a
program.