Introduction to Programming
What is programming ?
Programming – deals with the study of company language
What is a VisualBasic ?
VisualBasic (VB) – is a tool created by Microsoftto build a computer application
in a user-friendly environmentthat supports GraphicalUser Interface
GUI – Graphical User Interface
Flowchart– A graphical representation of step by step instructions to solve a
problem.
Algorithm – A set of step by step instruction to solvea problem.
Operator – An engine used to perform logical and mathematical operations.
Variable – A memory storage/container
Loop – An action that repeatedly and continuously performuntil a certain
condition is done.
Operator :
1.)Arithmetic operators
+  addition
-  Subtraction
*  Multiplication
/  Division
2.)Relational Operator
>  Greater than
< Less than
>= Greater than or equal to
<=  Less than or equal to
===or==or= Equalto
<>or!=  Not equal to
3.)LogicalOperators
|| OR
||
&& AND
Flowchart Algorithm Variables
Preparation Ex : 1.)
X = 5 x = 5
CollectMaterialsVariable:X ,Y y = 4 y = 4
Z = X+Y Z = X+Y Z = X+Y
Condition
Is Z lessthan100 ? Yes or No Print ? Is ? lessthan100 ?
Yesor No
If true , re-startthe operation If true , restart
Else if false the operationElse if
false
Display result Display ?
Then Endoperation ThenEnd operation
Start
input
Process
Condition
Output
End

Introduction to programming

  • 1.
    Introduction to Programming Whatis programming ? Programming – deals with the study of company language What is a VisualBasic ? VisualBasic (VB) – is a tool created by Microsoftto build a computer application in a user-friendly environmentthat supports GraphicalUser Interface GUI – Graphical User Interface Flowchart– A graphical representation of step by step instructions to solve a problem. Algorithm – A set of step by step instruction to solvea problem. Operator – An engine used to perform logical and mathematical operations. Variable – A memory storage/container Loop – An action that repeatedly and continuously performuntil a certain condition is done.
  • 2.
    Operator : 1.)Arithmetic operators + addition -  Subtraction *  Multiplication /  Division 2.)Relational Operator >  Greater than < Less than >= Greater than or equal to <=  Less than or equal to ===or==or= Equalto <>or!=  Not equal to 3.)LogicalOperators || OR || && AND
  • 3.
    Flowchart Algorithm Variables PreparationEx : 1.) X = 5 x = 5 CollectMaterialsVariable:X ,Y y = 4 y = 4 Z = X+Y Z = X+Y Z = X+Y Condition Is Z lessthan100 ? Yes or No Print ? Is ? lessthan100 ? Yesor No If true , re-startthe operation If true , restart Else if false the operationElse if false Display result Display ? Then Endoperation ThenEnd operation Start input Process Condition Output End