Introduction to programming
What is programming?
Programming-deals with the study of computer language
What is visual Basic?
Visual Basic(vb)-is a toolcreated
ByMicrosoft 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
Algorithm-A setof step by step instruction to solve a problem
Operator-An engine used to perform logical andmathematical operation
Variable-A memory 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
>greater than
<less than
>=greater than or equal to
<=greater than or equal to
===or==or=equalto
<>or!=not equalto
3)Logicaloperators
ll
or
ll
&& AND
Start
Input
Process
Condition
Output
End
Flowchat
Algorithm
Preparation
Collect materials variable:X,Y
Z=X+Y
Is Z less than 100? Yes or No
If true,re-start the operation Else if falseDisplay result Then Endoperation
Variables
EX1)
X=5
Y=6
Z=X+Y
Print…..?.....
hjlhjljkl

hjlhjljkl

  • 1.
    Introduction to programming Whatis programming? Programming-deals with the study of computer language What is visual Basic? Visual Basic(vb)-is a toolcreated ByMicrosoft 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 Algorithm-A setof step by step instruction to solve a problem Operator-An engine used to perform logical andmathematical operation Variable-A memory storage /container Loop-An action thatrepeatedly and continuously perform until a certain condition is done Operators: 1)Arithmetic operators +addition -Subtraction *multiplication /division
  • 2.
    2)Relational operatior >greater than <lessthan >=greater than or equal to <=greater than or equal to ===or==or=equalto <>or!=not equalto 3)Logicaloperators ll or ll && AND
  • 3.
    Start Input Process Condition Output End Flowchat Algorithm Preparation Collect materials variable:X,Y Z=X+Y IsZ less than 100? Yes or No If true,re-start the operation Else if falseDisplay result Then Endoperation Variables EX1) X=5 Y=6 Z=X+Y Print…..?.....