SlideShare a Scribd company logo
1 of 13
Download to read offline
Click to edit Master title style
1
Interference with High
level language
S u b j e c t : C o m p u t e r A r c h i t e c t u r e & A s s e m b l y L a n g u a g e
B y : A r s l a n A h m a d
Click to edit Master title style
2
Basics
H i g h - l e v e l L a n g u a g e , P a r a d i g m & C o m p i l i n g
2
Click to edit Master title style
3
High Level Language
• It hides computer's inner working complexity.
• It is Simple as English.
• It’s simplification allows programmers to express their ideas in Code.
3
In programming, ‘High-level language' is a type of programming
language designed for easy human understanding.
High-level programming languages are like Python, JavaScript, Java, C#, Ruby, and more.
People use them in web development, data science, mobile apps, and science stuff.
Click to edit Master title style
4
Computer Language Paradigms
4
Programming paradigms are different ways or styles to write an
organized code.
Computer Language
Paradigms
Procedural
Programming
❑ C
❑ PHP
❑ Fortran
❑ Rust
❑ COBOL
❑ MATLAB
Functional
Programming
❑ Ruby
❑ Swift
❑ TypeScript
❑ Julia
❑ JavaScript
Object-Oriented
Programming (OOP)
❑ Java
❑ Kotlin
❑ Python
❑ C++
❑ PHP
❑ C#
Click to edit Master title style
5
Compiling
5
Compiling means converting computer program of one language
into instructions that computer understand.
Compiler is a program that does this job.
As, Computer is a machine It only understand Binary language (0,1).
Compiler
Click to edit Master title style
6
Compiling Steps
6
Actually, Compiling is Not a single step process. It contains 4 Steps.
Pre-Processing
Compiling
Assembling
Linking
It deals with things like #include and #define
commands. It brings in header files code.
Then Compiler convert preprocessed code into
Assembly Language.
Then Assembler changes assembly code into
machine code, designed for the particular
computer.
Then multiple code files are linked into a single
program, by linking libraries code.
Click to edit Master title style
7
Characteristics & Advantages
of High Level Language
7
Characteristics
❑ Simplicity
❑ Maintainability
❑ Rapid Development
❑ Error Handling
❑ Abstraction
Advantages
❑ Reduced Complexity
❑ Efficiency
❑ Community Support
❑ Code Reusability
❑ Scalability
Click to edit Master title style
8
Interface
I n t e r f a c e & I n t e r f a c e - b a s e d P r o g r a m m i n g
8
Click to edit Master title style
9
Interfaces
An interface is like a menu in a restaurant. It lists all the dishes
(methods) you can order (use) from the kitchen (class). But, it
doesn't tell you how the dish is prepared (the code inside the
method).
9
An interface is a set of rules that a class agrees, to perform
specific tasks (functions).
Interface-Based Programming
For programming using interface, Languages like Java, C#
has type reference “Interface”.
While in Other (OOP) Languages like: C++, Python etc. It is
done by Abstract Class & Pure Virtual Function.
Click to edit Master title style
10
Interface in OOP Language (C++)
10
• Parent class is an abstract class because it contains a pure
virtual function show().
• Child1 & Child2 Inherits Parent, They provide their own code for
show() function.
• Later, Create objects of both Child1 and Child2 and call their
show() functions.
This ensure principle of defining interface (in this case, show()) in an
abstract class and having derived classes implement that interface.
Click to edit Master title style
11
Interface in Java
11
• Printable defines Interface with function print().
• Class1 & Class2 Implement their code for print() function.
• Later, Create objects of both Class1 and Class2 and call their
print() functions.
This code shows how in Java, various classes can implement interface. So,
They can define unique behaviors for a common function.
Click to edit Master title style
12
Key points
12
• High-Level Language is programming language that is easy for human
understanding and difficult for Computer. Like: English etc.
• Paradigm is a style to write organized code.
• Compiling is process of converting human program into machine understandable
format. Compiler is used to does this task
• Compiling is 4 step process: Preprocessing, Compiling, Assembling & Linking.
• Interface is set of functions that a class can perform.
• In languages like: Java & C#, Interface is type reference. While in other
languages Abstract Class & Pure Virtual Function is used.
Click to edit Master title style
13
Thank You

More Related Content

Similar to Interference with High level language.pdf

Similar to Interference with High level language.pdf (20)

Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Introduction to programming c
Introduction to programming cIntroduction to programming c
Introduction to programming c
 
Unit 1
Unit 1Unit 1
Unit 1
 
JAVA
JAVAJAVA
JAVA
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
week 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxweek 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptx
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
 
C# Fundamental
C# FundamentalC# Fundamental
C# Fundamental
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
 
Unit 1
Unit 1Unit 1
Unit 1
 

Recently uploaded

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Interference with High level language.pdf

  • 1. Click to edit Master title style 1 Interference with High level language S u b j e c t : C o m p u t e r A r c h i t e c t u r e & A s s e m b l y L a n g u a g e B y : A r s l a n A h m a d
  • 2. Click to edit Master title style 2 Basics H i g h - l e v e l L a n g u a g e , P a r a d i g m & C o m p i l i n g 2
  • 3. Click to edit Master title style 3 High Level Language • It hides computer's inner working complexity. • It is Simple as English. • It’s simplification allows programmers to express their ideas in Code. 3 In programming, ‘High-level language' is a type of programming language designed for easy human understanding. High-level programming languages are like Python, JavaScript, Java, C#, Ruby, and more. People use them in web development, data science, mobile apps, and science stuff.
  • 4. Click to edit Master title style 4 Computer Language Paradigms 4 Programming paradigms are different ways or styles to write an organized code. Computer Language Paradigms Procedural Programming ❑ C ❑ PHP ❑ Fortran ❑ Rust ❑ COBOL ❑ MATLAB Functional Programming ❑ Ruby ❑ Swift ❑ TypeScript ❑ Julia ❑ JavaScript Object-Oriented Programming (OOP) ❑ Java ❑ Kotlin ❑ Python ❑ C++ ❑ PHP ❑ C#
  • 5. Click to edit Master title style 5 Compiling 5 Compiling means converting computer program of one language into instructions that computer understand. Compiler is a program that does this job. As, Computer is a machine It only understand Binary language (0,1). Compiler
  • 6. Click to edit Master title style 6 Compiling Steps 6 Actually, Compiling is Not a single step process. It contains 4 Steps. Pre-Processing Compiling Assembling Linking It deals with things like #include and #define commands. It brings in header files code. Then Compiler convert preprocessed code into Assembly Language. Then Assembler changes assembly code into machine code, designed for the particular computer. Then multiple code files are linked into a single program, by linking libraries code.
  • 7. Click to edit Master title style 7 Characteristics & Advantages of High Level Language 7 Characteristics ❑ Simplicity ❑ Maintainability ❑ Rapid Development ❑ Error Handling ❑ Abstraction Advantages ❑ Reduced Complexity ❑ Efficiency ❑ Community Support ❑ Code Reusability ❑ Scalability
  • 8. Click to edit Master title style 8 Interface I n t e r f a c e & I n t e r f a c e - b a s e d P r o g r a m m i n g 8
  • 9. Click to edit Master title style 9 Interfaces An interface is like a menu in a restaurant. It lists all the dishes (methods) you can order (use) from the kitchen (class). But, it doesn't tell you how the dish is prepared (the code inside the method). 9 An interface is a set of rules that a class agrees, to perform specific tasks (functions). Interface-Based Programming For programming using interface, Languages like Java, C# has type reference “Interface”. While in Other (OOP) Languages like: C++, Python etc. It is done by Abstract Class & Pure Virtual Function.
  • 10. Click to edit Master title style 10 Interface in OOP Language (C++) 10 • Parent class is an abstract class because it contains a pure virtual function show(). • Child1 & Child2 Inherits Parent, They provide their own code for show() function. • Later, Create objects of both Child1 and Child2 and call their show() functions. This ensure principle of defining interface (in this case, show()) in an abstract class and having derived classes implement that interface.
  • 11. Click to edit Master title style 11 Interface in Java 11 • Printable defines Interface with function print(). • Class1 & Class2 Implement their code for print() function. • Later, Create objects of both Class1 and Class2 and call their print() functions. This code shows how in Java, various classes can implement interface. So, They can define unique behaviors for a common function.
  • 12. Click to edit Master title style 12 Key points 12 • High-Level Language is programming language that is easy for human understanding and difficult for Computer. Like: English etc. • Paradigm is a style to write organized code. • Compiling is process of converting human program into machine understandable format. Compiler is used to does this task • Compiling is 4 step process: Preprocessing, Compiling, Assembling & Linking. • Interface is set of functions that a class can perform. • In languages like: Java & C#, Interface is type reference. While in other languages Abstract Class & Pure Virtual Function is used.
  • 13. Click to edit Master title style 13 Thank You