7 - Fundamentals of Computer Organisation and Architecture Flashcards
What is the difference between von Neumann and Harvard architectures?
In von Neumann architecture, instructions and data share the same memory which the processor communicates with over a shared bus called the system bus. In Harvard architecture, instructions and data are allocated separate memories. The processor is connected to both memories by separate buses so that each memory can be accessed simultaneously.
What are the advantages of Harvard architecture.
- Instructions and data are handled quicker as they do not have to share the same bus.
- Avoid bottleneck of single data/address bus.
- Instructions and data memory can have different word lengths.
- Avoids possibility of data being executed as code, which is one method that can be exploited by hackers.
Where is von Neumann architecture used?
Von Neumann architecture is used extensively in general purpose computing systems.
Where is Harvard architecture used?
Harvard architecture is extensively used in embedded systems such as digital signal processing (DSP) systems.
What is meant by the stored program concept?
A program must be resident in main memory in order to be executed. Instructions are fetched and executed one at a time by the processor. Programs can be moved in and out of memory.
What does an opcode represent?
It indicates the basic machine operation.
What does an operand represent?
The value that the instruction operates on.
What is an instruction set?
The set of bit patterns for which machine operations have been defined. An instruction set is processor specific.
What is the difference between direct and immediate addressing?
Direct addressing means that the operand is the memory address or register number of the datum whereas immediate addressing means the operand is the datum.
How does the addressing mode relate to the operand of an instruction?
It indicates how the value in the operand should be interpreted.
Describe the principles of operation of a bar code reader and how the software in the barcode reader will use the check digit.
For a photodiode system a laser is shone at the bar code. A moving mirror moves the light beam across the bar code and the light is reflected back. White bands reflect more light than black bands. A light sensor measures the amount of reflected light which is converted into an electrical signal and analysed to determine the value encoded in the bar code.
The data digits are passed through a function to calculate a check digit. The result is compared against the check digit read in. If they don’t match an error is indicated. If they match the bar code is accepted and processed.
Explain the purpose of the check digit in a bar code.
To check the bar code is valid.
Describe the principles of operation of a laser printer.
The print drum is coated in static charge. The printer generates a bitmap image from the data. Laser beam is directed on the print drum via a rotating octagonal mirror. The laser is modulated and neutralises electric charge on the drum where image should be dark. Toner is given charge and the charged drum picks up toner. There is one drum mechanism for each colour. Toner is then transferred from drum to paper. The toner is then fused to the paper by heated rollers.
A RFID system is made up of a transponder built into an RFID tag and an interrogator or reader. Explain the principle of operation of this RFID system.
The RFID reader transmits a signal to the antenna of the RFID tag. The RFID tag is energised by the signal from the reader. The transponder in the tag sends the data signal which is received by the reader.
Describe the principles of operation of a digital camera.
Lens focuses light onto an array of sensors on the sensor chip. Each sensor produces an electrical signal. The signal represents a pixel. The image is captured when the shutter is pressed. An ADC converts measurement of light intensity into binary data. Firmware performs data processing to “tidy up” image. Colour filter is used to generate data separately for red, green, blue colour components. Image is recorded as an array of pixels.