KEMBAR78
Introduction to-programming | DOC
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 that supports Graphical User Interface.
GUI - Graphical User Interface.
Flowchart – A graphical representation of step by step instructions to solve a problem.
Algorithm – A set of step by step instruction to solve a problem.
Operator – An enqine used to perform logical and mathematical operation.
Variable – A memory storage / container.
Loop – An action that repeatedly and continuously perform until a certain condition is done.
Operators :
1.) Arithmetic operators
+ Addition
- Subtraction
* Multiplication
/ Division
2.)Relational Operators
> greater than
<less than
>=greater than or equal to
<=less than or equal to
===or==or= equal to
3.)Logical Operators
!! or
&& AND
Flowchart 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 false Display result
Start
input
Process
Conditio
n
output
Then End operation
Variables
4.1)
x = 5
y = 6
z = x + y
Print _?_
4.2)
x = 5
y = 6
z = x + y
condition :
Is_?__ less than 100 ?
Yes or No
If true,thenre-start the operation
Else if false
Display _?__
Then End the Operation
End

Introduction to-programming

  • 1.
    Introduction to Programming Whatis 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 that supports Graphical User Interface. GUI - Graphical User Interface. Flowchart – A graphical representation of step by step instructions to solve a problem. Algorithm – A set of step by step instruction to solve a problem. Operator – An enqine used to perform logical and mathematical operation. Variable – A memory storage / container. Loop – An action that repeatedly and continuously perform until a certain condition is done. Operators : 1.) Arithmetic operators + Addition - Subtraction * Multiplication / Division 2.)Relational Operators > greater than <less than >=greater than or equal to <=less than or equal to ===or==or= equal to
  • 2.
    3.)Logical Operators !! or &&AND Flowchart 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 false Display result Start input Process Conditio n output
  • 3.
    Then End operation Variables 4.1) x= 5 y = 6 z = x + y Print _?_ 4.2) x = 5 y = 6 z = x + y condition : Is_?__ less than 100 ? Yes or No If true,thenre-start the operation Else if false Display _?__ Then End the Operation End