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 instructions to solve a problem.
Operator – An engine used to perform logical and mathematical operations.
Variable – A memory / storage / container
Loop – An action that repeatedly and continuously perform until a certain condition is done.
Operators:
1.) Arithmetic operator
+ Addition
- Subtraction
* Multiplication
/ Division
2.) Relational Operator
> greater than
< lessthan
>= greater than or equal to
<= greater than or equal to
=== or == or = equal to
< > or != not equal to
3.) Logical Operators
|| OR
&& AND
Flowchart Algorithm Variables
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 operation
Then End the operation
START
INPUT
PROCESS
CONDITION
OUTPUT
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 instructions to solve a problem. Operator – An engine used to perform logical and mathematical operations. Variable – A memory / storage / container Loop – An action that repeatedly and continuously perform until a certain condition is done. Operators: 1.) Arithmetic operator + Addition - Subtraction * Multiplication / Division 2.) Relational Operator > greater than < lessthan >= greater than or equal to <= greater than or equal to === or == or = equal to < > or != not equal to 3.) Logical Operators || OR && AND
  • 2.
    Flowchart Algorithm Variables preparationEx. 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 operation Then End the operation START INPUT PROCESS CONDITION OUTPUT END