Chapter 1
Chapter 1
Chapter 1
Introduction to Programming
Chapter 1
Introduction
Introduction to Programming
Learning outcomes:
What is Programming Language
Types of Programming Language
Low Level Programming Language
High Level Programming Language
Procedure oriented programming
Object Oriented programming
Programming language translator
Introduction to Programming
Introduction to Programming
Programming Language
What is Language?
Program
• A computer program is a collection of instructions that can
be executed by a computer to perform a specific task.
• A program is a set of instructions that a computer uses to perform a
specific function.
• A computer program is written using specific programming languages
by programmers in a programming language like C, C++, JAVA,
Python and etc.
Introduction to Programming
1. Assembler
An assembler is a translator used to translate assembly language into machine
language.
An assembler translates a low-level language, such as an assembly language to
an even lower-level language, such as the machine code.
2. Compiler
A compiler is a translator used to convert high-level programming language to
low-level programming language.
It converts the whole program in one session and reports errors detected after
the conversion.
3. Interpreter
Interpreter is a translator used to convert high-level programming language to
low-level programming language.
The difference is that it converts the program one line of code at a time and
reports errors when detected, while also doing the conversion.
Linker
A linker tool is used to link all the parts of the program together for
execution (executable machine code).
Loader
A loader is the part of an operating system that is responsible for
loading programs in memory, one of the essential stages in the
process of starting a program.
Introduction to Programming
Thank You
For Your Patience