Test 2 Flashcards
How is memory accessed?
address points to the memory cell that contains the data
Instruction Register (IR)
the register that contains the instruction currently being executed
Program Counter (PC)
the register that contains the address of the next instruction to be executed
Fetch Execute Cycle
- Fetch the next instruction
- Decode the instruction
- Get data if needed
- Execute the instruction
What is a pep8 simulator?
It is a virtual computer
Two different types of testing
Black box testing
Data coverage
Data coverage, Black box testing
testing a program or subprogram based on the possible input values, treating the code as a black box
Clear box testing
Testing a program or subprogram based on covering all the statements in the code
Describe the difference between how humans and computers solve problems
Humans are abstract and recursive
Computer are concrete and must be directed through a problem to a solution
Distinguish between simple and composite data types
Simple data types are algorithms with selection and repetition (cannot be divided)
Composite data types are arrays and records (strings)
Recognize recursive problem solving
the ability of an algorithm to call itself
Divide and conquer problem solving technique
dividing the problem into smaller components to solve easier
Computer problem solving process
analysis and specification phase
algorithm development phase
implementation phase
maintenance phase
Array
only can contain on type of data
Composite data type
can contain different types of data