SlideShare uma empresa Scribd logo
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

Mais conteúdo relacionado

Semelhante a Interference with High level language.pdf

Semelhante a 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
 

Último

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
 
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
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Mohamed Rizk Khodair
 
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
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/siemaillard
 
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
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryEugene Lysak
 
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
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfDr. M. Kumaresan Hort.
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdfVikramadityaRaj
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
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
 

Último (20)

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...
 
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
 
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
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
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À ĐÁ...
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
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
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
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
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.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
 

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