record
array
array index
identifies the position of each element in the array
array lower bound
array first element
array upper bound
array last element
what is a linear search
describe the steps of a linear search
how does a linear search go through an array?
in order, from the lower bound (first) to the upper bound (last)
what is a bubble sort?
describe the steps of a bubble sort
what is file handling?
the use of programming techniques to work with data stored in files
file handling techniques
pseudocode for opening a text file for reading
OPENFILE file.txt FOR READ
pseudocode for opening a text file for writing/creating a new file
OPENFILE file.txt FOR WRITE
pseudocode for closing a text file
CLOSEFILE file.txt
pseudocode for reading a line in a text file
READFILE file.txt, line
pseudocode for writing a line in a text file
WRITE file.txt, “string”
pseudocode for checking the end of a file
IF NOT EOF(file.txt) THEN
pseudocode for appending to a file
OPENFILE file.txt FOR APPEND
what is an abstract data type?
a collection of data and a set of operations on that data
what are 3 common ADTs
what is a stack?
what is the operation for checking if a stack is empty by checking the value of the top pointer?
isEmpty()
push(value)