DATA TYPES, VARIABLES AND CONSTANTS
LEARNING OBJECTIVES Be able to identify and explain the difference between data and information Be able to identify, explain and apply constants and variables Be able to identify and know how to apply different data types
WHAT IS DATA? Data is facts and statistics collected together
WHAT IS INFORMATION? Information is data, with a rule applied to it
THE DIFFERENCE Data is the raw version of information. Data is information without any rules applied to it, to give context
VARIABLE A variable is a programming concept that stores information, so it can be called upon later on in the program. Dim ___ As ____?
DATA TYPES Integer / (Number) String / (Word) Boolean / (True or False) Double / (Number with Decimal) Date / (A Date) Character / (Letter)
WHAT DATA TYPES WOULD THESE BE? Dim name As String Dim moneyEarnt As Double Dim gradeA_F As Character Dim goalsScored As Integer Dim canVote As Boolean