Week 3 Flashcards
What are the main parts of a computer?
It’s a machine that executes sequences of instructions (which are programs) that are directed to work on data coming in (which is binary code). The data coming out will also be binary coded.
What are the computer subsystems?
1) Processor (at the core) or CPU. The processor fetches, decodes and executes sequences of binary coded instructions. The processor controls the fetch of the instructions.
2) Instruction memory - where a program is stored as a list of machine code instructions.
3) Data memory - code words representing data are stored here. It will store intermediary results here.
4) input/output subsystem
5) system interconnect - allows the various components to communicate. This is usually implemented as one or more buses.
What kind of information can electronic memory store?
binary coded information
Do all addresses have the same length of bits in memory?
Yes. The longer the number of bits, the more addresses we can have.
If we have an address where there’s no memory cells there, what do we say about the addresses?
They are unpopulated. Unpopulated addresses cannot stope anything. large address spaces are only party populated
How is data memory organised?
By indexed arrays of registers called locations, each labelled by an unsigned binary index or address.
What does the CPU do when it want to read data from memory?
The CPU will generate an address when it wants to read from or write to a location.
What is the address space?
The address space is the set of all addresses CPU can generate is its address space.
What is primary memory?
Randomly addressable memory such as that used for instructions and data. These are stored there as binary coded words.
In most current computers, the instructions and data are stored in a single address space (often on the same chips) accessed using the same buses. What is this called?
von Neumann or Princeton architecture.
In most current computers, the instructions and data are stored in a single address space (often on the same chips) accessed using the same buses. What is it called when the instructions and data are stored on separate addresses and spaces?
Harvard architecture.
What does it mean to say physical memory is volatile?
If it’s content is lost when power is removed. Non-volatile memory doesn’t need power at all.
Is read only memory (ROM) volatile or non-volatile?
non-volatile
Is random access memory (RAM) volatile or non-volatile?
volatile. RAM is read/write memory.
What is flash memory?
It’s non-volatile.
Slower than RAM.
It’s used in things like solid state drives.