Data Types, Variables and Parameters Flashcards
What is a ‘Char’ value?
A single character
How would I store a floating point number?
With a Real data type
What data type would I used for a list of phone numbers?
An Array of Integers
What’s a record?
A structure that holds different variables of different data types
What is a variable’s scope?
The subprograms that a variable can influence
What are the two types of Variable?
Global and local.
Define a parameter
The options passed to a program or function
E.g MsgBox(title, “text”)
What do we call the combination of two strings?
Concatination
What do we have to think about when Concatinating different strings?
Whether the result will be readable
Give another name for a subprogram
Functions and procedures (or modules)
Give a benefit of a module
Can be used multiple times in a program.
Can be referenced by other programs.
Easier to split across teams.