SlideShare une entreprise Scribd logo
1  sur  13
PROGRAMMING
FUNDAMENTALS
BASIC CONCEPTS
• What is a Program.
• Programming Languages.
• Translators.
WHAT IS A PROGRAM?
• A program is a Set of Instructions that tells the Computer “What to do and
How to do”.
• A program can be written in many languages like C/C++, C#, Python, Ruby
etc.
PROGRAMMING LANGUAGES
• Programming language is a special kind of language that is used to give
instructions to the computer.
• There are three types of languages:
• High-Level Language.
• Middle-Level Language.
• Low-Level Language.
HIGH-LEVEL LANGUAGES
• High-Level Languages are English-oriented Human-understandable
languages that are used to make programs.
• Examples of High-Level Languages are C/C++, Java, Python etc.
MIDDLE-LEVEL LANGUAGES
• Middle-Level Languages are also human-understandable languages, but
they are a little-bit more complex as they contain some commands of
Machine Language.
• Example of Middle-Level Language is Assembly.
LOW-LEVEL LANGUAGE
• Low-Level Language is machine-understandable language and it is very
much difficult for human to understand it.
• Low-Level Language is also called Binary Language or Machine Language
HOW DOES COMPUTER UNDERSTAND A
PROGRAM
• The program that we write in a program is in High Level Language(HLL)
i.e. Human understandable language that has the combination of English
and some Special Characters. A computer cannot understand High Level
Language.
• The program written in High-Level Language is called Source Code.
• To understand the Programs written in HLL, computer uses Special
Programs known as Translator.
TRANSLATOR
• A translator is a special program written for computers.
• The translator translate High Level and Middle Level Language
instructions into Low Level Language or in Computer Language.
• The program written in Computer/Machine language is called Object Code.
TYPES OF TRANSLATORS
• There are two major types of Translators:
1. Interpreter
2. Compiler
INTERPRETER
• The interpreter is a type of translator that translates Source Code(Program
written in HLL) into Object Code(program written in LLL) line by line.
• It is a little bit faster than compiler and reports an error immediately after
it has been generated.
• It does not generate a copy of object code.
• It is used by many programming languages such as Java, Python, Ruby.
COMPILER
• Compiler is a type of translator that translates the Source Code(Program
written in HLL) into Object Code(Program written in LLL) as a whole.
• It is a bit slower than interpreter, but it is more efficient as compared to
interpreter.
• It creates a copy of object code.
• It is also used by many programming languages such as C/C++, C#.
NEXT VIDEO
• Getting started with C++.
• Preprocessor Directive.
• Header Files.
• Libraries.

Contenu connexe

Tendances

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
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
Saumya Sahu
 

Tendances (20)

COMPUTER LANGUAGES AND PROGRAMMING
COMPUTER LANGUAGES AND PROGRAMMINGCOMPUTER LANGUAGES AND PROGRAMMING
COMPUTER LANGUAGES AND PROGRAMMING
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Computer language
Computer languageComputer language
Computer language
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
 
Computer language
Computer languageComputer language
Computer language
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer language
 
computer languages
computer languagescomputer languages
computer languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Chapter 4 computer language
Chapter 4 computer languageChapter 4 computer language
Chapter 4 computer language
 
Lecture1
Lecture1Lecture1
Lecture1
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
SD & D High and low level languages
SD & D High and low level languagesSD & D High and low level languages
SD & D High and low level languages
 
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)
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
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 ...
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 

Similaire à Programming fundamentals presentation

Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
crAmth
 
C Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptxC Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptx
Murali M
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptx
CoolGamer16
 

Similaire à Programming fundamentals presentation (20)

Computer language.ppsx
Computer language.ppsxComputer language.ppsx
Computer language.ppsx
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
 
C Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptxC Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptx
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
Lec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there studyLec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there study
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Language processors
Language processorsLanguage processors
Language processors
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer program
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
computer languages
computer languagescomputer languages
computer languages
 
Introduction to Compilers
Introduction to CompilersIntroduction to Compilers
Introduction to Compilers
 
Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptx
 
C++ programming languages lectures
C++ programming languages lectures C++ programming languages lectures
C++ programming languages lectures
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Lesson 2.pptx
Lesson 2.pptxLesson 2.pptx
Lesson 2.pptx
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 

Dernier

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Dernier (20)

10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
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 🔝✔️✔️
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
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...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 

Programming fundamentals presentation

  • 2. BASIC CONCEPTS • What is a Program. • Programming Languages. • Translators.
  • 3. WHAT IS A PROGRAM? • A program is a Set of Instructions that tells the Computer “What to do and How to do”. • A program can be written in many languages like C/C++, C#, Python, Ruby etc.
  • 4. PROGRAMMING LANGUAGES • Programming language is a special kind of language that is used to give instructions to the computer. • There are three types of languages: • High-Level Language. • Middle-Level Language. • Low-Level Language.
  • 5. HIGH-LEVEL LANGUAGES • High-Level Languages are English-oriented Human-understandable languages that are used to make programs. • Examples of High-Level Languages are C/C++, Java, Python etc.
  • 6. MIDDLE-LEVEL LANGUAGES • Middle-Level Languages are also human-understandable languages, but they are a little-bit more complex as they contain some commands of Machine Language. • Example of Middle-Level Language is Assembly.
  • 7. LOW-LEVEL LANGUAGE • Low-Level Language is machine-understandable language and it is very much difficult for human to understand it. • Low-Level Language is also called Binary Language or Machine Language
  • 8. HOW DOES COMPUTER UNDERSTAND A PROGRAM • The program that we write in a program is in High Level Language(HLL) i.e. Human understandable language that has the combination of English and some Special Characters. A computer cannot understand High Level Language. • The program written in High-Level Language is called Source Code. • To understand the Programs written in HLL, computer uses Special Programs known as Translator.
  • 9. TRANSLATOR • A translator is a special program written for computers. • The translator translate High Level and Middle Level Language instructions into Low Level Language or in Computer Language. • The program written in Computer/Machine language is called Object Code.
  • 10. TYPES OF TRANSLATORS • There are two major types of Translators: 1. Interpreter 2. Compiler
  • 11. INTERPRETER • The interpreter is a type of translator that translates Source Code(Program written in HLL) into Object Code(program written in LLL) line by line. • It is a little bit faster than compiler and reports an error immediately after it has been generated. • It does not generate a copy of object code. • It is used by many programming languages such as Java, Python, Ruby.
  • 12. COMPILER • Compiler is a type of translator that translates the Source Code(Program written in HLL) into Object Code(Program written in LLL) as a whole. • It is a bit slower than interpreter, but it is more efficient as compared to interpreter. • It creates a copy of object code. • It is also used by many programming languages such as C/C++, C#.
  • 13. NEXT VIDEO • Getting started with C++. • Preprocessor Directive. • Header Files. • Libraries.