SlideShare a Scribd company logo
Computer Science
(A Level)
Programming
Languages
Programmed code that has not yet been
compiled into an executable file
General name for any program that
translates code from one language to
another
(Definitions)
A program that translates a high–level
language into machine code by
translating all of the code
Compiled code that can be run as an
executable on any computer
(Definitions)
A program that translates a high–level language by
reading each statement in source code and
immediately performing the action
A program that translates a program written in
assembly language into machine code
(Definitions)
• The assembly code is known as source code and this is
translated into object code (compiled code) by an assembler.
• Before assembly code can be executed it must be translated
into the equivalent machine code. This is done by an
assembler.
• The assembler program takes each assembly code instruction
and converts it into the corresponding 0s and 1s.
• The input is called source code and the output is called object
code.
Assembler
• A compiler is a program that translates high-level
language (e.g. C++, Visual Basic etc.) into machine code.
• Source code is written by the programmer and input to
the compiler. It scans through several times , each time
performing different checks and building up tables of
information to produce the final object code.
• Different hardware platforms (Intel, Apple, etc.) require
different compilers.
• The object code (executable machine code) can be saved
and run without needing the compiler
Compiler
Compiler
Advantages Disadvantages
• Object code can be saved to disk and run
when required
• If an error have to recompile whole
program
• Executes faster • Will only run on a computer that has the
same platform
• Object code can be distributed or executed
without the compiler
• You cannot change the program without
going back to the source code
• Secure as object code cannot be read
without reverse engineering
• The translation is only done once and as a
separate process
• Compiled programs can run on any
computer
• An interpreter reads a statement of the source code
and immediately performs the required action.
• Once the programmer has written and saved a program
and instructs the computer to run it the interpreter looks
at each line in the source code analyses it and if there
no errors translates it into machine code.
Interpreter
Interpreter
Advantages Disadvantages
• Useful for program development as there is
no lengthy recompilation
• The program may run slower because
each statement has to be translated
every time it is encountered
• Easier to partially test and debug programs • Need to have the interpreter installed
(Interpreted programs can only run on
computers that have the interpreter)
• Can be run on different hardware platforms • Source code must be provided to users
• Easier to use
• You can interrupt it while it’s running,
change the program and either continue or
start again.
An instruction set used for
programming that can be executed
on any computer using a virtual
machine
(Definitions)
• Most interpreted languages (e.g. python or Java) use an
intermediate representation that combines compiling and
interpreting called bytecode
• This is an instruction set that can be executed using a virtual
machine (the bytecode interpreter) which emulates the
architecture of a computer.
• It is platform independent as long as the bytecode interpreter
is installed
• Bytecode can be either compiled once and for all (e.g. Java) or
each time the source code changes before execution (e.g.
python)
Bytecode
Ad

More Related Content

What's hot (20)

Computer Language
Computer LanguageComputer Language
Computer Language
Deepak Yadav
 
Unit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptUnit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.ppt
DrTThendralCompSci
 
Compilers
CompilersCompilers
Compilers
Bense Tony
 
Ram & rom
Ram & romRam & rom
Ram & rom
Ahsan Rafiq
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
structured programming
structured programmingstructured programming
structured programming
Ahmad54321
 
Programming languages
Programming languagesProgramming languages
Programming languages
gaurav jain
 
computer languages
computer languagescomputer languages
computer languages
Rajendran
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
An overview of computers and programming languages
An overview of computers and programming languages An overview of computers and programming languages
An overview of computers and programming languages
Ahmad Idrees
 
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
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
Trivuz ত্রিভুজ
 
Compilers and interpreters
Compilers and interpretersCompilers and interpreters
Compilers and interpreters
RAJU KATHI
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
Sayed Mahmoud AbdEl Rahman
 
Programming language
Programming languageProgramming language
Programming language
RajThakuri
 
Strategy of software design
Strategy of software designStrategy of software design
Strategy of software design
Self-employed
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
Zuhaib Zaroon
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
Dhaval Kaneria
 
Data Designs (Software Engg.)
Data Designs (Software Engg.)Data Designs (Software Engg.)
Data Designs (Software Engg.)
Arun Shukla
 
Compiler Construction
Compiler ConstructionCompiler Construction
Compiler Construction
Army Public School and College -Faisal
 
Unit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.pptUnit 1 - Introduction to Software Engineering.ppt
Unit 1 - Introduction to Software Engineering.ppt
DrTThendralCompSci
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
structured programming
structured programmingstructured programming
structured programming
Ahmad54321
 
Programming languages
Programming languagesProgramming languages
Programming languages
gaurav jain
 
computer languages
computer languagescomputer languages
computer languages
Rajendran
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
An overview of computers and programming languages
An overview of computers and programming languages An overview of computers and programming languages
An overview of computers and programming languages
Ahmad Idrees
 
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
 
Compilers and interpreters
Compilers and interpretersCompilers and interpreters
Compilers and interpreters
RAJU KATHI
 
Programming language
Programming languageProgramming language
Programming language
RajThakuri
 
Strategy of software design
Strategy of software designStrategy of software design
Strategy of software design
Self-employed
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
Zuhaib Zaroon
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
Dhaval Kaneria
 
Data Designs (Software Engg.)
Data Designs (Software Engg.)Data Designs (Software Engg.)
Data Designs (Software Engg.)
Arun Shukla
 

Viewers also liked (20)

Nfa vs dfa
Nfa vs dfaNfa vs dfa
Nfa vs dfa
raosir123
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
kunj desai
 
Dfa vs nfa
Dfa vs nfaDfa vs nfa
Dfa vs nfa
raosir123
 
Lexical Analysis
Lexical AnalysisLexical Analysis
Lexical Analysis
Munni28
 
Optimization of dfa
Optimization of dfaOptimization of dfa
Optimization of dfa
Kiran Acharya
 
optimization of DFA
optimization of DFAoptimization of DFA
optimization of DFA
Maulik Togadiya
 
NFA to DFA
NFA to DFANFA to DFA
NFA to DFA
Animesh Chaturvedi
 
DFA Minimization
DFA MinimizationDFA Minimization
DFA Minimization
guest5873b2d
 
Lexical analysis - Compiler Design
Lexical analysis - Compiler DesignLexical analysis - Compiler Design
Lexical analysis - Compiler Design
Muhammed Afsal Villan
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
Nisarg Amin
 
Bottom - Up Parsing
Bottom - Up ParsingBottom - Up Parsing
Bottom - Up Parsing
kunj desai
 
Compiler Chapter 1
Compiler Chapter 1Compiler Chapter 1
Compiler Chapter 1
Huawei Technologies
 
NFA or Non deterministic finite automata
NFA or Non deterministic finite automataNFA or Non deterministic finite automata
NFA or Non deterministic finite automata
deepinderbedi
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
Tanzeela_Hussain
 
Intermediate code- generation
Intermediate code- generationIntermediate code- generation
Intermediate code- generation
rawan_z
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
Ashwini Sonawane
 
Language translator
Language translatorLanguage translator
Language translator
asmakh89
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
baabtra.com - No. 1 supplier of quality freshers
 
Intermediate code generation
Intermediate code generationIntermediate code generation
Intermediate code generation
RamchandraRegmi
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
Princess Doll
 
Ad

Similar to Programming Languages / Translators (20)

Compilerandinterpreterghhhjjjjjjjjnnn.pdf
Compilerandinterpreterghhhjjjjjjjjnnn.pdfCompilerandinterpreterghhhjjjjjjjjnnn.pdf
Compilerandinterpreterghhhjjjjjjjjnnn.pdf
mksolanki527
 
Compiler Design Introduction
Compiler Design Introduction Compiler Design Introduction
Compiler Design Introduction
Thapar Institute
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
RakibRahman19
 
Week 08_Basics of Compiler Construction.pdf
Week 08_Basics of Compiler Construction.pdfWeek 08_Basics of Compiler Construction.pdf
Week 08_Basics of Compiler Construction.pdf
AnonymousQ3EMYoWNS
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer program
Abhay Kumar
 
CD module 1.pptx Introduction to compiler Design
CD module 1.pptx Introduction to compiler DesignCD module 1.pptx Introduction to compiler Design
CD module 1.pptx Introduction to compiler Design
GAJJELASRAVANTHIGAJJ
 
compiler vs interpreter
compiler vs interpretercompiler vs interpreter
compiler vs interpreter
Faculty of Science , portsaid Univeristy
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Mohamed Omar
 
Compiler Construction from very basic start
Compiler Construction from very basic startCompiler Construction from very basic start
Compiler Construction from very basic start
voyoc79528
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
nharsh2308
 
Lec 1 Compiler Construction (CC) CC.pptx
Lec 1 Compiler Construction (CC) CC.pptxLec 1 Compiler Construction (CC) CC.pptx
Lec 1 Compiler Construction (CC) CC.pptx
imranahmadrana28
 
Compiler constuction lec 1 ( features of compiler and types of compiler).pptx
Compiler constuction lec 1 ( features of compiler and types of compiler).pptxCompiler constuction lec 1 ( features of compiler and types of compiler).pptx
Compiler constuction lec 1 ( features of compiler and types of compiler).pptx
Aksakhalyd
 
Introduction to Programmihhbbhhbbbng.pptx
Introduction to Programmihhbbhhbbbng.pptxIntroduction to Programmihhbbhhbbbng.pptx
Introduction to Programmihhbbhhbbbng.pptx
onkarsinghphotos1977
 
Computer Science guide to C Unit-I Translator.pptx
Computer Science guide to C Unit-I Translator.pptxComputer Science guide to C Unit-I Translator.pptx
Computer Science guide to C Unit-I Translator.pptx
NomthandazoNgwenya1
 
Agro informatics centre up State of Lec 6.pptx
Agro informatics centre up State of Lec 6.pptxAgro informatics centre up State of Lec 6.pptx
Agro informatics centre up State of Lec 6.pptx
muddydevil2003
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
sonalikharade3
 
Introduction to compiler interpreter
Introduction to compiler interpreterIntroduction to compiler interpreter
Introduction to compiler interpreter
poojapainter
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Sajitha Pathirana
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
Tanveer Malik
 
Compiler an overview
Compiler  an overviewCompiler  an overview
Compiler an overview
amudha arul
 
Compilerandinterpreterghhhjjjjjjjjnnn.pdf
Compilerandinterpreterghhhjjjjjjjjnnn.pdfCompilerandinterpreterghhhjjjjjjjjnnn.pdf
Compilerandinterpreterghhhjjjjjjjjnnn.pdf
mksolanki527
 
Compiler Design Introduction
Compiler Design Introduction Compiler Design Introduction
Compiler Design Introduction
Thapar Institute
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
RakibRahman19
 
Week 08_Basics of Compiler Construction.pdf
Week 08_Basics of Compiler Construction.pdfWeek 08_Basics of Compiler Construction.pdf
Week 08_Basics of Compiler Construction.pdf
AnonymousQ3EMYoWNS
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer program
Abhay Kumar
 
CD module 1.pptx Introduction to compiler Design
CD module 1.pptx Introduction to compiler DesignCD module 1.pptx Introduction to compiler Design
CD module 1.pptx Introduction to compiler Design
GAJJELASRAVANTHIGAJJ
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Mohamed Omar
 
Compiler Construction from very basic start
Compiler Construction from very basic startCompiler Construction from very basic start
Compiler Construction from very basic start
voyoc79528
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
nharsh2308
 
Lec 1 Compiler Construction (CC) CC.pptx
Lec 1 Compiler Construction (CC) CC.pptxLec 1 Compiler Construction (CC) CC.pptx
Lec 1 Compiler Construction (CC) CC.pptx
imranahmadrana28
 
Compiler constuction lec 1 ( features of compiler and types of compiler).pptx
Compiler constuction lec 1 ( features of compiler and types of compiler).pptxCompiler constuction lec 1 ( features of compiler and types of compiler).pptx
Compiler constuction lec 1 ( features of compiler and types of compiler).pptx
Aksakhalyd
 
Introduction to Programmihhbbhhbbbng.pptx
Introduction to Programmihhbbhhbbbng.pptxIntroduction to Programmihhbbhhbbbng.pptx
Introduction to Programmihhbbhhbbbng.pptx
onkarsinghphotos1977
 
Computer Science guide to C Unit-I Translator.pptx
Computer Science guide to C Unit-I Translator.pptxComputer Science guide to C Unit-I Translator.pptx
Computer Science guide to C Unit-I Translator.pptx
NomthandazoNgwenya1
 
Agro informatics centre up State of Lec 6.pptx
Agro informatics centre up State of Lec 6.pptxAgro informatics centre up State of Lec 6.pptx
Agro informatics centre up State of Lec 6.pptx
muddydevil2003
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
sonalikharade3
 
Introduction to compiler interpreter
Introduction to compiler interpreterIntroduction to compiler interpreter
Introduction to compiler interpreter
poojapainter
 
Compiler an overview
Compiler  an overviewCompiler  an overview
Compiler an overview
amudha arul
 
Ad

More from Project Student (20)

Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
Project Student
 
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Project Student
 
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)
Project Student
 
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Project Student
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...
Project Student
 
Human Resources (HRM, Soft and Hard HRM)
Human Resources (HRM, Soft and Hard HRM)Human Resources (HRM, Soft and Hard HRM)
Human Resources (HRM, Soft and Hard HRM)
Project Student
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
Project Student
 
Product Life Cycle (Stages and Extension Strategies)
Product Life Cycle (Stages and Extension Strategies)Product Life Cycle (Stages and Extension Strategies)
Product Life Cycle (Stages and Extension Strategies)
Project Student
 
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Project Student
 
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Project Student
 
Price (Market-Orientated and Cost-Based Pricing)
Price (Market-Orientated and Cost-Based Pricing)Price (Market-Orientated and Cost-Based Pricing)
Price (Market-Orientated and Cost-Based Pricing)
Project Student
 
Changes in working practices
Changes in working practicesChanges in working practices
Changes in working practices
Project Student
 
Hexadecimal (Calculations and Explanations)
Hexadecimal (Calculations and Explanations)Hexadecimal (Calculations and Explanations)
Hexadecimal (Calculations and Explanations)
Project Student
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Project Student
 
Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)
Project Student
 
Workforce Planning (Process, Labour Shortage, Excess Labour)
Workforce Planning (Process, Labour Shortage, Excess Labour)Workforce Planning (Process, Labour Shortage, Excess Labour)
Workforce Planning (Process, Labour Shortage, Excess Labour)
Project Student
 
Harvard vs Von Neumann Architecture
Harvard vs Von Neumann ArchitectureHarvard vs Von Neumann Architecture
Harvard vs Von Neumann Architecture
Project Student
 
Assembly and Machine Code
Assembly and Machine CodeAssembly and Machine Code
Assembly and Machine Code
Project Student
 
Software (Application and System Software)
Software (Application and System Software)Software (Application and System Software)
Software (Application and System Software)
Project Student
 
Hardware and Software
Hardware and SoftwareHardware and Software
Hardware and Software
Project Student
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
Project Student
 
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Project Student
 
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)
Project Student
 
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Project Student
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...
Project Student
 
Human Resources (HRM, Soft and Hard HRM)
Human Resources (HRM, Soft and Hard HRM)Human Resources (HRM, Soft and Hard HRM)
Human Resources (HRM, Soft and Hard HRM)
Project Student
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
Project Student
 
Product Life Cycle (Stages and Extension Strategies)
Product Life Cycle (Stages and Extension Strategies)Product Life Cycle (Stages and Extension Strategies)
Product Life Cycle (Stages and Extension Strategies)
Project Student
 
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Project Student
 
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Project Student
 
Price (Market-Orientated and Cost-Based Pricing)
Price (Market-Orientated and Cost-Based Pricing)Price (Market-Orientated and Cost-Based Pricing)
Price (Market-Orientated and Cost-Based Pricing)
Project Student
 
Changes in working practices
Changes in working practicesChanges in working practices
Changes in working practices
Project Student
 
Hexadecimal (Calculations and Explanations)
Hexadecimal (Calculations and Explanations)Hexadecimal (Calculations and Explanations)
Hexadecimal (Calculations and Explanations)
Project Student
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Project Student
 
Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)
Project Student
 
Workforce Planning (Process, Labour Shortage, Excess Labour)
Workforce Planning (Process, Labour Shortage, Excess Labour)Workforce Planning (Process, Labour Shortage, Excess Labour)
Workforce Planning (Process, Labour Shortage, Excess Labour)
Project Student
 
Harvard vs Von Neumann Architecture
Harvard vs Von Neumann ArchitectureHarvard vs Von Neumann Architecture
Harvard vs Von Neumann Architecture
Project Student
 
Assembly and Machine Code
Assembly and Machine CodeAssembly and Machine Code
Assembly and Machine Code
Project Student
 
Software (Application and System Software)
Software (Application and System Software)Software (Application and System Software)
Software (Application and System Software)
Project Student
 

Recently uploaded (20)

UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à GenèveUiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPathCommunity
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Raffi Khatchadourian
 
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
CSUC - Consorci de Serveis Universitaris de Catalunya
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient CareAn Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
Cyntexa
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent LasterAI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
All Things Open
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à GenèveUiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPathCommunity
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Raffi Khatchadourian
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient CareAn Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
Cyntexa
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent LasterAI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
All Things Open
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 

Programming Languages / Translators

  • 2. Programmed code that has not yet been compiled into an executable file General name for any program that translates code from one language to another (Definitions)
  • 3. A program that translates a high–level language into machine code by translating all of the code Compiled code that can be run as an executable on any computer (Definitions)
  • 4. A program that translates a high–level language by reading each statement in source code and immediately performing the action A program that translates a program written in assembly language into machine code (Definitions)
  • 5. • The assembly code is known as source code and this is translated into object code (compiled code) by an assembler. • Before assembly code can be executed it must be translated into the equivalent machine code. This is done by an assembler. • The assembler program takes each assembly code instruction and converts it into the corresponding 0s and 1s. • The input is called source code and the output is called object code. Assembler
  • 6. • A compiler is a program that translates high-level language (e.g. C++, Visual Basic etc.) into machine code. • Source code is written by the programmer and input to the compiler. It scans through several times , each time performing different checks and building up tables of information to produce the final object code. • Different hardware platforms (Intel, Apple, etc.) require different compilers. • The object code (executable machine code) can be saved and run without needing the compiler Compiler
  • 7. Compiler Advantages Disadvantages • Object code can be saved to disk and run when required • If an error have to recompile whole program • Executes faster • Will only run on a computer that has the same platform • Object code can be distributed or executed without the compiler • You cannot change the program without going back to the source code • Secure as object code cannot be read without reverse engineering • The translation is only done once and as a separate process • Compiled programs can run on any computer
  • 8. • An interpreter reads a statement of the source code and immediately performs the required action. • Once the programmer has written and saved a program and instructs the computer to run it the interpreter looks at each line in the source code analyses it and if there no errors translates it into machine code. Interpreter
  • 9. Interpreter Advantages Disadvantages • Useful for program development as there is no lengthy recompilation • The program may run slower because each statement has to be translated every time it is encountered • Easier to partially test and debug programs • Need to have the interpreter installed (Interpreted programs can only run on computers that have the interpreter) • Can be run on different hardware platforms • Source code must be provided to users • Easier to use • You can interrupt it while it’s running, change the program and either continue or start again.
  • 10. An instruction set used for programming that can be executed on any computer using a virtual machine (Definitions)
  • 11. • Most interpreted languages (e.g. python or Java) use an intermediate representation that combines compiling and interpreting called bytecode • This is an instruction set that can be executed using a virtual machine (the bytecode interpreter) which emulates the architecture of a computer. • It is platform independent as long as the bytecode interpreter is installed • Bytecode can be either compiled once and for all (e.g. Java) or each time the source code changes before execution (e.g. python) Bytecode
  翻译: