SlideShare a Scribd company logo
Introduction to programming
Mr. Imran
Lecturer,
Department of Computer Science,
Jahan University
Kabul, Afghanistan.
Text Books to Follow
• Dietal & Dietal, C/C++: How to Program 7th Edition.
• Programming with C++ by CM Aslam & TA Qureshi (Aikmen Series).
• Object oriented programming using C++ by IT Series.
Lecture Outline
• Programming languages
• Components of programming languages
• Categories of Programming Languages
• Programming techniques
Programming Languages
• A programming language is used to write computer programs.
• It is an artificial language designed to communicate instructions to a
machine.
• Some of them are directly understandable by computer and some of
them are needed to be converted first.
Programming Languages
• Computer languages are divided into three broad types:
• Machine Language
• Assembly Language
• High-Level Language
Programming Languages
• Machine Languages
• A computer understands machine language.
• Machine language is also called binary language.
• It is consist of two digits that instructs computers to perform their operations.
• They are machine-dependent.
• No translation is required – directly understandable by computer.
• They are hard to learn and understand.
Programming Languages
Programming Languages
• Assembly Language
• A language in which instead of binary codes we use English like abbreviations
(mnemonics) to represent the operations for the computer.
• A language that uses symbolic names to represent operations, registers and
memory locations.
• It uses a translator called Assembler.
Programming Languages
Programming Languages
• High-Level Language
• A language in which the instructions are written in the form of everyday
English and contain commonly used mathematical notations.
• Compiler and Interpreter are used to covert the high-level code to machine
code.
Programming Languages
Programming Languages
Hierarchy of Languages
Language Representations
Components of Programming Languages
• Syntax
• It is about the structure of the grammar of the language.
• In programming language, the rules and regulations for writing code are
called the syntax.
• A syntax can be used to construct a valid sentence/statement.
Components of Programming Languages
• Semantic
• It describes the meaning of the sentence.
• It describes that whether the sentence is correct or not. If so, what does the
sentence mean?
Categories of Programming Languages
• Major programming languages falls in the category of:
• Structured Programming Languages
• Modular Programming Languages
• Object-Oriented Programming Languages
Categories of Programming Languages
• Structured Programming Languages
• Languages in which the program is divided into smaller components –
functions.
• The structured programming contains three major concepts that are:
• Top-down Design / Divide and Conquer
• Code Reusability
• Information Hiding
Categories of Programming Languages
• Modular Programming Languages
• Languages in which the program is broken into individual components called
modules that can be programmed and tested independently.
Categories of Programming Languages
• Object-Oriented Programming Languages
• Languages in which object technology is supported.
• It allows the pieces of software to be reused and interchanged between
programs.
• The major concepts used in OOP are:
• Data Abstraction – Describes user defined datatypes.
• Encapsulation – Information Hiding
• Inheritance – Describes the reusability of a class.
• Polymorphism – Describes the ability to produce different results based on the object
that is sent to.
Summery
• Programming languages
• Components of programming languages
• Categories of programming languages
Thank You
For your Patience

More Related Content

PPTX
Introduction to Programming Languages
PPTX
Introduction to programming languages
PPTX
introduction to programming languages
PPT
Chapter 4 computer language
PPTX
computer languages
PPTX
Presentation on computer language
PPTX
Computer languages
PPTX
Introduction to programming
Introduction to Programming Languages
Introduction to programming languages
introduction to programming languages
Chapter 4 computer language
computer languages
Presentation on computer language
Computer languages
Introduction to programming

What's hot (20)

PPTX
EVALUTION OF COMPUTER LANGAGES
PPTX
Computer Language
PPT
computer languages
PPT
Lecture1
PPT
Computer languages
PDF
Computer Fundamentals Chapter 12 cl
PPT
High level languages representation
PPT
Computer languages
PDF
Languages in computer
PPT
Lecture 8
PPTX
High Level Language (HLL)
PPTX
Levels of programming languages
PPTX
Computer programming language generations
PPTX
Programming Languages / Translators
PPTX
" PROGRAMMING LANGUAGE " with MOHSIN
PPTX
Development of computer languages
PPTX
Programming fundamentals presentation
PPTX
Computer language
EVALUTION OF COMPUTER LANGAGES
Computer Language
computer languages
Lecture1
Computer languages
Computer Fundamentals Chapter 12 cl
High level languages representation
Computer languages
Languages in computer
Lecture 8
High Level Language (HLL)
Levels of programming languages
Computer programming language generations
Programming Languages / Translators
" PROGRAMMING LANGUAGE " with MOHSIN
Development of computer languages
Programming fundamentals presentation
Computer language
Ad

Similar to introduction to Programming Lecture 1 (20)

PPTX
Lec21&22.pptx programing language and there study
PPTX
programming.pptx
PDF
Introduction to computer programming
PDF
sege.pdf
PDF
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
PPTX
1. reason why study spl
PPTX
computer programming computer programmin
PPTX
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
PPTX
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
PPTX
INTRODUCTION TO COMPUTER PROGRAMMING.pptx
PPTX
C Programming Lecture 1 - Introduction to C.pptx
PPTX
Presentation-1.pptx
PPTX
Python Programming-Skill Course - unit-i.pptx
PPTX
Computer Languages & its genearations.pptx
PPTX
Language processors
PPTX
Python-unit -I.pptx
PPT
Python and principle of programming language.ppt
PPT
Programming Language Introduction Lecture
PPT
Programming Language Introduction Lecture
PPT
software principle programming language
Lec21&22.pptx programing language and there study
programming.pptx
Introduction to computer programming
sege.pdf
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
1. reason why study spl
computer programming computer programmin
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
INTRODUCTION TO COMPUTER PROGRAMMING.pptx
C Programming Lecture 1 - Introduction to C.pptx
Presentation-1.pptx
Python Programming-Skill Course - unit-i.pptx
Computer Languages & its genearations.pptx
Language processors
Python-unit -I.pptx
Python and principle of programming language.ppt
Programming Language Introduction Lecture
Programming Language Introduction Lecture
software principle programming language
Ad

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
RMMM.pdf make it easy to upload and study
PPTX
master seminar digital applications in india
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Complications of Minimal Access Surgery at WLH
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Computing-Curriculum for Schools in Ghana
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
01-Introduction-to-Information-Management.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Insiders guide to clinical Medicine.pdf
Pre independence Education in Inndia.pdf
Microbial disease of the cardiovascular and lymphatic systems
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Renaissance Architecture: A Journey from Faith to Humanism
RMMM.pdf make it easy to upload and study
master seminar digital applications in india
VCE English Exam - Section C Student Revision Booklet
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Complications of Minimal Access Surgery at WLH
human mycosis Human fungal infections are called human mycosis..pptx
Anesthesia in Laparoscopic Surgery in India
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Computing-Curriculum for Schools in Ghana
Module 4: Burden of Disease Tutorial Slides S2 2025
01-Introduction-to-Information-Management.pdf
Sports Quiz easy sports quiz sports quiz
STATICS OF THE RIGID BODIES Hibbelers.pdf
Insiders guide to clinical Medicine.pdf

introduction to Programming Lecture 1

  • 1. Introduction to programming Mr. Imran Lecturer, Department of Computer Science, Jahan University Kabul, Afghanistan.
  • 2. Text Books to Follow • Dietal & Dietal, C/C++: How to Program 7th Edition. • Programming with C++ by CM Aslam & TA Qureshi (Aikmen Series). • Object oriented programming using C++ by IT Series.
  • 3. Lecture Outline • Programming languages • Components of programming languages • Categories of Programming Languages • Programming techniques
  • 4. Programming Languages • A programming language is used to write computer programs. • It is an artificial language designed to communicate instructions to a machine. • Some of them are directly understandable by computer and some of them are needed to be converted first.
  • 5. Programming Languages • Computer languages are divided into three broad types: • Machine Language • Assembly Language • High-Level Language
  • 6. Programming Languages • Machine Languages • A computer understands machine language. • Machine language is also called binary language. • It is consist of two digits that instructs computers to perform their operations. • They are machine-dependent. • No translation is required – directly understandable by computer. • They are hard to learn and understand.
  • 8. Programming Languages • Assembly Language • A language in which instead of binary codes we use English like abbreviations (mnemonics) to represent the operations for the computer. • A language that uses symbolic names to represent operations, registers and memory locations. • It uses a translator called Assembler.
  • 10. Programming Languages • High-Level Language • A language in which the instructions are written in the form of everyday English and contain commonly used mathematical notations. • Compiler and Interpreter are used to covert the high-level code to machine code.
  • 12. Programming Languages Hierarchy of Languages Language Representations
  • 13. Components of Programming Languages • Syntax • It is about the structure of the grammar of the language. • In programming language, the rules and regulations for writing code are called the syntax. • A syntax can be used to construct a valid sentence/statement.
  • 14. Components of Programming Languages • Semantic • It describes the meaning of the sentence. • It describes that whether the sentence is correct or not. If so, what does the sentence mean?
  • 15. Categories of Programming Languages • Major programming languages falls in the category of: • Structured Programming Languages • Modular Programming Languages • Object-Oriented Programming Languages
  • 16. Categories of Programming Languages • Structured Programming Languages • Languages in which the program is divided into smaller components – functions. • The structured programming contains three major concepts that are: • Top-down Design / Divide and Conquer • Code Reusability • Information Hiding
  • 17. Categories of Programming Languages • Modular Programming Languages • Languages in which the program is broken into individual components called modules that can be programmed and tested independently.
  • 18. Categories of Programming Languages • Object-Oriented Programming Languages • Languages in which object technology is supported. • It allows the pieces of software to be reused and interchanged between programs. • The major concepts used in OOP are: • Data Abstraction – Describes user defined datatypes. • Encapsulation – Information Hiding • Inheritance – Describes the reusability of a class. • Polymorphism – Describes the ability to produce different results based on the object that is sent to.
  • 19. Summery • Programming languages • Components of programming languages • Categories of programming languages
  • 20. Thank You For your Patience