Introduction To Computers
Introduction To Computers
To Computers
1. Introduction
1.1 Definition
A computer is an electronic device that:
• Accepts data and instructions (INPUT)
• Processes the data according to the instructions (PROCESS)
• Stores the data and the results of processing (information)
(STORAGE)
• Displays the information (OUTPUT)
1.2 Application Areas of Computers
• Computers are applied in almost all areas, including:
• Business – E.g. payroll calculations, sales analysis, financial forecasting, managing
employees database, etc.)
• Banking – E.g. likeonline accounting facility, ATM machines, etc)
• Insurance - to maintain a database of all clients with information showing
procedure to continue with policies, starting date of the policies, next due
installment of a policy, maturity date, interests due, survival benefits, bonus, etc.
• Education – E.g. Computer Based Education, which involves control, delivery, and
evaluation of learning; assisting in searching information.
• Marketing – E.g. advertising, home shopping, etc.
• Health Care – E.g. diagnostic system, patient-monitoring system, pharma
information system, surgery, etc.
Application Areas of Computers
(Cont’d)
• Engineering Design – Examples include:
• Structural Engineering - stress and strain analysis for design of ships, buildings,
bridges, airplanes, etc.
• Industrial Engineering - design, implementation and improvement of integrated
systems of people, materials and equipments.
• Architectural Engineering - planning towns, designing buildings, determining a range
of buildings on a site using both 2D and 3D drawings.
• Military – e.g. missile control, military communication, military operation
and planning, smart weapons, etc.
• Communication – E.g. E-mail, Chatting, FTP, Telnet, Video-conferencing, etc.
• Government - E.g. Budgets, Sales tax, Income tax, Male/Female ratio,
Computerization of voters lists, Computerization of driving licensing system,
Computerization of PAN card, Weather forecasting, etc.
1.4 Definition of ICT
• ICT – Information and Communication Technology
• It is a merger of two technologies:
• Information Technology – storage and processing of data using
computers.
• Communication Technology – high speed transmission of data
(messages).
• ICT also refers to the merger of audio-visual and
telephone networks with computer networks through
a single cabling or link.
1.4 Characteristics of computers
A computers has the following characteristics:
• It is automatic
• It is extremely fast
• It is highly accurate
• It is diligent
• It is highly versatile
• It has high power of remembering
• It has no IQ
• It has no feeling
1.5 Types of Computers
Computers are classified based on different criteria:
• Based on their purposes:
• General-purpose – used for a variety of tasks
• E.g. the PCs in wide use in our labs and Internet cafés
• Special-purpose – perform specific tasks.
• E.g a computer that guides a missile
Types of Computers (cont’d)
• Based on the data they handle:
• Analog computers process analog data.
• By analog, we mean continuously varying quantity.
• Digital computers process digital data.
• Digital data assume one of two values, 1 (high) or 0 (low).
• Hybrid computers exhibit features of analog and digital
computers.
Types of Computers (cont’d)
Based on the size or function
• Super computers
• Most powerful and expensive
• Used for problems requiring complex operations (e.g.
tracking spaceship, weather)
• Mainframe computers
• Capable of great processing speeds and data storage
• Not as powerful as supercomputers
• Housed in special rooms with special power and
environmental control.
• They are used as e-commerce servers handling
transactions over the Internet
Types of Computers (cont’d)
• Minicomputers
• Known as midrange computers
• Medium-size companies
• Used by departments of large companies
• Microcomputers
• Least powerful
• Widely used
• Four types
• Desktop
• Notebook or laptop
• Tablet PC
• Handheld
2.1 Number System
Two Types:
• Non-positional
• Numbers represented by special symbols.
• No value given to position.
• Can’t perform arithmetic operations.
• E.g. Roman number system, Geez number system.
2.2Number System (Cont’d)
• Positional
• Few symbols define single digit numbers.
• The value of a number is defined by both the symbol and its position.
• They have a base or radix, which defines the number of digits used.
• Radix 2 (binary) – 2 symbols (0 and 1)
• Radix 8 (octal) - 8 symbols (0,1,2,3,4,5,6,7)
• Radix ten (decimal)– 10 symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
• Radix 16 (hexadecimal) – 16 symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F)
2.3Number system conversion
Any number can be converted from one system to another:
• To convert from decimal to binary conversion
• Divide the number by 2 and record the remainder.
• Divide the quotient by 2 and record the remainder.
• Keep on dividing the quotient by 2, and each time record the remainder until
you get 1 as a quotient.
• The binary number becomes the last quotient (1) followed by the remainders
in reverse order (last remainder written first)
Number system conversion (cont’d)
• E.g. Convert 36 decimal into binary.
Q R
2 36
2 18 0
2 9 0
2 4 1
2 2 0
1 0
Floppy Disk
Drive
Mouse
Keyboard
Computer Hardware (Cont’d)
• System unit houses the major components of the computer.
Computer Hardware (Cont’d)
Computer Hardware (Cont’d)
CPU
(Central Processing Unit)
Motherboard
Computer Hardware (Cont’d)
SIMM
(Single Inline Memory Module)
Power Supply
HDD
(Hard Disk Drive)
Computer Hardware (Cont’d)
• Power supply converts mains AC to low-voltage regulated DC power for
the internal components of a computer.
• Expansion cards – small circuit boards used to add a new ability to a
computer.
• E.g. video cards, modems, network cards, sound cards, etc.
• Expansion slots – a socket on the motherboard where expansion cards can
be plugged into.
• There exist different types of slots & cards; an expansion card fits into
similar type of slot.
Computer Hardware (Cont’d)
Types of Expansion Slots
Types of Expansion Slots
• PCI (Peripheral Component Interconnect)
• most commonly found and used bus in PCs during the late 1990's and early
2000's
• allows devices to be inserted quickly and easily (PnP).
• AGP (Accelerated Graphics Port)
• specifically designed to deal with graphics adapters
• Older PCs used AGP; newer ones use PCI express.
Types of Expansion Slots (Cont’d)
• Input Unit – consists of such devices that are used to enter data and
instructions into the computer.
• Examples include, keyboard, mouse, joystick, light pen, track ball, scanner,
graphic tablet, optical character reader, bar code reader, etc.
• Keyboard
• The standard input device.
• Looks like the traditional typewriter, with some additional keys for performing
additional functions.
• Of two sizes 84 keys or 101/102 keys, but now keyboards with 104 keys or 108
keys are also available.
Input Unit (Cont’d)
• The keys in a keyboard consist of:
Keys Description
Typing Keys Include the letter keys (A-Z) and digit keys (0-9) which generally give same layout as
that of typewriters.
Numeric Found at the right side of the keyboard and are used for entering numbers and
keypad moving the pointer.
Function keys Twelve function keys, F1 – F12, at the first row of the keyboard; they may be
programmed to perform different tasks.
Modifier keys include keys like Alt, Ctrl , Shift, Caps Lock, Num Lock, Space bar, Tab, and Print
Screen.
Cursor Found between the alphanumeric keys and numeric keypad, they are used to move
Movement the cursor.
Keys
Input Unit (Cont’d)
• The mouse
• Most popular pointing device.
• Used to control the position of cursor on screen.
• A ball at its base senses the movement of mouse and
sends corresponding signals to CPU when the mouse
buttons are pressed.
• It has two buttons called left and right button and a
wheel is present between the buttons.
• Faster than the keyboard to move the cursor
Input Unit (Cont’d)
• Joystick
• a pointing device used to move cursor position on a monitor
screen.
• mainly used in Computer Aided Designing (CAD) and playing
computer games.
• Light Pen
• a pointing device similar to a pen.
• used to select a displayed menu item or draw pictures on the
monitor screen.
Input Unit (Cont’d)
• Track ball
• mostly used in notebook or laptop computer, instead of a
mouse.
• pointer can be moved by moving fingers on the ball.
• Touch pad
• found in most portable computers.
• operated by using your finger and dragging it across a flat
surface
Input Unit (Cont’d)
• Scanner
• works more like a photocopy machine.
• captures images from the source which are then converted into
the digital form.
• Digitizer
• also known as Tablet or Graphics Tablet, it converts analog
information into digital form.
• E.g. a signal from the television or camera.
Input Unit (Cont’d)
• Microphone
• to input sound that is then stored in digital form.
• Optical Character Reader (OCR)
• used to read a printed text, convert it into a
machine readable code and stores the text on the
system memory.
• Bar code reader
• scans a bar code image, converts it into an
alphanumeric value which is then fed to the
computer.
Output Unit
• Output devices – peripheral devices through which processed
data is made available for humans.
• Convert machine readable information into human readable
form.
• Output from such devices takes one of two forms:
• Softcopy
• E.g. monitor display, audio output, projector display
• Hardcopy
• E.g. printed material using printers, plotters or microfilms
Output Unit (Cont’d)
• Monitor
• Also called visual display unit VDU), it displays the information
produced by the video card.
• Based on the color they produce, they can be categorized into
three types.
• Monochrome - one color text/image on single color background, i.e.
white on blue, or green on black.
• Grayscale – shades of gray on a white background.
• Color – can display different colors, from 16 to more than 16 million
colors.
Output Unit (Cont’d)
• Removable media
• Write-protect window 3 ½”, 1.44MB Diskette
System development
System management
Application Software
System Software
Hardware
5. Computer Care and Safety
Connectors
Transmission Media (cont’d)
Summary for guided media
Specification Cable Type Maximum length
10BaseT Unshielded Twisted Pair 100 meters
100 meters
100BaseT Unshielded Twisted Pair
10Base2 Thin Coaxial 185 meters
10Base5 Thick Coaxial 500 meters
10BaseF Fiber Optic 2000 meters
Transmission Media (cont’d)
• Unguided media are used where guided media cannot be used.
• They may use:
• Infra-red
• For short distances, with no obstacle
• Radio wave
• For medium distances, say 100m
• Micro wave
• For longer distances
• Terrestrial or satellite communication
Networking Devices
• Networking devices inter-connect end devices.
• They include:
– Network Interface Card (NIC)
• Inserted into the computer expansion slot.
• provides physical, electrical, and electronic connections to the
network media.
– Repeater
• extend the maximum reach of a network.
• receive signals on one port, amplify them, and repeat them out
on the other port
– Hub
• Multiport repeater
• Central device in a star topology network
Networking Devices
• Bridge
• separates a single network into two
segments.
• improve network performance
• Switch
• high-performance, multi-interface bridges.
• filter transmission of data into unintended
segments.
• Router
• connects multiple networks into an
internetwork.
• can decide how best to get network data to
its destination.
Computer Network
• A computer network is a connection of two or more
computers to share information and resources.
• Based on the area they cover, networks may be classified
as:
• Local Area Network (LAN) – a single room, building or
campus.
• Metropolitan Area Network (MAN) – spans a city.
• Wide Area Network (WAN) – spans more than one city.
Computer Networks (cont’d)
• WANs differ from LANs in the following ways:
• WANs cover greater distance.
• WAN speeds are slower.
• WAN connections can be on demand or permanent; LAN
connections are permanent.
• Media used by WANs are typically public while those used by LANs
are private.
Computer Networks (cont’d)
• Based on security and access, networks are classified into peer-to-peer
and client/server networks .
• Peer-to-peer networks
• All computers are equal
• No dedicated client or server
• Security is not centralized
• Network is not scalable; good only for <= 10 computers
• No specialized network operating system is required.
Computer Networks (cont’d)
• Client/Server Networks
• Dedicated servers to provide services/resources
• Security is centralized
• Network is scalable; can have hundred of computers
• Specialized network operating system is required.
Computer Networks (cont’d)
• Advantages of networks include:
• Speed – info. Can be transported at high speed.
• Cost – software can be shared.
• Security – centrally-stored software are more secure.
• Centralized software management is possible.
• Resources can be shared.
• Communication is enhanced.
• Workgroup computing is possible.
Computer Networks (cont’d)
• Disadvantages of networks include:
• Installation cost could be high.
• Requires administrative expertise and tme.
• In the event that central devices like server fail, the entire system fails.
• Cables may break.
Computer Networks (cont’d)
• Network Topology - the physical configuration of computers, cables and
network devices.
• Common configurations include the bus, star ring and mesh topologies.
• Bus topology
• all computers are connected to a single cable.
• cable is terminated at its ends to avoid signal bouncing.
• Data on the cable is seen by all computers, but only that to which it is addressed will pick it
and respond to.
Computer Networks (cont’d)
• Advantages of a Bus Topology
• Easy to connect a computer or peripheral.
• Requires less cable.
• Disadvantages of a Bus Topology
• Entire network shuts down if there is a break in the main cable.
• Difficult to identify the problem if the entire network shuts down.
• Network can slow down in heavy traffic.
Computer Networks (cont’d)
• Star Topology
• Each computer is connected to a central device (hub) by a separate cable.
• All data are transmitted through the central device.
– Advantages
• Easy to install and wire.
• No disruptions to the network when connecting or removing devices.
• Easy to detect faults and to remove parts.
• Failure of one computer does not affect the rest of the network
– Disadvantages
• Requires more cable length than a linear topology.
• If the hub or concentrator fails, nodes attached are disabled.
• More expensive than linear bus topologies because of the cost of the concentrators.
Computer Networks (cont’d)
• Ring Topology
• Computers are connected to form a ring.
• Data moves down a one-way path from one computer and if the next computer is the
recipient it accepts the data; otherwise it amplifies it and sends it to the next computer
down the path.
• Any break disrupts the entire network.
• Advantages of a Ring Topology
• System provides equal access for all computers.
• Performance is even despite many users.
• Disadvantages of a Ring Topology
• Failure of one computer can impact the rest of the network.
• Problems are hard to isolate.
• Network reconfiguration disrupts operation.
Computer Networks (cont’d)
• Mesh Topology
• Each computer is directly connected to every other computer.
• It uses several cabling. For n computers,
½ n(n-1) cables are required.
• Mesh topology is rarely used, and then only in a WAN environment.
• Advantages of a Mesh Topology
• System provides increased redundancy and reliability as well as ease of troubleshooting.
• Disadvantages of a Mesh Topology
• System is expensive to install because it uses a lot of cabling.
Computer Networks (cont’d)
• Considerations When Choosing a Topology:
• Money
• A linear bus topology is the least expensive to install a network.
• Length of cable needed
• The linear bus network uses shorter lengths of cable.
• Future growth
• With a star topology, expanding a network is easily done by adding another concentrator.
• Cable type
• The most common cable is the UTP, which is most often used with star topologies.
Computer Networks (cont’d)
• Media Access – shared media requires that some rules be in place for
devices to effectively use the media.
• Carrier Sense Multiple Access with Collision Detection (CSMA/CD)
• Used in Ethernet networks.
• Computers can send data only when the media is idle, can detect collision and back off in that
event.
• Token Passing
• Used in ring topology.
• A special frame called frame circulates in the ring; when it passes through a computer that wants
to send data, it will be held by that computer until it is over with sending its data. When the
computer finishes sending its data, it releases the token which then again circulates.
7. The Internet
• Global Interconnection of networks and computers
• No owner of Internet; only standards bodies
• Internet access is through ISP (Internet Service Provider)
• Internet access technologies include:
• Non-permanent (dial-up) connection
• Uses MODEM and telephone lines
• Permanent – connection, which includes:
• DSL (digital subscriber line – using telephone lines)
• Coaxial cable
• Fiber-optic
• Wireless
The Internet (cont’d)
• To establish dial-up connection, you need:
• An account with an ISP
• A telephone connection
• Modem (MOdulator/DEModulator)
• Communication software (e.g. Internet browsers such as Internet Explorer and
Mozilla Firefox)
• Advantages of dial-up connection:
• Is not costly to connect
• It flexible
• Small monthly payment
• Disadvantage
• Low speed and connection set-up time
The Internet (cont’d)
• Advantages of the permanent connection
• Faster speed
• Fixed monthly payment
• Disadvantages of the permanent connection
• Higher cost than dial-up
• Not flexible, except for the wireless
Internet Protocols
• Protocol – set of rules that govern the communication between
computers in a network.
• In the Internet, there exist a set of protocols organized in a layered
architecture.
• The set of protocols is called “Protocol suite”.
• The Protocol Suite in the Internet is TCP/IP (Transport Control
Protocol/Internet Protocol)
Internet Applications
• Some of the applications running on the Internet include:
• The World Wide Web (WWW)
• Electronic Mail (e-Mail)
• File Transfer Protocol (FTP)
• Telnet
• Chat and Instant Messaging
• Internet Telephony
• Video Conferencing
• Etc.
Internet Applications (cont’d)
• The World Wide Web (WWW)
• A vast collection of documents stored Web Servers
• Web pages contain
• Different types of documents: text, image, audio, video
• Links to other web pages
• Hypertext Mark-up language (HTML) is used to design a web document
• It uses the HTTP (Hyper-Text Transfer Protocol)
• The web is interactive – you can fill up forms on-line, run applications, select options
Internet Applications (cont’d)
• Web browser – program than runs on the computer
requesting for web content (e.g. Internet Explorer) or the
computer itself.
• Web server – program that runs on the computer that hosts
the web page (e.g. IIS or Apache) or the computer itself.
• URL (Uniform Resource Locater) – shows the exact location
of a web content/resource.
http://www.webopedia.com/TERM/U/URL.html