Computer Programming:-
A computer is a programmable machine.
This means it can execute a programmed list of instructions and respond to new instructions that it is given.
Computer Programming is the process of developing and implementing various sets of instructions to enable a computer to do a certain task.
Programs are written to solve problems or perform tasks on a computer.
Computer Programming :-
Programmers translate the solutions or tasks into a language the computer can understand.
As we write programs, we must keep in mind that the computer will only do what we instruct it to do.
Because of this, we must be very careful and thorough with our instruction
Two Basic Types of Computer Language
A computer is a programmable machine.
This means it can execute a programmed list of instructions and respond to new instructions that it is given.
Computer Programming is the process of developing and implementing various sets of instructions to enable a computer to do a certain task.
Programs are written to solve problems or perform tasks on a computer.
Computer Programming :-
Programmers translate the solutions or tasks into a language the computer can understand.
As we write programs, we must keep in mind that the computer will only do what we instruct it to do.
Because of this, we must be very careful and thorough with our instruction
Two Basic Types of Computer Language
1.> Low-Level Languages: A language that corresponds directly to a specific machine
2.> High-Level Languages: Any language that is independent of the machine
There are also other types of languages, which include
- System languages: These are designed for low-level tasks, like memory and process management
- Scripting languages: These tend to be high-level and very powerful
- Domain-specific languages: These are only used in very specific contexts
- Visual languages: Languages that are not text-based
- Esoteric languages: Languages that are jokes or are not intended for serious use
Low-level computer languages are either machine codes or are very close them. A computer cannot understand instructions given to it in high-level languages or in English. It can only understand and execute instructions given in the form of machine language i.e. binary. There are two types of low-level languages:
- Machine Language: a language that is directly interpreted into the hardware
- Assembly Language: a slightly more user-friendly language that directly corresponds to machine language
High-level computer languages use formats that are similar to English. The purpose of developing high-level languages was to enable people to write programs easily, in their own native language environment (English).
High-level languages are basically symbolic languages that use English words and/or mathematical symbols rather than mnemonic codes. Each instruction in the high-level language is translated into many machine language instructions that the computer can understand.
Types of High-Level Languages
Many languages have been developed for achieving a variety of different tasks. Some are fairly specialized, and others are quite general.
These languages, categorized according to their use, are:
1) Algebraic Formula-Type Processing
These languages are oriented towards the computational procedures for solving mathematical and statistical problems.
Examples include:
- BASIC (Beginners All Purpose Symbolic Instruction Code)
- FORTRAN (Formula Translation)
- PL/I (Programming Language, Version 1)
- ALGOL (Algorithmic Language)
- APL (A Programming Language)
2. Business Data Processing
These languages are best able to maintain data processing procedures and problems involved in handling files. Some examples include:
- COBOL (Common Business Oriented Language)
- RPG (Report Program Generator)
3. String and List Processing
These are used for string manipulation, including search patterns and inserting and deleting characters. Examples are:
- LISP (List Processing)
- Prolog (Program in Logic)
4. Object-Oriented Programming Language
In OOP, the computer program is divided into objects. Examples are:
- C++
- Java
5. Visual Programming Language
These programming languages are designed for building Windows-based applications.Examples are:
- Visual Basic
- Visual Java
- Visual C
A Helpful Resource on Computer Languages
This resource was used to help write this article. It has more information on this topic and goes into more depth on some of the other kinds of languages and their uses. To get the most out of it, you should have some knowledge of or background in computer science.
No comments:
Post a Comment