Introduction To Programming Languages: Grade 9 - Quarter 1 - Lesson 1
Introduction To Programming Languages: Grade 9 - Quarter 1 - Lesson 1
Introduction To Programming Languages: Grade 9 - Quarter 1 - Lesson 1
INTRODUCTION TO
PROGRAMMING LANGUAGES
LANGUANGE?
This is a set of rules that provides a way of telling
a computer what operations to perform.
Introduction To Programming
Languages LEVELS OF
PROGRAMMING
a. High-level Program LANGUANGE?
b. Low-level Program
c. Executable Machine Code
Introduction To Programming
Languages LEVELS OF
PROGRAMMING
HIGH-LEVEL LOW-LEVEL
LANGUANGE?
PROGRAM
class Triangle { PROGRAM
LOAD r1,b
... LOAD r2,h
float surface() return MUL r1,r2
b*h/2; DIV r1,#2
} RET
EXECUTABLE
MACHINE CODE
0001001001000101
0010010011101100
INTRODUCTION TO PROGRAMMING LANGUAGES
FOURTH GENERATION
• A high level language (4GL) that requires fewer instructions to
LANGUAGES
accomplish a task than a third generation language.
• Used with databases
Introduction To Programming
Languages TYPES OF PROGRAMMING
LANGUAGES
FIFTH GENERATION
• Declarative languages
LANGUAGES
• Functional(?): Lisp, Scheme, SML
• Also called applicative
• Everything is a function
• Logic: Prolog
• Based on mathematical
• logic
• Rule- or Constraint-based
INTRODUCTION TO PROGRAMMING LANGUAGES
OBJECT-ORIENTED LANGUAGES
Objects are created rather than sequences of instructions.
Some third generation, and fourth and fifth generation
languages
Introduction To Programming
Languages TRADITIONAL
PROGRAMMING
FORTRAN LANGUAGES
• FORmula TRANslation.
• Developed at IBM in the mid-1950s.
• Designed for scientific and mathematical applications by scientists
and engineers.
C
• Developed by Bell Laboratories in the early 1970s.
• Provides control and efficiency of assembly language while having
third generation language features.
• Often used for system programs.
• UNIX is written in C.
Introduction To Programming
Languages OBJECT-ORIENTED
LANGUAGES
SIMULA
• First object-oriented language
• Developed by Ole Johan Dahl in the 1960s.
SMALLTALK
• First purely object-oriented language.
• Developed by Xerox in mid-1970s.
• Still in use on some computers.
Introduction To Programming
Languages OBJECT-ORIENTED
LANGUAGES
C++
• It is C language with additional features.
• Widely used for developing system and application software.
• Graphical user interfaces can be developed easily with visual
programming tools.
Introduction To Programming
Languages OBJECT-ORIENTED
LANGUAGES
JAVA
• An object-oriented language similar to C++ that eliminates lots of
C++’s problematic features
• Allows a web page developer to create programs for applications,
called applets that can be used through a browser.
• Objective of JAVA developers is that it be machine, platform and
operating system independent.
Introduction To Programming
Languages SPECIAL PROGRAMMING
LANGUAGES
HTML
• Developed by Bell Laboratories in the early 1970s.
• Provides control and efficiency of assembly language while having
third generation language features.
• Often used for system programs.
• UNIX is written in C.HyperText Markup Language.
• Used on the Internet and the World Wide Web (WWW).
• Web page developer puts brief codes called tags in the page to
indicate how the page should be formatted.
Introduction To Programming
Languages SPECIAL PROGRAMMING
LANGUAGES
XML
• Extensible Markup Language.
• A language for defining other languages.
ASSIGNMENT
Research the following terms. Write your search results in your
notebook.
• Algorithm
• Flowchart
• Pseudo code
GRADE 9 – QUARTER 1 – LESSON 1
INTRODUCTION TO
PROGRAMMING LANGUAGES