SlideShare a Scribd company logo
Information & Communication
Technology (ICT)
Software Design and Algorithm
DIT Part 1
Lecture 11
Copyrights By Tanveer Malik
Computer Programming Languages
• A programming language is an artificial language that can be
used to control the behavior of a machine, particularly a
computer
• Programming languages, like human languages, are defined
through the use of syntactic and semantic rules, to determine
structure and meaning respectively.
Copyrights By Tanveer Malik
Computer Programming Languages
• Programming languages are used to facilitate communication
about the task of organizing and manipulating information,
and to express algorithms precisely.
• For 50 years, computer programmers have been writing code.
New technologies continue to emerge, develop, and mature
at a rapid pace. Now there are more than 2,500 documented
programming languages!
Copyrights By Tanveer Malik
Non-computational languages
• Non-computational languages, such as markup languages like
HTML or formal grammars like BNF, are usually not considered
programming languages.
• Often a programming language is embedded in the non-
computational language.
Copyrights By Tanveer Malik
Machine language
• It is the lowest-level programming language.
Machine languages are the only languages
understood by computers.
Copyrights By Tanveer Malik
Machine language
• While easily understood by computers, machine languages
are almost impossible for humans to use because they consist
entirely of numbers.
For example:
• An x86/IA-32 processor can execute the following binary
instruction as expressed in machine language:
Binary: 10110000 01100001 (Hexadecimal: 0xb061)
Copyrights By Tanveer Malik
Assembly Level Language
• An assembly language is a low-level language for
programming computers.
• The word "low" does not imply that the language is inferior to
high-level programming languages but rather refers to the
small or nonexistent amount of abstraction between the
language and machine language, because of this, low-level
languages are sometimes described as being "close to the
hardware."
• It implements a symbolic representation of the numeric
machine codes and other constants needed to program a
particular CPU architecture.
Copyrights By Tanveer Malik
High-level language
• High-level languages are relatively easy to learn because the
instructions bear a close resemblance to everyday language,
and because the programmer does not require a detailed
knowledge of the internal workings of the computer.
• Each instruction in a high-level language is equivalent to
several machine-code instructions, therefore it is more
compact than equivalent low-level programs.
• High-level languages are used to solve problems and are often
described as problem-oriented languages
Copyrights By Tanveer Malik
High-level language
Examples of HLL:
• BASIC was designed to be easily learnt by first-time programmers;
• COBOL is used to write programs solving business problems;
• FORTRAN is used for programs solving scientific and mathematical
problems.
• With the increasing popularity of windows-based systems, the next
generation of programming languages was designed to facilitate the
development of GUI interfaces;
for example, Visual Basic wraps the BASIC language in a graphical
programming environment.
• Support for object-oriented programming has also become more
common, for example in C++ and Java.
Copyrights By Tanveer Malik
Example (C program to add 2
numbers):
#include<stdio.h> //header files
Void main()
{
int a, b, c; // declaration of 3 variables
printf(“Enter two numbers:n”);
Scanf(“%d”, &a); // read 1st number
Scanf(“%d”, &b); // read 2nd number
c=a+b; // compute the sum
printf(“Sum of 2 numbers is %d”, c); //print sum
}
Copyrights By Tanveer Malik
Assignment
– Types of Programming Languages.
Lecture 11

More Related Content

PPTX
Computer programming language generations
PPTX
Levels of programming languages
PPTX
" PROGRAMMING LANGUAGE " with MOHSIN
PPTX
High Level Languages (Imperative, Object Orientated, Declarative)
PPTX
1. reason why study spl
PPTX
Computer languages
PPTX
Classification of Programming Languages
PPTX
Computer Language
Computer programming language generations
Levels of programming languages
" PROGRAMMING LANGUAGE " with MOHSIN
High Level Languages (Imperative, Object Orientated, Declarative)
1. reason why study spl
Computer languages
Classification of Programming Languages
Computer Language

What's hot (20)

PPTX
Computer language
PPTX
classification of computer language
PPTX
D turner power_pointpres
PPTX
Presentation on computer language
PPT
Computer languages
PPTX
Introduction to Programming Languages
PPTX
Computer Languages.
PPT
High level and Low level Language
PPT
Cmp104 lec 6 computer lang
PPTX
Types of Programming Languages
PPT
Lecture1
PPTX
Programming fundamentals presentation
PPT
Computer Languages....ppt
PPT
Lecture 8
PPT
Ppl 13 july2019
PPTX
Introduction to programming languages
PPTX
Introduction to programming languages
PPTX
Computer programming
PDF
Languages in computer
PPTX
Computer language
Computer language
classification of computer language
D turner power_pointpres
Presentation on computer language
Computer languages
Introduction to Programming Languages
Computer Languages.
High level and Low level Language
Cmp104 lec 6 computer lang
Types of Programming Languages
Lecture1
Programming fundamentals presentation
Computer Languages....ppt
Lecture 8
Ppl 13 july2019
Introduction to programming languages
Introduction to programming languages
Computer programming
Languages in computer
Computer language
Ad

Similar to Lecture 11 (20)

PPTX
Computer languages
PPTX
INTRO. TO PROG.pptx
PPTX
introduction to programming languages
PPTX
week 1 - INTRO TO PROGRAMMING.pptx
PPT
Computer languages and generation
PPT
Cmp104 lec 6 computer lang
PPTX
Presentation of the Computer language.pptx
PPTX
Programming languages of computer
PPTX
Computer Languages & its genearations.pptx
PPTX
Computer language 6th standard 201 .pptx
PPTX
Data programming with the minimum hocker
PPTX
computer languages
PPSX
Programming languages
PPTX
computer language with full detail
PDF
Lesson 1 - Introduction to Programming .pdf
PPT
Computer languages 11
DOC
Computer programming
PPTX
Programming languages.pptx
PPTX
Programming Language
Computer languages
INTRO. TO PROG.pptx
introduction to programming languages
week 1 - INTRO TO PROGRAMMING.pptx
Computer languages and generation
Cmp104 lec 6 computer lang
Presentation of the Computer language.pptx
Programming languages of computer
Computer Languages & its genearations.pptx
Computer language 6th standard 201 .pptx
Data programming with the minimum hocker
computer languages
Programming languages
computer language with full detail
Lesson 1 - Introduction to Programming .pdf
Computer languages 11
Computer programming
Programming languages.pptx
Programming Language
Ad

More from Tanveer Malik (20)

PDF
Lecture 12 security policy
PDF
Lecture 11 active directory
PDF
Lecture 10 i pv4 &amp; ipv6
PDF
Lecture 9 file system
PDF
Lecture 8 disk management
PDF
Lecture 6 internet services in network
PDF
Lecture 5 software to control network
PDF
Lecture 4 sharing of resources on network
PDF
Lecture 3 transmission media
PDF
Lecture 2 protocol details
PDF
Lecture 1 networking types roles
PDF
Lecture 12
PDF
Lecture 11
PDF
Lecture 10
PDF
Lecture 9
PDF
Lecture 8
PDF
Lecture 7
PDF
Lecture 6
PDF
Lecture 5
PDF
Lecture 4
Lecture 12 security policy
Lecture 11 active directory
Lecture 10 i pv4 &amp; ipv6
Lecture 9 file system
Lecture 8 disk management
Lecture 6 internet services in network
Lecture 5 software to control network
Lecture 4 sharing of resources on network
Lecture 3 transmission media
Lecture 2 protocol details
Lecture 1 networking types roles
Lecture 12
Lecture 11
Lecture 10
Lecture 9
Lecture 8
Lecture 7
Lecture 6
Lecture 5
Lecture 4

Recently uploaded (20)

PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Trump Administration's workforce development strategy
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Cell Types and Its function , kingdom of life
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
Yogi Goddess Pres Conference Studio Updates
PPTX
Lesson notes of climatology university.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
History, Philosophy and sociology of education (1).pptx
Computing-Curriculum for Schools in Ghana
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Chinmaya Tiranga quiz Grand Finale.pdf
Trump Administration's workforce development strategy
Complications of Minimal Access Surgery at WLH
Cell Types and Its function , kingdom of life
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Yogi Goddess Pres Conference Studio Updates
Lesson notes of climatology university.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Orientation - ARALprogram of Deped to the Parents.pptx
Anesthesia in Laparoscopic Surgery in India
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Microbial diseases, their pathogenesis and prophylaxis
LDMMIA Reiki Yoga Finals Review Spring Summer

Lecture 11

  • 1. Information & Communication Technology (ICT) Software Design and Algorithm DIT Part 1 Lecture 11 Copyrights By Tanveer Malik
  • 2. Computer Programming Languages • A programming language is an artificial language that can be used to control the behavior of a machine, particularly a computer • Programming languages, like human languages, are defined through the use of syntactic and semantic rules, to determine structure and meaning respectively. Copyrights By Tanveer Malik
  • 3. Computer Programming Languages • Programming languages are used to facilitate communication about the task of organizing and manipulating information, and to express algorithms precisely. • For 50 years, computer programmers have been writing code. New technologies continue to emerge, develop, and mature at a rapid pace. Now there are more than 2,500 documented programming languages! Copyrights By Tanveer Malik
  • 4. Non-computational languages • Non-computational languages, such as markup languages like HTML or formal grammars like BNF, are usually not considered programming languages. • Often a programming language is embedded in the non- computational language. Copyrights By Tanveer Malik
  • 5. Machine language • It is the lowest-level programming language. Machine languages are the only languages understood by computers. Copyrights By Tanveer Malik
  • 6. Machine language • While easily understood by computers, machine languages are almost impossible for humans to use because they consist entirely of numbers. For example: • An x86/IA-32 processor can execute the following binary instruction as expressed in machine language: Binary: 10110000 01100001 (Hexadecimal: 0xb061) Copyrights By Tanveer Malik
  • 7. Assembly Level Language • An assembly language is a low-level language for programming computers. • The word "low" does not imply that the language is inferior to high-level programming languages but rather refers to the small or nonexistent amount of abstraction between the language and machine language, because of this, low-level languages are sometimes described as being "close to the hardware." • It implements a symbolic representation of the numeric machine codes and other constants needed to program a particular CPU architecture. Copyrights By Tanveer Malik
  • 8. High-level language • High-level languages are relatively easy to learn because the instructions bear a close resemblance to everyday language, and because the programmer does not require a detailed knowledge of the internal workings of the computer. • Each instruction in a high-level language is equivalent to several machine-code instructions, therefore it is more compact than equivalent low-level programs. • High-level languages are used to solve problems and are often described as problem-oriented languages Copyrights By Tanveer Malik
  • 9. High-level language Examples of HLL: • BASIC was designed to be easily learnt by first-time programmers; • COBOL is used to write programs solving business problems; • FORTRAN is used for programs solving scientific and mathematical problems. • With the increasing popularity of windows-based systems, the next generation of programming languages was designed to facilitate the development of GUI interfaces; for example, Visual Basic wraps the BASIC language in a graphical programming environment. • Support for object-oriented programming has also become more common, for example in C++ and Java. Copyrights By Tanveer Malik
  • 10. Example (C program to add 2 numbers): #include<stdio.h> //header files Void main() { int a, b, c; // declaration of 3 variables printf(“Enter two numbers:n”); Scanf(“%d”, &a); // read 1st number Scanf(“%d”, &b); // read 2nd number c=a+b; // compute the sum printf(“Sum of 2 numbers is %d”, c); //print sum } Copyrights By Tanveer Malik
  • 11. Assignment – Types of Programming Languages.