SlideShare uma empresa Scribd logo
L A N G U A G E S
Department
of
Management
L A N G U A G E S
Department
of
Management
A programming language
defines a set of instructions that
are compiled together to
perform a specific task by the
CPU
Department
of
Management
CONTENT
CLASSIFICATION
MACHINE CODE
ASSEMBLY
LANGUAGE
HIGH LEVEL
LANGUAGE
GENERATION
LANGUAGES
H
i
g
h
-
Level Lan
g
u
a
g
e
Python, Java, C++
Department
of
Management
CLASSIFICATION
O F P R O G R A M M I N G L A N G U A G E S
L
o
w
-Level Lang
u
a
g
e
Machine Language
and Assembly
Language
Department
of
Management
LOW-LEVEL
L A N G U A G E S
The low-level language is a programming language that provides no abstraction
from the hardware, and it is represented in 0 or 1 forms, which are the machine
instructions.
Machine
Language
Assembly
Language
Department
of
Management
MACHINE L A N G U A G E S
Machine Language
The machine-level language is a
language that consists of a set of
instructions that are in the binary
form 0 or 1.
Difficult to design
Error Prone
A machine-level language is not portable, as each computer has its own machine
instructions. Thus, if we write a program on one computer, it will no longer be valid on
another computer.
Processor
The different processor architectures use
different machine codes, for example, a
PowerPC processor contains RISC
architecture, which requires different code
than intel x86 processor, which has a CISC
architecture.
Department
of
Management
ASSEMBLYL A N G U A G E S
The assembly language contains human-
readable commands such as mov, add, sub,
etc.
ASSEMBLY
CODE
MACHINE
LANGUAGE
assemble
r
Department
of
Management
Machine-level language Assembly language
The machine-level language comes at
the lowest level in the hierarchy, so it
has zero abstraction level from the
hardware.
The assembly language comes above
the machine language means that it
has less abstraction level from the
hardware.
It cannot be easily understood by
humans.
It is easy to read, write, and maintain.
The machine-level language is written
in binary digits, i.e., 0 and 1.
The assembly language is written in
simple English language, so it is easily
understandable by the users.
It does not require any translator as
the machine code is directly executed
by the computer.
In assembly language, the assembler
is used to convert the assembly code
into machine code.
HIGH LEVEL LANGUAGE
Department
of
Management
The high-level language is a
programming language that
allows a programmer to write
the programs which are
independent of a particular type
of computer. The high-level
languages are considered as
high-level because they are
closer to human languages than
machine-level languages.
Department
of
Management
ADVANTAGES OF A
HIGH-LEVEL LANGUAGE
The high-level language is easy to read, write,
and maintain as it is written in English-like
words.
The high-level languages are designed to
overcome the limitation of low-level
language, i.e., portability. The high-level
language is portable; i.e., these languages
are machine-independent.
It is a machine-friendly language, i.e., the computer
understands the machine language, which is
represented in 0 or 1.
The low-level language takes more time to execute.
It requires the assembler to convert the assembly
code into machine code.
The machine code cannot run on all machines, so it
is not a portable language.
It is a user-friendly language as this language is written in
simple English words, which can be easily understood by
humans.
It executes at a faster pace.
It requires the compiler to convert the high-level language
instructions into machine code.
The high-level code can run all the platforms, so it is a
portable language.
Low-level language High-level language
DIFFERENCES BETWEEN LOW-LEVEL LANGUAGE AND
HIGH-LEVEL LANGUAGE
Department
of
Management
GENERATIONS OF PROGRAMMING LANGUAGE
Department
of
Management
A way to categorize programming languages based on their evolution and complexity.
Machine code.
1 2
Assembly language.
High-level languages
3 4
Focus on specific
tasks
Natural language
processing
5

Mais conteúdo relacionado

Semelhante a Cracking the Code: A Beginner's Guide to Programming Languages

Lesson 1 - Introduction to Programming .pdf
Lesson 1 - Introduction to Programming .pdfLesson 1 - Introduction to Programming .pdf
Lesson 1 - Introduction to Programming .pdfROWELL MARQUINA
 
Programming language
Programming languageProgramming language
Programming languagezeshmaiqbal
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computerKeval Goyani
 
COMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptxCOMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptxharshsingh0889
 
Programming Languages
Programming LanguagesProgramming Languages
Programming LanguagesMohamed Omar
 
computer languages
computer languagescomputer languages
computer languagesYasirali328
 
Levels of programming languages
Levels of programming languagesLevels of programming languages
Levels of programming languagesMOHSIN BANGI
 
Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...SHUBHAM PATIDAR FISHERIES ADDAA
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxMahamaHaruna
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language adnan usmani
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representationgaurav jain
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer languageBinamraRegmi
 

Semelhante a Cracking the Code: A Beginner's Guide to Programming Languages (20)

Lesson 1 - Introduction to Programming .pdf
Lesson 1 - Introduction to Programming .pdfLesson 1 - Introduction to Programming .pdf
Lesson 1 - Introduction to Programming .pdf
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer language
Computer languageComputer language
Computer language
 
Programming language
Programming languageProgramming language
Programming language
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
 
COMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptxCOMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptx
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
computer languages
computer languagescomputer languages
computer languages
 
Levels of programming languages
Levels of programming languagesLevels of programming languages
Levels of programming languages
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
Programming language
Programming languageProgramming language
Programming language
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer language
 
NEP.pptx
NEP.pptxNEP.pptx
NEP.pptx
 
Computer language
Computer languageComputer language
Computer language
 

Mais de IMS Ghaziabad, University Course Campus

Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...
Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...
Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...IMS Ghaziabad, University Course Campus
 
Dominate the Digital World: Your Guide to Building a Powerful Web Presence
Dominate the Digital World: Your Guide to Building a Powerful Web PresenceDominate the Digital World: Your Guide to Building a Powerful Web Presence
Dominate the Digital World: Your Guide to Building a Powerful Web PresenceIMS Ghaziabad, University Course Campus
 
Unlocking the Future of Learning: AI Tools Revolutionize Student Success!
Unlocking the Future of Learning: AI Tools Revolutionize Student Success!Unlocking the Future of Learning: AI Tools Revolutionize Student Success!
Unlocking the Future of Learning: AI Tools Revolutionize Student Success!IMS Ghaziabad, University Course Campus
 
Unlocking the Secrets of Consumer Behavior: An Interdisciplinary Journey
Unlocking the Secrets of Consumer Behavior: An Interdisciplinary JourneyUnlocking the Secrets of Consumer Behavior: An Interdisciplinary Journey
Unlocking the Secrets of Consumer Behavior: An Interdisciplinary JourneyIMS Ghaziabad, University Course Campus
 
Demystifying Digital Marketing Metrics: Your Data-Driven Roadmap to Success
Demystifying Digital Marketing Metrics: Your Data-Driven Roadmap to SuccessDemystifying Digital Marketing Metrics: Your Data-Driven Roadmap to Success
Demystifying Digital Marketing Metrics: Your Data-Driven Roadmap to SuccessIMS Ghaziabad, University Course Campus
 
Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...
Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...
Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...IMS Ghaziabad, University Course Campus
 

Mais de IMS Ghaziabad, University Course Campus (20)

Demystifying Networks and Communication: A Guide for MIB Students
Demystifying Networks and Communication: A Guide for MIB StudentsDemystifying Networks and Communication: A Guide for MIB Students
Demystifying Networks and Communication: A Guide for MIB Students
 
Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...
Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...
Backlinking Magic & the Art of Review Response #SEO #Backlinks #ReputationMan...
 
Master Online Reputation Management #ORM #BrandReputation
Master Online Reputation Management #ORM #BrandReputationMaster Online Reputation Management #ORM #BrandReputation
Master Online Reputation Management #ORM #BrandReputation
 
Dominate the Digital World: Your Guide to Building a Powerful Web Presence
Dominate the Digital World: Your Guide to Building a Powerful Web PresenceDominate the Digital World: Your Guide to Building a Powerful Web Presence
Dominate the Digital World: Your Guide to Building a Powerful Web Presence
 
Imbibe SEO Knowledge: Master the Art of Search Engine Optimization
Imbibe SEO Knowledge: Master the Art of Search Engine OptimizationImbibe SEO Knowledge: Master the Art of Search Engine Optimization
Imbibe SEO Knowledge: Master the Art of Search Engine Optimization
 
Crack the Code: Understanding Online Customers in the Digital Age
Crack the Code: Understanding Online Customers in the Digital AgeCrack the Code: Understanding Online Customers in the Digital Age
Crack the Code: Understanding Online Customers in the Digital Age
 
Unlocking the Future of Learning: AI Tools Revolutionize Student Success!
Unlocking the Future of Learning: AI Tools Revolutionize Student Success!Unlocking the Future of Learning: AI Tools Revolutionize Student Success!
Unlocking the Future of Learning: AI Tools Revolutionize Student Success!
 
Ethical Marketing Secrets: Winning Consumer Hearts and Minds
Ethical Marketing Secrets: Winning Consumer Hearts and MindsEthical Marketing Secrets: Winning Consumer Hearts and Minds
Ethical Marketing Secrets: Winning Consumer Hearts and Minds
 
Unlocking the Secrets of Consumer Behavior: An Interdisciplinary Journey
Unlocking the Secrets of Consumer Behavior: An Interdisciplinary JourneyUnlocking the Secrets of Consumer Behavior: An Interdisciplinary Journey
Unlocking the Secrets of Consumer Behavior: An Interdisciplinary Journey
 
Unveiling the Maestro: Operating Systems Explained
Unveiling the Maestro: Operating Systems ExplainedUnveiling the Maestro: Operating Systems Explained
Unveiling the Maestro: Operating Systems Explained
 
Elements of A Computer System: Demystifying Your Computer
Elements of A Computer System: Demystifying Your ComputerElements of A Computer System: Demystifying Your Computer
Elements of A Computer System: Demystifying Your Computer
 
Computer Application: Information Concepts
Computer Application: Information ConceptsComputer Application: Information Concepts
Computer Application: Information Concepts
 
Buyer Persona: Building Buyer Personas & Targeting Strategies
Buyer Persona: Building Buyer Personas & Targeting StrategiesBuyer Persona: Building Buyer Personas & Targeting Strategies
Buyer Persona: Building Buyer Personas & Targeting Strategies
 
Digital Marketing Fundamentals: Dive into the World of Digital
Digital Marketing Fundamentals: Dive into the World of DigitalDigital Marketing Fundamentals: Dive into the World of Digital
Digital Marketing Fundamentals: Dive into the World of Digital
 
Demystifying Digital Marketing Metrics: Your Data-Driven Roadmap to Success
Demystifying Digital Marketing Metrics: Your Data-Driven Roadmap to SuccessDemystifying Digital Marketing Metrics: Your Data-Driven Roadmap to Success
Demystifying Digital Marketing Metrics: Your Data-Driven Roadmap to Success
 
Unveiling the Customer : Decoding Involvement & Satisfaction
Unveiling the Customer : Decoding Involvement & SatisfactionUnveiling the Customer : Decoding Involvement & Satisfaction
Unveiling the Customer : Decoding Involvement & Satisfaction
 
Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...
Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...
Unveiling the Customer Journey: Pre-Purchase Behavior, Cognitive Dissonance &...
 
Outlet Selection and Purchase Decision.pdf
Outlet Selection and Purchase Decision.pdfOutlet Selection and Purchase Decision.pdf
Outlet Selection and Purchase Decision.pdf
 
Pre-Purchase Search Influences: Making Informed Decisions
Pre-Purchase Search Influences: Making Informed DecisionsPre-Purchase Search Influences: Making Informed Decisions
Pre-Purchase Search Influences: Making Informed Decisions
 
Consumer's Decision Making Process to do
Consumer's Decision Making Process to doConsumer's Decision Making Process to do
Consumer's Decision Making Process to do
 

Último

50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdfVikramadityaRaj
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17Celine George
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Neurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeNeurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeSaadHumayun7
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Celine George
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxCeline George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online PresentationGDSCYCCE
 

Último (20)

50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Neurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeNeurulation and the formation of the neural tube
Neurulation and the formation of the neural tube
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 

Cracking the Code: A Beginner's Guide to Programming Languages

  • 1. L A N G U A G E S Department of Management
  • 2. L A N G U A G E S Department of Management A programming language defines a set of instructions that are compiled together to perform a specific task by the CPU
  • 4. H i g h - Level Lan g u a g e Python, Java, C++ Department of Management CLASSIFICATION O F P R O G R A M M I N G L A N G U A G E S L o w -Level Lang u a g e Machine Language and Assembly Language
  • 5. Department of Management LOW-LEVEL L A N G U A G E S The low-level language is a programming language that provides no abstraction from the hardware, and it is represented in 0 or 1 forms, which are the machine instructions. Machine Language Assembly Language
  • 6. Department of Management MACHINE L A N G U A G E S Machine Language The machine-level language is a language that consists of a set of instructions that are in the binary form 0 or 1. Difficult to design Error Prone A machine-level language is not portable, as each computer has its own machine instructions. Thus, if we write a program on one computer, it will no longer be valid on another computer. Processor The different processor architectures use different machine codes, for example, a PowerPC processor contains RISC architecture, which requires different code than intel x86 processor, which has a CISC architecture.
  • 7. Department of Management ASSEMBLYL A N G U A G E S The assembly language contains human- readable commands such as mov, add, sub, etc. ASSEMBLY CODE MACHINE LANGUAGE assemble r
  • 8. Department of Management Machine-level language Assembly language The machine-level language comes at the lowest level in the hierarchy, so it has zero abstraction level from the hardware. The assembly language comes above the machine language means that it has less abstraction level from the hardware. It cannot be easily understood by humans. It is easy to read, write, and maintain. The machine-level language is written in binary digits, i.e., 0 and 1. The assembly language is written in simple English language, so it is easily understandable by the users. It does not require any translator as the machine code is directly executed by the computer. In assembly language, the assembler is used to convert the assembly code into machine code.
  • 9. HIGH LEVEL LANGUAGE Department of Management The high-level language is a programming language that allows a programmer to write the programs which are independent of a particular type of computer. The high-level languages are considered as high-level because they are closer to human languages than machine-level languages.
  • 10. Department of Management ADVANTAGES OF A HIGH-LEVEL LANGUAGE The high-level language is easy to read, write, and maintain as it is written in English-like words. The high-level languages are designed to overcome the limitation of low-level language, i.e., portability. The high-level language is portable; i.e., these languages are machine-independent.
  • 11. It is a machine-friendly language, i.e., the computer understands the machine language, which is represented in 0 or 1. The low-level language takes more time to execute. It requires the assembler to convert the assembly code into machine code. The machine code cannot run on all machines, so it is not a portable language. It is a user-friendly language as this language is written in simple English words, which can be easily understood by humans. It executes at a faster pace. It requires the compiler to convert the high-level language instructions into machine code. The high-level code can run all the platforms, so it is a portable language. Low-level language High-level language DIFFERENCES BETWEEN LOW-LEVEL LANGUAGE AND HIGH-LEVEL LANGUAGE Department of Management
  • 12. GENERATIONS OF PROGRAMMING LANGUAGE Department of Management A way to categorize programming languages based on their evolution and complexity. Machine code. 1 2 Assembly language. High-level languages 3 4 Focus on specific tasks Natural language processing 5