




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Unit – I Introduction to Computers : Definition of computer, Characteristics and limitations of Computers, Functional Block diagram of digital computers, Functions of Control Unit and ALU in CPU, Concept of Primary memory (RAM & ROM) and secondary memory, Magnetic Hard disks, Magnetic Tapes, Floppy disk, CD-ROM, Input / Output Devices. Networks: Definition - Network types: LAN, MAN, WAN - Network Topologies: Mesh, Bus, Star, Ring, Hybrid – Protocols. Introduction to Computers: Meaning of a Computer: Computer is a machine that can solve problems by accepting data performing certain operations and presenting the results of those operations under the direction of detailed step-by-step instructions. Such a set of sequenced instructions, which cause a computer to perform particular operations, is called a program. The term computer has been derived from the word “COMPUTE” which means calculate. Definition of a computer Computer is an electronic device, used for performing calculations and controlling operations that be either expressed in logical or numerical terms. ⮚ It stores and process data in binary form according to instructions given to it in a variable program. ⮚ Computer need to be told exactly what to do and how to do to accomplish a task ⮚ It is a combination of hardware and software ⮚ Software is the set of instructions given to the computer to perform a task ⮚ The physical parts that make up computer are called hardware, which are made of circuits and transistors The three main operations of computer are
Characteristics of a Computer: The following are the main characteristics of a computer-
output (after processing) on the other hardware devices such as monitor, LCDs, scanner, printers etc.
✔ The software of the computer includes operating system which executes all the programs and instructions given by the user. ✔ The computer software itself is categorized into two
1. System Software ⮚ It is collection of programs designed to operate, control, and extend the processing capabilities of the computer itself. System software are generally prepared by computer manufactures. These software products comprise of programs written in low-level languages which interact with the hardware at a very basic level. System software serves as the interface between hardware and the end users. ⮚ Includes the software execution by the computer itself such as Windows and DOS. 2. Application Software ⮚ Application software products are designed to satisfy a particular need of a particular environment. ⮚ Application software may consist of a single program, such as a Microsoft's notepad for writing and editing simple text. It may also consist of a collection of
Memory is the most essential element of a computing system because without it computer can’t perform simple tasks. Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM. There are two types of memory:
Primary memory holds only those data and instructions on which computer is currently working. It has limited capacity and data is lost when power is switched off. It is generally made up of semiconductor device. These memories are not as fast as registers. The data and instruction required to be processed reside in main memory. Primary storage or main memory stores three types of information for very brief periods of time: ✔ Data to be processed by the CPU. ✔ Instructions for the CPU as to how to process the data.
2. Read Only Memory (ROM): ROM stands for read-only memory, and the name stems from the fact that while data can be read from this type of computer memory, data cannot normally be written to it. It is a very fast type of computer memory which is usually installed close to the CPU on the motherboard. ROM is a type of non-volatile memory, which means that the data stored in ROM persists in the memory even when it receives no power – for example when the computer is turned off. In that sense it is similar to secondary memory, which is used for long term storage. The ROM usually contains "bootstrap code" which is the basic set of instructions a computer needs to carry out to become aware of the operating system stored in secondary memory, and to load parts of the operating system into primary memory so that it can start up and become ready to use. ROM is mainly of three types: I. Programmable read only memory (PROM) allows a chip to be programmed by the user for converting critical and lengthy operations into micro programs that are fused into a chip. The user buys a blank PROM and enters the desired contents using a PROM program. Inside the PROM chip there are small fuses which are burnt open during programming. It can be programmed only once and is not erasable. Once they are in a hardware form, they can be executed at a very high speed and can’t be altered.
II. Erasable PROM (EPROM ) can be erased and reprogrammed. The EPROM chip has a small window on top allowing it to be erased by exposing it to ultra-violet light for duration of up to 40 minutes. After reprogramming the window is covered to prevent new contents being erased III. Electrically Erasable PROM (EEPROM) is programmed and erased electrically. It can be erased and reprogrammed about ten thousand times. Both erasing and programming take about 4 to 10 ms (milli second). In EEPROM, any location can be selectively erased and programmed. EEPROMs can be erased one byte at a time, rather than erasing the entire chip. Hence, the process of re-programming is flexible but slow. Difference between RAM and ROM:
3. Cache Memory: Cache memory is typically integrated directly with the CPU chip or placed on a separate chip. Many processors also have built-in specialized storage elements that
⮚ Program Counter Register (PC): The program counter holds the location of the next instruction to be fetched from memory. ⮚ Accumulator Register : It is used as the default location to store any calculations performed by the arithmetic and logic unit.
Secondary (Auxiliary) storage is the non-volatile memory that is stored externally to the computer. A secondary medium usually used for the storage of large amount of data for permanent or long-term storage of data or programs. While the secondary media can hold much more data than primary storage, access to the data is slower. The benefits of secondary storage are: Capacity, Reliability and Convenience Different secondary storage media can be ranked according to the following criteria: ⮚ Retrieval speed - The access time of a storage device is the time it takes to locate and retrieve the stored data. A fast access time is preferable for any storage media. ⮚ Storage capacity - A device’s storage capacity is the ability to store data. A large storage capacity is desired. ⮚ Cost per bit of capacity - Low cost is preferred. Secondary storage media with all sizes of computers can be broadly categorized into:
density (the number of characters that can be stored in a given physical space) is high and its transfer rate (the speed with which data can be copied into processor storage) is fast. Advantages : ⮚ Low cost and ease of handling. ⮚ High data density Limitations of Magnetic Tape : ⮚ Lack of direct access to records. ⮚ Environmental problems-sensitivity to dust, humidity and temperature levels.
2. Magnetic disk: A magnetic disk is a Mylar or metallic platter on which electronic data are stored. Unlike magnetic tapes, data on magnetic disks can also be read randomly. The data are recorded as tiny invisible magnetic spots on its iron oxide coating. It consists of two or more metal platters mounted on central spindle like a stack. Each platter is covered with a magnetic coating, and the entire unit is encased in a sealed chamber. The motor spins the platter and sets the read/write head on the disk to read from or to write on to the disk. The top most layer of the top platter and bottom most layer of the bottom platter is not used to storing a data as they may contain some dust particles. These heads are fastened to an arm in a disk storage device so that they can be moved quickly and directly to any disk location to store or retrieve data. The surface of the magnetic disk is divided into number of invisible concentric circles called “tracks”. The tracks are further subdivided into “sectors”, “blocks” etc. each its own unique addresses to facilitate the location of data. Disk moves on a vertical rotating spindle. Data on magnetic disks can be read randomly. The access time for data stored on a magnetic disk is determined by two factors: 1. The seek time i.e. the time required for positioning read/write head over the proper track.
⮚ CD-ROMs are popularly used to distribute computer software, including games and multimedia applications, though any data can be stored. ⮚ The CD-ROM s are pre-recorded disks used for storing a large amount of data (or) information. Optical Card: The Optical card, or laser card, is the size of a credit card and has an optical laser-encoded strip that can store approximately 2 megabytes of data. These cards have many potential uses, most notably for storing credit records or medical histories. Optical Tape: Optical tape is similar in appearance to magnetic tape, but data are stored by optical laser techniques. Optical tapes, which are in cassette form, can store over 8 gigabytes each providing a total storage of about 1 terabyte (1, gigabytes). Like other optical methods of data storage, optical tape is read only.
⮚ A floppy disk is a magnetic storage medium for computer systems. The floppy disk is composed of a thin, flexible magnetic disk sealed in a square plastic
carrier. In order to read and write data from a floppy disk, a computer system must have a floppy disk drive (FDD). ⮚ A floppy disk is also referred to simply as a floppy. Since the early days of personal computing, floppy disks were widely used to distribute software, transfer files, and create back-up copies of data. When hard drives were still very expensive, floppy disks were also used to store the operating system of a computer. ⮚ Floppy disks store much less data than a CD-ROM disk or USB flash drive. A normal 3½ inch disk can store 1.44 megabytes of data. This is usually enough for simple text documents. ⮚ A number of different types of floppy disks have been developed. The first floppy disks were 8 inches (20 cm) across. In the late 1970s, floppy disks became smaller, with the arrival of 5.25-inch (13.3-cm) models, and the final floppy disks, which debuted in the 1980s, were 3.5 inches (9 cm) in diameter. ⮚ Data were arranged on the surface of a disk in concentric tracks. The disk was inserted in the computer’s floppy disk drive, an assembly of magnetic heads and a mechanical device for rotating the disk for reading or writing purposes. A small electromagnet, called a magnetic head, wrote a binary digit (1 or 0) onto the disk by magnetizing a tiny spot on the disk in different directions and read digits by detecting the magnetization direction of the spots.
The CPU provides the means for the fast and efficient processing of data into usable information. For computer processing, data needs to be entered into the computer (input) and the result of processing needs to be communicated to the user (output). Any hardware item which is attached to the main unit of a computer that houses the CPU is referred to as a Peripheral Device.
An input device is a peripheral device through which data are entered and transformed into machine-readable form. Let us have a look at various input devices available.
1. Keyboards Standard keyboard is the most common and familiar input device. A typical computer keyboard contains all letters, numbers, symbols of a regular typewriter, plus other keys. Every key on the keyboard underneath it consists of a tiny chip called as keyboard controller, when a key is pressed the controller places the code into the part of the memory called keyboard buffer. The buffer temporarily holds the data till it is processed. The signal the keyboard sends to the computer is called
as interrupt. The keyboard sends an interrupt request to the system software and the data is processed. S.No. Keys Description 1 Typing Keys These keys include the letter keys (A-Z) and digits keys (0-9) which generally give same layout as that of typewriters. 2 Numeric Keypad It is used to enter numeric data or cursor movement. Generally, it consists of a set of 17 keys that are laid out in the same configuration used by most adding machine and calculators. 3 Function Keys The twelve functions keys are present on the keyboard. These are arranged in a row along the top of the keyboard. Each function key has unique meaning and is used for some specific purpose. 4 Control keys These keys provide cursor and screen control. It includes four directional arrow key. Control keys also include Home, End, Insert, Delete, Page Up, Page Down, Control(Ctrl), Alternate(Alt), Escape(Esc). 5 Special Purpose Keys Keyboard also contains some special purpose keys such as Enter, Shift, Caps Lock, Num Lock, Space bar, Tab, and Print Screen.
2. Mouse A mouse is a pointing device. It usually contains one or three buttons: as the user rolls it on a flat surface, the mouse controls cursor movement on the screen. When the user presses one of the buttons, the mouse either marks a place on the screen or makes selections from data on the screen. It can be used for many applications ranging from games to designing products with graphics. It can be used as an