Basics
Variables
Words & Text
100
What makes a computer smart?
Programming
100
What keywords do you use to declare a variable?
DIM and AS

Example: Dim aText As String
100
Name the data type we use to represent words and text.
String
200
What is a computer's native language called?
Machine Language
200
True or False:

Dim aNum as String

Declares the variable aNum as a plasce to store only numbers.
False

Declasing any variable as string means it contains text which can be either numbers and/or letters and/or special characters.
200
Yes or No:
Can a string contain numbers and special characters?
Yes
Strings can contain just about anything.
300
What does the compiler program do?
Converts programming instructions to machine language.
300
What kind of variable [data type] contains only "True" or "False"?
Boolean
300
Is this declaration valid?

DIM aString As String = This is a string
NO - string values must be enclosed in quotes.
400
Like a book, Visual Basic has structure: modeuls are like chapters, procedures are ;like paragraphs, and [blank of code] are like sentences. Fill in the blank.
Lines of code
400
What symbol do you use to assign values to a variable?
the EQUAL sign
400
DIM aString as String = "Olivia"
DIM bString as String = "Van Vreede"
bString = aString

What is the value of bString?
Olivia
500
Visual Basic has programming elements-name one.
"statements"
"declarations"
"methods"
"operators"
"keywords"
500
There are 3 steps to using a variable:
1. Declare it
2.Assign it
3.????? (what is ????)
Use the variable
500
When we combine two or more strings together what is it called?
Concatenation where we use an ampersand symbol [&]
M
e
n
u