This document provides an introduction to programming concepts like Visual Basic, flowcharts, algorithms, variables, loops, and operators. It discusses Visual Basic as a tool created by Microsoft for building graphical user interface applications. It also defines key programming terms like flowcharts, algorithms, variables, loops, and different types of operators. Finally, it provides examples of basic Visual Basic methods, data types, variable functions, and operations.
1. IntroductiontoProgramming
What isprogramming
Programming– dealswiththe studyof computerlanguage
What isa Visual Basic?
Visual Basic(vb) – isa tool createdbyMicrosoftto builda computerapplicationinauser-friendly
environmentthatsupportsGraphical UserInterface
GUI – Graphical User Interface
Flowchart– A graphical representationof stepinstructionstosolve aproblem.
Algorithm–A setoff stepbystepinstructiontosolve aproblem.
Operator– Anerqine usedtoperformlogical andmathematical operations.
Variable –A memorystorage /container.
Loop – An actionthat repeatedlyandcontinuouslyperformuntilacertainconditionisdone.
Operators:
1) Arithmeticoperators
+ Addition
- Subtraction
* Multipication
/ Division
2) Relational Operatior
>greaterthan
< lessthan
>= greaterthanor equal to
<= lessthanor equal to
===or==or= equal to
<>or!= notequal to
3) Logical operators
|| OR && AND
2. Flowchart Algorithm Variables
Preparation 1)x=5 2)x=5
Y=6 y=6
z=x+y z=x+y
CollectMaterials Print_?_ Conition:
Variable:x,y
Z = X+Y
Is Z lessthan100? Is? lessthan 100?
yesor no
If true,re-startthe operation If true,thenre-startthe operation
Else if false Else if false
Display result Display ?
ThenEnd operation ThenEnd the operation
Start
input
Process
Condition
Out put
End