Computer programming language ke do basic bhag!

0

Computer programming language ke do basic bhag ke bare me/about Two basic Types of computer programming language

aaj ke jamana puri tarah computer ke upar hi nirbhar hain,computer ke bina puri duniya hi sunyo hain,subah se lekar sham tak hum computer ke upar hi depend hote hain.Hum apne sabhi sare data computer par hi store krke rakhte hain.Computer ke madhyam se hi duniya kan sara bada bada kam ho pata hain,lekin hamare is normal language ko computer nahi samajhte hain

computer ki apni ek bhasa hota hain,jise hum binary language ya machine language kehte hain. Hamare is normal language computer kabhi samaj nhi pate.computer ko samajh ne ke liye is normal language ko hum computer ke language yani binary language ya machine language tak convert karne ke liye kuch method hoti hain,jise hum programming kehte hain,or ek baat computer ke binary language yani machine language sirf do hi cheez samajhti hain,wo do hain 0 or 1.

Hum jab programming karke normal level language ko computer ke language tak convert karte hain tab ye sabhi cheez computer par 0 or 1 ke madhyam se hi store hota hain.Is programming karne kuch alag language hote hain jiske madhyam se hi ye sara process ho pata hain,to is post par hum un language ke bhago ke bare main baat karenge or janenge.

in sabhi programming me ek cheez use hota hain, jise hum ASCII value kehte hain,jiska full form hain American Standard Code for Information Interchange. Programming language main kuch special word hote hain,jise hum hardam programming karte samai use karte rehte hain, jin words ko hum key word kehte hain,keyword hum use kehte hain jo computer main pehle se hi store rehta hain. In Keyword ke kuch example niche diya gaya hain jaise –

int,float,char,if ,else,main,const,for,return,break,case,do,while,sizeof,short .or bhi bahut sare aise keyword hain jo ki hum programming language main use karte hain.

to aiye niche in bhago ke bare main baat karte hain-

1.C language:

C language computer programming ke starting language hote hain.Jo ke programming ke basic language hote hain.C ek general purpose high level language hain.Software system or operating system ko desine karne ke liye is language ko banaya gaya tha . is language ko 1970 me Dennis Ritchie ne develpot kiya tha .C language me data ko store karne k liye variable ko banana padta hain.

C language programming ki starting line niche diya huwa hain-

#include<stdio.h>

void main(){

printf(“hello, world !”);

return 0;

}

output: hello, world !

is c programming language main input dene ke liye hum scanf likhte hain or output ke liye printf likhte hain.

is progarmmig ko karne ke liye hume file banana padta hain or uske ending main hume .c likh ke dena padta hain.

2.c++ (cpp) language:

is language yani c++ ko develope kiya tha Bjarne Stroustrup ne.ye ek partially object oriented programming language hain. Is programming language ko C programming language se liya gaya hain ya desingn kiya gaya hain. Is language ko bhi hum operating system ke kam me use kar sakte hain. jis tarah C language main data store karne ke liye variable banan padta tha usi tarah C++ me bhi data variable ko data type kehte hain.C++ programming ka basic structure niche hain-

#include<iostream>

using namespace std;

int main(){

cout<<“hi”;

return 0;

output resut : hi

is c++ main input dene ke liye hum cin>> likhte hain or output ke liye cout<< likhte hain.

is progarmmig ko karne ke liye hume file banana padta hain or uske ending main hume .cpp likh ke dena padta hain.

At last:

Toh dosto yeh tha about basic programming language, asha karta hu apko yeh jankari pasand aaye hai Computer programming language ke do basic bhag ke bare me/about Two basic Types of computer programming language.

Is blog ke latest post ki notification pane k liye facebook page like kare,blog ke bell icon ko press krke subscribe krna na bhule. knowledge finder blog Visit karne k liye or likh padhne k liye apka bahut bahut Dhanyawaad.

LEAVE A REPLY

Please enter your comment!
Please enter your name here