Professional Documents
Culture Documents
Basics
Basics
FOR ENGINEERING
1
Different Levels of
Computer Programming Languages
What is Program?
A computer program is a sequence of
instructions that are executed by a CPU. The CPU
(or processor) executes the instructions one by
one.
The programming languages are broadly
classified as:
1. Low level languages
2
Different Levels of
Computer Programming Languages
Low level languages
The low level language or the machine language is a system of
instructions and data executed directly by a computer's central
processing unit (CPU).
In machine code, each instruction is simply a stream of binary
digits, or 0s and 1s.
3
Comparison of the Levels of Languages
Low Level High Level
6
Example - 2
Algorithm to find the average of 10 marks
START
7
Flow Charts
Flow Charts are the pictorial representation of the step
by step procedure of solving a problem. Flowcharts used
to be a popular means for describing computer
algorithms.
Some of the common symbols used in flowcharts
are shown below:
Terminator Process
8
Example - 1
Flowchart to find the sum, average and product of
three numbers.
9
Example - 2
Flowchart to check the temperature is above or
below freezing point.
10
Questions
F = C X 1.8 + 32
C = F-32 / 1.8
12