Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Introduction to programming
1. Introduction to Programming
What is programming ?
It deal with the study of computer languages
What is visual Basic?
It a tool created by Microsoft to build a computer application in a user friendly
environment
Thesupport Graphical User Interface (GUI)
Flowcharts - Agraphical representation of step bystep instructions to slove a problem .
Algorithm – A set of step byinstruction to slove a problem .
Operator – An engine used to perform logical Mathematical operations.
Variable – Amemory storage /container
Loop– An action that repeatedly and continuously perform until a certain condition is
done.
2. Flowchart Algorithm variable
Start preparation EX1.x=5 EX2.x=5
In put collectionof the thinghead y=6 y=6
EX.variable:x,y z=x+y z=x+y
Process Z=x+y print? Is ? lessthan100?
Condition conditionisZlessthan 100? Yes or No
Yes or No If true,thenrepeat
Out put If yesthenrepeatthe in put theoperation
Else if on displayresult Else if false
End Ent the operation Display? Thenendthe operation
Start
In put
Process
Condition
Out put
End