Published by: Zaya
Published date: 17 Jun 2021
Program
A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer program is usually written by a computer programmer in a programming language.
A programming language is a formal language, which comprises a set of instructions that produce various kinds of output. Most programming languages consist of instructions for computers. It is divided into three types:
Example:
Operation | Address |
0010 | 0000 0000 0100 |
0100 | 0000 0000 0101 |
0010 | 0000 0000 0110 |
Example:
Load Price
Add Tax
Store Cost
Examples:
Pascal, C, C++, Java, etc.
There are five types of generation of programming languages. They are as follows,
A first-generation (programming) language (1GL) is a grouping of programming languages that are machine-level languages used to program first-generation computers. Originally, no translator was used to compile or assemble the first-generation language.
A second-generation programming language is also known as an assembly language. These archaic programming languages were popular during the late 1950s. A second-generation language uses alphabet letters, so programming is technically easier than just using a complex series of zeros and ones.
The third generation of programming language also known as a “3GL,” refers to a high-level programming language such as FORTRAN, COBOL, BASIC, Pascal, and C. It is a step above assembly language and a step below a fourth-generation language (4GL).
A fourth-generation programming language (4GL) is any computer programming language that belongs to a class of languages envisioned as an advancement upon third-generation programming languages (3GL).
A fifth-generation programming language (5GL) is any programming language based on problem-solving using constraints given to the program, rather than using an algorithm written by a programmer.
Program Design Methodology
Program Design Methodology is really all about solving problems but we use a computer to do that for us With small problems. you may be able to get away with just thinking of the solution to the problem in your head.