2.basics & Algorithm-Flowchart PDF
2.basics & Algorithm-Flowchart PDF
Parne
Assistant Professor,
CoED, SVNIT Surat.
Program & Programming:
A program is a set of logically related instructions that is arranged in
a sequence that directs the computer in solving a problem.
User
Application software
System software
Hardware
Application Software
Application software is written to enable the computer to solve a
specific data processing task.
Application software is a program that helps user in accomplishing
specific tasks productively.
word processors
Games
instant messenger, etc.
Applications
System Software's:
System software is a collection of programs
that interfaces with the hardware.
System software is a program that is not
directly intended to help accomplishing the
user’s task but supports other application
software.
Operating Systems
System Tools (e.g. antivirus, archiving tools,
disk defragmenter)
Software Development Tools (e.g. compiler,
debugger, integrated development
environment suite).
Programming Language :
A programming language is composed of a set of
instructions in a language understandable to the
programmer and recognizable by a computer.
Address N-1
Variables in Memory :
Instruction executed Variable X
X = 10 10
T
i X = 20 20
m
e
X=X+1 21
X=X*5 105
Variables in Memory… Variable
Instruction executed
X Y
X = 20 20 ?
T
i Y = 15 20 15
m
e
X=Y+3 18 15
Y=X/6 18 3
Data Types :
Three common data types used:
Input / Output
Decision Box
Start / Stop
Flowchart: basic symbols…
Flow of
control
Connector
Flowchart or Program Constructs:
Sequence: The order of execution, this typically refers to
the order in which the code will execute. Normally code
executes line by line, so line 1 then 2 then 3 and so on.