Computer Language: Introduction, Types and Advantanges

Pavan617841 15 views 12 slides Mar 29, 2024
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

Brief on Computer Languages


Slide Content

Computer Language
e-content on Computer Language
For B.Sc. Community Science: 2020 Batch
By
Dr. Pavan Kumar ST
Asst. Prof (Statistics)

Types of Computer Language
1
•Machine
Language
2
•Assembly
Language
3
•High Level
Language
e-content on Computer Language

Machine Language
•Translators- Not required
•Language is written as a strings of binary 1’s and 0’s.
•Two part-Format– Opcode and Operand
•Opcode-Function to perform?.
•Operand- To find or to store the data?

e-content on Computer Language

Advantages and Disadvantages of ML
•Faster rate of execution of program.
•Translators- Not required.
•Machine Dependent
•Difficult to program
•Error Prone
•Difficult to modify.
Disadvantages of ML
Advantages of ML
e-content on Computer Language

Assembly Language
•To overcome the limitations of Machine Language- Numeric instruction,
Storage Locations and Keep track of Storage Locations.
•Assembly Language uses- Mnemonic codes
•Example: Using ADD instead of 1110 (Binary) and 14 (Decimal).
•Additional instructions-Pseudo instructions- to instruct the system for program
assembly inside the computer memory.
•Translator - Assembler

e-content on Computer Language

Assembly to Machine Language Program
Assembly language Program Assembler Machine Language Program
Source Program Object Program One to One Correspondence
e-content on Computer Language

Advantages of Assembly Language
•Easier to understand and Use.
•Easier to locate errors and correct.
•No worry about address
•Easily locatable
•Efficiency of Machine language
e-content on Computer Language

Limitations of Assembly Language
•Machine dependent
•Hardware knowledge required
•Machine level coding
e-content on Computer Language

High Level Language
•Problem oriented language (POL)
•Third generation language
•Machine independent

COBOL
FORTRAN
BASIC
ALGOL
PROLOG
Some of the
High Level
Languages
e-content on Computer Language

HLL to Machine Language Program
High level language Program Compiler Machine Language Program
Source Program Object Program One to Many Correspondence
e-content on Computer Language

Advantages of HLL
•Machine Independence
•Easier to learn and use
•Fewer errors
•Lower program operation cost
•Better documentation
•Easier to maintain
e-content on Computer Language

Disadvantages of HLL
•Lower Efficiency
•Less flexibility


e-content on Computer Language
Tags