Lecture 2 - Modern Computer Systems
Lecture 2 - Modern Computer Systems
Objectives
What makes up a computer system
3/2/2013
Charles Asiimwe
What is a computer?
Computer: An electronic system that can be instructed to accept, process, store, and present data and information. Computers come in three most common sizes:
3/2/2013
Charles Asiimwe
Supercomputers are the most powerful computers., and physically are some of the largest. These computers are built to process huge amounts of data. They can perform more than 1 trillion calculations per second. Because of their speed and power, supercomputers are ideal for handling large and highly complex problems that require extreme calculating power. Examples where Supercomputers can be used4 3/2/2013 Charles Asiimwe
Microcomputers: The smallest and least expensive category of general-purpose computers is called micro computers or personal computers.
They may be sub-divided into five classifications ; Desktop Computers Notebook Computers/Laptop Computers Tablet PCs Personal Digital Assistants Palm PCs
3/2/2013 Charles Asiimwe 6
Classifications of Microcomputers
Image of desktop computer with separate but connected monitor, keyboard and CPU
Palmtop is small enough to be held in one hand.
Laptop/Notebook
Computer system
Computer System: A computer and all the hardware interconnected with it. Hardware Software/Programs Data/Information People Procedures
3/2/2013
Charles Asiimwe
3/2/2013
Charles Asiimwe
Computer
Hardware
(Physical Parts)
Software
(Instructions/ Programs )
Input Devices
Mouse, Keyboard, Scanner, etc
System Software
Application Software
Storage
10
3/2/2013 Charles Asiimwe 10
A computer's hardware consists of electronic physical devices; the parts you can see and touch. The term "device" refers to any piece of hardware used by the computer, for example a keyboard, monitor, modem, mouse, etc.
3/2/2013
Charles Asiimwe
11
Examples of hardware
3/2/2013
Charles Asiimwe
12
Classifications of hardware
Hardware can be classified into four categories i.e. input devices, processors, output devices and secondary storage devices.
3/2/2013
Charles Asiimwe
13
Hardware contd..
input devices Input: The data or information entered into a computer or the process of entering data or information into the computer for processing, storage and retrieval, or transmission.
Keyboards Mouse Touch screen Digital camera Scanner Bar code reader
3/2/2013 Charles Asiimwe 14
Hardware contd..
Processor/Central Processing Unit (CPU): A set of electronic circuits that perform the computers processing actions. Output Devices Output: The results of inputting and processing data and information returned by the computer, either directly to the person using the system or to secondary storage.
3/2/2013
Charles Asiimwe
15
Hardware contd..
Secondary Storage Devices Secondary Storage (Auxiliary Storage): A storage medium that is external to the computer, but that can be read by the computer; a way of storing data and information outside the computer itself.
floppy Diskettes Flash disks External hard drives Zip disks CD-ROM disk: Short for compact disk read only memory,
an optical storage medium that permits storage of large amounts of information. CD-ROM disks canonly be writtenAsiimwe cannot be to and 3/2/2013 Charles
16
3/2/2013
Charles Asiimwe
17
Software contd..
Software are of two types; System software Application software System software System software is computer software designed to operate the computer hardware and to provide and maintain a platform for running application software. One major type of system software is the operating system (OS). All computers require an operating system.
Software contd
The OS defines the interface between the computer user and the computer. It also monitors the way the other software use the hardware. It controls and ensures that the computer operates in the way intended in a systematic, reliable and efficient manner. Common operating systems include Windows XP, Vista, Windows 7, and Unix (Linux these days) .
Software contd
Application software. Tells the computer how to accomplish tasks the user requires, such as creating a document or editing a graphic image. Some important kinds of application software are;
Word processing programs Spreadsheet software Database management Presentation programs Graphics programs Networking software Web design tools and browsers Internet applications Communications programs Utilities 3/2/2013 Charles Asiimwe Entertainment and education Multimedia authoring
20
Data contd
Computer data is usually organized into files. A file is a set of data that has been given a name. A file that the user can open and use is often called a document. Although many people think of documents as text, a computer document can include many kinds of data e.g. a text file such as a letter, a group of numbers such as a budget, a video clip which includes images and sound, or any combination of these items.
Procedure: A step-by-step process or a set of instructions for accomplishing specific results. Operations Backup and Recovery Security Development
3/2/2013
Charles Asiimwe
24
Procedures contd
3/2/2013
Charles Asiimwe
25
Procedures contd
Operations Procedure: A procedure that describes how a computer system or application is used, how often it can be used, who is authorized to use it, and where the results of processing should go. Backup Procedure: A procedure that describes how and when to make extra copies of information or software to protect against losses. Recovery Procedure: An action taken when information or software must be restored.
Procedures contd
Security Procedure: A procedure designed to safeguard data centers, communications networks, computers, and other IT components from accidental intrusion or intentional damage. Security Software: Software that is designed to protect systems and data. Development Procedure: A procedure that explains how IT professionals should describe user needs and develop applications to meet those needs.
3/2/2013
Charles Asiimwe
29
3/2/2013
Charles Asiimwe
32
Base 10 0 1 2 3 4
Base 2 0 1 10 11 100
5
6 7 8 9
101
110 111 1000 1001
Charles Asiimwe
33
Binary Representations
The representation in binary follows the same rules as decimal. 110(binary) = 1 x 22 + 1 x 21 + 0 x 20 = 6(decimal) We can convert from decimal to binary also
2 2 6 3 0
110(binary)
1
3/2/2013
Charles Asiimwe
34
Binary Representations
Binary Arithmetic
Operation using binary are the same as decimal, but with the following simple rules.
0+0 = 0 0+1 = 1
1+0 = 1
1 + 1 = 10
3/2/2013
Charles Asiimwe
35
Binary Addition
Decimal Addition
1 1 1 0 11 1 1 1 1 0 1
1+0 = 1 1 + 1 = 10
= 6
= 7 = 13
3/2/2013
Charles Asiimwe
36
Assignment
3/2/2013
Charles Asiimwe
37
For example if we are to type a word AGE a single character A will be represented asAsiimwe 3/2/2013 Charles 010000001.
38
Binary codes
Various groups of binary codes have been developed to represent the 26 alphabetical letters and the special keys in accordance with a specific standards and codes.
An early binary code system, called EBCDIC (Extended Binary Coded Decimal Interchange Code) , uses eight-bit codes, but is used primarily in older mainframe systems.
3/2/2013
Charles Asiimwe
39
Binary codes
ASCII is the most common binary-code which stands for American Standard Code for information Interchange. In ASCII, each character consists of eight bits (one byte) of data. ASCII is used in nearly all personal computers.
3/2/2013
Charles Asiimwe
40
D
E
01000011
01000101
d
e
01100100
01100101
3/2/2013
Charles Asiimwe
41
Memory measurements
A bit is a binary digit, the smallest unit measurement of data on a computer. A bit can hold only one of two values: 0 or 1, corresponding to the electrical values of off or on, respectively. Because bits are so small, you rarely work with information one bit at a time. Bits are usually assembled into a group of eight to form a byte. A byte contains enough information to store a single ASCII character, like "h".
Memory measurements
1 Kilobyte (KB) 1,024 bytes
1,073,741,824 bytes
1,099,511,627,776 bytes
1 petabyte (TB)
1,125,899,906,842,624 bytes
3/2/2013 Charles Asiimwe 43
Memory measurements
Computer storage and memory is often measured in megabytes (MB) and gigabytes (GB). A medium-sized novel contains about 1MB of information. 1MB is 1,024 kilobytes, or 1,048,576 (1024x1024) bytes.
3/2/2013
Charles Asiimwe
44