Introductiontoprogramming
What isprogramming?
Programming– deal withdeal withstudyof computerlanguage
What isa visual basic?
Vitual Basic(VB)-isatool createdbyMicrosoftto buildacomputerapplicationinauser-friendly
environmentthatsupportsgraphical userinterface
GUI – Graphical user Interface
Flowchart– A graphical representationof stopbystepinstructionstosolve aproblem
Algorithm–A Setof stepby stepinstructiontosolve aproblem
Operator- Anengine usedtoperformlogical andmathematical operations
Variable –A memorystorage/container
Loop – An Actionthatrepeatedlyandcontinuouslyperformuntil acertain conditionisdone
Operators:
1.) Aithemeic
+  Addition
- Subtraction
*Multiplication
/Division
2.)Relational operatior
>Greaterthan
<  Lessthan
>= GreaterthanorEqual to
<= LessthanorEqual to
===or==or=  equal to
< > or ! NotEqual to
3.)Logical operators
II
Or
II
&& And
Flowchart Algorithum Variable
Preparation 1.)X=5 2.)X=5
Y=6 Y=6
Z= X+Y Z=X+Y
Collectmeterial Print? Condition:
Variable:X,YVariable Is_? LessThan
100? Yes orNo
If true , then
Z = X+Y re-startthe
operation
Else if false
Display_?
ThenEnd the
Is Z lessthan100? operation
yesor no
If true , re-start
The operation
Else if false.Display
Result
Thenendoperation
Start
Input
Process
condition
Output
End

Introduction to programming

  • 1.
    Introductiontoprogramming What isprogramming? Programming– dealwithdeal withstudyof computerlanguage What isa visual basic? Vitual Basic(VB)-isatool createdbyMicrosoftto buildacomputerapplicationinauser-friendly environmentthatsupportsgraphical userinterface GUI – Graphical user Interface Flowchart– A graphical representationof stopbystepinstructionstosolve aproblem Algorithm–A Setof stepby stepinstructiontosolve aproblem Operator- Anengine usedtoperformlogical andmathematical operations Variable –A memorystorage/container Loop – An Actionthatrepeatedlyandcontinuouslyperformuntil acertain conditionisdone
  • 2.
    Operators: 1.) Aithemeic + Addition - Subtraction *Multiplication /Division 2.)Relational operatior >Greaterthan <  Lessthan >= GreaterthanorEqual to <= LessthanorEqual to ===or==or=  equal to < > or ! NotEqual to 3.)Logical operators II Or II && And
  • 3.
    Flowchart Algorithum Variable Preparation1.)X=5 2.)X=5 Y=6 Y=6 Z= X+Y Z=X+Y Collectmeterial Print? Condition: Variable:X,YVariable Is_? LessThan 100? Yes orNo If true , then Z = X+Y re-startthe operation Else if false Display_? ThenEnd the Is Z lessthan100? operation yesor no If true , re-start The operation Else if false.Display Result Thenendoperation Start Input Process condition Output End