Basics of Computer

24
1.1. INTRODUCTION The word computercomes from the word computewhich means to calculate. So computer is a calculating machine which is used to perform arithmetic and logical operation at a high speed. A computer is an electronic device that can accept, store and process information to produce the required result. Therefore, we can define computer as a device that transforms data. Data can be anything like marks obtained by you in various subjects. It can also be name, age, sex, weight, height, etc. of all the students in your class or income, savings, investments, etc., of a country. Computer is a device that can solve any mathematical operation and it operates on information or data. Computer can be defined in terms of its functions. It can (i) accept data (ii) store data, (iii) process data as desired, (iv) retrieve the stored data as and when required and (v) print the result in desired format. LEARNING OBJECTIVES At the end of this chapter you will be able to understand : Definition of Computer Features and Generation of Computer Classification of Computers Organization of Computer Bus Architecture Instruction Set Memory and Storage System L L L

description

computer is a calculating machine which is used to perform arithmetic and logical operation at a high speed. A computer is an electronic device that can accept, store and process information to produce the required result. Therefore, we can define computer as a device that transforms data. Data can be anything like marks obtained by you in various subjects. It can also be name, age, sex, weight, height, etc. of all the students in your class or income, savings, investments, etc., of a country. Computer is a device that can solve any mathematical operation and it operates on information or data. Computer can be defined in terms of its functions. It can (i) accept data (ii) store data, (iii) process data as desired, (iv) retrieve the stored data as and when required and (v) print the result in desired format.

Transcript of Basics of Computer

Page 1: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-1

1.1. INTRODUCTION

The word “computer” comes from the word “compute” which means to calculate. Socomputer is a calculating machine which is used to perform arithmetic and logical operationat a high speed.

A computer is an electronic device that can accept, store and processinformation to produce the required result.

Therefore, we can define computer as a device that transforms data. Data can beanything like marks obtained by you in various subjects. It can also be name, age, sex,weight, height, etc. of all the students in your class or income, savings, investments, etc.,of a country.

Computer is a device that can solve any mathematical operation and itoperates on information or data.

Computer can be defined in terms of its functions. It can (i) accept data(ii) store data, (iii) process data as desired, (iv) retrieve the stored dataas and when required and (v) print the result in desired format.

LEARNING OBJECTIVES

At the end of this chapter you will be able to understand :

� Definition of Computer

� Features and Generation of Computer

� Classification of Computers

� Organization of Computer

� Bus Architecture

� Instruction Set

� Memory and Storage System

L

L

L

Page 2: Basics of Computer

1-2 BASIC CONCEPTS OF COMPUTER

The number of applications of a computer has increased day by day. The speed andaccuracy of calculation is also increasing day by day. You can use of computers in ourday to day life. Reservation of tickets in air lines and railways, payment of telephone andelectricity bills, deposits and withdrawals of money from banks, business data processing,medical diagnosis, weather forecasting, etc. are some of the areas where computer hasbecome very useful.

1.1.1. Features of ComputerThe computer has following features :

1. Speed. Computer can works with a high speed. Computer can perform millions(1,000,000) of instructions and even more per second. Therefore, we determine thespeed of computer in terms of microsecond or in nano second. So you can imagine howfast your computer work.

2. Accuracy. The accuracy of a computer very high a computer performs each andevery calculation with the same accuracy. Errors can occur in a computer but these aremainly due to human or technological weaknesses. If the instructions are not correct orthe data is wrong, the result coming out of the computer would be wrong.

3. Storage. A computer can store large amounts of information in its memory. Computershave very large storage capacity. The information can be stored as long as desired bythe user and can be recalled when required. Even after several years. The informationrecalled would be as on the day when it was fed to the computer.

4. Diligence. A computer is free from tiredness and lack of concentration. As compareto human being, it can work many hours without creating any error.

5. Versatility. Computers can perform a wide range of jobs with speed, accuracy anddiligence. Computers are used in every fields such as accounting, generating pay-slips,keeping track of the records of students, play games, listening music, watching moviesduring the recreation hours.

1.1.2. Limitation of ComputerThe computer provides many facilities and benefits to the user. But it has some limitations,which are given below :

1. Intellegence (No I.Q.). The computer has no intelligency. It has to be told what todo and in what will be the sequence. Only user can determine what tasks a computerwill perform.

2. Feelings. The computer has no feelings because it is a machine. Computer cannotmake judgments of their own. Its judgment is based on the instructions given by the userto them in the form of programs.

3. Can not remove error itself. The computer cannot remove errors itself. If this typeof situation arises, computers will produce wrong results. They do not have potential towork out alternate solutions.

Page 3: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-3

4. Can not work without human intervantion. Computer can not perform any taskon its own. It can not take independent decision. It requires human instruction to take adecision or what to do.

1.1.3. Generations of ComputerThe word “Generation” for computers indicates a steps in technology. The computerhas following generation.

1. First Generations. The computers produced between 1942-1955 are called the firstgeneration computers. These machines were based on “vacuum tube”. IBM 650 wasthe most popular first generation computer.

Advantages

(a) Vacuum tubes were the only electronic components available during those days.

(b) Vacuum tube technology made possible the advent of electronic digital computers.

(c) These computers were the fastest calculating devices of their time.

(d) They could perform computations in milliseconds.

Disadvantages

(a) Too heavy in size.

(b) Unreliable.

(c) Thousand of vacuum tubes were used. They produced large amount of heat.

(d) Air conditioning required.

(e) Possibility to frequent hardware failures.

(f) Constant maintenance required.

(g) Not portable.

(h) Manual assembly of individual component into functioning required.

(i) Commercial production was difficult and costly.

(j) Limited commercial use.

2. Second Generation. In second-generation computers advanced technology can beused. Vacuum tubes were replaced by “transistors”. These components were smallerin size, easier to manufacture, less power consuming and cheaper. IBM 700 was one ofthe computers of second generation.

Advantages

(a) Smaller in size as compared to first generation computers.

(b) More reliable.

(c) Less heat generated.

Page 4: Basics of Computer

1-4 BASIC CONCEPTS OF COMPUTER

(d) These computers were able to reduce computational times from milliseconds tomicroseconds.

(e) Less possibility to hardware failures.

(f) Better portability.

(g) Wider commercial use.

Disadvantages

(a) Air conditioning still required.

(b) Frequent maintenance required.

(c) Manual assembly of individual components into a functioning unit was required.

(d) Commercial production was difficult and costly.

3. Third Generation. The third generation computers were based on integrated circuits.The “integrated circuits” (IC) based on the small, medium and large scale integration(LCI) technology replaced transistors. The third generation computers are much cheaperand more reliable than the second generation computers.

Advantages

(a) Smaller in size as compared to previous generation computers.

(b) Even more reliable than second-generation computers.

(c) Even lower heat generated than second generation computers.

(d) Able to reduce computational times from microseconds to nanoseconds.

(e) Maintenance cost is low because hardware failures are rare.

(f) Easily portable.

(g) General purpose.

Widely used for various commercial applications all over the world.

(h) Less power requirements than previous generation computers.

(i) Commercial production was easier and cheaper.

Disadvantages

(a) Air conditioning required in many cases.

(b) Highly sophisticated technology required for the manufacture of IC chips.

4. Fourth Generation. The fourth generation computers used “VLSI” (very large scaleintegration) technology. This technology led to the development of microprocessors,where on entire CPU circuitry is placed on a single chip. This generation used a newerelectronic technology, which enabled them to be even smaller and faster than thirdgenerations. Computers like IBM PCs, Apple Macintosh etc. are the computer of thisgeneration.

Page 5: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-5

Advantages

(a) Low cost machine.

(b) High speed.

(c) Large memory.

(d) Small size.

(e) Less power consumption.

(f) Floppy disk is used as storage device. Semi conductor internal memory.

(g) Improve in software (spread sheet).

(h) Hardware failure is negligible.

(i) Heat generated is negligible.

(j) Cheapest among all generations.

Disadvantages

(a) Highly sophisticated technology required for the manufacture of ISI chip.

5. Fifth Generation. Scientists are now at work on the fifth generation computers.They aim to bring us machines with genuine “intelligence”.

1.2. CLASSIFICATION OF COMPUTER

There are different types of computers are available in the market. Though each computerwe can do different type of work. All types of computers are available in different sizes.They have different capabilities as working mechanism like, calculation work, weatherforecasting, and statistical analysis for business management etc. That is why computeris divided/classified according the following :

1. Classification based on application/computational method.

2. Classification based on purpose.

3. Classification based on size and capability.

1.2.1. Classification based on application. Computers are divided in three parts onthe basis of application.

(i) Analog Computer

(ii) Digital Computer

(iii) Hybrid Computer

(i) Analog Computer. This type of computer is worked on quantity like in petrol pump,weather forecasting, temperature etc (as shown in Fig.1.1). Analog computers processdata input in a continuous form. Data is such as voltage, resistance or temperature isrepresented in the computer as a continuous, unbroken flow of information. Inside thiscomputer analog signals are used for working. They are worked in the form of wave.

Page 6: Basics of Computer

1-6 BASIC CONCEPTS OF COMPUTER

Fig.1.1. Analog Computer.

Advantages

(a) Analog computers carried out measurement by a few single purpose devices. Sothey are offers low cost.

Disadvantages

(a) The main disadvantage of an analog computer is the accuracy factor that why theresult of analog computers is not accurate.

(b) Analog computer has limited storage capacity.

(c) Analog computers are not suitable for processing business data.

(ii) Digital Computers. It is a general computer works on 1 and 0 as shown in Fig.1.2.It gives accurate result because this computer uses digital signals for working. A digitalcomputer can count, and accept numbers and letters through various input devices. The

Page 7: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-7

input devices convert the data into electronic pulses and perform arithmetical operationson numbers in discrete form.

Fig.1.2. Digital Computer.

Advantages

(a) Digital computers give result any desired level of accuracy. It can be achieved byconsidering as many places of decimal as are necessary.

(b) Digital computers are most suitable for business application.

Disadvantages

(a) The main disadvantage is high cost of digital computer.

(b) Digital computers have complexity in programming.

(iii) Hybrid Computers. This computer is a combination of analog and digital computer.For this computer both analog and digital signals worked. It can converts the analogsignal to digital signal and digital signal to analog signal. Modem is an example of hybridsystem.

1.2.2. Classification based on purpose. There are two types of computer in thiscategory.

(i) General purpose computer

(ii) Special purpose computer

Page 8: Basics of Computer

1-8 BASIC CONCEPTS OF COMPUTER

(i) General purpose computer. General-purpose computer is a normal computer thatis used everywhere. This type of computer can do programming, calculation, accountingwork or painting work. This computer is generally used in homes, schools and colleges.Digital computer is an example of general-purpose computer.

(ii) Special purpose computer. This computer is designed according to special taskslike for weather forecasting, research or to make a film in photo studio.

1.2.3. Classification based on size and capability. In this category computer isdivided into four parts :

(i) Micro computer.

(ii) Mini computer.

(iii) Mainframe computer.

(iv) Super computer.

(i) Micro Computer. Microcomputers were first available for widespread use in the1970’s when it becomes possible to put CPU into a small silicon chip. It is very smallestcomputer. It is portable we can move it easily from one place to another (as shown inFig.1.3). Its storing capacity is very less and speed is also slow as compared to mini,mainframe and super computer. Its data transfer rate is very slow. We can do normalcalculations in this computer.

Fig.1.3. Micro Computer.

These computers are used in schools, colleges, homes and offices. Example are Desktop,Palmtop, Notebook and workstation.

(ii) Mini Computer. Minicomputer is bigger than microcomputer as shown in Fig.1.4.They are larger in size and have large amount of storage capacity. But less as compared

Page 9: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-9

to mainframe and super computers. These computers are used in offices, smallcompanies.

Fig.1.4. Mini Computer.

They are used for processing data and analyzing results of experiments. Its data transferrate is high. We can connect many computers. Some examples are PDP 11/42, Vax 11,and IBM series.

(iii) Mainframe Computer. Mainframe computers are more powerful and costly ascompare to minicomputer as shown in Fig. 1.5. They are special computers big in sizeand capable to handle all kinds of scientific and business applications. They can processseveral million instructions per second. Its storing capacity is very high and data transferrate is too high. It has large on-line secondary storage capacity.

Fig.1.5. Mainframe Computer.

Page 10: Basics of Computer

1-10 BASIC CONCEPTS OF COMPUTER

We can connect more than 500 computers through this computer. They are used inWAN. They are used in big companies and factories like BSNL, NTPC and SBI. ForEx: ES/9000 family of IBM.

(iv) Super Computer. Super computer is the largest and fastest computer. They areused in fields like science and defense services. These computers are used for designingand launching missiles weather forecasting, bio-medical research aircraft design andautomobile design.

Its processing speed ranges from 10,000 million instructions per second (MIPS) to 1.2billion instructions per/sec. They can support 10,000 terminals at a time. They have hugenumbers of storage and other devices connected to them. Example of Supercomputer isCRAY-1, CRAY-2, and CRAY-3. India have a Super Computer PARAM-10000.

1.2.4. Types of PC (Personal Computer)Personal computer is divided into following types:

1. Desktop 2. Laptop3. Notebook 4. Palmtop5. Workstation

1. Desktop. Desktop is a microcomputer that can be put over table and can be transferform one place to another. It is used in home, schools, college etc. Its storage capacity isvery high as compare to other personal computer. Desktop storage capacity is in theform of GB. We can use floppy disk, CD, DVD or pen drive in personal computer.

2. Laptop. Laptop is a portable PC that can be easily portable anywhere as shown inFig. 1.6. That is a briefcase type computer that works with electricity as well as withbattery. Its working is similar to desktop computer but more costly then desktop.

Fig.1.6. Laptop PC.

Page 11: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-11

Its storage capacity is in Giga bytes (GB).CD, DVD and pen drive can also used inLaptop. In this computer LCD (Liquid Crystal display) is used instead of CRT (Cathoderay tube) picture tube.

3. Notebook. Note book is another type of personal computer as shown in Fig. 1.7.This is very small in size that can be keeping inside of pocket. But in this computer wecannot work like a desktop and Laptop computer. It can be run with both electricity andbattery.

Fig.1.7. Notebook PC.

They have the size of a notebook. There weight is in approx. 3 to 4 kg.

4. Palmtop. Palmtop is a small computer that is like the size of a pocket calculator asshown in Fig.1.8. It is not powerful as computer to above personal computers. Theysupport only a few applications.

Fig.1.8. Palmtop PC.

Through this PC calculation can be done and can store information also. Through thiswe can access internet. Its screen is smaller than notebook. Example : HP 95 LX.

Page 12: Basics of Computer

1-12 BASIC CONCEPTS OF COMPUTER

5. Workstations. In workstation computers desktop computer is used but more than onedesktop computer can be connected with each other. The configuration of workstationsystem is very high, like processor speed, memory storage, and size of RAM similar toserver. The speed of connected computer also depends upon number of workstation.

1.3. COMPUTER ORGANISATION

A computer performs basically five major operations:

1. Input. This is the process of entering data and programs into the computer system.The input takes data from the user to the computer in an organized manner for processing.

2. Storage. The process of saving data and instructions permanently is known as storage.

3. Processing. The task of performing arithmetic and logical operations on data thatconverts them to useful information, called processing.

4. Control. The manner how instructions are executed and the above operations areperformed is called controlling.

5. Output. This is the process of producing results from the data for getting usefulinformation.

In order to carry out the operations mentioned in the above section the computer organizedthe task between its various functional units. A block diagram of the basic organization isshown in Fig. 1.9.

Fig.1.9. Computer Organization.

1. Input Unit. Input unit is a device which provides communication between user andcomputer. Input of any form is first converted into binary electronic signals (0 and 1),which can be understood by CPU. This process is called digitizing.

The input unit takes data from us to the computer in an organized mannerfor processing.

In short, the following functions are performed by the inputs unit :

(a) The input units convert our enter data into binary patterns for the machine andtransfer it to the memory.

L

Page 13: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-13

(b) The memory stores the input information that may be data or program. It alsostores the data processed in the arithmetic unit.

2. Output unit. The output coming from the CPU and make it understandable by humanbeings, i.e. graphical, alphanumeric in human language, audio visual.

Output unit of computer display the result.

Output units perform following function :(a) Display the result on visual display unit such as monitor.(b) In printed form by printers.(c) In graphic form by plotters.(d) In the form of sound by speaker.(e) Through other output devices such as projector or LCD.

3. Storage unit. Data has to be fed into the system before the actual processing starts. Itis because the processing speed of CPU is very fast. The data has to be provided to CPUwith the same speed. That is why the data is first stored in the storage unit for fasteraccess and processing. Thus storage unit of the computer system is designed to do theabove functionality. It provides space for storing data and instructions.

L Storage unit provides space for storing data and instructions in computer.

The storage unit performs the following major functions:(a) All data and instructions are stored here before and after processing.(b) Intermediate results of processing are also stored here.

4. Central processing Unit. The CPU is also called the brain of the computer. This isbecause an execution of any task is controlled by the CPU. CPU takes information fromthe input unit and processes it according to instructions.

A central processing unit (CPU) controls the execution of programs andperforms the calculations.

A CPU performs following tasks:(a) Manipulating the data like word processing, letter.(b) Writing, sorting, editing, makes catalog of data.(c) Converting data of one form into another.(d) Communicating data to far off distances.(e) Storing the data temporarily and retrieving it as and when required.(f) CPU does everything in the form of binary language (0 and 1).

5. Arithmetical and Logical Unit (ALU). ALU is designed to perform the four basic arithmeticoperations like add, subtract, multiply, divide and logical operations or comparisons suchas less than, equal to or greater than. It can do complex calculations with fast speed.

L

L

Page 14: Basics of Computer

1-14 BASIC CONCEPTS OF COMPUTER

L ALU is used to perform arithmetical and logical operations.

The functions of this unit are :

(a) ALU takes data from memory unit and returns information to memory unit.

(b) ALU used a number of registers and accumulators for short term storage of characterswhile doing calculations or computations

6. Control Unit (CU). The control unit worked like the supervisor seeing that things aredone in proper fashion.

Control unit determines the sequence in which computer programs andinstructions are executed.

This unit obtains instruction from the programs stored in main memory, interprets theinstructions and issues signals that cause help other units of the system to execute them.

1.4. REGISTER

The basic function performed by a computer is the execution of a program. The programwhich is to be executed, is a set of instructions, which is stored in memory. The centralprocessing unit (CPU) executes the instructions of the program to complete a task.

L Registers are temporary storage units within the CPU.

The major responsibility of the register is instruction execution with the CPU. Theinstruction execution takes place in the CPU registers. Let us, discuss few typical registersthat are commonly available in some of the machines. These registers are:

1. Memory Address Register (MAR). It specifies the address of memory locationfrom which data or instruction is to be accessed for read operation or to which thedata is to be stored for write operation.

2. Memory Buffer Register (MBR). This register contains the data to be written inthe memory for write operation or it receives the data from the memory for readoperation.

3. Program Counter (PC). It keeps track of the instruction, which is to be executednext, after the execution of an on-going instruction.

4. Instruction Register (IR). Here the instructions are loaded before their execution.

The simplest model of instruction processing can be a two-step process. The CPU reads(fetches) instructions (codes) from the memory one at a time, and executes or performsthe operation specified by this instruction. The instruction fetch is carried out for all theinstructions. Instruction fetch involves reading of an instruction from a memory locationto the CPU. The execution of this instruction may involve several operations depending

L

Page 15: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-15

on the nature of the instruction.

1.5. BUS ARCHITECTURE

In computer architecture, a bus is collection of control lines, address lines and data linesthat transfers data between computer components inside a computer.

A set of parallel conductors which allow the flow of instructions and databetween devices.

The bus consists of three main parts:

1. Control lines. These allow the CPU to control which operations, the devicesattached should perform, For Example read or write.

2. Address lines. Allows the CPU to reference certain (Memory) locations within thedevice.

3. Data lines. The meaningful data which is to be sent or retrieved from a device isplaced on to these lines.

Bus Architecture. In Bus-based computers, the processors, memory and I/O devices areconnected to a backbone called bus that acts as a “superhighway” for data or instructionsto move among processors, memory and I/O devices as shown in Fig. 1.10.

Fig. 1.10. A bus architecture.

L

Page 16: Basics of Computer

1-16 BASIC CONCEPTS OF COMPUTER

1.6. INSTRUCTION SET

An instruction set made up of a combination of an operation code and wayof specifying an operand by its location or address in memory.

Some operation codes deal with more than one operand the locations of these operandsmay be specified using any of the many addressing schemes. For example of a one-address instruction is add x are as following :

❍ Add contents of address x.

❍ To contents of accumulator.

❍ Sum remains in accumulator.

An example of a three-address instruction to add x, y, z are as following :

❍ Add contents of address x.

❍ To contents of address y.

❍ Sum is placed in location z.

1.7. MEMORY

Memory is a location to store something. Computer memory is used to store data,information and programs. A computer works like the human brain, computer can not dowork without it.

Computer memory is used to store instructions and data to perform anoperation.

Computer uses two types of storage or memory:

1. Primary memory.

2. Secondary memory.

Primary memory is accessible directly by the CPU. RAM is an example of primarymemory. Secondary memory such as floppy disks, magnetic disk located outside thecomputer.

L

L

Page 17: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-17

1. Primary memory. Primary memory is known as “main memory” or “internal memory”of computer. The primary memory of a computer stores the data provided by the userand the instruction provided by the programs. It is a portion of CPU where current dataor program resides for execution in computer. It stores the results also, which can bethere after transferred to output unit.

Primary memory is a part of computer where current data or programresides for execution.

The primary memory is placed on the motherboard in the form of chips. There are onlytwo basic types of primary memory :

(a) RAM (random access memory).

(b) ROM (read-only memory).

(a) RAM (Radom Access Memory). RAM is also the “main memory” that is usedto store programs and data that the computer needs when executing programs. TheRAM is volatile and loses this information once the power is turned off (as shown inFig.1.11).

Fig.1.11. RAM.

There are two general types of chips used to build the RAM memory in today’s computers:(i) SRAM (static random access memory).

(ii) DRAM (dynamic random access memory).

(i) SRAM (Static random access memory). SRAM is faster and much more expensivethan DRAM which can store many bits per chip, uses less power, and generates lessheat as compact DRAM.

(ii) Dynamic RAM (Dynamic random access memory). Dynamic RAM is work

L

Page 18: Basics of Computer

1-18 BASIC CONCEPTS OF COMPUTER

with tiny capacitors that leak electricity. DRAM requires a recharge every few millisecondsto maintain its data. Static RAM technology, in contrast, holds its contents as long aspower is available.

(b) ROM (Read-only memory). ROM is a primary memory that stores informationnecessary to operate the system, such as the program necessary to boot the computeras shown in Fig.1.12. ROM is non-volatile and always contains its data.

Fig.1.12. Read Only Memory.

There are different types of ROM : PROM, EPROM, EEPROM, and flash memory.

(i) PROM (programmable read-only memory). PROM is those in which the user caninsert the contents of choice only once. It can only be read and never written, meansrecorded information can not be changed. PROM is non-volatile storage.

(ii) EPROM (erasable PROM). In EPROM information can be erased and the chipcan be programmed to record different information. Eraser is achieved by exposing thechip to ultraviolet light. EPROM is also known as UPROM (ultraviolet PROM) orEAPROM (electricity Alterable).

(iii) EEPROM (electrically erasable PROM). EEPROM removes many of thedisadvantages of EPROM no special tools are required for erasure and you can eraseonly portions of the chip or one byte at a time. This is done by applying electronic beamson an electric field.

(iv) Flash memory. it is essentially EEPROM with the added benefit that data can bewritten or erased in blocks, with removing the one byte at a time limitation. This makesflash memory faster than EEPROM.

2. Secondary memory. This memory is designed for user. We can store information inpermanent form. These devices hold the huge amount of information, which may betransferred for use during processing as and when required.

(a) It has much larger capacity but it is not as fast.

(b) Computer takes slightly more time to retrieve data from secondary storage.

(c) Secondary memory is ultimate in size and much cheaper than main memory. Thenext section 1.8 discuss secondary memory in brief.

Page 19: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-19

Secondary memory store huge amount of data and information inparament form that may be transferred for use when required.

1.8. SECONDARY MEMORY AND STORAGE SYSTEMS

Secondary memory is a LSO called “auxiliary” memory or “secondary storage”. Inthis type of memory the cost per bit of storage is low. However, the operating speed isslower than the primary storage. Huge volume of data are stored on permanent basisand transferred to the primary storage when required. Most widely used secondarystorage devices are magnetic tapes, hard disk, floppy disk, CD or DVD.

1.8.1. Magnetic Tape. Magnetic tapes are used where large volume of data is storedfor a longer time as (shown in Fig.1.13). The cost of storing data in tapes is inexpensive.Tapes consist of magnetic materials that store data permanently. It can be 12.5mm to25mm wide plastic film-type and 500meter to 1200meter long which is coated withmagnetic material. The deck is connected to the central processor. It is similar to cassettetape recorder.

Fig.1.13. Magnetic Tape.

Advantages

(a) Compact. The maximum capacity of such a tape is 180 million characters. Thus dataare stored much more compactly on tape.

(b) Economical. The cost of storing characters is very less as compared to other storagedevices.

(c) Fast. Copying of data is easier and fast.

(d) Long term Storage and Re-usability. Magnetic tapes can be used for long termstorage and a tape can be used repeatedly with out loss of data.

1.8.2. Hard Disk. Hard disk is an expensive storage device. Because this device containsdisc as well as drive. Its storing capacity is highest. This device works on a direct

L

Page 20: Basics of Computer

1-20 BASIC CONCEPTS OF COMPUTER

storage method. It is a sealed aluminum box. Hard disk is a sealed unit containing anumber of platters in a stack. Electromagnetic read/write heads are positioned above andbelow each platter. As the platters spin, the drive heads move in toward the centersurface and out toward the edge. In this way, the drive heads can reach the entiresurface of each platter.

On a hard disk, data is stored in thin bands. A drive head can read or write a circular ringor band called a track. There can be more than a thousand tracks on a 3.5-inch harddisk. Sections of each track are called sectors. A sector is the smallest physical storageunit on a disk which store 512 bytes in size. The Fig.1.14 below shows the structure ofa hard disk.

A cylinder is formed while all drive heads are in the same position on the disk. Thetracks stacked on top of each other form a cylinder. The system disk controller readsthis data to place the drive heads in the correct sector position.

Fig.1.14. Structure of Hard Disk.

1.8.3. Floppy Disk. Floppy Disk is similar to magnetic disk discussed above. It is a directstorage device. A small flexible disk used as storage medium for small computer is knownas floppy disk as shown in Fig.1.15. It is used to store information. Its storing capacity is1.44 MB. This device is coated with magnetic particles. It is one of the most commonstorages media that is usually used to move data from one location to another. Thedisadvantage of a floppy disk is that, it is prone to damage by heat and dust.

Page 21: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-21

Fig.1.15. Floppy Disk.

Today floppies are available in two sizes.(1) 3.5 inch floppy(2) 5.25 inch floppy

1. 3.5 inch floppy. It is a very small size floppy. This disk is covered with hard plastic.It is dust free. Its storing capacity is 1.44 MB. It has write protected notch.

2. 5.25 Inch floppy. Its size is greater than 3.5 floppy. Its body cover is very soft. Thecapacity of a 5.25-inch floppy is 1.2 mega bytes it is easily damaged by dust as dust caninsert in it. It has write-protected notch. If button is down. We can read information only.We can not change information of it and not write or copy any information, virus alsocannot be shifted. If button is up. We can do all write, copy and virus can be shiftedalso.

1.8.4. Optical Disk. These devices store more than floppy but less than hard disk. Theyare much reliable as compare to floppy disk. It is the necessity to store large volume ofdata that has led to the development of optical disk storage medium. Optical disks can bedivided into the following categories:

1. Compact disk read only memory (CD-ROM). CD-ROM (as shown inFig. 1.16) disks are made of reflective metals. CD-ROM is written during the process ofmanufacturing by high power laser beam. Here the storage density is very high, storagecost is very low and access time is relatively fast. Each disk can hold over 600 MB ofdata or more than it. As the CD-ROM can be read only, we cannot write or makechanges into the data contained in it.

Page 22: Basics of Computer

1-22 BASIC CONCEPTS OF COMPUTER

Fig.1.16. Compact Disk.

2. Write once read many (WORM). A WORM allows the user to write data permanentlyon to the disk. Once the data is written, it can never be erased without physically damagingthe disk. Here data can be recorded from keyboard, video scanner, OCR equipment andother devices. The advantage of WORM is that, it can store vast amount of data, amountingin gigabytes. Any document in a WORM can be accessed very fast, say less than 30seconds.

3. Erasable optical disk. These are optical disks where data can be written, erased andre-written. This also applies a laser beam to write and re-write the data. These disks maybe used as alternatives to traditional disks. Erasable optical disks are based on a technologyknown as magnetic optical (MO). To write a data bit on to the erasable optical disk theMO drive's laser beam heats a tiny, preciously defined point on the disk's surface andmagnetizes it.

4. Digital video disk (DVD). DVD stands for Digital Versatile Disk or Digital VideoDisk. It is possible to have 4.7 GB. GB ordinary data or mix DVD-Video and data on arecordable DVD that can be played by most computer DVD-ROMs.

5. Zip drive. Zip drive is a storage device similar to floppy. But its size is greater thanfloppy. Its body cover is harder than floppy. Its storing capacity is approx. 100 MB. Zipdrive can be fixed in CPU and zip floppy can be inserting only in it. Zip drives are gainingpopularity in the market. Zip disks are used for lacking up hard disks and transferringlarge files. It is used to create zip disks.

POINTS TO REMEMBER(i) The word personal computer (PC) is actually used for IBM-compatible PC.

(ii) Modem is abbreviation of modulation and demodulator.

(iii) Modem converts the digital signals from the computer to analog signal and vice-versa.

Page 23: Basics of Computer

BASIC CONCEPTS OF COMPUTER 1-23

(iv) RAM is volatile memory.

(v) ROM is non-volatile memory.

1 Byte = 8 bits

(vi) 1 KB (Kilo-Byte) = 1024 Bytes

1 MB (Mega Byte) = 1024 KB = 1024 × 1024 Bytes

1 GB (Gega Bytes) = 1024 MB = 1024 × 1024 × 1024 Bytes.

(vii) Units of microprocessor speed is Mega Hertz (MHz).

(viii) Hybrid computer is a combination of analog and digital computer.

(ix) India have a super computer named PARAM-10000.

(x) CPU is also called the brain of the computer.

KEY TERMS❍ Analog computer ❍ Digital computer❍ Hybrid computer ❍ Mainframe computer❍ Mini-computer ❍ Super computer❍ Instruction set ❍ Bus architecture❍ Control unit ❍ Arithmetic logic unit❍ Storage unit ❍ Central processes unit❍ Primary memory ❍ Secondary memory❍ Magnetic tape ❍ Hard disk❍ Floppy disk ❍ Optical disk❍ Read only memory ❍ Random access memory❍ Compack-disk read only memory ❍ Digital video disk

MULTIPLE CHOICE QUESTIONS1. The first generation computer is based on…………

(a) Vacuum tube (b) IC(c) Both (a) and (b) (d) None of these

2. Which of the following is not personnel computer(a) Desktop PC (b) Laptop(c) Workstation (d) Mainframe

3. Which of the following is not portable PC(a) Laptop (b) Palmtop(c) Notebook (d) None of these

4. The Computer works on 0’s and 1’s format is called(a) Analog (b) Digital(c) Hybrid (d) All of the above

Page 24: Basics of Computer

1-24 BASIC CONCEPTS OF COMPUTER

5. The CPU stands for(a) Central processing unit (b) Central programming unit(c) Control processing unit (d) None of the above

6. Which of the following is not part of CPU(a) Primary memory (b) ALU(c) CU (d) Input unit

7. The memory Cell smallest unit is(a) 1 bit (b) 1 byte(c) Both (a) and (b) (d) None of the above

8. The RAM is types of(a) SRAM (b) DRAM(c) Both (a) and (b) (d) None of the

9. The PROM is stand for(a) Programmable read only memory(b) Proper read only memory(c) Permanent read only memory (d) Program read only memory

10. The HDD is type(a) Fixed (b) Movable(c) Both (a) and (b) (d) All of the above

ANSWERS1. (a) 2. (d) 3. (d) 4. (b) 5. (a)6. (d) 7. (a) 8. (c) 9. (a) 10. (c)

UNSOLVED QUESTIONS1. What is computer and discuss about features of computer and also the limitation ?

2. Draw a block diagram of computer. Explain the function of each of the blocks.

3. Explain the importance of a bus in the computer system.

4. Explain in detail the different categories of RAM.

5. What is ROM ? Explain the different types of ROM.

6. Describe the classification of storage systems with the helop of a diagram.

7. What are magnetic storage systems ? Describe magnetic tape and magnetic diskswith their relative advantages and disadvantages.

8. What is register ? Explain different type of register.

9. What is the difference between primary and secondary memory ?

10. What is the difference between hard disk and floppy disk ?

❍ ❍ ❍