This document provides an introduction to programming concepts. It defines programming as dealing with computer languages and visual basic as a tool created by Microsoft to build graphical user interface applications. It discusses flowcharts as a graphical representation of step-by-step instructions to solve a problem and algorithms as a set of instructions to solve a problem. It also defines operators, variables, loops, and provides examples of arithmetic, relational, and logical operators. Finally, it shows examples of a flowchart and algorithm that use variables and conditions.
1 of 3
Download to read offline
More Related Content
Introduction to-programming
1. 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 thatsupports Graphical User interface
GUI Graphical User Interface
Flowchart A graphical representation of step bystep instructions tosolve a problem.
Algorithun A set of step by step instruction tosolve aproblem.
Operator An enqine used to perform logical andmathematical operations.
Variable Amemory storage/container
Loop An action thatrepeatedly and continuously perform until a certain condition is done.
Operators:
1)Arithmetic operators
+ Addition
- Subtraction
* Multiplication]
/ Division
2.) Relational Operatior
2. > greater than
< Less than
>= greater thanor equal to
<= less than or equal to
===or==or= equal to
<>or!= not equal to
3.) Logical operators
||
OR
||
&& AND
3. Flowchart Algorithm Variables
Preparation ex: 1.) ex: 2.)
x=5 x=5
collect materials x=6 x=6
Variable :x,y z =x+y z =x+y
Condition :
Z = x+y Print ? Is? less than 100% Yes or No
If true, then re-start
The operation
Is Z less than100? Else is fales
Yes or No Display ?
Then End the Operation
If true, re-sport the
Operation Else is false
Display result
Then End operation
Start
INPUT
Process
Condition
Out put
END