Set 4 Flashcards
Hardware SQL
What is a barcode?
- A barcode is a sequence of parallel black and white bars that encodes binary information
- Sometimes a check digit is added to the end of the barcode for validation
Operation of a barcode reader
- Light from a laser illuminates the barcodes
- More light is reflected from the white areas than from the black bars
- The reflected light is captured by photoelectric cells
- The photoelectric cells generate a set of electrical pulses that correspond to the black and white stripes in the barcode.
- These pulses are processed and converted to a binary number that represents the code
- Most barcode readers indicate that the barcode has been read successfully, for example by sounding a beep or showing a green light
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
- The shutter opens, allowing light to enter the camera through the lens
- The lens focuses the light onto an image sensor
- An image sensor is an array of millions of photosites (light-sensitive elements)
- Each photosite produces an electrical signal and each signal represents a current
- The photosites only measure the intensity of the light. To determine the colour of each pixel, a ‘Bayer filter’ is used
- The Bayer filter provides an array of red, green and blue filters
- The final value for each pixel is derived from its own colour intensity and those of its immediate neighbours through the application of a demosaicing algorithm
Operation of a laser printer
- The print drum is coated in a positive static charge
- A laser beam is directed at the print drum
- The laser is modulated (turned on & off)
- The laser reverses electric charge on drum, where image should be dark / black
- The toner is given a positive charge
- The charged drum picks up toner
- There are four different toner cartridges, one for each colour (cyan, magenta etc)
- The toner is transferred from drum to paper
- Toner is fused to paper by heated rollers
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?
- The reader emits radio waves which are picked up by the tag’s antenna
- The power induced in the tag’s antenna from these waves is enough to power the chip
- The chip uses its antenna to emit its own radio wave which contains the information held on the chip
- This wave is picked up by the reader which decodes the information and returns the information to a computer
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:
- Main memory is volatile, so secondary storage needed to store files that are needed multiple times
- Secondary storage can be used to store larger files, as it usually has a much higher capacity than main memory
- Secondary storage can be used for virtual memory
- Main memory is expensive
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:
- The read-write head is used to store and retrieve data on the metal platters
- Each platter is made up of concentric tracks which have many polarised dots
- Binary data is represented on the surface of the metal platters with magnetised dots
- Magnetised/Unmagnetised represent 0s/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
What type of storage are Solid State Drives?
solid state storage / NAND flash memory
Describe the operation of an SSD:
- SSDs use floating gate transistors that allow an electrical charge to be trapped, representing a 0 or a 1
- Transistors are organised into pages and blocks
- Blocks are made of many pages
- A whole block of data must be written at once
- Cannot overwrite pages
- Page must be erased before it can be written to
- In actual fact, technology requires whole block to be erased
Give four pros of SSDs:
- Faster data transfer (read-write) speeds than HDD
- No moving parts, so are more robust
- More portable than magnetic storage
- Smaller SSD devices available, e.g. SD cards and USBs
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:
- 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