0% found this document useful (0 votes)
1 views24 pages

Computer Language

The presentation discusses computer languages, defining them as artificial languages used to command computers. It categorizes them into high-level, low-level, assembly, and machine languages, detailing their advantages and disadvantages. High-level languages are easier for humans to read and write, while low-level languages offer better efficiency and direct hardware manipulation but are more complex and less portable.
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)
1 views24 pages

Computer Language

The presentation discusses computer languages, defining them as artificial languages used to command computers. It categorizes them into high-level, low-level, assembly, and machine languages, detailing their advantages and disadvantages. High-level languages are easier for humans to read and write, while low-level languages offer better efficiency and direct hardware manipulation but are more complex and less portable.
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/ 24

Presentation On

COMPUTER LANGUAGE
Submitted To
Tasfia Anika Bushra
Lecturer
Department of CSE
Daffodil International University

Submitted By
Lalon Miah
ID: 151-15-303
Section: UC-A
Department of CSE
Daffodil International University
Welcome!!
To My Presentation
Agenda

01 Definition Of Computer Language

02 Types of Computer Language

03 Example of Computer languages

04 Advantages & Disadvantages


Definition

A computer languages are the languages by which a user command a computer to


work on the algorithm which a user has written to get an output.

A computer language is an artificial language designed to work for different applications


in different environments.

Human languages are known as natural languages. Unfortunately, computers can not
understand natural languages, as a result we must communicate with computers using
computer languages.
Types of Computer Languages
• High Level Languages

• Low Level Languages

• Assembly Language

• Machine Language
Types of Computer Languages

High Level Low or Mid


Assembly Machine
Level

Content Content
High Level Languages
High-level languages are much closer to human language. A programming language
such C++, FORTRAN or Pascal that enables to write programs which is understandable
to programmer (Human) and can perform any sort of task, such languages are consider
high-level because they are closer to human languages.

High level language must use interpreter, compiler or translator to convert human under-
standable program to computer readable code (machine code).
High Level Languages
Examples:

COBOL Business applications.

FORTRAN Engineering & Scientific Applications.

PASCAL General use and as a teaching tool.

PROLOG Artificial Intelligence.

JAVA General all purpose programming.

.NET General or web applications.


High Level Languages
Advantages:
• They are near to English language, that is they are easier to read, write and maintain.

• High-level languages make complex programming simpler.

• High level languages is portable, i.e., they can work on different operating system.

• Length of the program is also small compared with low level.

• Many real time problems can be easily solved with high level language.
High Level Languages
Disadvantages:

•The Program written in high level language are less efficient as


they take more execution time.

•The compiler also consumes some memory as it is required for


the translation process
Low or Mid Level Languages

A computer low level language that deals with hardware registers by name is known as
assembly language.

Assembly language is the best example of low level language, it is in between machine
language and high-level language.

A low-level language does not need a compiler or interpreter to run the program, the
processor run low-level code directly.
Low or Mid Level Languages
Examples:

1. C Language as mid level 2. Assembly as low level


Low or Mid Level Languages
Advantages:
1. Programs developed using low level languages are fast and memory efficient.

2. Programmers can utilize processor and memory in better way using a low level
language.

3. There is no need of any compiler or interpreters to translate the source to machine


code. Thus, cuts the compilation and interpretation time.

4. Low level languages provide direct manipulation of computer registers and storage.

5. It can directly communicate with hardware devices.


Low or Mid Level Languages
Disadvantages:
1.Programs developed using low level languages are machine dependent and are not por-
table.

2.It is difficult to develop, debug and maintain.

3.Low level programs are more error prone.

4.Low level programming usually results in poor programming productivity.

5.Programmer must have additional knowledge of the computer architecture of particular


machine, for programming in low level language.
Assembly Language

Assembly languages have the same structure and set of commands as machine
languages, but they enable a programmer to use names instead of numbers.

In the early days of programming all programs were written in assembly language but
now almost programs are written in a high-level language.

Each assembly language is specific to a particular computer architecture, in contrast to


most high level programming languages, which are generally portable across multiple
systems.
Assembly Language
Examples:
Hello, World! in 32-bit assembly, for Windows
Here is "Hello, World" written for a 32-64 bit Intel processor.

message:
db 'Hello, World!', 10, 0
save the file as hello.asm.
Assembly Language
Advantages:
1.Programs written in machine language are replaceable by mnemonics
which are easier to remember.

2.Memory Efficient.

3.It is not required to keep track of memory locations.

4.Faster in speed.

5.Easy to make insertions and deletions.


Assembly Language
Disadvantages:

1.Long programs written in such languages cannot be executed on small sized computer

2.It takes lot of time to code or write the program, as it is more complex in nature.

3.Difficult to remember the syntax.

4.Lack of portability of program between computers of different makes.

5.No SDKs (System Development Kit).


Machine Language

Machine code or machine language is a system of instructions and data executed


directly by a computer's CPU. The lowest-level programming language that only be
understood by computers.

Computer language that is directly executable by a computer without the need for
translation by a compiler or an assembler.
Machine Language
Examples:
Machine Language
Advantages:

1.Programs written in machine language can be executed very fast by the


computer. This is mainly because machine instructions are directly under-
stood by the CPU and no transla-tion of the program is required.

2.Efficient use of primary memory.


Machine Language
Disadvantages:

1. It is very difficult to program in machine language. The programmer has to


know details of hardware to write program.

2. The programmer has to remember a lot of codes to write a program which


results in program errors.

3. It is difficult to debug the program.


Thank you

You might also like