Fundamentals of Hardware and Software Flashcards
the major hardware components of a computer
system
Central processing unit
Control Unit
Arithmetic and Logic Unit (ALU)
Main Memory
secondary storage
Peripheral Devices
Input Devices
Output Devices
function of the Central processing unit
Central processing unit: The CPU is also called the processor. It takes raw data, follows a set of instructions (programs) and converts it into information. The CPU consists of two smaller units known as the control unit (CU) and the arithmetic and logic unit (ALU).
function of Control Unit
Control Unit: This is the main part of the CPU. It directs and coordinates all activities within the CPU. It determines the sequence in which instructions are executed.
function of the Arithmetic and Logic Unit
Arithmetic and Logic Unit (ALU): The ALU performs all the arithmetic and logic functions in a computer. The arithmetic operations include addition (+), subtraction (-), multiplication (*) and division (/).
function of input
Input Devices: Input devices are any device that is used to put data and instructions into the computer.
function of the main memory
Main Memory- Main memory is also called computer memory, immediate access storage (IMAS/IAS) or primary storage. This unit of memory is directly accessible to the CPU. It holds data and instructions that the computer is processing at the time.
function of the secondary storage
secondary storage: Secondary storage is also called auxiliary storage, backing storage or disk storage. These devices are used to store data and instructions when they are not being processed. Secondary storage is more permanent than main memory, since data and instructions are not lost when the power is turned off. It is also much cheaper than primary storage and is unlimited since you can have as much of it as you can afford.
function of the output devices
Output Devices: Output devices are any device that is used to get information out of a computer.
Function of peripheral devices
Peripheral Devices: Peripheral devices are any device controlled or monitored by the CPU. It includes both input and output devices.
The CU executes an instruction by performing the following steps:
- Fetching the instructions from memory
- Decoding the instructions
- Fetching the data required by the instructions from memory
- Sending the data and instructions to the ALU for processing
- Sending the data to memory after processing
The logic functions are comparisons, such as
- Equal to (=)
- Not equal to (≠)
- Less than (<)
- Greater than (>)
- Less than or equal to (<=)
- Greater than or equal to (>=)
- AND
- OR
- NOT
what is a memory chip
A memory chip is an integrated circuit (IC) made up of millions of transistors and capacitors.
Primary storage consists of two types of memory chips:
RAM
This chip is used to hold data and instructions (programs) temporarily while processing is taking place using that data and program. It also holds the data that results from processing – data that is waiting to be output or stored in a secondary storage device. RAM is volatile i.e.; it is temporary and changeable. If the power is turned off or the computer is rebooted (started up again) all the information held in RAM will be lost.
ROM
This chip holds data and instructions necessary for starting up the computer when it is switched on. It is used to store system-level programs such as the BIOS (Basic Input Output System) program.
variations of ROM
Programmable ROM (PROM)
This type of ROM can be programmed only once using special equipment. It is useful for companies that want to make their own ROMs from software they write themselves. If they change their code, they can create new PROMs without requiring a ROM manufacturer.
Erasable programmable ROM (EPROM)
This type of ROM can be erased and reprogrammed, which makes it more useful than a PROM. EPROM chips are programmed in the same way as PROM chips. Data is erased from this chip by exposing it to ultraviolet light of a specific frequency for a specified period of time.
Secondary storage devices are chosen for a particular use based on their:
- Storage capacity (how much data the device can store)
- Access speed (the time needed to locate the data and transmit it to the CPU)
- Portability (ability to be easily removed and used on another system)
- Cost
- Size (necessary for storage on shelves or portability)
Magnetic tape
A magnetic tape looks like an audiocassette tape. Tapes may come in different sizes. It is used mainly to backup hard disks because it can store large amounts of data at a low cost. Accessing data on a tape is very slow since data is stored sequentially. Sequentially means that data is retrieved in the order which it was stored. As of 2008, the highest capacity tape cartridges can store 1 TB of data. A tape drive is used to read data from and write data to the tape. The tape drive may be external or built into the system unit.
All magnetic disks provide direct access to stored data. what is direct access
This means that you can go directly to specific piece of data without having to access any other either before or after the data you want.
floppy disk
This is also called a diskette. It is a removable, flexible plastic disk, coated with a magnetisable material. The disk is held in a plastic case, usually 3.5 inches by 3.5 inches in dimension. The plastic case protects the disk from dust and grease. The floppy disk is used to store and transfer small amounts of data between computers. A 3.5-inch floppy disk holds up to 1.44 MB of data.
Data and information are written to or read from the disk by a read/write head in the disk drive held in the system unit. Data is stored on both sides of a diskette on tracks and sectors.
Before data is stored on a floppy disk, it needs to be formatted.
tracks & sectors
Tracks are a set of numbered concentric rings. The tracks are also divided into wedge shaped pieces known as sectors, which are also numbered. A sector is the amount of data that can be read from or written to a disk by the computer in one read/write operation.
Formatting
Formatting means writing electronic information on the disk so that the computer can recognize the disk as a valid storage device where data can be stored.
Most floppy disks are already formatted when they are purchased. If a diskette is formatted after data has been stored to it, the information will be deleted.
hard disk
A hard disk is a thin but rigid, inflexible disk made of highly polished metal. The surface of each side of the disk (also called platters) is covered with a substance that can be magnetized. As of April 2009, the highest capacity HDDs is 2 TB.
types of disks
There are different types of disks:
moveable head, fixed head and external.
Moveable head hard disks have one read/write head per disk.
Fixed head disks have a read/write head for every track on the disk.
optional disks
Optical disks are disks that are read by laser lights. They are made from plastic. The data is stored on layers inside the plastic.
two main types of optional disks
CDs and DVDs are the two main types of optical disks
compact disk
A Compact Disc (CD) is an optical disc used to store digital data. The physical dimension of a CD is 12 cm or occasionally 8 cm in diameter. CDs can hold up to 750 MB.
3 types of compatic disks
They are three types of CDs: CD-ROM, CD-R and CD-RW.
CD-ROM (read only) uses
This type of CD is used for:
* Storing multimedia (text, graphics, sound and videos).
* Storing software packages for sale or distribution e.g., application software packages such as encyclopedias, word processors, training programs, games and graphics packages.
CD-R (recordable) uses
CD-R (recordable)
This type of CD is used for:
* Storing large volumes of data that does not need to change e.g., music CDs.
CD-RW (re-writeable) uses
CD-RW (re-writeable)
This type of CD is used for:
* Storing large volumes of data that change frequently e.g., backups copies
DVDs
“Digital Versatile Disc” commonly called “DVD” is an optical disc storage media that can be used for storing movies with high video and sound quality. DVDs look like compact discs; their physical dimensions are the same (12 cm or occasionally 8 cm in diameter). DVDs are encoded in a different format to CDs and they have a much higher density (more data is stored per unit area). Some DVDs are double sided i.e., they can hold data on both sides. DVDs can hold between 4.7 GB and 17 GB of data.
3 types of DVDs
Three types of DVDs are the DVD-ROM (read only), DVD-R (recordable) and DVD-RW (rewritable).
floppy disks
USB Flash drive
USB Flash drives are storage devices which consist of a small circuit board encased in a plastic or metal casing built with a USB interface. They are typically small, lightweight, removable and rewritable. As of November 2006, to present, memory capacities for USB Flash drives range from 32 MB up to 64 GB. Flash drives are more compact, generally faster, hold more data and may be more reliable (due to their lack of moving parts) than floppy disks.
floppy disk uses
Common uses
1. Personal data transport
The most common use of flash drives is by individuals to transport and store personal files such as documents, pictures and video.
- Computer repair
Flash drives are used to transfer recovery and antivirus software to infected PCs. - System administration
Flash drives are used by system and network administrators, who load them with configuration information and software used for system maintenance, troubleshooting, and recovery. - Application carriers
Flash drives are used to carry applications that run on the server computer without requiring installation.
flash memory cards
These come in the form of a card shaped like a stick of chewing gum, with dimensions 21.5 x 50 x 2.8 mm and storage capacities up to 64 GB. They are a special type of EEPROM that can be erased and reprogrammed in blocks instead of one byte at a time. They are used in PDAs (personal digital assistants), laptop computers, digital audio players, digital cameras, mobile phones and video game consoles.
Storage Device, Storage capacity, Advantages & Disadvantages
magnetic tape
Capacity
Up to 1 TB
Advantages
* Easy to transport and store
* Cheap
* Mostly used for backup or archives
Disadvantages
* Provides sequential access to data stored
* Limited shelf-life (2 years)
* Must be stored in a suitable environment (smoke, dust, temperature and humidity must be carefully controlled)
* Difficult to update files (cannot make changes to a record without writing over the entire tape)
Storage Device, Storage capacity, Advantages & Disadvantages
floppy disk
Capacity
1.44 MB
Advantages
* Provides direct access to data stored
* Small and very portable
* Easy to store
* Suitable for backing up small files
* Data security (e.g., you can store small files that you don’t want other computer users to see)
Disadvantages
* Small storage capacity (unsuitable for storing files containing graphics)
* Limited shelf-life (2 years)
* Slow to read/write speeds