- What is the difference between RAM and ROM?
- RAM can be read from and written to. It is volatile, so it is temporary, and it stores the currently running software, data and part of the Operating System. ROM can only be read. It is non-volatile, so it is permanent, and it stores the start-up (boot-up) instructions or the firmware of an embedded system.
- What is the difference between SRAM and DRAM?
- SRAM uses transistors arranged as flip-flops or latches and does not need refreshing. It has a faster access time and lower capacity per chip, so it is used for CPU cache. DRAM uses transistors and capacitors and requires constant refreshing. It has a lower cost per unit and a higher bit density, so more data can be stored per chip.
- What is an embedded system?
- An embedded system is a combination of hardware and software designed for a specific function. It is integrated into a larger system and must contain a processor, memory and input / output. It is dedicated to one task, needs little processing power and is not easily changed by the owner of the device.
- How do magnetic, solid state and optical storage store and read data?
- A magnetic hard disk has platters that rotate on a spindle, and a read/write head moves across the surface. Changes in the magnetic field produce a change in the electric current when reading. An optical disc reader/writer shines a laser on a spiral track: writing burns pits, and reading detects the different reflection from pits and lands. Solid state memory uses a floating gate that retains electrons without power.
- What is the difference between a monitoring system and a control system?
- A monitoring system records or transmits data. It takes no action, has no actuator and does not use feedback. A control system uses an actuator and feedback, and it acts to change the environment if values are out of a prescribed range. Its output affects the next input.
- Is a buffer the same as a print queue?
- No. A buffer is a temporary store of the data to be printed, not the instructions. A computer and a printer send and receive at different speeds, so the computer transfers the data to the buffer at its higher speed and the printer takes it from the buffer at its slower rate. When the buffer is empty, an interrupt requests more data.