Set 4 Flashcards
Checked by Matt. Covers everything between SA3 and CAP1 on the BPCompSci topic list (74 cards)
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
Describe the operation of a barcode reader:
- A laser is directed at the bar code
- A prism moves the light beam across the bar code
- Some of the light is reflected back
- The black and white bands reflect different amounts of light
- The light sensor measures the amount of reflected light
- The light reflected is converted into an electrical signal
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
Describe the 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
- Image processing software analyses image
Describe the operation of a laser printer:
- A bitmap of the image is built in memory from the page description.
- A negative charge is applied to the photosensitive drum.
- A laser beam is directed at the drum.
- A mirror is used to direct the laser beam.
- Where the laser strikes the drum, the charge is neutralised.
- A negative charge is applied to the toner.
- The toner sticks to drum based on the charge
- Some paper is passed over the drum and the toner transfers to it.
- The positively charged transfer roller assists the transfer of toner from the drum to the paper.
- The heater fuses the toner onto the paper.
- For colour printing, four different colour toners / 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
Describe the operation of RFID
- RFID tag contains transmission circuitry and antenna
- Memory on tag stores data
- RFID reader transmits signal
- Signal activates RFID tag
- RFID tag transmits by radio wave
- RFID reader converts radio wave 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
Why is 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 an 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 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 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
- Data is stored in floating gate transistors
- electrons are trapped between oxide layers
- Presence of trapped electrons / charge or absence indicates 0 / 1
- NAND flash memory is used
- Data is organised into pages / blocks
- A whole block of data must be written to
- A block must be erased before it can be overwritten
- Controller manages the organisation
Give 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 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 kind of storage do optical drives use?
Optical storage (e.g. CD, DVD, BluRay)