Exam 2 Flashcards
(28 cards)
assignment in pseudocode
<—
pseudocode
an arbitrary code to represent a program’s instructions
output in pseudocode
input in pseudocode
read
do/while loop in pseudocode
repeat/until test
marks end of program in pseudocode
end
bit
0 or 1
byte
8 bits, numbers typically stored in 4 bytes
sign magnitude
positive or negative sign in first bit of number, 0 = positive, 1= negative
one’s compliment
reverses every bit in number
two’s compliment
take one’s compliment and add 1, created to store negative numbers
do/while loop
post test loop, will do the material at least once
top-down programming
analyze from top view down to details
module
interchangeable with ‘function’
function
a sub program, gets values to work on and returns a result
parameters
variables that receive values when the function is invoked
system files
programs to control the computer
subdirectories
files that contain the names of other files
archive files
stored in a more compact form
programs
executable files
data files
have values that are used by other programs
text files
files of character (aka ASCII files) but works w/ numbers correctly
other data files
stored in a more efficient form, file of real numbers, integers, records
record
a group of related fields