Introduction To Programming (L-1)
Introduction To Programming (L-1)
Programming
Lecture Note – 1
Programming Fundamentals
Basics
Computer is merely a device that can perform many
tasks correctly and efficiently but has no I.Q.
So to solve a problem with the help of a computer we
must give it a sequence of commands/instructions to
perform certain tasks with the help of it.
Hence, we (the programmers) find a way to solve the
problem and represent that way using algorithm or
flowchart. Then we convert the algorithm/flowchart
into a computer program
Basics
An instruction is a single simple command, e.g.
y=x+5
check whether x is greater than 10
A computer program is a sequence of instructions
written in a programming language
A programming language is a language which is
acceptable (e.g. Bangla is not acceptable to an
Englishman) to a computer system i.e. using a
programming language we can give a computer
different instructions
Types of Programming Languages
Machine Language.
Assembly Language.
High-level Language.
(VB) etc.
Compiler
A high-level language program is translated
(converted) into equivalent machine language
program by a translator program which is called
the compiler
Compiler
Compile
Network
Types of web pages
Static
Dynamic