Implementation Flashcards
What is a global variable
A global variable is a variable which can be accessed by any part of the program
What is a local variable
A local variable is a variable in a sub program which can only be accessed in that sub program
What are the 3 types of Data Structures
Parallel 1D arrays
Records
Array of Records
Example of Array of Records
Record Player_Data():
ㅤㅤName = “ “
ㅤㅤScore = 0
ㅤㅤPets = False
Example of Parallel Arrays
Name = “ “
Score = 0
Pets = False
What are the Four standard algorithms
Finding Max
Finding Min
Linear Search
Counting Occurences in an array
What is Finding Max
Finding the Maximum value of a specific target
What is Finding Min
Finding the Minimum value of a specific thing
What is Linear Search
Searching for a specific target in an array
What is Counting Occurences in an array
Counting the amount of times a specific target has been found.
What are the three Predefined Functions in higher
Int
Char and Ord
Moduleus (%)
What is Char and Ord
The Conversion of character to Ascii or Ascii to Character
Char - From Ascii to a Character
Ord - Character to Ascii
What is Modulus
To find the remainder of dividing two values.
What are the scope variable
Local Variable
Global Variable
What is a function
When a subprogram outputs a single variable