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

Unlocking Online Success: Why Justoctane SEO Services are the Best Choice for Businesses in Boca Raton, Florida.

Best Justoctane SEO Services Boca Raton in Florida Are you looking for the best SEO services in Boca Raton, Florida? Look no further than Justoctane SEO services. As a leading provider of SEO services, Justoctane has helped numerous businesses in the Boca Raton area achieve top rankings on search engine results pages. In this blog post, we will explore why Justoctane is the best choice for SEO services in Boca Raton. Experience and Expertise Justoctane has a team of experienced and highly skilled SEO professionals who have a deep understanding of search engine algorithms and the latest SEO techniques. Their expertise allows them to create customized SEO strategies that are tailored to the specific needs of each client. The Justoctane team has worked with businesses in various industries and niches, providing them with a wealth of knowledge and experience to draw from when creating effective SEO strategies. Comprehensive Services Justoctane offers a wide range of SEO services, incl

What is cryptocurrency? How Bitcoin Works ?

What is cryptocurrency? Cryptocurrency is a type of cryptocurrency; Which has no real form. It only exists in the internet world; Transactions using it are only possible online not offline. Whose entire activities are carried out in a secure process called cryptography; It is software based only, you can't touch even if you want to. Some shopping sites now offer cryptocurrency transactions. You can buy things from those sites using cryptocurrency. It is hoped that in the near future cryptocurrency will be used everywhere. How many types of cryptocurrencies are there? There are currently about 17,499+ types of cryptocurrencies on the market according to coinmarketcap.com . The most popular of these are: Bitcoin, Etherium, Lightcoin, etc .; Bitcoin is the world's first successful cryptocurrency. We will first calculate the total value of Bitcoin because it is simple. As of February 11, 2022, the value of all bitcoins in the world was  $851,455,626,804 USD , according to CoinMarke

কম্পিউটার আর্কিটেকচার কি? কম্পিউটার আর্কিটেকচার কয় প্রকার ও কী কী?

কম্পিউটার আর্কিটেকচার (Computer Architecture) কম্পিউটার ইঞ্জিনিয়ারিং-এ কম্পিউটার আর্কিটেকচার হচ্ছে কম্পিউটার সিস্টেমের কনসেপচুয়াল নকশা এবং কম্পিউটারের বেসিক অপারেশনের গঠন বিন্যাস। কম্পিউটার সিস্টেমে যে-সব বৈশিষ্ট্য প্রোগ্রামারের কাছে দৃশ্যমান অথবা প্রোগ্রামের লজিক্যাল এক্সিকিউশনের উপর যে-সব বৈশিষ্ট্যের সরাসরি প্রভাব আছে, তাকে কম্পিউটার আর্কিটেকচার বলে। উদাহরণস্বরূপ বলা যায় আর্কিটেকচারাল বৈশিষ্ট্যের মধ্যে আছে ইনস্ট্রাকশন সেট, বিভিন্ন ডাটাটাইপ রিপ্রেজেন্ট করতে ব্যবহৃত বিটের সংখ্যা, ইনপুট আউটপুট মেকানিজম এবং মেমরি অ্যাড্রেসিং-এর জন্য বিভিন্ন পদ্ধতি । কম্পিউটার আর্কিটেকচারের দুটি ধারা প্রচলিত আছে। একটি হলো হার্ভার্ড আর্কিটেকচার ও অপরটি ভন নিউম্যান বা প্রিন্সটন আর্কিটেকচার। আধুনিক কম্পিউটার আর্কিটেকচার (Modern Computer Architecture) আধুনিক কম্পিউটারের মৌলিক আর্কিটেকচার । হার্ভার্ড আর্কিটেকচার দ্বিতীয় বিশ্বযুদ্ধ চলাকালে হার্ভার্ড বিশ্ববিদ্যালয়ে এই আর্কিটেকচার নিয়ে গবেষণা করা হয়। হাওয়ার্ড আইকেন প্রথম এই আর্কিটেকচার প্রস্তাব করেন। দূরপাল্লার ক্ষেপণাস্ত্র নিয়ন্ত্রণে এই আর্কিটেকচার