Set 4 Flashcards
Checked by Matt. Covers everything between SA3 and CAP1 on the BPCompSci topic list
What is a barcode?
- A barcode is a sequence of parallel black and white bars with varied width and spacing that encodes binary information
- Sometimes a check digit is added to the end of the barcode for validation
Operation of a barcode reader
- A light source / laser is directed at bar code // bar code is illuminated
- (Moving) mirror / prism moves light beam across bar code // user moves reader across bar code // user moves the bar code across the reader
- Light reflected back
- Black / white bands reflect different amounts of light // black reflects less light // white reflects more light
- Light sensor / photodiode / CCD (measures amount of reflected light)
- Light reflected converted into an electrical signal A. convert reflection to (binary) numbers / characters / ASCII
What are QR codes? How are they different from regular barcodes?
- Two-dimensional barcodes
- They have a higher storage capacity
- QR codes are read using images, not lasers
Operation of a digital camera
- Light enters through the lens, focused on to an array of sensors on the sensor chips
- Grid of (pixel) sensors // CMOS/CCD sensor
- Each sensor measures light intensity of a point
- Each sensor produces an electrical signal
- The signal represents a pixel;
- Sensor outputs a voltage dependent upon light intensity
- Colour/Bayer filter is applied to generate separate data values for red, green and blue colour components
- The pixels are recorded as an array
- Voltages turned into binary data // voltages passed through Analogue-to-Digital Converter (ADC) // voltages turned into a digitised version of the image
- Image processing software analyses image
Operation of a laser printer
- Bitmap of image built in memory from page description.
- (Negative) charge applied to (photosensitive) drum.
- Laser beam directed at drum. R. laser directed at paper.
- Mirror is used to direct laser beam.
- Where laser strikes drum charge is neutralised / reversed / cancelled / discharged.
- (Negative) charge applied to toner.
- Toner sticks to drum based on charge // where the laser struck.
- Paper passed over drum and toner transfers to it.
- Positively charged transfer roller assists transfer of toner from drum to paper. A. charge applied to paper assists with transfer.
- Heater fuses toner onto paper.
- For colour printing four different colour toners // four drums are required.
What does RFID stand for and what is its purpose?
RFID (radio frequency identification) allows data to be transmitted wirelessly over radio waves.
What are the two parts to an RFID system?
Tag
Reader
What is in a passive RFID tag?
- chip, which contains a small amount of memory
- antenna
How does an RFID reader work?
- RFID tag contains (transmission) circuitry and antenna
- Memory on tag stores data
- RFID reader transmits / sends signal // emits electric / electro-magnetic field
- Signal activates / energises / induces current in RFID tag
- RFID tag transmits / sends data by radio (wave)
- RFID reader converts radio (wave) / signal back into (binary) data
- RFID tag (on a card) is a passive device
- RFID transmits over very short range
Advantage of RFID over barcodes or digital cameras
The use of radio signals means that the system does not require a line of sight between the tag and the reader
What is a passive RFID tag? Range?
- An RFID tag that doesn’t contain a power supply
- The device is powered by radio energy transmitted by the reader
- Range of up to 1m
What is an active RFID tag? Range?
- An RFID tag that has a small battery within the tag
- The tag will transmit its identifier at regular intervals
- Range of up to 200m
Give four reasons secondary storage is needed:
- To store data / programs whilst the computer is turned off as the contents of RAM are lost when the computer is turned off R. ‘main memory’ for ‘RAM’
- Allows the storage of data sets / files that could not fit in RAM
- Secondary storage can be used for virtual memory
- To transfer data / programs between computers
What type of storage are Hard Disk Drives?
Magnetic storage
What are the parts of a HDD?
- at least one metal platter
- a spindle which spins the platter
- a read-write head on an actuator arm
Describe the operation of a HDD:
*Disk is coated in a magnetisable material
*Magnetising a spot in one direction could
represent 0 and the other direction could
represent 1
*Disk divided into rings called tracks
*Tracks divided into sectors / blocks
*Read/write head moves in / out to the correct track
*Wait until correct sector passes under read/write head
*Disk spins at high speed
*Read/write head senses magnetic field
and converts to 0s and 1s
Give four pros of a HDD:
- High read-write access speed (but slower than SSD)
- Greater Capacity than SSD
- … at a lower cost per GB than SSD
- Reliable and don’t degrade over time
Give four cons of HDDs:
- Not as portable as CD/DVD/USB memory sticks
- HDDs are more likely to fail as they are made up of lots of moving parts
- HDD’s are fragile (bumps and knocks damage disk)
- Slower access speeds that SSDs (slow seek time)
What type of storage are Solid State Drives?
solid state storage / NAND flash memory
Describe the operation of an SSD:
- Data is stored electronically // there are no mechanical / moving parts
- Data is stored in floating gate transistors // data is stored in transistors that
- do not lose their charge/state when power is no longer applied // electrons
- are trapped between oxide layers
- Presence of trapped electrons / charge or absence indicates 0 / 1
A. 0 or 1 either way around
A. state represents 0 or 1
A. off = 0, on = 1 (or other way around)
A. “bit” for 0 or 1, but not “binary”
R. positive and negative charges - NAND memory // flash memory // EEPROM memory is used
- Data is organised into pages / blocks
- A whole block (A. page) of data must be written // it is not possible to write
- individual values
- A block (A. page) must be erased before it can be overwritten
- Controller manages the organisation
Give four pros of SSDs compared with HDDs:
- Faster than HDD
- No moving parts means it is more robust than HDD
- No moving parts means it uses less power than HDD
- No moving parts means it is quieter than HDD
When is an SSD suitable?
- When files need to be read or changed frequently (e.g. in a server)
- Or when the system needs to be portable
Give two cons of SSDs compared with HDDs:
- The number of times SSD devices can be written to is limited (hence unsuitable for long term archiving of data)
- Higher cost per Gb than HDD
What sort of storage are optical drives?
Optical storage
Name three optical discs (e.g. CD), in increasing capacity
- Compact Disc (CD)
- Digital Versatile Disc (DVD)
- Blu-ray Disc
Name the three types of optical drive (e.g. ROM):
- ROM (read only)
-
R (recordable)
- Can be written onto once. Good for archiving data
-
RW (rewritable)
- Has a chemical dye layer on top of the reflective layer
- The chemical dyes allow the burning process to be reversed
Principles of operation of optical drive?
How data is represented
* Data is stored on one spiral track
* Continuation of land/pit reflects light whereas transition between land and pit scatters light
* Transition between land and pit indicates a 1 and continuation of land/pit represents 0
Reading mechanism
* Low power beam of laser is shone at disk
* Light is focussed on spot on track
* Some light is reflected back from disk
* Amount of light reflected back is measured
* Disc spins at constant linear velocity
Give three pros of optical discs:
- Extremely light and portable
… so they are good for media distribution - Relatively cheap (for lower storage capacities)
- Reliable (unless scratched)
Give five cons of optical drive:
- Data can be ruined if disc is scratched
- Lower capacity than HDD and SSD
- Slow seek time
- Not all disks are rewritable
- Not compatible with very much anymore