Docsity

Computer Systems Fundamentals: Hardware and Software Components, Lecture notes of Computer Science

Toggle sidebar
bg1
Introduction to Computer Skill and its application Chapter II
Page 1
Introduction to Computer Skill and its application (COMP-201) Chapter II
INTRODUCTION TO COMPUTER SYSTEM
Introduction: A computer along with additional hardware and software together is called a
computer system. Computer system is simply a set of integrated devices that input, output, process,
and store data and information. Computer systems are currently built around at least one digital
processing device. Computer system is a collection of entities (hardware, software) that are designed
to receive, process, manage and present information in a meaningful format. The basic working
definition of the computer system is that it is a basic, complete and functional hardware and software
setup with everything needed to implement computing performance.
A typical computer consists of two basic components such as computer hardware and computer
software. Each of these components is equally important to the functioning of the entire computer
system. Any Computer is made up of hardware components and associated software, designed and
assembled to perform a specific function or group of functions. It is a complete, working computer
that includes not only the computer hardware, but also any software that are necessary to make the
computer function.
System is a composition or group of different integrated components that work together to achieve a
common goal. If so, from the perspective of systems definition, it may not much enough only the
combination of hardware and software to say a complete computer system rather it may be simply a
typical computer device. Because only the combination of hardware and software may not achieve any
goal without data and users.
In general a complete computer system includes four distinct parts: Data, Users, Hardware and
Software.
Data: Data are raw facts which the computer can manipulate and process into information that is
useful to people. Computer data is digital, or in the form of digits or numbers. Data may be simple
numbers for mathematical calculations, text such as names and addresses or more complex structures
such as pictures or drawings. The instructions that make up the program define what data is to be
processed, in what form and at what time. The computer reads and stores all data as numbers. Data
can be semi-information that need to be processed more and generates complete information.
Information is the output of the computer that can be used by human beings to do some decisions.
Users: The users are the people operating the computers. Computers cannot do any work without
instructions from users/humans. Its functionality is based on the instructions given by the users in the
form of programs. Even to provide inputs to computers users are needed.
COMPUTER HARDWARE
Computer Hardware: Hardware is the term used to describe the actual (physical) parts of the
computer. i.e., all the internal and external parts or devices connected to the computer like input and
the output devices are example of hardware. Or it is the part of the computer that you see and touch.
It is the part of the computer or any accessory attached to the computer called “peripheral” which you
can touch or feel. The computer case, monitor, keyboard, mouse, printer, modem and scanner all
constitute hardware.
The Computer Physical
Setup:
When you look at a computer
externally, it simply consists
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Computer Systems Fundamentals: Hardware and Software Components and more Lecture notes Computer Science in PDF only on Docsity!

INTRODUCTION TO COMPUTER SYSTEM

Introduction: A computer along with additional hardware and software together is called a computer system. Computer system is simply a set of integrated devices that input, output, process, and store data and information. Computer systems are currently built around at least one digital processing device. Computer system is a collection of entities (hardware, software) that are designed to receive, process, manage and present information in a meaningful format. The basic working definition of the computer system is that it is a basic, complete and functional hardware and software setup with everything needed to implement computing performance. A typical computer consists of two basic components such as computer hardware and computer software. Each of these components is equally important to the functioning of the entire computer system. Any Computer is made up of hardware components and associated software , designed and assembled to perform a specific function or group of functions. It is a complete, working computer that includes not only the computer hardware , but also any software that are necessary to make the computer function. System is a composition or group of different integrated components that work together to achieve a common goal. If so, from the perspective of systems definition , it may not much enough only the combination of hardware and software to say a complete computer system rather it may be simply a typical computer device. Because only the combination of hardware and software may not achieve any goal without data and users. In general a complete computer system includes four distinct parts: Data, Users, Hardware and Software. Data: Data are raw facts which the computer can manipulate and process into information that is useful to people. Computer data is digital, or in the form of digits or numbers. Data may be simple numbers for mathematical calculations, text such as names and addresses or more complex structures such as pictures or drawings. The instructions that make up the program define what data is to be processed, in what form and at what time. The computer reads and stores all data as numbers. Data can be semi-information that need to be processed more and generates complete information. Information is the output of the computer that can be used by human beings to do some decisions. Users: The users are the people operating the computers. Computers cannot do any work without instructions from users/humans. Its functionality is based on the instructions given by the users in the form of programs. Even to provide inputs to computers users are needed. COMPUTER HARDWARE Computer Hardware: Hardware is the term used to describe the actual (physical) parts of the computer. i.e., all the internal and external parts or devices connected to the computer like input and the output devices are example of hardware. Or it is the part of the computer that you see and touch. It is the part of the computer or any accessory attached to the computer called “peripheral” which you can touch or feel. The computer case, monitor, keyboard, mouse, printer, modem and scanner all constitute hardware. The Computer Physical Setup: When you look at a computer externally, it simply consists

of the system unit and the most common peripheral devices, namely the monitor , keyboard , mouse and (optionally) printer.

1. System unit: also commonly referred to as the tower , is the main component of a computer hardware which houses most of the other devices that are necessary for the computer to function. It is comprised of a chassis and internal components such as the system board , microprocessor , memory modules, disk drives , adapter cards , the power supply , fans and other cooling systems , plus ports for connecting external components such as monitors , keyboards, mice/mouse, and other devices 2. The Computer Case: The computer case is the enclosure that holds all the major components of the computer. On the front end of the case may be found on/off switch, reset button (optional), status indicators (power and HDD indicators ) and openings to floppy disk drives, CD–ROM drives and tape cassettes. On the rear/back end of the case are found ports for connecting peripheral devices with the PC and a power socket for connecting the PC to the electrical power source. 3. Motherboard: mother board is the basic computer hardware component that acts as the backbone for the entire computer system. It is also called the system board , it consist of a large, flat circuit board with chips and other electrical components on it with various connectors. Some components are soldered directly to the board , and some components connect to the board by using slots or sockets 4. Expansion Slots and Cards: Expansion slots allow you to add expansion cards to your motherboard in order to extend the capabilities of a computer system. Mother boards generally include several of these slots so that the adapters can transfer data to and from the different computer components that have been installed in a system. Expansion cards are small circuit boards that you install/insert in to an expansion slot on the computer’s system board are to expand or upgrade the functionality of the computer. These include: enhanced graphics cards, modems, networking cards, sound cards, etc. Expansion cards are inserted into expansion slots in the motherboard (a board into which most of the basic components of the computer are built). Some of the expansion slot types may include:- PCI, PCI-X,PCIe, MiniPci,CNR,AGP i) PCI (Peripheral Component Interconnect) is a local bus system that allows devices to be inserted quickly and easily (plug–and–play compatible). Most of the computers today come with PCI slots and cards. It is the most common expansion slot used on the system board ii) AGP (Accelerated Graphics Port) is a new platform bus specification that enables high performance graphics capabilities, especially 3D graphical display applications. iii) USB (Universal Serial Bus) defines a class of hardware that makes it easy to add serial devices to your computer. It provides an instant, no-hassle way to connect a new digital joystick, a scanner, a set of digital speakers, a digital camera or a PC telephone to their computer. To install a USB device, plug the cord from the device into any USB Port on your computer.

 the control unit part of the CPU again instructs the ALU to perform either arithmetic or logic operations  the ALU performs the operations based on instructions given by the CU or instructed by the CU  by default the result of the operation stored on primary storage  And then the CU instructs the output devices to display the result of the operation for humans  Finally if the user want to store the result permanently on secondary storage device he/she click on Save button Generally , based on the Operational setup or based on their function , Computer hardware falls into four categories. These are : Input devices, Output devices, Processor (CPU) and Storage devices Input Devices: This unit acts as a bridge between the user who operates the computer and the CPU. It feeds the information or data into the computer. Any data that enter in to the computer for processing must be changed in to computer understandable language. This task is carried out by a special device called input devices/interface. An input device is defined as an electronic device that allows the user to feed information (data) into the computer for analysis, storage, and to give commands to the computer. Data and instructions are entered into the computer’s main memory through an input device. Input devices capture information and translate it into a form that can be processed and used by other parts of the computer. There are different types of input devices that can be connected to the computer system. For Example Keyboard, Mouse, Scanner, digital camera, Punched card, Punched paper, touch sensitive screen, light pen, microphone, barcode reader etc. are some of the input devices Keyboard : This is the most commonly used input device which resembles the typewriter keyboard. This is the oldest input device used right from the invention of the computer. It is used to enter any type of data into the computer which may be text, numbers or any symbolic notations. Nowadays as the software industry is growing rapidly accordingly many changes are brought in the layout to satisfy the needs of the software. The communication between the keyboard and the system unit is brought with the help of a cable which transfers the bits through the bus (Group of wires carrying the bits) parallel or serial/consecutively. Normally the keyboard contains 102 keys. Nowadays, in addition to the above keys, many other keys are included making the keyboard as 105, 108 and so on. Keyboard is the standard input device. Using a keyboard, the user can type text and execute commands. Keyboard is designed to resemble a regular typewriter with a few additional keys. Data is entered into computer by simply pressing various keys. The number of keys in a typical keyboard varies from 82 keys to 108 keys. The keys are arranged as follows: a. Alphanumeric keys – used for typing, similar to that of a typewriter. b. Numeric keypad – found at the right side of the keyboard, it is used for entering numbers and moving the pointer. c. Function keys – these are the twelve function keys, F1 – F12, at the first row of the keyboard. They may be programmed to perform different tasks. d. Modifier keys – include keys like Alt, Ctrl and Shift. e. Cursor movement keys – found between the alphanumeric keys and numeric keypad, they are used to move the cursor. Up,down,left and right arrows Pointing Devices: A pointing device is used to communicate with the computer by pointing to location on the monitor screen. Such devices do not require keying of characters, instead the user can move a cursor on the screen and perform move, click or drag operations. Input data also involves entering commands and selecting options. Mouse, trackball, and joystick are all developed to make this easy. Each of these devices allows the user to identify and select the necessary command or

option by moving the cursor to a certain location on the screen or tablet and sending signal to the computer. They are used in menu-driven programs – that is, programs that offer varying levels of means or choices to the user to lead him or her through the program functions. Some of the commonly used pointing devices are mouse, trackball, joystick, light pen and touch screen. i) Mouse: Mouse is a small hand held pointing device connected to the computer by a small cable that runs across a flat surface. Its name is derived from its appearance which is a small rounded rectangle shape with a single cord attached at one end. Look like the animal Mouse or rat. As the mouse is rolled across the desktop, a ball inside the mouse that contacts the desktop moves the cursor across the screen. When the cursor reaches the desired location, the user usually pushes mouse button once or twice to signal a menu selection or a command to the computer. Mouse technology is often used with graphics-oriented microcomputers and software’s like Windows. With special software for graphics, the mouse can be used like a pen or a paintbrush to create figures and pattern directly on the video display screen. The keyboard still is used to type in characters and issue some commands, depending on the software. Usually a mouse contains two or three buttons for left clicking, right clicking and for scrolling. The mouse may be classified as a mechanical mouse or an optical mouse, based o the technology it uses. A mechanical mouse uses a rubber ball at the bottom surface, which rotates as the mouse is moved along a flat surface to move the cursor. An optical mouse uses a light beam instead of a rotating ball to move the cursor. Some of the common mouse actions are pointing, click, Right-click, Double-click, Drag and drop. ii) Trackball – basically called an upside down mouse which is similar to a mouse except the ball is on top where it can be moved with the thumb. trackballs have all the functionality of a mouse, but they don’t need to be rolled around on a desktop or flat surface. The ball is held in a socket on top of the stationary device, and the user moves the ball with his or her fingers. Trackballs have become popular in offices where crowded desktops are the norm. Pocket –sized track balls are available for laptop computers, eliminating the need for a flat work surface, which is required to use a mouse. iii) Track pad (or touchpad) – is a touch-sensitive pad that is used to move the pointer by gliding your finger across its surface. iv) Touch screen – is a type of display screen device that is placed on the computer monitor in order to allow the direct selection or activation of the computer when somebody touches the screen. v) Track point( Integrated pointing device) – most commonly found on laptops which is a small joystick like button built into the center of the keyboard. You can move it in the direction that you want to move the pointer. vi) Joystick - A lever that moves in different directions controls the movement of a pointer or other display symbols. A joystick is similar to a mouse, except that with a mouse the cursor stops moving as soon as you stop moving the mouse. Here the pointer continues to move in the direction the joystick is pointing. Most joysticks include two buttons called triggers. These are mostly used for computer games, also used occasionally CAD/CAM systems and other applications. Scanner: : A scanner is a device that scans an image and transforms the image into ASCII code. These images can be edited, manipulated, combined and printed. The common types of scanners are hand held scanners and flatbed scanner. It is an input device that can read text or illustrations printed on the paper and translate the information into a form that the computer can use. It works by digitizing the image by dividing it into a grid of boxes and representing each box with either zero or one, depending on whether the box is filled in. The resulting matrix is called bit map, can be stored in a file. These do not distinguish text from other figures; they represent all images as bit maps. So, to edit text read by an optical scanner, an optical character recognition (OCR) system to translate the image into ASCII characters is required (which usually come with the latest scanners). Speech Recognition: Speech recognition is the technology by which sounds, words or phrases spoken by humans are converted into digital signals, and these signals are transformed into coding patterns where the meaning has been assigned. It is more generally called as sound recognition.

what information to give and where to display. It determines the movement of electronic signals between main memory and the arithmetic- logic unit, as well as the control signals between the CPU and input -output devices. A computer is useless without software instructions. When we use software, we are working with high-level. Instructions written by high level languages are converted by a language processor in to a low-level form of instructions in which the computer can work with – machine language, the only language that the CPU can understand, data and instructions are represented in binary form (O’s and 1’s). Once the instructions have been converted into this form, they can be retrieved from main memory and interpreted by the control unit (sometimes referred to as decoding). According to each specific instruction, the control unit issues the necessary signals to other computer system components as needed to satisfy the processing requirements. This could involve, for example, directing that data be retrieved from a disk storage device, “telling” the printer to print the letter you just wrote, or simply directing the arithmetic-logic unit to add two numbers. Registers – To temporarily store data and instructions , the CPU has special-purpose storage devices called registers. The registers are special purpose, high speed temporary memory units. They hold various types of information such as data, instructions, addresses and the intermediate results of calculations. Essentially they hold the information that the CPU is currently working on. Registers can be thought of as CPU’s working memory. Registers are storage units that connect the arithmetic-Logic unit to the main memory. When an instruction is fetched from main memory, it is placed in a register to wait instructions from the control unit. Data are also stored in registers prior to execution in the ALU. These are special temporary storage locations within the CPU, some in Control unit and others in ALU. It is used to speed up data transfer rate inside the computer system. Registers accept, store and transfer data and instructions that are being used immediately. To execute an instruction, the control unit of the CPU retrieves it from the main memory and places into the register. There are different types of registers. Some of them are accumulator register, Instruction Register & counters, Program Counter, stack registers, flag registers, data registers, Memory address registers, Memory Buffer Register, I/O registers etc. Two operations take place: (i) Instruction cycle - refers to retrieval of an instruction from main memory (ii) Execution cycle - refers to execution of instructions and subsequent storing of the results in the register. Notice that:- there is also another basic element to be considered in CPU is the bus that is The parts of the CPU are usually connected by an electronic component referred to as a bus , which acts as an electronic highway between them. As a general, Bus Refers to an electrical pathway through which bits are transmitted between the various computer components not limited to CPU parts. Depending on the design of the system, several types of buses may be present. Data Bus – carries/transfers data or instruction from CPU to other components and vice versa. Address Bus – carries the source and destination address of the memory location where the data is stored through the CPU or simply it transfer the address of the ongoing executable data or instruction. The wider the bus, the more data it can carry at one time and thus greater the processing speed of the Computer_._ Control bus – provide control for the synchronization and operation of the bus and the modules that are connected to the CPU and other computer components. it also - sends the control over each executable code and data. The Bus System: In computer architecture, a bus is a subsystem that transfers data or power between computer components inside a computer or between computers. Unlike a point-to- point connection, a bus can logically connect several peripherals over the same set of wires. Each bus defines its set of connectors to physically plug devices, cards or cables together Output Devices: This acts as a media between the computer and the user. It is used to retrieve information from computer memory for human use. Since the computer processed an input data using binary numbers, then the output must be converted in to human readable format. This is done by special devices called output device/interface. Output devices are peripheral devices through which processed data is made available for humans. An output device is an electromechanical device, which

Output Devices Hard Copy Soft Copy Printers Plotters Microfilm Monitors Audio Response Projectors converts machine readable data or the information into human readable form. The computer output generated by output devices is of two forms: Hard copy and soft copy. The printed form of output is referred as hard copy while the form of output which is shown on a display screen or is in audio/voice and video form is referred as soft copy. Based on the hard copy and soft copy outputs, the output devices are classified into two types: Hard copy output devices and soft copy output devices. Among the most extensively used output devices are video adapter cards, monitors and printers. But as a general The different types of output devices available are Visual display unit (Screen or monitor), Printer, Plotters, speaker, projectors, etc. Output Devices of Computer Monitors: This is called by different names like screen, VDU (Visual Display Unit), console etc. This is used to display the processed data or The monitor displays the output of the computer. Monitors are categorized by the colors they produce and by the technology they use. By the colors they produce, monitors are classified as follows:  Monochrome - one color text/image on single color background, i.e. white on blue, or green on black.  Grayscale – shades of gray on a white background.  Color – can display different colors, from 16 to 16 million colors. They are sometimes referred as RGB as they accept three separate signals – Red, Green and Blue. By the technology they use, monitors are classified as follows:  Cathode ray tube (CRT) – in these monitors, electrons are fired at phosphor dots on the screen. The dots are grouped into picture elements called pixels, which glow when struck by electrons. In color CRT monitors, each pixel contains a red, green and blue dot. These glow at varying intensities to produce color images. These monitors are larger, heavier, and boxier than LCD  Liquid Crystal Display (LCD) – these screens use an entirely different technique. The screen is still made of dots but is quite flat. LCD displays are made of two layers of a polarizing material with a liquid crystal solution in between. An electrical signal makes the crystals line up in a way

impact printers and non-impact printers. Impact printers strike an inked ribbon, pressing ink from the ribbon onto the paper while non - impact printers use different methods to place ink on paper. Dot–matrix printers are common types of impact printers. The print head has an assembly of tiny pins that are activated in a row and physically “hit” the paper through the ribbon to produce the desired impression. Speeds are expressed in characters per second (cps) and vary between 180cps and 400cps. These printers are loud, inexpensive and slow. The quality of the printout is not so good as that of inkjet or Laser printers. But, we can have carbon copies , receipts or invoices and printouts on stencils from these printers. Also called as serial/character printers, were developed with two objectives, i.e., greater speed and more flexibility. The images formed are by a print head that is composed of a series of little print hammers that look like the heads of pins. These print hammers strike the ribbon individually as the print mechanism moves across the entire print line in both directions. They can produce variety of type styles and graphics without requiring an operator to stop the printer. The print-head of a dot matrix printer usually has 9 pins. High-quality printers have print heads with as many as 24 pins, which allow a much more precise image to produce about 360 dpi(Dots per (square ) inch). Inkjet printers are non - impact printers in which Tiny particles of ink are electrically charged after leaving the nozzle. The droplets are then guided to the right position on paper by electrically charged deflection plates. The print quality is very good. We cannot use them with stencils nor can we produce carbon copies using these printers. Inkjet printers are available for color or black and white. Ink-jet printers work in much the same fashion as dot-matrix printers in that they form images or characters with little dots. It is also called line printer. However, the dots are formed, not by hammer-like pins, but by tiny droplets of ink. And the text these printers produce is letter quality (rather than near- letter-quality, which is produced by Dot –matrix printers). These printers can almost match the speed of dot-matrix printers-between one and four pages per minute (ppm) – and they produce less noise. Hewlett-Packard’s Desk Jet plus prints 2ppm. Several manufacturers produce color ink-Jet printers. Some of these printers come with all their color inks in a cartridge. These printers are a better choice if one use one color predominantly. Innovative type of ink-jet printer can generate up to 256,000 colors at once (216 dpi). Industry observers are expecting color ink-jet printers with 300 dpi resolution to appear in the near future. Laser (Light Amplification by Simulated Emission of Radiation) printers are the most advanced of all. In this printer the laser beam forms an image of the characters to be printed on to the light sensitive drum. Ink then sticks to the character images and is transferred from the drum and fused onto the paper. Laser printer speeds are specified in pages per minute (PPM), e.g. 6PPM, 12PPM or 24PPM. Factors to be considered while selecting printers include: speed (measured in PPM or CPS), quality (measured in dots per inch – dpi), initial cost , cost of operation and special features like support for color and large page formats. Laser printer technology is much less mechanical than impact printing (that is, no print heads move, no print hammers hit), resulting in much higher speeds and quieter operation. This resembles the operation of a photocopy machine a laser beam is directed across the surface of a light-sensitive drum and fired as needed to record an image in the form of a pattern of tiny dots. The image is then transferred to the paper – a page at a time – in the same fashion as a copy machine, using a special toner. The major advantages of these printers are: - Very high speed. -Very high image quality - Excellent graphics capabilities. - Low noise level. - A variety of type sizes and styles.

  • Low maintenance requirements. On large, high-speed laser printers, forms can be printed at the same time data is recorded in them. When high-speed laser printers (also called page printers) were introduced, they were very expensive. The desktop laser printer has become a very popular output device for microcomputer-based systems.

Many practitioners of desktop publishing prefer desktop laser printers because of the high-quality images they produce. Laser Printers are very popular in the business community. Plotters : A plotter is a specialized output device designed to produce very large size high-quality graphics in a variety of colors. There are two basic types of plotters: those that use pens and those that don’t use pens. Drum plotters and flatbed plotters both use pens. Electrostatic plotters do not use pen.

  • In a drum plotter, the paper is mounted on the surface of a drum. The drum revolves and the plotter pens (which are similar to felt-tip pens) are horizontally positioned over the target area. When the paper has rotated to the correct point, the pens are dropped to the surface and moved left and right under program control across the paper as the drum revolves. When the image is complete, the pens are raised from the surface.
  • Flatbed plotters are designed so that the paper is placed flat and one or more pens move horizontally and vertically across the paper.
  • Electrostatic Plotters use electrostatic charges to create images out of very small dots on specially treated paper. The paper is run through a developer to allow the image to appear. Electrostatic Plotters are faster than pen plotters and can produce images of very high resolution. PC Projector – an output device that connects to a PC and is used to display/project images and audio- video outputs onto a large screen such like a whiteboard or other surface so that a large audience can see it. Storage Unit: The physical material that actually holds data is called storage medium. For example The surface of floppy disk (or the diskette) is storage medium. The hardware that writes data to or reads data from a storage medium is called a storage device. A floppy disk drive is a storage device. The data and instructions that are entered into the computer system through input units have to be stored inside the computer before the actual processing starts. Similarly, the results produced by the computer after processing must also be kept somewhere inside the computer system before being passed on to the output units. Moreover, the intermediate results produced by the computer must also be preserved for ongoing processing. The storage unit of a computer system is designed to cater to all these needs. It provides space for storing data and instructions, space for intermediate results, and also space for the final results. The storage unit comprises of two types of storage: That means computer has both primary as well as secondary storage devices. Primary storage: The primary storage of the computer is the one which is directly accessible by the control unit and Arithmetic- Logic unit. It holds the instructions and data elements which are currently being used by the computer and is used to store both data and programs. It is also used to hold intermediate and final results of computation. The primary storage, also known as main memory or RAM ( Random Access Memory ), stores data and program code needed by the CPU. Contents of RAM change rapidly and often. RAM can hold information only while the computer system is on. As soon as the computer system is switched off or reset, the information held in the primary storage disappears. Additionally, the primary storage normally has limited storage capacity because it is very expensive. The primary storage of modern computer systems is made up of semiconductor devices. Main memory also called as Primary storage or internal memory and it is the part of the hardware that temporarily holds data and instructions needed shortly by the control unit. The earliest form of main memory was based on the vacuum tubes that were large in size and had a very little capacity of about some bytes to store or hold. Today memory can contain 256 K- 1 Mega on a single memory chip. The main memory in today’s computer on Semiconductor technology, which involves coating silicon chip with a material that can take on two different states (on / off); the material either conducts or will not conduct electricity. Chips are very small and relatively inexpensive to manufacture and they do not consume as much power as older forms of main memory. The use of

additional kinds of nonvolatile memory are used in some computer systems namely PROM, EPROM, EEPROM.

1. PROM It stands for Programmable Read-Only Memory. It functions in the same way a regular ROM component does, with a difference that these chips are custom-made (customer determines what data and instructions are recorded on them) for the user by the manufacturer. The disadvantage of these chips is that if data is recorded on them once, it can’t be changed. To store anything on PROM, first it must be free (clear). 2. Erasable programmable Read-Only Memory (EPROM). These chips were developed as an improvement over PROM chips. EPROM is beneficial over PROM in the manner that with the help of a special device, using ultraviolet rays the data and instructions on it can be erased in approximately 15 minutes. Then the device called as PROM burner is used to reprogram the chip. To change the instructions on EPROM chip, the chip must be taken out of the machine and then put back when changes have been made. This is seldom used by the computer users instead replace the EPROM with a new programmed one. 3. Electrically Erasable Programmable Read-Only Memory (EEPROM). It avoids the inconvenience of having to take the chips out of the computer to change data and instructions. Instead, changes can be electrically made under the software control. The data recorded on them can be easily updated. The only disadvantage of these chips is that their costs are substantially more than the regular ROM’s. Secondary storage: we have seen that The term primary storage refers to the main memory of a computer, where both data and instructions are held for immediate access and use by the computer’s central processing unit. Most primary storage is considered a volatile form of storage, meaning that the data and instructions are lost when the computer is turned off. Some of the reasons for the development of secondary storage devices are: - Secondary storage or auxiliary storage is any storage device designed to retain data and instructions (Programs) in a more permanent form. - Secondary storage is non-volatile, meaning that the data and instructions remain intact when the computer is turned off and - The need to have least cost, removable and mass storage devices. The secondary storage , also known as auxiliary storage , is used to take care of the limitations of the primary storage. That is, it is used to supplement the limited storage capacity and the volatile characteristic of primary storage. It is much cheaper than primary storage and it can retain information even when the computer system is switched off or reset. The secondary storage is normally used to hold the program instructions, data, and information of those jobs on which the computer system is not working on currently, but needs to hold them for processing at a later time. There exist two technologies for secondary storage : magnetic and optical****. Floppy disk, hard disk, magnetic tape is examples of magnetic storage. CD-ROM, DVD-ROM, CD-R, CD-RW are examples of optical storage.— based on technology used. A. Magnetic storage devices – Magnetic disks are metal disks coated with ferrous oxide. They allow for random access of information and overcome the slow access time found in tapes. Disks are usually grouped together into a disk pack separated by small air spaces to allow access for read/write heads. Because of the more sophisticated hardware and software is required to access information directly, the cost of magnetic disk is greater than magnetic tape. Magnetic disks have a part that rotates when the data is stored or accessed from it. the medium contains iron particles, which can be polarized , i.e. given magnetic charge in one of two directions. Each particle’s direction represents a 1 or a 0, representing each bit of data that the CPU can recognize. A disk drive uses read/write heads containing electromagnets to create magnetic charges on the medium. It includes floppy and hard disks o Formatting maps the disk’s surface and determines how data will be stored. During formatting, the drive creates circular tracks around the disk’s surface, and then divides each into sections called sectors. The OS organizes sectors into groups, called clusters , then tracks

each file’s location according to the cluster it occupies. Formatting also deletes any information that exists on the disk. o During formatting, the OS creates four areas on its surface.  Boot sector – stores the master boot record, a small program that runs when you first start the computer.  File allocation table (FAT) – a log that records each file’s location and each sector’s status.  Root folder – enables the user to store data on disk in a logical way.  Data area – the portion of the disk that actually holds the data. i) Hard disk drive: Inside the case of the hard disk drive are a set of rigid rotating disks, called platters, stacked on a spindle. As the platters rotate at high speed, Read/Write heads move back and forth recording or reading magnetic information on both sides of the platters. The speed with which the heads can find data is called “ average access time ”. Hard disk drives are normally installed inside the computer case although external hard disk drives, which connect to the computer by a cable, are also available. Hard disk drive is selected based on its storage capacity (measured in “Gigabytes” (GB)) and its access time (measured in milliseconds (ms)). The larger the capacity and the smaller the access time, the better. Today, it is not uncommon to have hard disks with capacity in excess of 200GB. Operating system and application software normally reside in hard disk drives. Documents created using application software may also be placed on hard disk drives. ii) Floppy disk drive: Floppy is a secondary storage devices that holds data for a long period of time. But the duration of the data with in this device depends on the condition / place where the disk is placed. Because it is sensitive to distortion by environmental and human influences such as dust, Worms and virus. It mostly used for transferring data from one computer to another. Floppy disk drives store information onto a removable media known as diskettes or floppy disks. Floppy disk drives operate slower and have much less capacity (1.44MB) than hard disk drives. Diskettes store information on the magnetic surfaces of a thin, flexible disk inside a protective plastic cover. Although some years back, we had two standards as far as physical size is concerned, namely 3½” and 5¼”, the standard size these days is invariably 3½”. With respect to the amount of information that a 3½” diskette can store, a few years back diskettes were coming with sizes of 720KB and 1.44MB; now they come only with 1.44MB. It is possible for someone to format a diskette, or write information on a diskette unintentionally and important information could be lost in certain situations. To avoid such unintentional loss of information, diskettes are write–protected. To write – protect a 3½” diskette, open the write–protect window by sliding the plastic tab covering the window. We can read information that is stored in write–protected diskettes, but we cannot write onto them. Software used to come in floppies some years ago. Now, floppies are rarely used to carry software unless the software happens to be very small. Floppies are mainly used to carry personal files, to transfer information from one PC to another or as backup media for small files. Previously, a good number of removable (floppy–like) drives have made their way into the computer business, but nowadays it is out of the market (becoming obsolete ). Their capacities range from 100MB (Iomega Zip) to 1.5GB (SyQuest SyJet). Indeed, the larger capacity drives are considered “portable equivalent of the hard drive”. They may be used to supplement the hard disk drive, to carry private files, to transport personal files and core applications between home and office and to backup important files.

3. CD–RW is rewritable CD–ROM technology. CD–R/W drives can also be used to write CD– R discs, and they can read CD–ROMs. But, CD–R/W disks have a lower reflectivity than CD– ROMs, and CD–ROM drives must be of the newer multiread variety in order to read them. CD–R/W was initially known as CD–E (or CD–Erasable). this enables to write onto it multiple sessions. This drives and disks, one can treat the optical disk like a floppy or hard disk, writing data on it multiple times. 4. Digital Video Disc (DVD), also called Digital Versatile Disc , is similar to CD–ROMs but able to store far more music, video or data than CD. DVDs are of the same physical size as today's CDs but are able to store as much as 17GB, compared to the 650MB on today's CD– ROMs.. Nowadays, in addition to recordable, it comes with rewritable form. We have seen that There are different types of secondary storage devices available. They are also in some context termed as input-output devices as we store as well as retrieve data from them. Some were used during the earlier generations of computers. Based on the way the data is accessed from them, secondary storage devices are categories in to two groups: **direct (random) and sequential.

  1. Sequential (Serial) Access Method Example: Magnetic tape and punched cards A.** Punched cards : Keypunch machines are used to input information from a keyboard onto punched cards. They punch holes into the card using standard code system. One card can hold 80 characters in a row. There are 12 rows on the standard punched card and a unique combination of 1, 2, or 3 punches represents a letter, number or a symbol. These cards use either BCD or Hollerith code-system. Once cards are punched and verified, they can be input in the computer system through a card reader. Card readers interpret the holes in the punched cards and translate those holes into digital signals for the CPU. Disadvantages: Reading speed is slow , Business records are longer than 80 characters which cannot be fit in the cards and Once punched it cannot be changed See the previous explanation **about Magnetic tape on page 14
  2. Direct (random) Access Method Example:** All of the above storage devices we have seen except magnetic tape such as magnetic disks(hard disk & floppy disk), optical disks (CD-ROM & DVD) etc. Factors that affect the processing speed of a computer include: Registers – these are the memory areas in the CPU that store data and instructions while CPU processes them. The size of the registers, also called word size , determines the amount of data with which the computer can work at one time. Most PCs have 32-bit registers. RAM – has direct effect on system’s speed. The more the RAM size, the faster. These days, PCs come with RAM sizes of 128MB – 512MB. System clock – sets the pace for the CPU by using a vibrating quartz crystal. A single “tick” of the clock is the time required to turn a transistor off and back on. This is a clock cycle measured in hertz (Hz). The faster the PC’s clock runs, the more instructions the PC can execute each second. Today, PC clock speeds exceed 3GHz (3 X 10^9 Hz). Bus width – determines how many bits can be transmitted between the CPU and other devices. The bus refers to the path between components of a computer. The larger the bus width, the faster the computer. Cache memory – cache is a high speed memory that holds the most recent data and instructions that have been loaded by the CPU. It is located directly on the CPU (L1 cache) or between the CPU and RAM (L2 cache). Amount of cache memory has tremendous impact on the computer speed. The larger the cache size, the faster the computer. COMPUTER SOFTWARE

Introduction: As we know, a computer cannot think or perform on its own. It performs various operations only when the user instructs it to do so. The user issues instructions and the CPU acts in accordance with the instructions. Such a sequence of instructions written in a language that can be understood by a computer is called a program. It is the program that controls the processing activity of computers, and computer performs precisely what the programs want it to do. The term software refers to the set of computer programs, procedures and associated documents. The sets of instructions which control the sequence of operations are known as programs and collectively programs are called software. Computer software is essential complement to computer hardware. Software is a fundamental to make the innate power of the hardware available to the user. Software can be defined as “A Program or set of programs to perform a task using the capabilities of the Hardware”. Hardware is a one-time expense but software is continues. Computer software is a set of instructions that tell the computer hardware what to do. Relationship between Software and Hardware: Software refers to the computer programs that are loaded into a computer system and hardware refers to all the visible devices, which are assembled together to build a computer system. It is the blending of software and hardware that gives life to a computer system. Both are complementary to each other. Software Categories: Computer software can be classified into two major categories: System s oftware and Application software. System software is the software that is essential for computer to function. Application software is the additional software that a user chose accomplish a specific task. System software helps the computer manage its own tasks and devices. System software can further be classified as operating system, programming language and utilities : System software is the program that control the way the computer operates. These include the operating systems , language soft wares (translators), utilities and the like. The two most important categorizes of system soft wares are operating system and language software. System software lies between the user and the hardware parts of the computer Application Software System Software Hardware

d. Device Management : It manages all the devices of the computer system such as monitor, printer, disk etc. also called input / output management e. Security Management : It protects system resources and information against destruction and unauthorized use. f. User Interface : It provides the interface between the user and the hardware. g. interpretation and execution of commands h. maintenance of internal time clock i. controlling operations (control programs) Types of operating system: Operating systems can be divided into different classes based on the following criteria. Based on the

- number of users they can serve at one or different stations and - number of programs the operating system handle/ support on a time, operating systems can be: a) Single user-single tasking operating system. Normally allows only one user to access the system at a time. Operating system of this type is used by many microprocessor systems. It runs one program at a time. Examples of single user operating system include MS-DOS (Micro Soft Disk Operating System) produced by Microsoft. Advantage: Since only one user process is being executed at any time, all the resources are available to the process. So its execution speed is good. Disadvantage : A number of resources are present in a computer system and only one of these resources being utilized by the process, all other resources remain idle. So there is a low degree of resource utilization. It is serial processing system. b) Single user, multi-tasking operating system: In this operating system, all resources are dedicated to only one user. But the user can use more than one program (resource). It overcomes over a single user-single tasking operating system. Windows (98, 2000, XP, Vista etc) are good examples of this operating system. c) Multi-user, multi-tasking operating system: It is mostly used on the networked environment. More than one user can utilized the resources available on the computer like hard wares and soft wares. E.g. Linux, UNIX, etc ii) Device Drivers: Device drivers are system programs , which are responsible for proper functioning of devices. Every device or hardware, whether it is printer, monitor, mouse or keyboard, has a driver program for support. Whenever a new device is added to the computer system, a new device driver must be installed before the device can be used. In modern operating systems, most hardware drivers such as keyboard driver, comes with the operating system. For other devices like printer, a user must load the device driver of that particular printer. A driver acts like a translator between the device and programs that use the device. iii) System Utilities: Utility programs or utilities are a set of programs that help users in system maintenance tasks and in performing tasks of routine nature. Some of the tasks commonly performed by utility programs include the following:  Formatting hard disks or floppy disks.  Reorganizing files on hard disk to conserve storage space.  Taking back up of files stored on hard disk  Checking the amount of available memory  Checking the amount of available storage space on hard disk.  Scanning the system for computer viruses. Language Software : Are software’s which are used by programmers to develop application soft wares and translate programs to machine code. Language software is a generic name consisting of various programs that serve as editors & translators to develop programs in a number of programming languages. Includes:- Translators, general purpose routines and utilities & high level languages

System Development Programs: System development programs consist of system software, which are associated with the development of computer programs. These program development tools allow programmers to write and construct programs that the operating system can execute. Examples are computer languages, language translators, linkers and loaders. a. Programming Language: A programming language is a primary interface of a programmer with a computer. A program is an ordered list of instructions that, when executed, causes the computer to behave in a predetermined manner. A programming language includes a series of commands, which are used in development of software. Programming language are further divided into three categories namely, Machine language, assembly language and high level language. b. Language Translator: Computers only understand a language consisting of only 0s and 1s called machine language. To ease the burden of programming entirely in 0s and 1s, a special programming language called high level programming languages were developed that resembled natural languages like English. Therefore a tool was required which could translate a program written in a programming language to machine language. This program is referred to as language translator. It helps in converting programming language to machine language. There are three types of translators. Assemblers, Compilers & interpreters. Assemblers: - translate programs written in assembly language into machine code which can be executed on the target computer. Compilers: - translate programs written in a high level language into machine code , which can be executed on the target computer. A compiler reads the source program statement by statement, translates it into an equivalent machine code, and produces the object program file, which is then executed without the presence of the compiler. (example: PASCAL, FORTRAN COBOL) Interpreters : - is a program that translates each instruction of high level language & executes the instruction before translating the next instruction implies these are another form of programs that translate programs written in a high level language into machine code. Unlike a compiler , an interpreter reads one statement of the source program, translates it and executes it immediately. It then goes to the next statement until the source program is exhausted. As a result, it doesn’t produce an executable object program file. c. Linker: A linker is a system program that links together several object modules and libraries to form a single, coherent program (executable) d. Loader: Loader is a kind of system software, which is responsible for loading and relocation of the executable program in the main memory. The functions of loader include assigning load time space for storage, that is storage allocation and to assist a program, to execute properly Application Software: These types of software’s that are designed to perform tasks for the specific area which used in more than one installation.. They are usually called application packages as they may include a number of programs along with operating instruction, documentation and so forth. The most often used software by a general user is the application software. It is used to accomplish specific tasks rather than just managing a computer system. Application software may consist of a single program such as Microsoft’s Notepad for writing and editing simple text or It may also consists of a collection of programs called a software package, which work together to accomplish a task such as a spreadsheet package. Application software may also include a larger collection of programs ( a software suite), related but independent programs, which have a common user interface, such as Microsoft Office Suite. Application software are in turn controlled by system software, which