Basics of c language
A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine.
Types of Programming language:-
Every command the computer sees is given as a number or sequence of numbers. It is in binary, normally presented in hex to simplify and be more readable.
Avantages of machine language:-
High-level languages are there to make programming easier. Assembly language requires you to work with the machine itself. High-level languages allow you to describe the program in a more natural language. A single command in a high-level language usually is equivalent to several commands in an assembly language. Readability is the best.
Avantage of high level language:-
Types of Programming language:-
- Low level language/machine language
- Assembly language
- high level language
- Machine language
Every command the computer sees is given as a number or sequence of numbers. It is in binary, normally presented in hex to simplify and be more readable.
Avantages of machine language:-
- Fast speed
- trasnlator not required
- Machine dependent
- Complex instruction set
- Assembly language
- High level language
High-level languages are there to make programming easier. Assembly language requires you to work with the machine itself. High-level languages allow you to describe the program in a more natural language. A single command in a high-level language usually is equivalent to several commands in an assembly language. Readability is the best.
Avantage of high level language:-
- Instruction are simple and more readable.
- Translator reqiured.
- slow speed as compared to machine language.
Comments
Post a Comment