Computers are the machines that can perform tasks or calculations according to the set of instructions or programs. Computers are very fast due to which thousands of tasks can be performed within a short period of time. Hence, computers are the machine, they have no brain so they work according to the set of instructions set inside it.
We know that a computer is an electronic device works on ON and OFF (1 AND 0), the technique to read and write data. We use several languages to communicate with others, just like it, we use several computers languages to communicate with other computers e.g. BASIC, COBOL, PASCAL, FORTRAN etc. The computer understands only computer language written in binary. Other languages have to be converted to machine level for a computer to understand. Programming languages can be used to create programs to control the behavior of a machine or to express algorithms. Different types of programming languages are as follows:
Computer dependent language written in binary is called Machine code or Machine language. Machine code requires a high-level programming skill along with sound knowledge of computer architecture and functions. Instructions written in binary are immediately executable without the help of any language translators because computer understands the machine codes.
It is a low-level language in which some high-level words are used with machine codes. These words are called mnemonics. Some mnemonics are given below:
Assembly language requires ASSEMBLER to translate assembly language code into computer understandable code (Machine code). So, it is not immediately executable. It is difficult to develop the program using this immediately executable. It is difficult to develop the program using this language.
High-level language contains a set of instructions written in simple English. It is a set of symbols, words and rules to instruct machine. The language is oriented towards the problem and procedures. A program written in a high-level language is called source program. A language translator is used to translate into object code (Machine code).
What is computer programming language? List its types.
A programming language is an artificial language that is understood by the computer, which is used to write a set of instructions.
Types of programming language are:
What is low-level language? Write its types.
Low-level language is machine dependent language which cannot be used on another computer when it is written for one computer.
Low-level language is of two types.
What is the machine level language?
Machine level language is first generation language, which uses binary codes i.e. 0 & 1. It is computers native language so the translator is not required.
Write advantages and disadvantage of assembly language.
Advantages of assembly language are:
Disadvantages of assembly language are:
What is the high-level language?
The high-level language is machine independent problem-oriented common language that uses English similar instructions and Mathematical notations for writing instructions.
Write the common features of the high-level language.
The common features of high-level language are:
© 2019-20 Kullabs. All Rights Reserved.