Basic Computer Programming by Tadesse M (MSC)
Basic Computer Programming by Tadesse M (MSC)
Basic Computer Programming by Tadesse M (MSC)
By Tadesse M (MSc).
Programming
What is computer Programming?
Programming is the process of creating a set of direction
programming languages.
What is computer Languages
A computer language is a method of communication
with a computer.
Computer programming language, any of various
but instead sit with it until they learn how it all came
together and they can even find new ways to work it to
provide better technologies.
As a programmer, you have to be ready to self-learn and
6, Algorithm Development:
skill of coming up with sequence of simple and human
efficiently.
Second Generation (Assembly languages, early 1950’s):
Uses symbolic names for operations and storage
locations.
A system program called an assembler translates a
program.
Programs written in assembly language are not
portable. i.e., different computer architectures have their
own machine and assembly languages.
They are highly used in system software development.
Third Generation (High level languages, 1959’s to
1970’s):
Uses instructions and mathematicians were able to define
variables with statements such as Z = A + B
Such languages are much easier to use than assembly
language.
Programs written in high level languages need to be
translated into machine language in order to be executed.
The use of common words (reserved words) within
instructions makes them easier to learn.
All third generation programming languages are
procedural languages.
In procedural languages, the programmer is expected to
specify what is required and how to perform it.
Fourth Generation (since late 1970’s):
Have a simple, English like syntax rules; commonly used
to access databases.
Forth generation languages are non-procedural languages.
The non-procedural method is easier to write, but you have
should work.
These opinions may differ from those of your
development team.
2, Communication Problem
As a new programmer, you probably don’t know
Process
A box indicates some particular operation.
Document
This represents a printout, such as a document or a report
Decision
A diamond represents a decision or branching point.
Lines coming out from the diamond indicates different
possible situations, leading to different sub-processes.
Find the largest among three different numbers
entered by the user
Chapter 2
C++