Basic Components of a Computer System What is computer? An electronic device that can accept data (input), process the input to useful information (process) according to a set of instructions, store the instructions and the results of processing (storage), and produce the information (output).
What computers can’t do yet? Complex human activities What else? Can you think of others?
Computer Components 1. Input Devices - examples: keyboard and the mouse - data entered on the keyboard and temporarily stored in the computer’s memory and displayed on the monitor 2. System Unit - contains the electronic circuits that cause the processing of data to occur - consists of central processing unit, memory, (RAM and ROM) and other electronic components - CPU has a control unit and arithmetic/logic unit - RAM temporarily stores data and program instructions when they are processed
CPU – cont. - CPU consists of two main units :- 1. Arithmetic Logic Unit (ALU) - arithmetic operations e.g. +, -, x, / - logic operations e.g. >, >=, ==, <, <= 2. Control unit - fetches instructions from memory - decode/translate instructions - executes the processing tasks - stores result in memory Four Tasks
Memory - also known as primary storage, primary memory, main storage, internal storage, and main memory - Consists of RAM and ROM 1. RAM (Random Access Memory) - volatile; means the data exists only when power is ON - two types of RAM, dynamic and static 2. ROM (Read Only Memory) - non-volatile; means data permanently stored in and cannot be changed CPU – cont.
Input and Output Devices – cont. the use of special equipment to collect data at the source and send it directly to the computer. Source data automation MICR Images OCR Bar code Hand Written Input devices– cont.
Input and Output Devices – cont. 2. Output devices - most common devices are monitor displays and printers - Two types of display; flat panel display and CRT display (Cathode Ray Tube) - Two categories of printers; impact and non-impact printers
Displays 1. Flat Panel - commonly used in laptop, notebook - examples of flat panel; LCD, Gas Plasma 2. CRT - produce best images for computers - two types of display; monochrome and color - monochrome; displays one color (green or amber) - color; four types: Input and Output Devices – cont.
Displays – cont. Input and Output Devices – cont. Standard Graphic Add-on-Boards Resolution (by pixels) CGA (Color Graphic Adapter) 640 x 200 EGA (Enhanced Graphic Adapter) 640 x 350 VGA (Video Graphic Array) 640 x 480 SVGA (Super Video Graphic Array) 1024 x 768
2. Service programs - provides services to the user/programmer - services include language-translator programs and utility programs - language-translator program converts instructions from English-like language to machine-language to be executed by the computer - utility program performs loading, saving, copying, keeping track of files stored on a disk, preparing a formatted disk Operating System and Its Function – cont.
Language Translator Utility Program Other Services Data Mgmt. Job Mgmt. Resource Allocation Supervisor Control Prog. Service Prog Operating System and Its Function – cont.
- instructions resemble human language and mathematical notation - no detail knowledge of computer hardware and internal operation of a computer - easier to learn because of the English-like language rather than understanding machine codes and instructions - E.g. FORTRAN, COBOL, BASIC, Pascal, C/C++ Low and High Level Languages – cont. High Level Language
Assembler, Compiler and Interpreter Assembly Language Assembler Machine Language Compiler/Interpreter High-Level Language Machine Language (Source code) (Object code)
Importance of Backup – cont. Data is exposed to several threats. Software Hardware Human Environment Power Supply Causes of data loss
Importance of Backup – cont. Uninterruptible Power Supply (UPS) How does UPS works? - it is connected in series with the computer system - when power is interrupted, this result the UPS to function as a backup supply of power to the computer system - depends on the type of UPS, it will operate in 20 minutes or more - it is advisable to backup important data within the time limit to prevent any lost of data
Components of UPS - one rectifier (charger) to convert AC to DC and to fully charge the battery - one battery to supply DC power to the inverter and the supported time are based on the number and size of batteries - one inverter to convert DC to AC - one static bypass switch to control the load from/to the power source to/from the battery and allows certain load to transfer tolerances needed by the computer and its peripherals Importance of Backup – cont.
The Computer Virus Crisis The elements of a computer virus : 1. A set of instructions - a program being made to disrupt or interfere other programs 2. Deliberately created - purposely created by humans or by itself 3. Actively propagates - reproducing itself 4. Infects other programs - contaminate or polluting different types of programs 5. Able to do harm - can cause damage to others 6. Able to evolve - developing, growing and changing in programs or systems
The Computer Virus Crisis – cont. What are the damages of the virus to a computer system : 1. Creates garbage in your computer system that takes up space in the memory and into your diskettes 2. Messing up files in their normal standard and altering some of the files 3. Messing up the FAT (File Allocation Table) which contains information of where are the other data's stored on your disk 4. Messing up the boot sector that can restrict your computer from being able to execute at all
The Computer Virus Crisis– cont. Types of anti-virus software The Computer Virus Industry Association (CVIA) in the USA has developed three basic categories of anti-virus software. To prevent initial infection To detect infection To identify and remove viruses Class I Software Class III Software Class II Software
Local Area Network (LAN) - Relatively small refers to the transmission media and computer hardware - The area is not exceeding 10 KM - It only uses one type of transmission medium - It share resources within building or campus COMPUTER NETWORKING –cont.
Metropolitan Area Network (MAN) - The network is larger compared to LAN - The area covers a city of 10 to 100KM - It requires efficient hardware and transmission media to cover these areas COMPUTER NETWORKING –cont.
Wide Area Network (WAN) - The network is larger than MAN and LAN - It interconnect LAN of opposite sides of country or around the world - It covers huge geographical area in the world COMPUTER NETWORKING –cont.
Local Area Network Local Area Network Router Multiplexer Multiplexer Modem Modem Front end Processor Host Computer
LAN COMPONENTS Every LAN is made up of a standard set of components: Network Cable Server Workstation NIC I/Connecting Device NOS
LAN PROTOCOLS Protocol : A set of rules to access the network to send data. Two common LAN protocols Token Ring Ethernet
TRANSMISSION MEDIA Transmission Media : The physical medium used for transmission. Types of TM Coaxial Cable Twisted Pair Cable Fiber Optic Cable Satellite Transmission Microwave Transmission