Chapter 1: How do Computers Work? Flashcards
Computer
Device that receive, process data according to a set of instructions and produce the processed data as a result
Computer architecture
How the computer is designed and built to function, how parts of computer are designed, organised and connected
Data
Information used in a computer program
Bit
Binary digit which can take on the value of either 0 or 1
Byte
Binary number made up of eight bits
Size of different types of bytes
Name of unit Size in bytes kilobyte (kB) 1000 kibibyte (KiB) 1024 megabyte (MB) 1000^2 = 1 000 000 mebibyte (MiB) 1024^2 = 1 048 576 gigabyte (GB) 1000^3 = 1 000 000 000 gibibyte (GiB) 1024^3 = 1 073 741 824 terabyte (TB) 1000^4 = 1 000 000 000 000 tebibyte (TiB) 1024^4 = 1 099 511 627 776
Central processing unit (CPU)
Part of the computer that processes data and follows instructions
Arithmetic logic unit (ALU)
Part of the processor that processes data by performing basic mathematical and logical operations
Control unit
Part of the processor that follows instructions and decides where the data should be stored, received and transmitted by different parts of the computer.
Execute
To follow or perform an instruction
E.g. processor executes an instruction
Software
Set of instructions to perform specific tasks on a computer
Address
Number that is used to locate a byte in memory
Memory
Device that is used to store data for immediate use in a computer
Processor registers (PR)
Part of the processor; they are fast but small data storage spaces that are used directly by the ALU and control unit.
Number and size of PRs cannot be changed without changing the processor
Random access memory (RAM)
Where data and instructions are stored temporarily so that they can be quickly accessed by the processor when needed
E.g. When an application is started, its instruction may be loaded into RAM
RAM can be easily changed and is also volatile, which means that it is lost once the power supply to the computer is interrupted.