Components of a Computer Flashcards
Computer:
an electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program
Some typical inputs in a Supermarket:
Barcode Scanner Touch Screen Chip and Pin Device Magnetic Strip Reader Keypad Keyboard Scales Portable Bracode Scanner
Some typical outputs in a Supermarket:
Monitors
Display for the Customer
Receipt Printer
Hardware
Objects that you can touch
E.g. a music CD, disks, disk drives, display screens, keyboards, printers, boards, chips etc.
Software
You cannot ‘touch’ software.
Software refers to the programs that run on a computer.
E.g. Windows, MS Word, MS Excel, Kodu, Logo etc.
What does the CPU do?
Fetch – Decode – Execute cycle
• The computer has a list of instructions in memory to carry out:
• CPU Fetches top instruction from the list
• Instructions are passed to Decoder to interpret
• Decoder passes on the instruction
• Each instruction is Executed or carried out
Processor speed 1 Hertz (Hz) = 1 Kilohertz (kHz) = 1 Megahertz (MHz) = 1 Gigahertz (GHz) =
= One cycle per second = 1 instruction carried out each second
= 1000 cycles per second
= 1,000,000 cycles per second
= 1,000,000,000 (1 Billion) cycles per second
What is memory?
Computer memory is any physical device capable of storing information temporarily, like RAM (random access memory), or permanently, like ROM (read-only memory).
RAM
- stands for random access memory
- RAM is volatile (contents lost when turned off) memory that temporarily stores the files you are working on
- large in comparison to ROM
- holds the operating system, programs and data I use by the CPU when the computer is running
ROM
- stands for read-only memory, are both present in your computer
- ROM is non-volatile (contents remain when turned off) memory that permanently stores instructions for your computer
- small piece of memory on the mega board
- contains the first instructions (bootstrap) for the computer to check if the hardware is installed correctly and to load the basic input output system
- small in comparison to RAM
- programs may be stored in ROM embedded systems
What happens when you shut down your computer?
Shutting down your computer is when all the software, programs, files, and processes are closed and the memory in the RAM is cleared. Before shutting down it is important to save all your work as your computer will not re-open anything you were previously working on before shutting down.
What happens when you start your computer?
When you switch on a computer, a small program held in ROM called the bootstrap loader is automatically executed
The program performs some self-tests, and loads the operating system into memory
Primary storage
The immediate memory the processor has access to.
- ROM
- RAM
- Cache and Registers
Secondary Storage
Programs and data that are not in use by the processor are held on secondary storage media.
- Storage of programs and data when power is turned off
- semi-permanent storage of data that can change
- backup of files
- archive data files
- hard disk
- tape
- memory stick
- optical: CD/DVD
Why is secondary storage needed?
Secondary storage is needed because the main memory in a computer system is usually either ROM which is read only and cannot be changed or the RAM which is volatile.