السبت، 11 فبراير 2023

Programming Languages

 

Programming Languages


 

Any program or application or game in this world has been written in so-called programming languages by programmer.
so what is programming language
in this article we learn what is Programming Language

Programming languages

 are a set of instructions and syntax used to create software programs.
They serve as a way for developers to communicate their ideas and designs to the computer and provide the necessary instructions for the machine to execute specific tasks.

 Type or level of Programming Languages :

  . low level language (machine languages)


 
Machine language consists of  set numerical codes for operations that a given computer can perform directly. These codes are strings of 0s and 1s, or binary digits ("bits"), usually converted from hexadecimal (base 16) to hexadecimal so that people can see and change them. Machine language instructions usually use a few bits to represent an operation, eg B. addition, some to represent an operand or possibly the location of the next instruction. Machine language is difficult to read and write because it is not like traditional mathematical notation or human language, and its codes vary from computer to computer
.

. Assembly Languages .

Assembly language is one level above machine language. It uses short mnemonics to represent instructions and allows programmers to introduce names for memory blocks that hold data. For example, you could write "add pay, total" instead of "0110101100101000" for the instruction to add two numbers.

.High Level Languages

High level language commands are very close, in syntax, to English, thus resulting in comparatively low error rate.
High level commands need to be translated to machine language using an interpreter or compiler.

Popular Today

 
#C
Perl
Visual Basic
Python
Java
javascript
php
ruby
kotlin
And many others.


Translation Using an Interpreter

Interpreters translate code into machine language on a line-by-line basis. Examples include Perl, Python et
Typically, the translation speed is comparatively quicker than a compiler, but the execution speed is slower.
These languages are somewhat easier to program in that compiled languages.

Translation Using a Compiler

Compiler translate code into machine language by translating the entire program at once

Typically, the translation speed is comparatively slower than an interpreter, but the execution speed is much quicker.

Examples include C, C++, Fortran, and Cobol


All types of high level languages share three families of operations

.Sequential Operations
Conditional Operations
.Looping Operations

High level languages are designed to make it easy for humans to program computers

They use many language constructs that are well known in our Human languages such as English

Programming languages are the building blocks of software development and they are used to write instructions that can be executed by a computer. They serve as a means of communication between humans and machines, allowing developers to write code that can perform various tasks, from solving mathematical problems to creating interactive websites. There are many different programming languages available, each with its own syntax, features, and purposes. Some popular programming languages include Java, Python, C++, JavaScript, and Ruby. Each language has its own strengths and weaknesses, and choosing the right one for a project depends on the specific requirements and goals of the development team. Additionally, some programming languages are better suited for specific tasks, such as data analysis or web development, while others are more versatile and can be used for a wide range of applications. Regardless of the language used, the ultimate goal of programming is to create efficient and effective software that solves problems and meets the needs of users.




ليست هناك تعليقات:

إرسال تعليق

How do I bypass copyright on YouTube

  How do I bypass copyright on YouTube YouTube is a leading online video platform where millions of videos are uploaded every day However, ...