Computer Fundamentals Module 3
Computer Fundamentals Module 3
Definition A computer is an electronic device that is used for information processing. It accepts data and instructions, stores it in its memory, process and gives the required results as output.
The word Computer is derived from the Latin word Compute that means manipulate or calculate.
Input
Processing
Memory
Output
CAPABILITIES
Input & Output Processing Huge Data Storage
CHARACTERISTICS
High Speed Accuracy Reliability Versatility Diligence Storage Capacity
TYPES
Micro Computer. Mini or Midrange Computer. Mainframe Computer. Super Computer. Micro Computer Mini Computer PCs are called as Home computers or Desktop computers.
BLOCK DIAGRAM
Memory
Primary Memory
Secondary Memory
BASIC UNITS
Input Unit. System Unit Output Unit.
Input Unit. Input unit is an external device that is connected to the CPU. It is used to feed data and instructions for solving the problem Examples: Key Board, Mouse ,Scanner etc.
System Unit. Once the data and instructions are received from the input they are stored and processed in the system unit. The system unit further consists of two sub-units. They are: Central Processing Unit. Memory Unit. Central Processing Unit It is generally called CPU. Once the data and instructions are received from the input device, they are to be processed in this unit. So, it can be considered as the heart and brain of the computer system. Further, the CPU consists at two important functional units. Control unit Arithmetic and Logic unit
Memory Unit It is a storage device. The memory unit is a device where the data and instructions fed by the used are stored. Primary memory Secondary memory Cache Memory
Primary Memory
The place where the data and instructions are stored. Temporary memory. Semiconductor memory.
Read Only Memory - ROM Random Access Memory - RAM
Secondary Memory Permanent memory. Stores large amount of information for a long time. Backup memory or an auxiliary memory. Examples : FDD, HDD & CDROM Cache Memory High-speed memory and placed between the CPU and the main memory. The data and instructions stored in it are accessed at a higher speed. User cannot access this memory. Its stores data and instructions that are currently to be executed.
MAIN MEMORY All instructions and data to be executed are stored temporarily Access time is 80 ns More capacity Less costlier
CACHE MEMORY Only goes instructions and data that are immediately executed are stored here. Access time is 15 - 25 ns Less capacity More costlier
Output Unit. It is used to display the results obtained after execution of a program. Whenever the user wants output from the computer, The most commonly used display unit in the monitor. Examples : Monitor, Printer, Plotters, Speakers etc.
LIMITATIONS
Non Intelligent. Inactive.
HARDWARE
The term hardware refers to the physical devices that you can see and touch in a computer system. Thus, the input, output, storage, control and processing devices are hardware.
Input Devices
Keyboard It is the most common input device. To enter both Alphanumerical & character Mechanical Typewriter Compatible Keyboards contain 108 Keys
Mouse It is a small hand held pointing device connected. It has a rotating ball at the bottom and has two click buttons on the top. Light Pen It is a pencil shaped device. It is used to select screen co-ordinates by detecting the light coming form illuminated points on the CRT (Cathode Ray Tube) screen. Joy Stick It is a small rod (lever or stick) mounted on a rolling ball. This rod is used to control the screen cursor. It is mainly used for playing Computer or TV games.
Scanner It is used to acquire (scan) both character and graphics required for image processing or character recognition. It scans the image of a photograph or written information and communicates it to the CPU
Microphone It is an input device, used to feed the audio input to the computer. The microphone is connected to the CPU. directly
Output Devices
Monitor It is an electronic device Which is used to monitor the work process taking place in the computer. The output which is monitored on the monitor screen is known as the soft copy.
Printers A printer is an electromechanical device which signals from the computer and acts accordingly.
Characteristics Speed Quality of output Printer memory (Buffer) Type Fonts, etc.,
Plotters A device used to produce graphical output. They are employed for plotting graphs, charts and other designs on paper. Drum Plotter
1.
5.25 Inch
2.
3.5 Inch
Hard Disk A hard disk is a group of round flat metal plates which are coated with magnetic material Data is recorded on both the surfaces of a disk The speed is generally in the range of 2400 4700 rpm Stores in Tracks & Sectors Stores in Tracks & Sectors. The disk in the hade disk is called as Platter and made up of semiconductor material Advantages Random access Data is located and accessed directly for reading and writing Reusability Data stored on these disks can be used repeatedly. Durability - They are less prone to damage Disadvantages Costlier as compared to magnetic tape Hard disks are of heavy weight as compared to magnetic tapes
CD-ROM CD-ROM stands for Compact DiskRead Only Memory. Circular plastic plate which is coated with a highly reflective material. The data is recorded on this disk by focusing a laser beam on the surface of the disk The storage capacity of CD-ROM is 700 to 900 MB.
SOFTWARE
Set of Programs is an software. Set of instructions is an program
Classification of Software
Software
Application Software
System Software
Utility Software
Application Software It is a general purpose program or a collection of programs written by the users to solve a particular problem, in his/her area of interest. For example: Payroll, Inventory system, Student Information System, Library Management System etc.
System Software
It is a collection of programs written for computer system management. These programs are developed by the manufacturer. They are supervisory programs and help in executing the users programs effectively. We can classify system software into the following three types. A) SYSTEM MANAGEMENT PROGRAMS: Programs that manage the hardware, software, network and data resources of the computer systems during the execution of the various information-processing job of users. Eg. All Operating systems like Windows 98, 2000, XP,Unix, Linux, Novel Netware etc. B) SYSTEM DEVELOPMENT PROGRAMS: Programs that help users develop information system programs and procedures and prepare user programs for computer processing. Eg. C, C++, VB, Oracle, JAVA etc.
Managing Data Resources Data Concepts Character: The most basic logical data element is the character, which consists of a single alphabetic, numeric or other symbol. Field: It consists of grouping of related characters. Ex. Name, number, object, place, event etc. Record: It represents grouping of related data fields. Thus, a record represents a collection of attributes that describe an entity.
Database: It is an integrated collection of logically related data elements.It consolidates the records previously stored in separate files into a common pool of data elements that provides data for many applications.
Types of Databases 1. Operational databases: Stores detailed data needed to support the business processes and operations of a company. Ex: Inventory database, customer database, human resource database etc. 2. Distributed databases: It involves replicating and distributing copies or parts of databases to network servers at a variety of sites. These databases can reside on network servers on the world wide web, corporate intranets, extranets or on other company networks. Done to improve database performance at end user worksites.
3. External databases: Access to a wealth of information from external databases is available for a fee from commercial online services, with or without charge from many sources on the world wide web. Provides an endless variety of hyper linked pages of multimedia documents for you to access.
4. Hypermedia databases: Stores information in a hypermedia database consisting of hyperlinked pages of multimedia (text, graphic, photographic images, video clips, audio segments etc)
ZEROETH GENERATION
Man used his fingers, ropes, beads, bones, pebbles and other objects for counting. Abacus, Pascaline, Difference & Anylitical engines Electricity was not yet invented
vacuum tubes, started in 1951 with the creation of UNIVAC (Universal Automatic Computer) a tabulating machine which won the contest for the fastest machine which could count the US 1890 census.
DISADVANTAGES:
yThey generate more heat causing
many problems in temperature regulation and climate control. yTubes were subject to frequent burn-out.
keyboards replaced the punched cards. For external storage magnetic disks were used. Sophisticated operating systems, which were capable of handling several jobs concurrently were used. More advanced high level languages like PASCAL were used. Example of computers: IBM System
ADVANTAGES:
y RELIABILITY Unlike vacuum tubes,
silicon will not break down easily. It is very seldom that you will have to replace it. y LOW COST Silicon chips are relatively cheap because of their small size and availability in the market. It also consumes less electricity.
CPU part of the computer where all processing takes place. 4004 chip was the first microprocessor introduced by Intel Corporation.
size, which led to drastic cut on the size of computer. y The input output devices were the same monitors, keyboard, printer etc. Micro computers have evolved. Magnetic disks were the primary devices used for external storage. The use of special software for maintaining large data bases became popular. y The application software for micro computer essentially became popular in this generation. y Example of computers: IBM Systems
technology to handle Artificial Intelligence. y These computers have capacity to think and reason which can be used to solve problems where human intelligence is required. y Expert Systems are examples of systems implementing y Artificial Intelligence (AI).
computers. y Faster, more powerful, tremendous data storage and processing capacity y New brands and models would come out the market almost every other month. y Many clones or imitations of the IBM have become even more powerful and a lot cheaper.
y Computers became more affordable y Computers an now be found in homes, schools, offices etc. y There has been a tremendous improvement in software
technology y Different software applications to choose from: word processing, spreadsheets, database management, games and entertainment. y Computer subjects are now being offered not just to college students but even to high school and elementary. y Computers are now used as an aid in teaching math, science etc.
Operating System
y A program that controls the execution of application
Memory error Device failure Arithmetic overflow Access forbidden memory locations
y Software errors
y y
Operating System
y Responsible for managing resources y Functions same way as ordinary computer software y It is program that is executed y Operating system relinquishes control of the processor
y Portion of operating system that is in main memory y Contains most frequently used functions y Also called the nucleus
Software that controls the sequence of events Batch jobs together Program branches back to monitor when finished
Hardware Features
y Memory protection y Do not allow the memory area containing the monitor to be altered y Timer y Prevents a job from monopolizing the system
Hardware Features
y Privileged instructions y Certain machine level instructions can only be executed by the monitor y Interrupts y Early computer models did not have this capability
Memory Protection
y User program executes in user mode y Certain instructions may not be executed y Monitor executes in system mode y Kernel mode y Privileged instructions are executed y Protected areas of memory may be accessed
Uniprogramming
y Processor must wait for I/O instruction to
Multiprogramming
y When one job needs to wait for I/O, the
Multiprogramming
Utilization Histograms
Example
Time Sharing
y Using multiprogramming to handle multiple interactive
jobs y Processors time is shared among multiple users y Multiple users simultaneously access the system through terminals
Major Achievements
y Processes y Memory Management y Information protection and security y Scheduling and resource management y System structure
Processes
y A program in execution y An instance of a program running on a computer y The entity that can be assigned to and executed on a
processor y A unit of activity characterized by a single sequential thread of execution, a current state, and an associated set of system resources
Process
y Consists of three components y An executable program y Associated data needed by the program y Execution context of the program
y
Process
Memory Management
y Process isolation y Automatic allocation and management y Support of modular programming y Protection and access control y Long-term storage
System Structure
y View the system as a series of levels y Each level performs a related subset of functions y Each level relies on the next lower level to perform more
primitive functions y This decomposes a problem into a number of more manageable subproblems
Windows Executive
y I/O manager y Cache manager y Object manager y Plug and play manager y Power manager y Security reference monitor y Virtual memory manager y Process/thread manager y Configuration manager y Local procedure call (LPC) facility
UNIX
UNIX Kernel
Generation of Languages
y First Generation Languages y Machine Language: consists of group of binary code, or
bytes that represents every thing from characters, arithmetic & logic operations to store locations in RAM & CPU y Second Generation Languages y Assembler Languages: to save programming time, the long strings of 0s & 1s that represents each command, were represent by , or assembled into, a single three or four letters instructions.
y Third Generation Languages y High Level Languages: user instructions which are called
statements translating HLL into Machine languages program called Compiler or interpreters
y Easy to learn & program than the assembler y E.g., FORTRAN FORmula TRANslator y COBOL COmmon Business Oriented Language y BASIC Beginners All purpose Symbolic Instruction Code
develop more easier connected to DBMS. Many routine procedures are programmed & can be incorporated into a program with single procedure.
y Command more in English.
Telecommunications
y Tele (Far) + Communications y Early telecommunications y smoke signals and drums y visual telegraphy (or semaphore in 1792) y Telegraph and telephone y Telegraph (1839) y Telephone (1876) y Radio and television y Telephony y Voice and Data
y Networking y Topology & architecture used to interconnect devices y Networks of communication systems
Microcontroller Networking
analog
y Analog signals: continuous electrical waves y Digital signals: individual electrical pulses (bits)
etc.
T X
Communication channel R R R X X X
Communication Systems
Communications Components
y Basic components of a communication system y Communication technologies y Communication devices y Communication channels y Communication software
A Communications Model
Communications Tasks
Transmission system utilization Interfacing Signal generation Synchronization Exchange management Error detection and correction Flow control Addressing Routing Recovery Message formatting Security Network management
videoconferencing
groupware
y y
news groups, telephony, GPS, and more Voice mail: Similar to answering machine but digitized Fax: Sending hardcopy of text or photographs between computers using fax modem Email: electronic mail sending text, files, images between different computer networks - must have email software y More than 1.3 billion people send 244 billion messages monthly! Chat rooms: Allows communications in real time when connected to the Internet Telephony: Talking to other people over the Internet (also called VoIP) y Sends digitized audio signals over the Internet y Requires Internet telephone software Groupware: Software application allowing a group of people to communicate with each other (exchange data) y Address book, appointment book, schedules, etc.
Any type of hardware capable of transmitting data, instructions, Communication Devices and information between devices
y
y Functioning as receiver, transmitter, adaptor, converter y Basic characteristics: How fast, how far, how much data!
modems, network interface cards y Dial-up modem: uses standard phone lines y Converts digital information into analog y Consists of a modulator and a demodulator y Can be external, internal, wireless y Cable modem: a modem that transmits and receives data over the cable television (CATV) network y Also called broadband modem (carrying multiple signals) y The incoming signal is split y Requires a cable modem y Network interface cards: Adaptor cards residing in the computer to transmit and receiver data over the network (NIC) y Operate with different network technologies (e.g., Ethernet)
T1 lines
y Twisted-pair cable:
y One or more twisted wires bundled together (why?) y Made of copper
y Coax-Cable:
and metal materials y Typically used for cable TV y Fiber-optics: y Strands of glass or plastic used to transmit light y Very high capacity, low noise, small size, less suitable to natural disturbances
twisted-pair wire
insulating material
glass cladding
protective coating
transmission y They are point-to-point (cant be obstructed) y Used for satellite communication
y Infrared (IR)
y Wireless transmission media that sends signals
Wireless channel capacity: 100 Mbps is how many bits per sec? Which is bigger: 10,000 Mbps, 0.01Tbps or 10Gbps?
Networks
y y y y y
Collection of computers and devices connected together Used to transfer information or files, share resources, etc. What is the largest network? Characterized based on their geographical coverage, speed, capacities Networks are categorized based on the following characteristics: y Network coverage: LAN, MAN, WAN y Network topologies: how the computers are connected together y Network technologies y Network architecture
Network coverage
y Local Area Networks:
y Used for small networks (school, home, office) y Examples and configurations:
Wireless LAN or Switched LAN y Peer-2-PEER: connecting several computers together (<10) y Client/Server: The serves shares its resources between different clients y Metropolitan Area Network y Backbone network connecting all LANs y Can cover a city or the entire country y Wide Area Network y Typically between cities and countries y Technology: y Circuit Switch, Packet Switch, Frame Relay, ATM
y
LAN - Local Area Network a group of computers connected within a building or a campus (Example of LAN may consist of computers located on a single floor or a building or it might link all the computers in a small company.
WAN - A network consisting of computers of LAN's connected across a distance WAN can cover small to large distances, using different topologies such as telephone lines, fiber optic cabling, satellite transmissions and microwave transmissions.
Network Topologies
y Configuration or physical arrangement in which devices are connected
together y BUS networks: Single central cable connected a number of devices y Easy and cheap y Popular for LANs y RING networks: a number of computers are connected on a closed loop y Covers large distances y Primarily used for LANs and WANs y STAR networks: connecting all devices to a central unit y All computers are connected to a central device called hub y All data must pass through the hub y What is the problem with this? y Susceptible to failure
Network Topologies
personal computer personal computer personal computer
personal computer
personal computer
personal computer
personal computer
Network Architecture
y Refers to how the computer or devices are designed in a network y Basic types:
y Centralized using mainframes
y Peer-2-Peer:
Each computer (peer) has equal responsibilities, capacities, sharing hardware, data, with the other computers on the peer-to-peer network y Good for small businesses and home networks y Simple and inexpensive y Client/Server: y All clients must request service from the server y The server is also called a host y Different servers perform different tasks: File server, network server, etc.
y
clien t clien t clien t
laser printer
serv er
Project Topic
Network Examples
y Interplanetary (Internet) Network
http://www.ece.gatech.edu/research/labs/bwn/deepspace/
Project Topic
Network Example:
Optical Networks y Fiber-to-the-x
y Broadband network architecture that
uses optical fiber to replace copper y Used for last mile telecommunications y Fiber Distribution Network (reaching different customers)
Project Topic
Network Example:
Telephone Networks
Network Examples
Public Telephone Network
T-Carrier
ATM
Dedicated Lines
Dail-up
DSL
ISDN
graphics y Compared to 2G and 2.5G services, 3G allows simultaneous use of speech and data services and higher data rates (up to 14.4 Mbit/s on the downlink and 5.8 Mbit/s. y 4G: y Fourth generation of cellular wireless; y providing a comprehensive and secure IP based service to users "Anytime, Anywhere" at high data rates
specifications, developed by WAP forum that lets developers using wireless mark up language[WMP] built network applications designed for handled wireless devices.
y Wire-free World: (Blue Tooth)
Is a computing, networking and telecommunications industry specification that enables mobile phones, Computers and other WIDs to talk each other using radio waves.
Wireless internet as the way of the Future connectivity. y 1. Blue tooth is a global defacto standard for wireless
Based on low cost short range radio link. Blue tooth cuts that cards that used to tie up digital devices. y 2. UMTS (Universal Mobile Telecommunication System) is also called third generation broadband, pocket based transmission of text, digitised voice, video and multimedia. y 3. GPRS (General Pocket Radio Services) is packet based wireless communication service that promises data transmission and continuous connection to the internet for mobile phone and computer user. y 4. i mode is wireless technology developed by Japanese Company NTT DoCoMo that enables users to access internet services via their cellular phones.
Internet
Electronic Market
1. Broker Model :
y Attractive packaging y Efficient delivery y Accurate payment handling
2. Customization model : selling of customized products to mass market 3. Contact Model : Matching prospective supplier of goods and services with buyers.