PAPER ONE Flashcards
GET THIS BREAD (98 cards)
How are the registers used in the FDE cycle?
Fetch - PC holds next instructions address – This is then copied to the MAR – The instruction held in at this address is then copied to the MDR – The PC is simultaneously incremented – The contents of the MDR is then copied to the CIR.
Decode - The instruction held in the CIR is then split into opcode and operand. Opcode determines the type of instruction and the Operand contains either the address, actual data or data to be passed onto the ALU
Decode - The Opcode is carried out on the Operand
What are the names and directions of the 3 buses?
Control bus - Bi-directional - Used to ensure no conflicts
Data bus - Bi-directional - Used to transfer data between system components
Address bus - One directional - Used to transmit memory addresses of words
What is pipelining?
A processor technique which allows instructions to be fetched whilst another is being decoded making it seem like processes are simultaneous
What are the 3 main factors effecting performance?
Clock speed - Amount of processes a second
Number of cores - Instructions at the same time
Amount and type of cache - Memory of frequently used data. Level 1 cache = very fast but small Level 2 = fast but medium size memory Level 3 = Slower but larger amount of memory
What is the GPU?
Graphics processing unit
Very efficient at manipulating computer graphics and image processing
What’s the difference between Von Neumann and Harvard architectures?
Von Neumann - Based on the stored program concept (linear processes)
Uses the same data bus to transfer data and instruction
Commonly used in every day computers
Harvard - Uses separate buses for instructions and data as they are held in separate places
Commonly used in embedded systems
What’s the difference between RISC and CISC?
RISC - Reduced instruction set computers
Only one clock cycle per instruction
Requires more RAM
Pipelining is possible to speed up processing
Hardware is more simple and software more complex
Used in phones
CISC - Complex instruction set computers
Hardware is more complex and software less complex
Used in computers
Uses MULT for multiplication which is a single machine code instruction but will take more cycles.
What are multi core and parallel systems?
Multi core is when there is more than one CPU which can parallel distribute workload across these cores.
The improvement in performance however depends on the software
What are the two types of barcodes?
Linear - like shopping ones
2D quick response QR used on tickets
What are some barcode readers?
Pen type reader - a light source and onto diode are at the end of pen to read barcode
Laser scanner - use laser beam as light source and a photo diode
Camera based readers - imaging scanner using camera and processing techniques
What is RFID and the difference between passive and active tags?
Radio frequency identification -
Used in bank cards and animal trackers
Active tags are larger and include a battery so it actively transmitted a signal
Passive tags are cheaper and do not have a battery. It has to be energised to send the data to the reader nearby. Used in contactless cards
What’s the difference between LCD and OLED screens?
LCD are glass and contain red blue and green diodes to form each pixel
OLED are thinner, plastic and therefore can be shaped, brighter and lighter
What is an actuator?
Motors that are commonly used in conjunction with sensors to control a mechanism.
Eg opening a window in a house
What type of storage is a hard disk and what’s their pros and cons?
Magnetic storage
+ huge capacity
+ cheaper
+ good for desktops
- Uses moving parts (arm to read disk)
- less portable
What type of storage is SSD and what are the pros and cons?
Flash storage
Consists of millions of NAND gates
+ consume less power
+ less susceptible to damage
+ lighter and highly portable
+ Silent in operation
- expensive
- less storage
- shorter lifespan
What’s the difference between RAM and ROM?
RAM is volatile storage
ROM is non volatile storage which stores the OS
What is virtual storage?
This is storage used when the RAM becomes full and uses the hard disk to free up some space in RAM temporarily
What are the 5 functions of an operating system?
Memory management
Interrupt service routines
Processor scheduling
Backing store management
Manages inputs and outputs
What’s paging and segmentation?
They’re both used for memory management
Paging - dividing memory into fixed 4Kb pages and a process can be held in disconnected pages
Segmentation - the logical division of address space depending on program structure
What is an interrupt?
An interrupt is a signal from a software program, hardware device or internal clock to the CPU to carry out a process
What are the objectives of the schedular?
Maximise throughput (fast)
To be fair to all users on a multi user system
Provide acceptance response time to all users
Ensure hardware are kept as busy as possible
What are the 5 types of scheduling?
Round robin - processes are dispatched on a FIFO basis with each process having a time slice. If the process is not finished in this time it will move on
First come first served
Shortest time remaining- requires to know how long jobs will take
Shortest job first - different as it is the running time
Multi-level feedback queues- designed to give preference to short jobs, I/O bound processes and prioritised processes
What is a distributed operating system?
A form of parallel processing which spreads the load over multiple computer servers
What is a multi tasking system?
Most PC’s as they can run multiple applications simultaneously