1/26
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Integer
It can either be a positive or a negative number. Often referred to as “natural numbers”
String
It can be a character or group of characters
Currency
Used for a variable that can hold monetary values
Long integer
Same as integer data type. Difference is that long integer can hold very large natural numbers
Boolean
It's value can either be true or false
Single precision
AKA single data type that can hold decimal numbers
Double precision
AKA double same as single butt he difference is that it gives more accurate or precise results than the single precision
Date
A numeric value that can hold date and time values
Variant
Can hold any type of data. Integer, string, or any data type depending on how you use them in your program
Dim statement
We use this statement to declare variables. Dim stands for dimension
Operators
Symbol or word that does mathematical and data manipulation
Mathematical operators
Used to calculate and assign expression results to variables
Concatenation
Joins one string to the end of another string. We can also use (+) sign in concentrating strings, but we use & as our standard operator
Comparison operators
Determines how data compares
Logical operators
Performed only on conditional statements. These operators can be used to check the truthfulness or falsity of an expression or group of statements
And
A logical operator that requires all conditions or statements to be true
Or
A logical operator that requires atleast one of the conditions to be true
Not
A logical operator that produces the opposite of the true or false result
If then else statements
It performs one or two possible code actions, depending on the result of the test given
If then else if statements
Also known as “Nested if then else” this structure allows you to implement multiple conditions
( )
Values enclosed in a parenthesis are evaluated first (1st)
^
Exponentiation (2)
-
Negation (3)
*and/
Multiplication and division (4)
/
Division is fifth
Mod
Remainder (6)
+And-
Addition and subtraction