1. Introduction to Programming
What is Programming ?
Programming –deals with the study of computer language
What is a Visual Basic?
Visual Basic (Vb) – is a tool created by Microsoft to build a computer application in a user-friendly
environment thatsupports Graphical User interface
GUI –Graphical User Interface
Flowchart –A graphical representation of step bystep instructions tosolve a problem.
Algorithun – A set of step by step instruction tosolve aproblem.
Operator –An enqine used to perform logical andmathematical operations.
Variable – Amemory storage/container
Loop – An action thatrepeatedly and continuously perform until a certain condition is done.
Operators:
1)Arithmetic operators
+ Addition
- Subtraction
* Multiplication]
/ Division
2.) Relational Operatior
2. > greater than
< Less than
>= greater thanor equal to
<= less than or equal to’
===or==or= equal to
<>or!= not equal to
3.) Logical operators
||
OR
||
&& AND
3. Flowchart Algorithm Variables
Preparation ex: 1.) ex: 2.)
x=5 x=5
collect materials x=6 x=6
Variable :x,y z =x+y z =x+y
Condition :
Z = x+y Print ? Is? less than 100% Yes or No
If true, then re-start
The operation
Is Z less than100? Else is fales
Yes or No Display ?
Then End the Operation
If true, re-sport the
Operation Else is false
Display result
Then End operation
Start
INPUT
Process
Condition
Out put
END