SlideShare a Scribd company logo
IntroductiontoProgramming
What isprogramming?
Programming– deal withthe studyof computerlanguage.
What isa Visual Basic?
Visual Basic(Vb) –is a tool createdby Microsoftto buildacomputerapplicationinauser-friendly
environmentthatsupportsGraphical UserInterface.
GUI – Graphical User Interface.
Flowchart– A graphical representationof stepbystepinstructionstosolve aproblem.
Algorithm–A setof stepby stepinstructiontosolve aproblem.
Operator– Anengine usedtoperformlogical andmathematical operations.
Variable –A memorystorage / container.
Loop – An actionthat repeatedlyandcontinuouslyperformuntilacertainconditionisdone.
Operators:
1.)Arithmeticoperators
+  Addition
-  Subtraction
*  Multplication
/  Division
2.)Relational operator
>  greaterthen
<  lessthan
>=  greaterthan or equal to
<=  lessthanor equal to
===or==or=  equal to
<>or!=  not equal to
3.)Logical operator
||  OR
&&  AND
Flowchart Algorithm Variable
preparation Ex. X= 5, y = 6Z x +z Print …?
Collect materials
Variable : x,y
Z = x + y
Is Z less than 100? Yes
or No
Is … ? less than 100?
Yes or No
If ture, re-stort the
operation Else if false
Display result
If ture, re-stort the
operation Else if false
Display … ?
Then End operation Then End operation
start
input
Process
conditi
on
output
end

More Related Content

DOCX
Introduction to programming 2
DOCX
Introduction to-programimg
DOCX
Introduction to programimg
DOCX
งาน
DOCX
DOCX
Introductionto programming
Introduction to programming 2
Introduction to-programimg
Introduction to programimg
งาน
Introductionto programming

What's hot (16)

DOCX
Introduction to programming
DOCX
Introduction to programming
DOCX
Introduction to-programming
DOCX
Introduction to-programming
DOCX
Introduction to-programming
DOCX
Introduction to programming
DOCX
Karn rakamthong m63 no7
DOCX
Karn rakamthong m63 no7
DOCX
งานคอมที่1
DOCX
Introduction to programming
DOCX
Introduction to programming
DOCX
Introduction to programming
DOC
Introduction to-programming
DOCX
Introduction to programming
DOCX
Introduction to-programming (1)
PDF
GSL Examples
Introduction to programming
Introduction to programming
Introduction to-programming
Introduction to-programming
Introduction to-programming
Introduction to programming
Karn rakamthong m63 no7
Karn rakamthong m63 no7
งานคอมที่1
Introduction to programming
Introduction to programming
Introduction to programming
Introduction to-programming
Introduction to programming
Introduction to-programming (1)
GSL Examples
Ad

Similar to Introduction to programming (17)

DOCX
Introduction to-programimg
DOCX
Introduction to-programming
DOCX
Introduction to-programming
DOCX
Introduction to-programming
DOCX
Introduction to-programming
DOCX
Introduction to programming
DOCX
Introduction to programming
DOCX
Introduction to programming
DOCX
Introduction to programming
DOCX
hjlhjljkl
DOCX
Introduction to prorammimg
DOCX
Introduction to programming per
DOCX
Introduction to-programming
DOCX
Introduction to programming
DOCX
Introduction to-programming
DOCX
Introduction to-programming
DOCX
Introduction to programming1
Introduction to-programimg
Introduction to-programming
Introduction to-programming
Introduction to-programming
Introduction to-programming
Introduction to programming
Introduction to programming
Introduction to programming
Introduction to programming
hjlhjljkl
Introduction to prorammimg
Introduction to programming per
Introduction to-programming
Introduction to programming
Introduction to-programming
Introduction to-programming
Introduction to programming1
Ad

Recently uploaded (20)

PDF
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
PPTX
Unilever_Financial_Analysis_Presentation.pptx
PDF
1a In Search of the Numbers ssrn 1488130 Oct 2009.pdf
PDF
THE EFFECT OF FOREIGN AID ON ECONOMIC GROWTH IN ETHIOPIA
PDF
How to join illuminati agent in Uganda Kampala call 0782561496/0756664682
PDF
Circular Flow of Income by Dr. S. Malini
PDF
Copia de Minimal 3D Technology Consulting Presentation.pdf
PPTX
Who’s winning the race to be the world’s first trillionaire.pptx
PDF
Dialnet-DynamicHedgingOfPricesOfNaturalGasInMexico-8788871.pdf
PPTX
Introduction to Customs (June 2025) v1.pptx
PDF
ECONOMICS AND ENTREPRENEURS LESSONSS AND
PPTX
Session 3. Time Value of Money.pptx_finance
PPTX
Session 11-13. Working Capital Management and Cash Budget.pptx
PPTX
social-studies-subject-for-high-school-globalization.pptx
PPTX
EABDM Slides for Indifference curve.pptx
PDF
how_to_earn_50k_monthly_investment_guide.pdf
PDF
Dr Tran Quoc Bao the first Vietnamese speaker at GITEX DigiHealth Conference ...
PDF
Why Ignoring Passive Income for Retirees Could Cost You Big.pdf
PPTX
How best to drive Metrics, Ratios, and Key Performance Indicators
PDF
Q2 2025 :Lundin Gold Conference Call Presentation_Final.pdf
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
Unilever_Financial_Analysis_Presentation.pptx
1a In Search of the Numbers ssrn 1488130 Oct 2009.pdf
THE EFFECT OF FOREIGN AID ON ECONOMIC GROWTH IN ETHIOPIA
How to join illuminati agent in Uganda Kampala call 0782561496/0756664682
Circular Flow of Income by Dr. S. Malini
Copia de Minimal 3D Technology Consulting Presentation.pdf
Who’s winning the race to be the world’s first trillionaire.pptx
Dialnet-DynamicHedgingOfPricesOfNaturalGasInMexico-8788871.pdf
Introduction to Customs (June 2025) v1.pptx
ECONOMICS AND ENTREPRENEURS LESSONSS AND
Session 3. Time Value of Money.pptx_finance
Session 11-13. Working Capital Management and Cash Budget.pptx
social-studies-subject-for-high-school-globalization.pptx
EABDM Slides for Indifference curve.pptx
how_to_earn_50k_monthly_investment_guide.pdf
Dr Tran Quoc Bao the first Vietnamese speaker at GITEX DigiHealth Conference ...
Why Ignoring Passive Income for Retirees Could Cost You Big.pdf
How best to drive Metrics, Ratios, and Key Performance Indicators
Q2 2025 :Lundin Gold Conference Call Presentation_Final.pdf

Introduction to programming

  • 1. IntroductiontoProgramming What isprogramming? Programming– deal withthe studyof computerlanguage. What isa Visual Basic? Visual Basic(Vb) –is a tool createdby Microsoftto buildacomputerapplicationinauser-friendly environmentthatsupportsGraphical UserInterface. GUI – Graphical User Interface. Flowchart– A graphical representationof stepbystepinstructionstosolve aproblem. Algorithm–A setof stepby stepinstructiontosolve aproblem. Operator– Anengine usedtoperformlogical andmathematical operations. Variable –A memorystorage / container. Loop – An actionthat repeatedlyandcontinuouslyperformuntilacertainconditionisdone. Operators: 1.)Arithmeticoperators +  Addition -  Subtraction *  Multplication /  Division 2.)Relational operator >  greaterthen <  lessthan >=  greaterthan or equal to <=  lessthanor equal to ===or==or=  equal to <>or!=  not equal to
  • 2. 3.)Logical operator ||  OR &&  AND Flowchart Algorithm Variable preparation Ex. X= 5, y = 6Z x +z Print …? Collect materials Variable : x,y Z = x + y Is Z less than 100? Yes or No Is … ? less than 100? Yes or No If ture, re-stort the operation Else if false Display result If ture, re-stort the operation Else if false Display … ? Then End operation Then End operation start input Process conditi on output end