Basic Fundamental of Programming
- Software
- Program
- Types of Software
- Programming language and it’s type
- Translator
- Algorithm
- Flow chart
- Editor
- Software:
- Program:
- Types of software:
- 1. System software:
These are complex program and are developed and supplied by computer vendors. Operating system, compiler, linker, loader, editor, etc. are system software.
- 2. Application software:
Word, Excel, Access, Photoshop, etc. are application software
- Programming language and it’s type:
We can classify the programming language in mainly following category:
- 1. Machine language:
- Computes are made of two-state electronic components, which can understand only pulse (ON or 1) or no pulse (OFF or 0) conditions. Therefore, all instructions and data should be written using binary codes 1 and 0. The binary code is called the machine code or machine language.
- It is also known as the binary language, or 1st generation language.
- All computers are not same in design so machine language is also different for different computers.
- Advantages:
- The execution of program developed in machine language is fast than other language.
- Disadvantages:
- Every computer has its own machine language so program developed for one computer cannot be used in other computer.
- 2. Assembly language: -
- It assembly language special symbols or code for different purpose (for operator, constant, etc.).
- It is based on the machine language so the program developed for the machine is different for different computer
- To convert assembly language into machine language special translator is need known as Assembler.
- The execution of program written in assembly language is faster than the higher-level language but slower than machine level language.
- To write and understand a program in assembly is slow and difficult but easier than the machine level language.
- It is also known as second level language or 2nd generation language.
- It is also one of the types of low-level language.
- 3. High level language: -
- These languages consists a set of words and symbols and we can write a program using it, which is similar to English like language.
- It is mainly consider the problem to be solved rather than computer instruction.
- It is user-centered rather than machine-centered.
- C, C++, COBOL, PASCLE, FORTRAN are examples of the high level language.
- It is also known as 3rd generation language.
- Advantages: -
- It is not machine dependent so program written for one computer can be run on different computer.
- It is easy to understand and write.
- Disadvantages: -
II. It requires special software to convert code from High-level language to machine code that is known as Translator.
- 4. Fourth generation language: -
- It is a high level language that requires significantly fewer instructions to accomplish a particular task then third generation language so programmer can develop the program faster than 3rd generation language.
- Visual Basic is a example of Fourth generation language.
- Translator: -
Translator can be divided into three categories:
(1) Assembler: -
Assembler is a program, which converts your assembly language program into machine language.
(2) Compiler: -
Complier is a program, which checks the syntax error in your program and converts your program into machine language from higher-level language. If there is any error in any line of program compiler give error message and doesn’t covert your program into machine level language. But it is faster than the interpreter.
(3) Interpreter: -
Interpreter is a program which checks your program line by line and after checking first line it converts into machine language and execute it so it is useful for the line by line tracing of your program. It is slower than compiler.
- Editor: -
In market several editors are available such as DOS editor, notepad, WordPad, etc. Many programming complier also provides the facility of editor such as C editor, VB editor, etc which includes the facility to compile, execute, trac
No comments:
Post a Comment