SlideShare a Scribd company logo
1 of 3
IntroductiontoProgramming
What isprogramming
Programming– dealswiththe studyof computerlanguage
What isa Visual Basic?
Visual Basic(vb) – isa tool createdbyMicrosoftto builda computerapplicationinauser-friendly
environmentthatsupportsGraphical UserInterface
GUI – Graphical User Interface
Flowchart– A graphical representationof stepinstructionstosolve aproblem.
Algorithm–A setoff stepbystepinstructiontosolve aproblem.
Operator– Anerqine usedtoperformlogical andmathematical operations.
Variable –A memorystorage /container.
Loop – An actionthat repeatedlyandcontinuouslyperformuntilacertainconditionisdone.
Operators:
1) Arithmeticoperators
+  Addition
-  Subtraction
* Multipication
/  Division
2) Relational Operatior
>greaterthan
< lessthan
>= greaterthanor equal to
<= lessthanor equal to
===or==or=  equal to
<>or!= notequal to
3) Logical operators
|| OR &&  AND
Flowchart Algorithm Variables
Preparation 1)x=5 2)x=5
Y=6 y=6
z=x+y z=x+y
CollectMaterials Print_?_ Conition:
Variable:x,y
Z = X+Y
Is Z lessthan100? Is? lessthan 100?
yesor no
If true,re-startthe operation If true,thenre-startthe operation
Else if false Else if false
Display result Display ?
ThenEnd operation ThenEnd the operation
Start
input
Process
Condition
Out put
End
Basic MethodinVisual Basic
1.Activate
2.Click
3.Load
Basic Data Types
1.intege – 1,2,3,4,5,6,7,8,9,0
2.String– a-zand othercharacters
Variable functions
1.inputbox 4.DIM
2.messagebox 5.Print
3.msgbox 6.Val
Basic OperationVisualbasicprogramming
Ex:1 Activate Method
Library
or storage
Private SubForm_Activate()
______________________
X=inputbox(“”)
Y=inputbox(“”)
Z=x+y for Conditional Statement
Printz
End Sub

More Related Content

What's hot (15)

Karn rakamthong m63 no7
Karn rakamthong m63 no7Karn rakamthong m63 no7
Karn rakamthong m63 no7
 
Introductionto programming
Introductionto programmingIntroductionto programming
Introductionto programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
งานคอมที่1
งานคอมที่1งานคอมที่1
งานคอมที่1
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
hjlhjljkl
hjlhjljklhjlhjljkl
hjlhjljkl
 
Introduction to programming
Introduction  to  programmingIntroduction  to  programming
Introduction to programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Introduction to programming
Introduction  to  programmingIntroduction  to  programming
Introduction to programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 

Similar to new

Introduction to programming per
Introduction  to  programming perIntroduction  to  programming per
Introduction to programming per
svcper
 
Introduction to prorammimg
Introduction to prorammimgIntroduction to prorammimg
Introduction to prorammimg
rapekung
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
Ham Jirayu
 

Similar to new (15)

Introduction to-programimg
Introduction to-programimgIntroduction to-programimg
Introduction to-programimg
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to programming per
Introduction  to  programming perIntroduction  to  programming per
Introduction to programming per
 
Introduction to prorammimg
Introduction to prorammimgIntroduction to prorammimg
Introduction to prorammimg
 
Introduction to programming
Introduction  to programmingIntroduction  to programming
Introduction to programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to programming
Introduction  to  programmingIntroduction  to  programming
Introduction to programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to-programming
Introduction to-programmingIntroduction to-programming
Introduction to-programming
 
Introduction to programming1
Introduction to programming1Introduction to programming1
Introduction to programming1
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 

More from rapekung

ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภทลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
rapekung
 
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภทลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
rapekung
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
rapekung
 
โครงงานคอมพิวเตอร์ (1)
โครงงานคอมพิวเตอร์ (1)โครงงานคอมพิวเตอร์ (1)
โครงงานคอมพิวเตอร์ (1)
rapekung
 
ใบงานที่ 4-ม5-3-3
ใบงานที่ 4-ม5-3-3ใบงานที่ 4-ม5-3-3
ใบงานที่ 4-ม5-3-3
rapekung
 
ใบงานที่4 53-3
ใบงานที่4 53-3ใบงานที่4 53-3
ใบงานที่4 53-3
rapekung
 

More from rapekung (7)

งาน
งานงาน
งาน
 
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภทลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
 
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภทลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
ลักษณะของการ เชื่อมต่ออินเทอร์เน็ต แต่ละประเภท
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
 
โครงงานคอมพิวเตอร์ (1)
โครงงานคอมพิวเตอร์ (1)โครงงานคอมพิวเตอร์ (1)
โครงงานคอมพิวเตอร์ (1)
 
ใบงานที่ 4-ม5-3-3
ใบงานที่ 4-ม5-3-3ใบงานที่ 4-ม5-3-3
ใบงานที่ 4-ม5-3-3
 
ใบงานที่4 53-3
ใบงานที่4 53-3ใบงานที่4 53-3
ใบงานที่4 53-3
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Recently uploaded (20)

Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 

new

  • 1. IntroductiontoProgramming What isprogramming Programming– dealswiththe studyof computerlanguage What isa Visual Basic? Visual Basic(vb) – isa tool createdbyMicrosoftto builda computerapplicationinauser-friendly environmentthatsupportsGraphical UserInterface GUI – Graphical User Interface Flowchart– A graphical representationof stepinstructionstosolve aproblem. Algorithm–A setoff stepbystepinstructiontosolve aproblem. Operator– Anerqine usedtoperformlogical andmathematical operations. Variable –A memorystorage /container. Loop – An actionthat repeatedlyandcontinuouslyperformuntilacertainconditionisdone. Operators: 1) Arithmeticoperators +  Addition -  Subtraction * Multipication /  Division 2) Relational Operatior >greaterthan < lessthan >= greaterthanor equal to <= lessthanor equal to ===or==or=  equal to <>or!= notequal to 3) Logical operators || OR &&  AND
  • 2. Flowchart Algorithm Variables Preparation 1)x=5 2)x=5 Y=6 y=6 z=x+y z=x+y CollectMaterials Print_?_ Conition: Variable:x,y Z = X+Y Is Z lessthan100? Is? lessthan 100? yesor no If true,re-startthe operation If true,thenre-startthe operation Else if false Else if false Display result Display ? ThenEnd operation ThenEnd the operation Start input Process Condition Out put End
  • 3. Basic MethodinVisual Basic 1.Activate 2.Click 3.Load Basic Data Types 1.intege – 1,2,3,4,5,6,7,8,9,0 2.String– a-zand othercharacters Variable functions 1.inputbox 4.DIM 2.messagebox 5.Print 3.msgbox 6.Val Basic OperationVisualbasicprogramming Ex:1 Activate Method Library or storage Private SubForm_Activate() ______________________ X=inputbox(“”) Y=inputbox(“”) Z=x+y for Conditional Statement Printz End Sub