Introduction to programming
What is programming?
Programming - deals with the study of computerlanguage
What is a Visual Basic?
Visual Basic (vb) – is a tool created by Microsoft to build a computer
application in a user-friendly environment that supports Graphical User
Interface
GUI – Graphical User Interface
Flowchart– A graphical representation of step by step instructions to solve a
problem.
Algorithan – A set of step by step instruction to solve a problem.
Operator– An engine used to perform logical and Mathematical operations.
Variable – Amemory storage / container
Loop – An action that repeatedly andcontinuously perform until a certain
condition is done.
Operators
1) Arithmetic operators
+ ➸ Addition
- ➸ Subtraction
* ➸ Multiplication
/ ➸ Division
2) Relational operator
> ➸ greater than
< ➸ less than
>= ➸ greaterthan or equalto
<= ➸ less than or equalto
===or==or= ➸ equalto
<>or!= ➸ not equalto
3) Logical operators
|| ➸ OR
&& ➸ AND
Flowchart Algorithm Variable
Preparation
Collertion of the thing
need Variable X,Y
Z=X+Y
Is Z less than yes or no
If yes then repeat the
input Else if no Display
Result
End the operation
Ex) X=5 Ex:2
X=5 X=6 Y=6 Z=x+y
Z=x+y Condition
Print____Is__less then
100 yes or no If true
then repeatthe
operation Else if false
Display____
Then End the operation
Start
Inpu
t
Process
Conditi
onn
Outp
ut
End

Introduction to programming per

  • 1.
    Introduction to programming Whatis programming? Programming - deals with the study of computerlanguage What is a Visual Basic? Visual Basic (vb) – is a tool created by Microsoft to build a computer application in a user-friendly environment that supports Graphical User Interface GUI – Graphical User Interface Flowchart– A graphical representation of step by step instructions to solve a problem. Algorithan – A set of step by step instruction to solve a problem. Operator– An engine used to perform logical and Mathematical operations. Variable – Amemory storage / container Loop – An action that repeatedly andcontinuously perform until a certain condition is done.
  • 2.
    Operators 1) Arithmetic operators +➸ Addition - ➸ Subtraction * ➸ Multiplication / ➸ Division 2) Relational operator > ➸ greater than < ➸ less than >= ➸ greaterthan or equalto <= ➸ less than or equalto ===or==or= ➸ equalto <>or!= ➸ not equalto 3) Logical operators || ➸ OR
  • 3.
    && ➸ AND FlowchartAlgorithm Variable Preparation Collertion of the thing need Variable X,Y Z=X+Y Is Z less than yes or no If yes then repeat the input Else if no Display Result End the operation Ex) X=5 Ex:2 X=5 X=6 Y=6 Z=x+y Z=x+y Condition Print____Is__less then 100 yes or no If true then repeatthe operation Else if false Display____ Then End the operation Start Inpu t Process Conditi onn Outp ut End