Professional Documents
Culture Documents
1.1
Technology (IT) is about computers. However, this is not true. Information Technology (IT) is about computers, communication networks, and people sharing information and knowledge (IT) has utilizing such computers and communication networks. Information Technology enabled people in different parts of the world to exchange information freely and with ease. In effect, IT makes us realize how small the world, we live in, is as it removes physical constraints such as distance between people in exchanging information. With rapid developments in IT, global communication took a giant leap. Today, Information Technology (IT) is practically utilized in diverse fields such as education, science, engineering and technology, manufacturing, banking, airline industry, health and medicine, provision of public and other services, commerce, administration and management etc. We all have become users of many of these IT applications in our day-to -day lives, no matter how sophisticated or moderate our lifestyles are. Further, more and more IT applications are introduced to human activities and with this scenario it is surmised that, in future, knowledge in IT will be an essential requirement for a person to secure any form of employment or even participate as a member of the modern day society. Information Technology (IT) has opened up a whole new range of employment opportunities as programmers, systems analysts, systems designers, software engineers, software architects, systems engineers, database administrators, network engineers, network administrators, computer hardware professionals, Website developers, multimedia professionals, IT consultants and the like. In addition, IT has created vast job opportunities in other fields such as management, accountancy, commerce, banking, publishing and media, engineering, architecture, health and medicine.
There are also emerging areas of specialization such as electronic commerce, Web services, network and data security, intelligent systems, e-government services all spurred by IT. With the availability of a wide variety of employment opportunities in the field of IT and a whole host of opportunities in the field of IT applications in other disciplines, those who are knowledgeable and proficient in IT will naturally find satisfying jobs with high remuneration both here and abroad. This is good enough reason for any student to embark on studies in IT.
Have you done shopping in a supermarket or joined your mother for shopping? Do you remember any IT applications being used there? The checkout clerk will be using a Point of Sale System to generate your bill. He doesnt have to know the price of each and every item in the supermarket. Instead he simply sc ans the little bar-code label attached to each item in your shopping cart using a small device, ie. a hand -held bar-code scanner. He is using the information system of the supermarket to get the prices of goods you are buying. The system also calculates the total amount very quickly and communicates with the inventory control system where the stock information is kept, to update the inventory.
Take the case of a bank. If your father wants to withdraw some money from a bank on a day when the bank is clos ed, he may withdraw money from the Automatic Teller Machine (ATM) at the bank or from an ATM elsewhere. People do not need to go and wait inside a bank to withdraw money but they can do it from an ATM. An Automatic Teller Machine (ATM) is one of the most popular examples where IT is applied practically in banks. Most banks in Sri Lanka have now broaden their networks covering a wide area facilitating people with easy access points to interact with banks through ATMs to handle their money.
Let us consid er a household. How many IT applications have you noticed at your home? Things like TV, telephone, refrigerator, washing machine, microwave oven and video recorder are among some of the equipment found in a house hold these days. Do you know that many of such devices are controlled by microprocessors containing electronic circuitry usually referred to as an electronic chips? That is where Information Technology is used in these household equipment. As a student, what can you do with a computer? Can a student use computers for education purposes? Imagine a situation where you could not understand a lesson that a teacher taught in the class. When you get back home you are helpless. If you have access to the computer, may be at home or at school, and if the le sson notes are available to you in a computer, you will be able to review your lessons by yourself.
Now you will understand that the world is getting used to more and more IT applications on a global scale. This is why we say that the world is globalis ed. This is not only because IT on its own proved a great success but also because IT grew to be an essential tool that facilitates and enhances activities in most other fields.
Let us take a case where a student chooses the medical profession. Being a doctor is to belong to a noble profession. It is a job that requires a great deal of knowledge about the human system. But at the same time, being competent in Information Technology will provide an additional competence to a doctor in the practice of his profession. For example, as a doctor, one might face a situation where one has to use a sophisticated medical equipment to obtain an electrocardiograph of a patient or you may use a modern Magnetic Resonance Imaging (MRI) scanner to scan the human body. If the doctor has some knowledge in Information Technology it will help him to handle these equipment confidently and effectively.
On the other hand one might prefer to become an academic, such as a lecturer or a researcher. Today academics get invaluable help from IT in the practice of their profession, be it for capturing, processing or analysis of information, presentation, transmission of information to distant audiences or conduct of IT based examinations and evaluation. Academics depend heavily on Internet, specialized application software a n d they develop their own software in the conduct of research and dissemination of knowledge. Thus it i seen that an academic cannot be divorced s from IT.
If one is planning to be an IT professional, naturally one has to acquire a high proficiency in IT, well beyond the IT knowledge required by other professionals. One popular area of IT industry is software. Software industry has become extremely popular in modern times and it has generated a large number of jobs in various categories both in the developed and the developing world. There are a variety of careers in software industry such as software engineers, software test engineers, systems analysts, software developers, software project managers, etc which are highly remunerative. To enter such fields of employment, one needs to be highly knowledgeable and proficient in IT. If a student wants to purs ue a career as a telecommunication engineer, it will not be possible for him to proceed without a strong component of IT in his studies. Today, telecommunications and IT go hand -in-hand and one discipline depends on the other for advancement. In developed countries, landlines, wireless and mobile phones are used extensively and even in Sri Lanka, over the last few years, telecom industry has shown tremendous progress and employment prospects in this industry have become pretty attractive. To secure employment in this sector, one has to be highly proficient in IT and Communication Technologies. For that matter, all engineering and science based professions require studies in IT as engineering or scientific analysis and design cannot be performed without resorting to IT. Further, accountancy, management, banking, insurance etc. rely heavily on IT especially when dealing with large client-base. The above examples clearly demonstrate the importance of IT in most areas of employment and students must prepare themselves for the challenges of these professions by acquiring the necessary IT knowledge school level. Studying IT is both challenging and interesting. The rest of this chapter provides the student, information on data, data processing, information, history of computers, microprocessor development, computer organization and architecture, storage devices, peripherals, software, data communication, computer networks, Internet and the World Wide Web. and proficiency beginning at
CLASS ACTIVITIES 1.1 1. Search through several news papers, for recent articles that discuss the use of Information technology in society and collect some articles on different IT applications available presently and categorize them. Summarize some information about Computer Assisted Learning (CAL) in schools. Develop a list of occupations that can benefit from using Information Technology. Keep this list and refer back to it at the end of the course. Then revise the list in the light of what you have learned, coming up with examples of how to apply Information Technology.
2.
Data
Figure 1.1
Processing /Conversion
Information
Data:
Data is a representation of a fact, number, word, image, or sound such as time, date, prices, name, numbers of items sold etc.
Information:
Information is processed data that is meaningful or useful to someone such as Zscore of Advanced level examination results, Salary slip of an employee, evaluation report of a student etc.
Input Input
Number 1 Number 2
Then these steps can be repeated hundreds or thousands or millions of times without making errors. If the instructions are accurate ly given to the computer, accurate results can be obtained. But humans may make mistakes when they repeat the process several times.
CLASS ACTIVITIES 1.2 1. 2. Write some notes to explain how computers can be used for data processing. Identify some other places where computers are used for data processing. Prepare a list of them and describe few data processing activities. Observe student registration activities of a school. If the information of students are going to be kept in a Student Information System (SIS), identify the following components: Inputs to the system Processes of the system Outputs of the system
3.
1.2
Introduction to Computers
1. 2. 3.
1 2
4.
As the above picture shows, a computer will typically consist of a set of devices. The most significant ones are Display, System Unit, Keyboard and Mouse. System Unit is the place where the brain of the computer exists. By itself computer has no intelligence and is referred to as hardware, which means simply the physical equipment. A computer will not be useful without making a computer system. A computer system is a combination of six elements: 1. 2. 3. 4. 5. Hardware basic electronic and electro -mechanical parts in a computer Software instruction to hardware Data and Info rmation data as input and information as processed data Procedures or instructions guidelines to use software and hardware People Those Operating the computer system
Keyboard:
In a computer, a keyboard converts letters, numbers and other characters into electrical signals that are computer readable. The keyboard may look like a typewriter keyboard to which some special keys have been added such as Insert key, Enter key, Home key, Ctrl key, Alt key, etc.
Computer Keyboard
Pointing devices:
Pointing devices use one of the most natural gestures of humans i.e. the act of pointing. Mouse, trackballs, joysticks, touch screens are some of the most frequently used pointing devices.
Mouse
Right Button
Mouse is a pointing device. A ball underneath rolls as the mouse moves across the mouse pad. The cursor on the screen follows the movement of the mouse. Buttons on the mouse can be clicked or double -clicked to perform tasks, like to select an icon on the screen or to open the selected document. There are new mouse models
Left Button
that do not have a ball. They use a laser to sense the motion of the mouse instead.
Trackballs
Trackball is a movable ball, on top of a stationary device, that is rotated with the fingers or palm of the hand. Advantages of trackball are that, it does not need as much desk space as a mouse, and it is not as tiring since less motion is needed. On the other hand it requires fine control of the ball with just one finger or thumb.
Joysticks
A joystick is a pointing device that consists of a vertical handle like a gearshift lever mounted on a base with one or two buttons. Joysticks are commonly used in video games to c o ntrol the cursor motion. A joystick gives a more natural feeling of control for motion in games, especially those in which one is mimicking flying a plane or spaceship.
10
Touch screens
Touch screen is a video display screen that receives input from the touch of a finger or stylus. Touch screens are often used in Automatic Teller Machines (ATMs) in banks.
Light Pen
The light pen is a light-sensitive stylus, or a pen like device connected to the computer. The user can bring the pen to the desired point on the screen. When pen touches the screen, it sends the information available at the location to the computer.
Scanners
Scanners computer generally and then convert text, drawings and these
photographs into digital form that c a n b e s t o r e d i n a manipulated. Sometimes scanners are called image scanners or graphics scanners. Image scanner There are special purpose scanners such as fingerprint scanners which are used to scan finger prints and bar code readers which read t h e which you see on some products. z e b r a -striped marks
Fingerprint scanner
Barcode reader
11
1.2.1.2 Processors
You might now wonder how can a computer process data into information. This job will be done by means of electronic circuitry inside a computer known as the processor. The processor in a personal comp uter (PC) is generally considered as the PC's "brain". The processor does exactly what the name implies it does, it processes instructions. It processes instructions and also manipulates data. This will be explained in detail later.
Secondary Storage
Secondary storage or memory is designed to store very large amounts of data for extended periods of time. Secondary storage can have large memory capacity of gigabytes or more, whereas only small portions of that data are placed in primary storage at any one time. Secondary storage has the following characteristics:
12
It is nonvolatile (i.e. data is not lost when electrical power is switched off). It takes much more time to retrieve data from secondary storage than it does from main memory.
Secondary storage devices appear on a variety of media, each with its own technology, as discussed below.
Magnetic tapes
Magnetic tape is thin plastic tape on which data can be represented with magnetized spots. The magnetic tape used for computers, is made from the same material used for audiotape and videotape. Magnetic t ape is kept on a large open reel or in a small cartridge or cassette. Although this is an old technology, it remains popular because it is the cheapest storage medium and can handle enormous amount of data. The downside is that it is the slowest for retrieval of data, because all the data are placed on the tape sequentially. Sequential access means that the system might have to run through a major part of the tape, before it comes to the desired piece of data.
Magnetic disks
Magnetic disks come in a varie ty of styles and are extremely popular because they allow much more rapid access to data as compared with magnetic tape. The magnetic disk is like a phonograph record in that it has tracks, and like a pizza in that it is divided into wedges that are called sectors. Every piece of data has an address attached to it corresponding to a particular track and sector. Any piece of desired data can be retrieved in a non-sequential manner, by direct access . A read -write head uses the data address to quickly locate and read the data. Unlike magnetic tape the system does not have to read through all the data to find what it wants.
Hard drives
Hard drives use stacks of rigid magnetic disks. These disks are permanently The data The mounted as a unit that may be internal or external to the computer. transferring to and from the computer is handled by the read/write heads. read/write heads are attached to arms that hover over the disks moving in and out. They read the data when positioned over the correct track and when the correct Hard Disks
13
sector spins by. Because the head floats just above the surface of the disk (at 25 millionths of a meter), any bit of dust or contamination can disrupt the device. For that reason, hard drives are hermetically sealed when manufactured. A modern personal computer may have several gigabytes of storage capacity in its internal hard drive. Data access is very fast, measured in milliseconds. For these reasons, hard disk drives are extremely popular and common.
Optical Disks
An Optical Disk is a re movable disk on which data is written and read through the use of a laser beam. Few types of optical technologies are used in computers. They are: Compact Disk Read -Only Memory (CD-ROM) Write Once Read Many Disk (WORM) Rewritab le Compact Disk CD ROMs
14
15
Monochrome display screens can display only one color text on single color background, i.e. white letters on blue, or green characters on black. In color screens various colors can be displayed. Another way of grouping them is based on their internal structure. The most common type of monitor uses a cathode ray tube (CRT). Liquid Crystal Display (LCD) screens are used in laptops. This is a good solution especially if you do not have desk space for a large CRT monitor or you need a portable computer. Plasma screens are used for very large screens and in some modern laptops. They are flat screens with good color, but are quite expensive.
Printers
The job of a printer is to put on paper what you see on your monitor. How easy and how successfully it is done depends on the choice of your printer. Selection of a printer is based on many parameters such as cost, speed, type of paper used, quality or resolution, size, type of cable connection etc. There are different types of printers. The less expensive but a noisy version is a Dot matrix printer whereas expensive ones are inkjet and laser printers. These are capable of producing high quality printouts and their biggest advantage is that they are noiseless.
16
Plotters
A plotter is a specialized output device designed to
produce high-quality graphics in a variety of colors. Plotters are especially useful for creating maps and architectural drawings, although they may also produce less complicated charts and graphics.
Speakers
Speakers output sound such as alerts, music, voice etc. Voice output is now possible via sophisticated synthesizer software that can be installed in most personal computers. A voice output system constructs the sonic equivalent of textual words, which can be played through speakers.
CLASS ACTIVITIES 1.3 1. Go to your computer resource center and note each different type of computer in use and find out what type of applications are run on each type. Identify the hardware components of a computer system in the school computer lab. Go to different computer vendors and find out the configurations of few personnel computers. Check and compare the following: Name and type of microprocessor, clock speed, size and type of memory, size and type of secondary storage, input and output devices, warranties and any other additional features.
2. 3.
17
1.2.2
History of Computers
What do you know about the history of computers ? The history of computers is unique because of the fact that it is really very recent and full of controversy. Because it is very recent, we have the ability to learn what happened firsthand from the pioneers. Human attempts to create tools to manipulate numbers date back at least as far as 3000 B.C. All the earlier efforts to juggle numbers had two things in common. They were mechanical and made up of parts big enough to be assembled by hand. To explore the history of computers we will look at the following topics: Early Computational Devices Early Computers Generations of Computers
Pascaline
18
Abacus The next major breakthrough in computer history revolves round Charles Babbage and his Difference Engine and Analytical Engine. The machines that Charles Babbage designed in the early 1800s were not electronic computers as we know them now but they were general purpose computational devices that were designed to be driven by steam engines. Charles Babbage is credited with being the "Father of Computing" due to the fact that his designs were way ahead of his time. He thus laid the foundation for the modern computer.
Charles Babbage
ENIAC These calculations required extreme precision and took quite a bit of time. One of the reasons for the development of the first computer, the Electronic Numerical Integrator and Computer (ENIAC), was to automate the calculations of bomb
19
trajectories. The inventors of the ENIAC went on to create the Universal Automatic Computer (UNIVAC), the first commercial computer. These first computers were extremely large, slow, and inefficient. Many advances have taken place between the creation of the ENIAC and now. Among the most interesting and pertinent to us in the history the is the development took place of in the the microcomputer. The major development of microcomputer 1970s. During this period we have witnessed the emergence multi-national of highly profitable including UNIVAC corporations
Microsoft, Apple, Dell, Compaq, etc. and the growth and prosperity of pioneering companies like IBM.
amplifier you know that, when they are left on for a length of time, they get very hot and like light bulbs, they burn out. In addition to vacuum generation Vacuum Tubes tubes, the firstus ed magnetic computers
The use of magnetic drums and vacuum tubes made these computers extremely large and bulky. The first generation of computers also were very expensive to operate, generated a lot of heat, used a lot of electricity, and failed often. The programming of these computers required that wires were disconnected from one place and connected to another or that one circuit was turned on and another turned off. All
20
programming during this generation was done in Machine Language - the language of the machine.
Programming
languages
evolved
from
the
machine
language using the binary 1 and 0 to something closer to the language of humans. These languages known as assemblers and early high level languages were easier to use by people but required more work by the computer. They were still a far cry from English, the language we use for communication. Companies that were purchasing computers during this time were using them mostly for accounting purposes and interacted with the computer via Transistors punched cards for input and printed paper for output. The storage capacity was greatly increased with the
introduction of magnetic disk storage and the use of magnetic cores for main storage. High speed card readers, printers, and magnetic tape units were also introduced. Internal processing speeds increased and were measured in millionths of a second (microseconds).
The smaller circuits allowed for faster internal processing speeds resulting in faster execution of instructions. Internal processing speeds were measured in billionths of a second (nanoseconds). The faster computers made it possible to run jobs that were considered impractic al or impossible on first or second generation equipment. Because the miniature components were more reliable, maintenance A third Generation Computer was reduced. New mass storage was introduced during this generation, giving a storage capacity of over 100 million characters. Drum and disk capacities and speed have been increased, the portable disk pack has been developed, and faster, higher density magnetic tapes have come into use. Considerable improvements were made to card readers and printers, while the overall cost has been greatly reduced. Manufacturers of third generation computers produced a series of similar and compatible computers. This allowed programs written for one computer model to run on most larger models of the same series. Most third generation systems were designed to handle both scientific and business data processing applications. Improved program and operating software have been designed to provide better control, resulting in faster processing. These enhancements were of significant importance to computer us ers.
22
complex. Medium sized computers can perform the same tasks as large third generation computers. An entirely new breed of computers called microcomputers and minicomputers have become smaller and less expensive, and yet they provide a large amount of computing power.
The following Table summarizes the Evolution of computers. Evolution 3000 B.C. The zeroth generation Focus Achievements Abacus Arithmetic Machine 'Difference engine' Analytical Engine Mechanized system of punched cards with holes Vacuum tubes - COLOSSUS Digital computer- ENIAC Von Neumann machine EDSAC (first stored program computer) Important People Chinese Blaise Pascal Charles Babbage Charles Babbage Herman Hollerith Jon Ambrose Fleming Eckert, Mauchley, John Atanasoff John von Neumann
Mechanical computers.
23
Achievements Silicon integrated circuits Small-scale integrated (SSI) circuits Medium-scale (MSI) integrated circuits IBM system/360 Very large scale integration (VLSI) DEC Alpha True 64 bit processor Use of parallel processing, performing multiple, simultaneous instructions using more than one microprocessing chip.
24
etched onto a chip just a few millimeters square. The transistors act like switches and can turn electricity ON and OFF or these can amplify current. Therefore, it is used in computers to store information and is used in computer memory.
Microprocessors
A microprocessor is a single chip that contains the entire Central Processing Unit of a computer. It does the bulk of the processing and controls the rest of the system. Microprocessors are not only used by computers. They are used in many devices such as TVs, telephones, motor cars, or traffic lights, etc. For example, a microprocessor lets your phone redial or determine the timing in a traffic light system.
Name 8086 80486 Pentium Pentium MMX Pentium ii Pentium iii Pentium iv Pentium iv
Manufacturer/Year Intel / 1978 Intel / 1989 -1994 Intel / 1993 Intel / 1997 Intel / 1997 Intel /1999 Intel / 2000 to date Intel / 2001 to date
Clock Speed MHz 10 20-100 75-200 166-233 133-450 450-500 500-750 1000-2500 (1- 2.5 GHz)
Applications IBM PCs and clones IBM PCs and clones IBM PCs and clones Multimedia PCs and Workstations High-end PCs and Workstations Multimedia PCs and Workstations Multimedia PCs and Workstations Multimedia PCs and Workstations
The Central Processing Unit (CPU) performs the actual processing of data. It follows the instructio ns of the program to manipulate data into info rmation. The CPU cons ists of three main parts: 1. Contro l Unit
25
2. 3.
Control Unit and ALU are connected by a kind of electronic roadway called a bus as in Figure 1.2.
CPU
Arithmetic/Logic Unit
Control Unit
B U S
Bus
Registers
Memory
Figure 1.2 Central Processing Unit
Control Unit:
The control unit controls the flow of information and instructs the computer how to carry o ut program instructions. It directs the movement of data and instructions between the main memory and the ALU. It also carrie s out the controlling of input and output devices and passing of data to the ALU for computation.
Arithmetic/Logic Unit:
Arithmetic/Logic Unit performs arithmetic operations and logical operations and controls the speed of those devices. As you know, arithmetic operations such as addition, subtraction, multiplication, and division are fundamental to all mathematical operations. Logical operations are comparisons. That is, the ALU compares two pieces of data to see whether one is equal to (=), greater than (>), or less than (<) the other.
Registers:
Registers store very small amounts of data and instructions for short periods of time. They hold various types of information such as data, instructions, memory addresses and the intermediate results of calcula tions. Essentially, they hold the data and instructions that the CPU is currently working with and they can be thought of as being the CPU's workspace. As soon as a particular instruction or piece of data is finished with, the next ones immediately replace it and information that results from
26
the processing is returned to main memory. Data and instructions do not go into either the Arithmetic/Logic Unit (ALU) or the Control Unit (CU). The ALU works on the data held in the registers acting on the instructions that are also held there.
27
Memory Capacity
It is important to know how many 0s and 1s can be stored in a computer? We need to know the memory capacity. In a binary system, each 0 or 1 is called a bit, which is short for b inary digit. To represent numbers, letters or special characters such as ! or %, bits are combined into groups. A group of 8 bits is called a byte, and a byte can represent one character, digit or other value. For an example, 0100 0001 represents the letter A. The capacity of computer memory or a diskette is expressed in numbers of bytes. Generally, it is given in kilobytes or megabytes.
Kilobyte
Kilo means one thousand, so a kilobyte (KB) is approximately one thousand bytes. Actually, a kilobyte is 1,024 (2
10
) bytes.
Megabyte Gigabyte
Mega means one million, so a megabyte (MB) is approximately million bytes. Actually a megabyte is 1,048,576 (2 (2
30 20
) bytes.
Giga means one billion, a gigabyte (GB) is actually 1,073,741,824 ) bytes. means one
40
Terabyte
Tera
trillion, a terabyte
(TB)
is
actually
1,099,
511,627,776 (2
) bytes.
To get a feel for these amounts, consider the following examples. If your computer has 32 MB of RAM (a type of primary storage explained later), it can store 33,554,432 bytes of data. A written word might, on average, contain 6 bytes, so this translates to approximately 5.6 million words
28
Intel 8080
Intel 8080 was designed a manufactured by Intel and was nd generally considered as the first truly usable microprocessor deign. This chip was introduced in 1974. Intel 8080 was used in many early computers This was a 8 bit chip which was running at 2 MHz. At Intel, the 8080 was followed by more advance Intel 8085, Intel 8086 and Intel 8088. Intel 8086 was a 16 bit microprocessor designed and manufactured in 1978. This led to design the x86 architecture.
microprocessor
architecture
first
developed
manufactured by Intel. The architecture was called x86 because Intel used to give the earliest processors in this family numeric brand names ending in the sequence 86, the 8086, the 80186, the 80286 the 80386 and the 80486.
Intel 80386 was used in many personnel computers from 1986 until 1991. When Intel 80486 was introduced in 1989 by Intel with its faster processing abilities it became more popular in personnel computers.
29
the Pentium III to the Pentium 4. Pentium 4 was first released in November 2000. Pentium 4 processor can execute any piece of code that ran on the original 8088, but it does it about 5,000 times faster! With Intel Pentium 4 processor Intels announcement of releasing a new
microprocessor called Pentium M which was for mobile technology, a new trend of microprocessor industry
was noticed. This technology has been used in todays notebook computers. You are bound to come across more and more advances in the microprocessor industry in the future.
CLASS ACTIVITIES 1.5 1. 2. Explain the function of the Central Processing Unit. Prepare a table of types of microprocessors presently available including their specifications.
1.2.4
1. The input Function 2. The storage function 3. The processing function 4. The output function 5. The control function
: accepts data or instructions by way of input : stores data and instructions : processes data as required by the user : gives results in the form of output : controls all operations inside the computer
30
Results
CONTROL UNIT
1.
2.
3.
31
4.
5.
The above functions are based on the major operations of the computer, but not directly equitable to given hardware. As you observe, a given function may share a number of different physical hardware. For example, the Input or Output function is only partially contained within the CPU. Other portions of these functions are located in other pieces of hardware.
The flow of information within the computer can be described as follows All information that the computer possesses must be entered via the Input function (except in special cases where some of the computers information may be permanently contained within the machine) Depending on the type of information, it may be used either to instruct the computer what to do (instructions) or it may be used as data in arithmetic or logical operations (data). As an instruction, the information tells the computer where the next information is stored or what to do with the next packet of information obtained. As data, it will be routed to the Arithmetic/Logic function for processing and back to await its next use. All instructions and data are placed in the memory (storage) Instructions and data are processed sequentially as required by the stored program and the intermediate/final results are returned to storage. The output function displays the results of the internal processing of information when called upon by the control function.
32
This concept derived from the above flow is called the stored program concept. Basic feature of the stored program concept is that the instructions and data must be stored in the memory (storage) and instructions are stored sequentially in a separate area called program area. Since the instructions are executed sequentially and data items are picked up from the specified storage location, these computers are called sequential computers.
1.2.5
1.2.5.1
As we know, computer memory is used to store data and instructions internally in the computer. These data and information will be stored in primary storage which is also called the main memory of the computer and it stores three type of information for very brief periods of time:
33
Data to be processed by the CPU Instructions for the CPU as to how to process the data Operating System programs that include instructions for computer how to function (details can be found in Section 1.3)
As the program, which is a set of instructions written in an orderly manner, is kept in the main memory, the computer is able to follow these instructions fast. For example, when you reserve an appointment for a doctor, the computer will have to follow several steps to give you an appointment: take the request, check the availability of the doctor, calculate the channeling fee, wait for money to be paid, store reservation information and give a reservation number. The program which contains those instructions is kept in the main memory of the computer and is followed for each request.
But inside the computer, the steps followed are quite different from what we can see on the display unit. As you understand, both data and instructions are stored in computer memory in the binary form. The computer takes data and instructions in decimal and/or character form, converts them into binary form, processes them producing an output in binary form and again converts the binary output to decimal and/or character form for the user. There are four main types of primary storage: Registers Random Access Memory (RAM) Read -Only Memory (ROM). Cache Memory
Registers:
Since the processing of data within the CPU takes place at high speed, it is necessary to transfer the processed data too at high speed. So computer uses a number of special memory units called registers which are located inside the CPU. Registers store data and instructions temporarily and pass it on as directed by the control unit of the CPU. Registers have the least capacity, storing very limited number of data and instructions only immediately before and after processing.
34
and is used to identify the cell. This memory is like a large cabinet containing as many drawers as there are addresses in memory. Each drawer contains a word and the address is written on the outside of the drawer as in Figure 1.4.
Cell Content
Figure 1.4 Depiction of a Random Access Memory This memory is referred to as the Random Access Memory because the memory locations of the Random Access Memory can be directly accessed to store and retrieve data. Whenever the computer wants to work with data or instructions, they are first loaded in to RAM where they are held temporarily until the computer needs them. Therefore, the storage of data and instructions inside RAM is Random Access Memory temporary and data and information which have been stored will disappear from RAM as soon as the computer is switched off. RAM is therefore a volatile memory and it loses its content when the power is switched off.
35
Cache memory
The speed of the CPU is high compared to the access time of Random Access Memory (RAM). Therefore the performance of the CPU decreases due to the slow speed of RAM. To decrease the mismatch in operating speed, a small memory chip is attached between CPU and RAM whose access time is close to the processing speed of CPU. This memory is called Cache Memory. The CPU will first retrieve data from the Cache Memory. If the data is not available in the Cache Memory, then the data is first loaded from RAM into the Cache Memory, and then taken by the CPU from the Cache Memory as shown in Figure 1.5. Usually, the Cache Memory is accessed much faster than conventional RAM. It is used to store programs or data currently being executed or temporary data frequently used by the CPU. So the Cache Memory makes the RAM to be faster and it also supplements the RAM. Since it is expensive to have a bigger size of Cache Memory its size is normally kept small.
CPU
Cache Memory
Figure 1.5
CLASS ACTIVITIES 1.7 1. 2. Discuss the difference between different primary storage devices. Explain what cache memory is and explain how it is different from main memory.
1.3
Software
What is software?
It is important to note that a computer cannot do anything on its own. It must be instructed to do a desired job. Hence it is necessary to specify a sequence of instructions that a computer must perform to solve a problem. Such a sequence of instructions written in a language that can be understood by a computer is called a computer program. It is the program that controls the activity of processing by the computer and the computer performs precisely what the program wants it to do. The term Software refers to the set of computer programs, procedures, and associated documents. To be precise, software means a collection of programs whose objective is to enhance the capabilities of the hardware.
36
Application software is usually custom written or packaged and it enables the user to perform their work (example Microsoft Word). System software enables the computer to run application software (example Microsoft Windows).
37
User
Hardware
Figure 1.5 Relationship among hardware, software and the user of a computer system
Some common operating systems are DOS, various versions of Windows, OS/2, UNIX, and Linux. All these behave in very different ways and have different hardware requirements and they will not run on all machines.
The creation of systems software is a complex task. Systems programmers, who prepare systems software, are highly trained computer specialists and important members of the computer architectural team. Because of its technical complexity, systems software is rarely developed in -house. They are normally developed and distributed by computer manufacturers.
CLASS ACTIVITIES 1.8 1. 2. List the differences between application software and system software. Explain why a computer is not useful without the system software.
38
1.4
Why do we communicate?
I want to
v Discuss some subject matter v Inform my abilities to another person v Get an appointment v Have a chat with my friend v Transfer a file v Send e -mails v SMS!
39
Message
Medium
Teacher = sender
You =receiver
Communication is a process of transferring messages or information from one point to another. We can identify three basic elements of any communication process. Those are: The Sender The Medium The Receiver
For example, when you speak to your friend over the telephone, you are the sender. The telephone line through which your voice is transmitted is the medium and your friend is the receiver. The same concept pertains to data communication too.
40
Data communication is the function of transporting data from one location to another. In this case the sender and the receiver a r e normally machines, in particular, computer devices (computers, system terminals, peripheral and devices software like that printers). transmits A communication consists of hardware
information from one location to another. These systems can transmit text, data, graphics, voice, documents, or full-motion video information.
Communication Model
To transmit information between two locations, it is necessary to have a transmitter, receiver and a transmission medium, which provides the connection as in Figure 1.6 .
Transmit
Modem
To transmit and receive information, a communication system must perform a number of separate functions. The system must do all of the following: transmit information, establish the interface between the sender and the receiver, route messages along the best path, ensure that the right message gets to the right receiver, check the message for errors and rearrange the format if necessary, convert messages from one speed to anther, ensure that the sending devices, receiving devices and communication links are operational and secure the information at all times.
Communication Protocols
You may be wondering how the computers send and receive data across communication links. There must be some set of rules to instruct computer systems and devices as to how exactly data is to be transferred from one place to another. For example, there are some rules and procedures to use a telephone network which leads to a sequence of activities such as pick up the phone, listen for a dial tone, dial a number having a specific number of digits, wait for the phone to ring, and say hello. Similarly in data communication, some software defines the procedures and standards for the communication. The procedure of data transformation is commonly called protocol. A protocol is a set of rules that governs how information is delivered.
41
Modem
If you want to send a picture of your family to one of your friends via a telephone line which transmits only analogue signals, you may have to convert the digital image to analogue signals and then transmit. Your friend will have to convert the analogue signals back to the digital image. Analog signals vary continuously; an example of an analog signal is a sound wave. Therefore, in order to send digital signals over an ordinary telephone line not designed for digital signals, a special device called a modem should be used. Modem is the device that converts between analog and digital signals. Digital signals, which are used by computers, are usually represented by a series of 1's and 0's. Modems are often used to enable computers to communicate with each other across telephone lines. A modem converts the digital signals of the sending computer to analog signals that can be transmitted through telephone lines. When the signal reaches its destination, another modem reconstructs the original digital signal, which is processed by the receiving computer. Modem
CLASS ACTIVITIES 1.9 1. 2. Describe the main components of a communication model and the function of each component. Explain why protocols are needed in a communication system.
42
43
Each topology has strengths and weaknesses. System designers should consider performance issues such as delay, speed, reliability, and the networks ability to continue through, or recover after, a failure in any device or connection to the network.
Star Topology
Ring Topology
44
Tree Topology
Bus Topology
The major disadvantage of star topology is that failure of the central node disables communication throughout the whole network.
45
The disadvantage of bus topology is that any break in the bus is difficult to identify.
46
47
E-mail
E-mail stands for electronic mail. This is one of the most widely used features of Internet. Mails are regularly used today where with the help of postage stamp we can transfer mails to anywhere in the world. With electronic mail the service is similar. But here data are transmitted through Internet and therefore within minutes the message reaches the destination may it be anywhere in the world. Therefore the mailing system is exceedingly fast and is being used widely for mail transfer.
CLASS ACTIVITIES 1.10 1. 2. How do you describe a data communication network? What are the main network topologies and compare their advantages and disadvantages? Develop a plan describing how you would build a telecommunications infrastructure in your school. Discuss the communication media, devices, and services you would use. Visit the following websites and describe what information you could find from them: i. www.piru.gov.lk ii. www.moe.gov.lk
3.
4.
48