Final Study Flashcards
What is a Von Neumann Machine?
Architecture where memory code and memory data are one box.
What is the type of architecture that separates the memories into 2 boxes instead of just one?
Harvard Machine
What is an address bus?
A bus used to transfer data between devices that are identified by the hardware address. Handles addresses.
Which bus allows for control of direction of information?
Control Bus
What purpose does the data bus serve?
It handles instructions and data transfer.
What are the four major subsystems of the Von Neumann architecture?
Memory, I/O, Arothmetic/Logic Unit (ALU), Control Unit
What two subsystems are located in the Central Processing Unit (usually)?
ALU and Control Unit
What is memory?
A functional unit where data is stored/retrieved.
What type of memory is stored in cells, which is also given a unique address?
RAM, or Random Access Memory
What is Read-Only Memory (ROM)?
A type of RAM that is prerecorded and cannot change.
What is the typical cell size/memory width?
8 bits
What is the maximum memory size?
2^n
Memory Address Register (MAR)
Holds address of data or instruction to be fetched
Memory Data Register (MDR)
Any data transferred between memory and CPU
Program Counter (PC)
Keeps track of next instruction to be executed
Current Instruction Register (CIR or IR)
Holds the current instruction and splits opcode and operand
Accumulator (ACC)
Where calculation results are held temporarily.
What are the three stages of this process?
Fetch > Decode > Execute
What are the two components of the memory system circuits?
Decoder and Fetch/Store Controller
What component converts MAR onto signal to a specific memory cell?
Decoder
What is cache memory?
Memory built into the CPU for fast access times.
What is opcode?
The operator of the overall opcode, usually designates to the first 4 places of it on the left.
What is operand?
Used for inputing data to work with the beginning opcode. Usually is an address.
What is the Principle of Locality?
The increased chance that a recently used address is to be accessed.
What is cache hit rate?
The percentage of times values are found in cache.
What is an example of volatile memory?
RAM
What are some examples of nonvolatile memories?
Mass storage systems.
What is RISC?
Reduced instruction set computer, comprised of small instructions.
What is CISC?
Complex Instruction Set Computer, comprised of large instructions.
What are tracks?
Rings around the disk (CD/DVD) surface
What are sectors?
Fixed line segments of tracks, a unit of retrieval.
What is time to retrieve based on?
Seek time
Latency
Transfer Time
What is a register?
A high-speed, dedicated memory connected to circuits.
What two word term describes how information flows in the ALU?
Data path
What is Machine Language?
A set of binary strings that encode instructions.
What does it mean to be interpreted?
A program doesn’t need to be compiled before executed.
What does it mean to be interactive?
The interpreter can be directly interacted with through the prompt.
What does it mean to be object-oriented?
It’s a technique where code is encapsulated within objects.
What is the difference between high and low level programming languages?
High level is way more user friendly, while low level is more focused on interacting directly with the computer.
print ()
Prints text within the parenthesis.
And
Set up for a conditional where all conditions must be met.
Break
Stops a loop at the point of break
Continue
Loops the function at the point of continue
Def
Defines a function
Elif
Used for conditionals with multiple desired results
Else
Fallback conditional if none of the other criteria are met
If
Start of a conditional.