Chapter Six - Low-Level Programming & Pseudocode Flashcards
1
Q
machine language?
A
- language used DIRECTLY by the computer (made up up BINARY CODED instructions);
2
Q
virtual computer (machine)?
A
- HYPOTHETICAL machine designed to ILLUSTRATE IMPORTANT FEATURES of real machine (–> PEP/8 = virtual computer; 39 machine language instructions; we make a hypothetical machine because because real life machine code typ. differs from machine to machine)
3
Q
loader?
A
- SOFTWARE that takes a MACHINE LANGUAGE PROGRAM and places it into MEMORY (working with Pep/8) –> when you write the code for the program in Pep8 and press the “PLAY” aka loader
4
Q
assembly language?
A
- LOW LEVEL programming language in which MNEMONIC represents EACH of the machine-language INSTRUCTIONS for a particular computer.
5
Q
assembler?
A
- program that translates ASSEMBLY MACHINE LANGUAGE into MACHINE CODE
6
Q
assembler directive?
A
- instructions that go to the assembler
7
Q
comment?
A
- // -> explanatory text for the human reader
8
Q
algorithm?
A
- PLAN/OUTLINE for a SOLUTION; logical SEQUENCE of steps that solve a problem
9
Q
pseudocode?
A
- LANGUAGE designed to express ALGORITHMS
10
Q
boolean expression?
A
- EXPRESSION that WHEN EVALUATED is either true or false
11
Q
test plan?
A
- document that specifies HOW a PROGRAM is to be TESTED(how many times and which data program is going to run)
12
Q
code coverage (clear-box) testing?
A
- approach that designs test cases to ensure that EACH STATEMENT in the program is EXECUTED
13
Q
data coverage (black-box) testing?
A
- designing test cases that ensures that the limits of the allowable data are covered.
14
Q
test plan implementation?
A
- running the data coverage and code coverage testing…