Programming Flashcards
Integer?
A Whole number that can be positive or negative, including 0.
Real/Float?
A positive or negative number which can be have a fractional part.
Boolean?
A value which is either true or false.
Character?
A single number, letter or symbol.
String?
A collection of characters.
Date / Time?
A way of storing a point in time, different methods are used.
Records?
A collections of field.
Pointer / Reference?
A way of storing memory addresses.
Arrays?
An indexed set of elements, which each has the same data type.
Variable Declaration?
Creating a variable for the first time, which will need a name and sometimes a data type.
Constant Declaration
Creating a Variable but the value of a constant does not change while the program is running.
Assignment?
Giving a constant or variable to a value
Iteration?
Repeating a set of instruction, which can be definite or indefinite
Selection?
Comparing values, then selecting an action based on those values
Subroutine
A named block of code that contains a set of instructions that can be reused if the name given is called.
What does the Length Function do?
Returns the number of characters in a specific string.
What does the Position Function do?
Returns the position of a specified character within a string.
Substring
Returns a portion of a String when given a starting position and a length.
What does concatenation do?
Joins two or more strings together, to form a new string.
What does “Character to Character” mean?
Returns the character code which is corresponding to a specified character.
What does “String to Integer” do?
Converts a String into an Integer.
What does “String to float” do?
Converts the String into a Float.
What does “Integer to string” do?
Converts an Integer into a String.
What does a “Float to String” do?
Converts a Float to a String.
What does “Date/Time to string” do?
Converts Date/Time data type to a String
What does “String to Date/Time” do?
Converts the String into a Date/Time data type.