1. Hardware and Communication Flashcards
What are the types of secondary storage?
- magnetic
- solid state/flash
- optical
What factors should be considered when choosing a secondary storage device?
- capacity: amount of data that can be stored
- speed: how quickly data can be accessed
- portability: how easy the device is to physically move
- durability: how much damage a device can withstand
- reliability: how long a device will last
How do hard drives work?
Data is stored on a platter. Data is read and written using an arm that has a read/write head at the end. As the disk spins, the arm travels across the disk. Each sector of the platter can store data, and the combination of the platter spinning and the arm moving means every sector can be reached.
How does optical storage work?
Lasers are used to store data by burning microscopic indentations into discs. These indentations create pits and lands which are used to store binary data. A separate laser is used to read data by being aimed at the disk and reading back the reflections.
What is a protocol?
A protocol is a set of rules or formal description of the format of a digital transmission
List some common protocols
HTTP, FTP, SMTP, TCP/IP, IMAP, DHCP, UDP, Wi-Fi, Bluetooth, WAP, WPA, WEP
What is HTTP?
Hypertext Transfer Protocol
- fundamental protocol of the world wide web
- allows browsers to display and format web pages as the author intended
- HTTPS is the same but with encryption and authentication
- a stateless protocol, meaning that each request is independent, making interactive websites more difficult to program
What is FTP?
File Transmission Protocol
- used for transferring large files over a network
- in built error checking for lost packets
- data packets that arrive in a random order can be reassembled
- not good for streaming services as it is more important to continuously receive new data packets rather than lose time by retransmitting lost packets
What is SMTP?
Simple Mail Transfer Protocol
- allows emails to be sent over a network
- transfers outgoing emails to servers and from servers to clients
What is TCP/IP?
Transmission Control Protocol / Internet Protocol
- specifies how data is routed and transported around a network
- TCP provides error free transmission between networked computers
- IP routes data packets across a WAN
What is IMAP?
Internet Message Access Protocol
- allows emails to be transferred between computer systems via the internet
- emails are kept on the mail server rather than individual devices
What is DHCP?
Dynamic Host Protocol
- assigns unique dynamic IP addresses to devices on a network
- allows addresses no longer in use to be returned to the pool of available addresses
What is UDP?
User Datagram Protocol
- alternative to TCP but has no error checking or data recovery
- used to send short messages using datagrams
- speed is prioritised over accuracy
What are some examples of wireless communication protocols?
- Wi-Fi: allows devices to communicate over a wireless signal
- Bluetooth: used to exchange data over short distances
- WAP (wireless application protocol): allows mobile devices to access the internet and intranet but is not widely used anymore
- WPA (Wi-Fi protected access): developed to fix flaws in WEP by encrypting data on Wi-Fi networks
- WEP (wired equivalent privacy): a security protocol for wireless networks but is now obsolete
What does the control unit do?
- coordinates activities of all the components of a CPU
- directs flow of data and instructions within the CPU
- generates clock ticks
- handles the FDE cycle
What does the arithmetic logic unit do?
Performs mathematical and logical operations with data within the CPU
What are the important registers?
MAR, MDR, ACC, PC, CIR
What does the memory address register do?
Holds the address of data/instructions to be fetched from or written to the CPU and sends it to memory down the address bus
What does the memory data register do?
Stores data/instructions to be fetched from or written to RAM. All data to and from RAM must pass through the MDR
What does the program counter do?
Indicates where a computer is in its program sequence and holds the address of the next instruction to be executed
What does the current instruction register do?
Holds the current instruction being executed or decoded. Instructions from the MDR are copied to the CIR
What does the accumulator do?
Stores data or control information and can temporarily store data from the ALU