Professional Documents
Culture Documents
Lesson 01 Intro Prog
Lesson 01 Intro Prog
Lesson 01 Intro Prog
By
Adnan Amin
Lecturer / Software Programmer
Ministry of Education
www.geoamins.com
Computer.
Program.
Programming.
Computer Programming.
Programming Languages.
Programmers / Coders.
Levels of Programming languages.
4
By: Adnan Amin (Lecturer / Software Programmer)
Introduction to programming
2. Program or Computer Program
A sequence of instructions to be performed
by a computer is called computer program.
Nowadays computers are able to perform many different tasks, from
simple mathematical operations to sophisticated animated simulations.
But the computer does not create these tasks by itself, these are
performed following a series of predefined instructions that conform
what we call a program.
4. Computer Programming.
•The process of planning a sequence of
steps for a computer to follow.
5. Programming Languages.
A set of rules, symbols, and special words
used to construct a computer program.
6. Programmers / Coders.
Those in charge of generating or creating
programs so that the computers may perform
new tasks are known as programmers or
coders, who for that purpose use a
programming language.
By: Adnan Amin (Lecturer / Software
Programmer) 7
Programming Languages. (PL)
PL is divided into following parts.
PL
Advantages
◦ Directly understood by machine.
◦ Very Fast.
◦ Easily handle the hardware.
Disadvantages
◦ Very difficult for programmer.
Examples
◦ Machine Languages, Assembly By:
Languages
Adnan Amin (Lecturer / Software
Programmer) 10
Programming Languages. (PL)
Machine Language
The language, made up of binary-coded instructions,
that is used directly by the computer.
Assembly Language
A low-level programming language in which a
mnemonic is used to represent each of the machine
language instructions for a particular computer.
Advantages
◦ Programmer / Human can easily understand the code.
◦ Its used to developed very big applications.
Disadvantages
◦ Slow as compare to low level PL.
◦ Need a translator because it can’t directly understood by machine.
Examples
◦ Java ,Visual Studio.Net etc
By: Adnan Amin (Lecturer / Software
Programmer) 12
Programming Languages. (PL)
iii. Middle Level PL.
It can inherent some features of the low level PL and some
features from high level PL.
So Mid Level PL interacts directly with the hardware almost with
no limitations, and as well abstract or conceptual and work like
one of the most powerful high level languages.
Advantages
◦ Directly interact with the hardware.
◦ Not too difficult codes used like low level.
◦ Used for Hardware interface as well as for big applications.
Disadvantages
◦ Slow as compare to low level PL because of high level codes.
◦ Need a translator (High level code also can be used)
Examples
◦ C language, C++ language.