Skip to main content

Basic concepts of programming

Basic concepts of programming

Computer programs and programming

Computer program : Computer program is a series of instructions given to the computer, through which almost all the problems of real life can be solved by using computer hardware and software. Hardware is the various parts of computer like monitor, keyboard etc. On the other hand program is software. All programs that perform various user tasks like calculations, word processing, playing games are called application software. And the programs through which the computer manages itself are called system software. Like- Windows, Linux, Unix, Xenix etc.

Computer Programming: The main purpose of using computers is to solve problems. One of the ways to solve problems is programming. In the general sense, the process of systematically solving problems using computers is called programming. Complex problems can be solved quickly and easily through programming. In computer terms, programming is the technique of arranging instructions (Command/Statement) in order of execution for the purpose of easily solving a problem.


Programming languages and types of programming languages


Programming Language: In daily life we ​​use different languages ​​to communicate with each other or to solve different problems. These languages ​​are called human language. For example Bengali, English, Arabic, Hindi, Urdu, Persian, Greek, Latin etc. can be mentioned. Similarly, to solve problems using computers, it is necessary to establish communication between people and computers; Through which people can give various instructions to the computer. And different types of languages ​​are used to solve various problems by establishing communication between humans and computers. These languages ​​are basically programming languages.

For the purpose of solving a problem using a computer, programs or softwares are written using languages, those languages ​​are called programming languages ​​or programming languages. Such as ForTran, COBOL, BASIC, C, C++, C#, Java, Oracle, Pascal etc.


Types of programming languages: Types of programming languages ​​are as follows:


Programming language : 

1. Low level language

  •  Machine language
  • Assembly language

2. High level language


Low level language : Low level language or low level language refers to machine language and assembly language.

Machine language : The language in which programs are written by arranging instructions using binary numbers (0,1) to solve problems, so machine language (Machine language).

(i) A program written in machine language is called an object program.

(ii) Writing programs in this language is relatively difficult and time consuming. No translator program is required to execute the program written in this language.

(iii) Programs written for one type of machine cannot be used on another type of machine.

(iv) It is essential to have a clear understanding of each instruction and memory address in the computer to write programs in this language.


Assembly language: The language in which the program is written using special abbreviations or mnemonics (ADD, SUB MUL, DIV, LOAD MOV, MVI. JMP, JNZ, INC etc.) is called assembly language.  Like- MASM, TASM etc. 

(i) A program written in this language is called a source program.

 (ii) While writing programs in assembly language is easier and less time consuming than in machine language, it is more difficult and time consuming than in high level languages.

(iii) A lot of commands have to be memorized for writing programs in this language.

(iv) To execute the program written in this language translator program (assembler) is required.


High-level language : An easy-to-understand universal language for writing programs in which many words of the normal language (English) are used, is called a high-level language (High level language). Like- Visual, C++, Java, Oracle, Pascal, Visual basic etc.

(i) Disadvantages of machine language and assembly language have been overcome in this language. Hence modification, enhancement, editing and maintenance of programs written in this language is easy and less time consuming.

(ii) A program written in this language is also called a source program.

(iii) No knowledge of computer internal organization is required to write programs in this language. That is, this program is not machine dependent.

(iv) Translator programs (compilers and interpreters) are required to execute programs written in this language.

(v) It is difficult to understand programs and understand various instructions or statements in this language

(v) It has the advantage of numerous built in library functions.


Different types of high-level programming language : It is not possible to solve all types of problems through only one high-level language. A high-level language is particularly useful for solving one type of problem. Due to these reasons, various types of high level languages ​​have arisen.

Fortran : In 1957, Dr. IBM Company. ForTran was developed by James Backer. Its full name is Formula Translation, commonly used in scientific and engineering work that requires ForTran to use a variety of mathematical formulas.

Cobol : The full name is Common Business Oriented Language, CoBOL was developed in 1960 to develop business software.

BASIC : Not only for specific tasks but also using programming language to solve any problem and to teach students easily, BASIC (Beginners All-purpose Symbolic Instruction Code) language was developed for this purpose. It was first used in 1960 at Dartmouth College in the United States.

Pascal : In late 1970s, Professor Niklas Huirth of Switzerland developed Pascal to teach programming easily and smoothly. Pascal is the first modular programming language. In modular programming language it means that every big program can be divided into several sub-programs and each sub-program works separately. Pascal is not an abbreviation of a full name like the names of other programming languages. But since Pascal is the first modular language, it is natural to have some limitations. Besides, Pascal is not so widely used in scientific, mathematical and business work.

C : To make the program more dynamic and use the programming language to easily /O device. memory or other devices can be controlled, CC is not developed to solve any particular problem. It is developed to solve any problem (be it scientific or mathematical or business). Compared to other programming languages, C is very rich in terms of library functions. However, apart from the above mentioned programming languages, some other languages ​​have been developed at different times and places for application in specific fields. Like- PROLOG, APL, PL/1, Ada, LISP, LOGO, PILOT, Perl, CSL etc.



Comments

Popular posts from this blog

What are the things to consider when buying a WiFi or broadband router for home, office, park and restaurant ?

Today we talk about What are the things to consider when buying a WiFi or broadband router for home, office, park and restaurant .I never like huge introduction about any topic . I always like very shortly introduce any-things to my viewers without any-type boring .So let's began the leanrning :- 1. Decide in advance how many devices you will use. 2. Decide how much space you need coverage. 3. Understand the structure of your home. WiFi signals become weak to penetrate the walls. That is why good coverage is not available. If you have a lot of walls in your house and you want to get coverage in the whole house, then you need a router with high power and wall penetration feature. 4. Decide what features you need in addition to the internet connection. Such as: - 4.1 3G 4G Modem Support- There are many routers that can use the modem. Those routers have a USB port and a one port so that broadband lines can be used. But remember that the modem must have the ability to auto-connect. Not...

What should the processor look at?

The things that we all should keep an eye on are the processor or not; 1. Clock speed 2. Number of course 3. cache memory 4. FBS 1. Clock Speed: It is also called GH2. All processors are written on. Clock speed means how fast your computer can work. That's what this signal means. The speed of the processor is known through this clock speed, how fast the calculation can be done. 2. Number of Cores: The more cores the processor has, the faster the processor can work. If I give an example to explain the matter, I hope you can understand it very easily. Suppose if a person had many hands, then he could do many things at the same time. That is, if we go to the market and buy a smartphone, then we will see what the configurations of the phone are. If we look closely at the configuration of the smartphone, we will see that Dual Core Processor, Quad Core Processor, Octa core processor, Hexa core processor, Deca core processor. This means that the dual core processor has two arms or cores, ...

What is transmission media? Introduction to different types of data transmission cables

Transmission media: When a PC communicates or wants to communicate with another PC, it has to take the help of some transmission media. The most commonly used media in the network are twisted pair cable, coaxial cable, fiber optic cable. Nowadays, the use of optical fiber is increasing greatly. Radio wave, microwave and infrared technologies are prominent among wireless media. Among these mediums, optical fiber has the highest data transfer speed. The type of medium used in a network depends on the type and location of that network. The connection system for exchanging information between the sender and the remote receiving end is called a channel. The means or methods used to implement the channel are called media. such as-- (i) Cable or wire. (ii) Common telephone lines. (ii) Radio waves. (iv) Microwave. (v) Geo-satellite systems etc. Cable or Wire: Cable is an important medium in data communication. Cables are generally used for data transfer over short range networking such as LAN...