Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
498 views13 pages

Computer Language: Which Language Does Computer Understand? Computer Understands Only Machine Language

Computer languages can be classified into four types: machine language, assembly language, high-level languages, and fourth generation languages. [1] Machine language is binary and only understood by computers, while assembly language uses symbols to represent machine language. [2] High-level languages like C and Java are easier for humans to read and write and are converted to machine language by compilers. [3] Fourth generation languages are even closer to human languages and allow users to specify outputs with minimum programming effort.

Uploaded by

Ambika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
498 views13 pages

Computer Language: Which Language Does Computer Understand? Computer Understands Only Machine Language

Computer languages can be classified into four types: machine language, assembly language, high-level languages, and fourth generation languages. [1] Machine language is binary and only understood by computers, while assembly language uses symbols to represent machine language. [2] High-level languages like C and Java are easier for humans to read and write and are converted to machine language by compilers. [3] Fourth generation languages are even closer to human languages and allow users to specify outputs with minimum programming effort.

Uploaded by

Ambika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

CHAPTER –1

Computer Language

Language: language is the medium to express our views and


feelings.

 Which Language does computer understand?


Computer understands only machine language
Program: is a set of instruction given to
computer to carry out certain activities

Programming: writing instruction to the computer


in a computer language

Programmer: person who writes the program is


called programmer
Computer languages
The computer languages can be classified in to four types

Machine Language


First generation programming language

Assembly Level Language


Second Generation Programming Language

High Level Language


Third Generation Programming Language

Fourth Generation Language


Machine Language is also known as first generation

Machin language

e It is the only language that computer can understand

Langua Machine language uses binary values to represent data 0 &1


0 (zero) represent off State

ge
1 (one) represents Onstate
Features of Machine Level Language :
 It consumes less memory
 Machine language has high speed of execution
 It is machine dependent language
Assembly Language is also known as second generation

Assemb language

ly Assembly language uses symbols or mnemonic codes to


represent the data

Langua
ge
Features of Assembly language:

• Assembly language is also machine dependent language so


it is also called as low level language
• Programming in assembly language is time consuming.
• it has to be converted into machine language by translator programs.
High Level Language is called as third generation language

High
Level It is simple and similar to English language
It is easy to learn and understand
C, C++, Java are example of high level language

Langua It is machine independent language


ge
Compiler:
Compiler converts high level language program to
machine language, and also check for error before
executing
Interpreter:
Interpreter is used to translate the high level language program to
machine level language, It translates line by line in case if any error
in the program it will rectify immediately.
FOURTH GENERATION LANGUAGE(4GL):

Fourth generation language is closer to human language.


Example: Python, Matrix lab.

Features of Fourth Generation Language


 Very high speed of execution
 Minimum efforts from the user to obtain any information.
 The user has to specify only the required output they want

You might also like