SlideShare ist ein Scribd-Unternehmen logo
1 von 10
WHAT IS COMPUTER
PROGRAMMING
LANGUAGE
WHAT IS ELECTRONIC DEVICE ?
• Electronic device is a dumb machine.
• Example:- “ A COMPUTER” is an electronic device.
• Electronic device works based on instructions given by Human.
• Electronic device understands only binary code i.e 0s and 1s which is
nothing but voltage ‘ON’ & voltage ‘OFF’.
• Hence, Every Program instruction and data should be converted into binary
bits.
• After conversion we will get binary code/machine code/voltage file.
• For ‘machine/electronic device’, The binary code/machine code/voltage file
is executable code.
WHAT IS MACHINE CODE
• Machine code is a stream of raw data which is written in
machine understandable language/ Instruction set architecture
which is understandable by machine.
• Instruction written in Machine understandable language is
known as Machine code. Machine code is in binary form which
is nothing but in 0s and 1s.
• Currently, programmers almost never write programs directly
in machine code, because it requires attention to numerous
details that a high-level language handles automatically.
• Furthermore it requires memorizing or looking up numerical
codes for every instruction, and is extremely difficult to modify.
CONVERTING “PROGRAM INSTRUCTION” &
“DATA” INTO BINARY BITS.
• For conversion of program instruction and data into binary bits,
There are Three translators.
1. Interpreters
2. Compiler
3. Assembler for Assembly language program
1. INTERPRETER
• Interpreter runs program line by line.
• Mechanism of Interpreter:-
i. Interpreter goes into memory takes one statement and
execute it, then
ii. Again interpreter go to memory picks up next instruction and
execute it
iii. Again interpreter go to memory picks up next instruction and
execute it
iv. And so on till last instruction in the program.
• Interpreter is slow but need less memory.
2.COMPILER
• Compiler compiles whole program at a time and generate byte
code.
• Mechanism of compiler:-
i. Compiler goes into memory take complete program at once
and compile it.
ii. After compilation compiled version of source code gets
generated.
• Compiler is fast but need more memory space.
3.ASSEMBLER
• Assembler is used for Assembly language.
• Assembly language is mid level language.
IF INTERPRETER IS SLOW THEN WHY IT CAME
INTO EXISTENCE?
• In early age there were computer with very small size hard disk
for example with 200mb and Ram with tiny size lets say 200kb
• So In those days interpreter was suitable for this.
WHAT IS LANGUAGE ?
• Language is “Instruction set Architecture” to communicate
some meaning/message to the comprehended or receiver.
• In simple words “Language” is a “MEDIUM” of communication.
• For human to human communication we use communication
languages like.. English , French , Arabic, Sign languages etc..
• For Human-Machine communication we use Computer
programming languages for example C, C++, Java, Python, SQL
and so on…
GENERATIONS OF COMPUTER
PROGRAMMING LANGUAGES.
1. Machine level language
2. Assembly language
3. High level languages

Weitere ähnliche Inhalte

Was ist angesagt?

D turner power_pointpres
D turner power_pointpresD turner power_pointpres
D turner power_pointpres
david114811
 

Was ist angesagt? (20)

High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
computer languages
computer languagescomputer languages
computer languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
introduction to Programming Lecture 1
introduction to Programming Lecture 1introduction to Programming Lecture 1
introduction to Programming Lecture 1
 
D turner power_pointpres
D turner power_pointpresD turner power_pointpres
D turner power_pointpres
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Chapter 4 computer language
Chapter 4 computer languageChapter 4 computer language
Chapter 4 computer language
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
Lecture1
Lecture1Lecture1
Lecture1
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Computer Languages.
Computer Languages.Computer Languages.
Computer Languages.
 
Computer languages
Computer languagesComputer languages
Computer languages
 
High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages
 

Ähnlich wie " PROGRAMMING LANGUAGE " with MOHSIN

Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
RakibRahman19
 
Computer assignment for grade 9
Computer assignment for grade  9Computer assignment for grade  9
Computer assignment for grade 9
nahomyitbarek
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
crAmth
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Mohamed Omar
 

Ähnlich wie " PROGRAMMING LANGUAGE " with MOHSIN (20)

Computer language
Computer languageComputer language
Computer language
 
Language processors
Language processorsLanguage processors
Language processors
 
Computer-charecteristics,types of languages,translators
Computer-charecteristics,types of languages,translatorsComputer-charecteristics,types of languages,translators
Computer-charecteristics,types of languages,translators
 
Introduction to Compilers
Introduction to CompilersIntroduction to Compilers
Introduction to Compilers
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
 
Computer assignment for grade 9
Computer assignment for grade  9Computer assignment for grade  9
Computer assignment for grade 9
 
C++ programming languages lectures
C++ programming languages lectures C++ programming languages lectures
C++ programming languages lectures
 
Compiler design slide share
Compiler design slide shareCompiler design slide share
Compiler design slide share
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentation
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
 
LKGtoPG - Basics of C Language
LKGtoPG - Basics of  C LanguageLKGtoPG - Basics of  C Language
LKGtoPG - Basics of C Language
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer program
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Programming languages
Programming languages Programming languages
Programming languages
 

Kürzlich hochgeladen

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Kürzlich hochgeladen (20)

%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 

" PROGRAMMING LANGUAGE " with MOHSIN

  • 2. WHAT IS ELECTRONIC DEVICE ? • Electronic device is a dumb machine. • Example:- “ A COMPUTER” is an electronic device. • Electronic device works based on instructions given by Human. • Electronic device understands only binary code i.e 0s and 1s which is nothing but voltage ‘ON’ & voltage ‘OFF’. • Hence, Every Program instruction and data should be converted into binary bits. • After conversion we will get binary code/machine code/voltage file. • For ‘machine/electronic device’, The binary code/machine code/voltage file is executable code.
  • 3. WHAT IS MACHINE CODE • Machine code is a stream of raw data which is written in machine understandable language/ Instruction set architecture which is understandable by machine. • Instruction written in Machine understandable language is known as Machine code. Machine code is in binary form which is nothing but in 0s and 1s. • Currently, programmers almost never write programs directly in machine code, because it requires attention to numerous details that a high-level language handles automatically. • Furthermore it requires memorizing or looking up numerical codes for every instruction, and is extremely difficult to modify.
  • 4. CONVERTING “PROGRAM INSTRUCTION” & “DATA” INTO BINARY BITS. • For conversion of program instruction and data into binary bits, There are Three translators. 1. Interpreters 2. Compiler 3. Assembler for Assembly language program
  • 5. 1. INTERPRETER • Interpreter runs program line by line. • Mechanism of Interpreter:- i. Interpreter goes into memory takes one statement and execute it, then ii. Again interpreter go to memory picks up next instruction and execute it iii. Again interpreter go to memory picks up next instruction and execute it iv. And so on till last instruction in the program. • Interpreter is slow but need less memory.
  • 6. 2.COMPILER • Compiler compiles whole program at a time and generate byte code. • Mechanism of compiler:- i. Compiler goes into memory take complete program at once and compile it. ii. After compilation compiled version of source code gets generated. • Compiler is fast but need more memory space.
  • 7. 3.ASSEMBLER • Assembler is used for Assembly language. • Assembly language is mid level language.
  • 8. IF INTERPRETER IS SLOW THEN WHY IT CAME INTO EXISTENCE? • In early age there were computer with very small size hard disk for example with 200mb and Ram with tiny size lets say 200kb • So In those days interpreter was suitable for this.
  • 9. WHAT IS LANGUAGE ? • Language is “Instruction set Architecture” to communicate some meaning/message to the comprehended or receiver. • In simple words “Language” is a “MEDIUM” of communication. • For human to human communication we use communication languages like.. English , French , Arabic, Sign languages etc.. • For Human-Machine communication we use Computer programming languages for example C, C++, Java, Python, SQL and so on…
  • 10. GENERATIONS OF COMPUTER PROGRAMMING LANGUAGES. 1. Machine level language 2. Assembly language 3. High level languages