KEMBAR78
Introductionto programming | DOCX
Introduction to Programming.
What is programming?
Programming –deals withthe study of computerlanguage.
What is a visual basic?
VisualBasic (VB) – Is the tool created by Microsoftto builda computerapplicationinauser-friendly
environment that supportsGraphical User Interface
GUI – Graphical User Interface.
Flowchart - A graphical representationof stepbystepinstructiontosolve aproblem.
Algorithm– A setof stepbystepinstructiontosolve aproblem.
Operator – Anengine usedtoperformlogical andmathematical operations.
Variable – A memorystorage/container
Loop – Anaction thatrepeatedlyandcontinuouslyperformuntil the certainconditionisdone.
Operators:
1) Arithmeticoperators
+ Addition
- Subtraction
* Multplication
/ Division
2) Relational operator
> greater than
< lessthan
>= greaterthan or equal to
<= lessthanor equal to
===or==or= equal to
<>or= not equal to
3) Logical operators
|| Or
&& And
Flowchart Algorithm Variable
preparation Ex. 1.)
X = 5
y=6
Z= x+y
Collect materials
Variable: X Y
Ex. 2.)
X = 5
y=6
Z= x+y
Z = X+Y Print……? Is ….? Less than 100?
Yes or no
Is Z less than 100?
Yes or No
If true, then re- short The
operation Else if false
If true re-start the operation
Else if false
Display result
Display…..?
Then end peration Then End the operation
start
input
Process
condition
Out put
End

Introductionto programming

  • 1.
    Introduction to Programming. Whatis programming? Programming –deals withthe study of computerlanguage. What is a visual basic? VisualBasic (VB) – Is the tool created by Microsoftto builda computerapplicationinauser-friendly environment that supportsGraphical User Interface GUI – Graphical User Interface. Flowchart - A graphical representationof stepbystepinstructiontosolve aproblem. Algorithm– A setof stepbystepinstructiontosolve aproblem. Operator – Anengine usedtoperformlogical andmathematical operations. Variable – A memorystorage/container Loop – Anaction thatrepeatedlyandcontinuouslyperformuntil the certainconditionisdone. Operators: 1) Arithmeticoperators + Addition - Subtraction * Multplication / Division 2) Relational operator > greater than < lessthan >= greaterthan or equal to <= lessthanor equal to ===or==or= equal to <>or= not equal to
  • 2.
    3) Logical operators ||Or && And Flowchart Algorithm Variable preparation Ex. 1.) X = 5 y=6 Z= x+y Collect materials Variable: X Y Ex. 2.) X = 5 y=6 Z= x+y Z = X+Y Print……? Is ….? Less than 100? Yes or no Is Z less than 100? Yes or No If true, then re- short The operation Else if false If true re-start the operation Else if false Display result Display…..? Then end peration Then End the operation start input Process condition Out put End