1. fundamentals of programming Flashcards
array
a data structure for storing a finite, ordered set of data of the same data type within a single identifier
boolean
a data type that can only store one of two possible values (true or false)
character
a data type for storing a letter, number or special character
real/float
a data type for storing numbers with decimal or fractional parts
integer
a data type for storing whole number values (positive or negative) with no decimal parts.
data type
an attribute of data that determines what sort of data is being stored that tells the compiler how it will be used in a program
date/time
a data type for storing date or time values in an identifiable format
records
a data structure that stores related data items in elements called fields, organised based on attributes
string
a data type for storing a sequence of alphanumeric characters or symbols within quotation marks
algorithm
is a set of rules or a sequence of steps specifying how to solve a problem
pseucode
a sort of half way house between english and program statements
comments
anything following # will be treated as a comment and will have no effect on the running of the program.
they can explain how any tricky bits of the program work.
user-defined data types
custom data types designed by the user by combining existing data types, for the bespoke needs of their program
aassignment
a statement in which a value is assigned to a variable
constant declaration
a statement for creating a constant in a program.