Docsity

Introduction to internet, Study notes of Internet and Information Access

Partial preview of the text

Download Introduction to internet and more Study notes Internet and Information Access in PDF only on Docsity!

SCHOOL OF ELECTRICAL AND ELECTRONICS

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

UNIT – I – INTRODUCTION TO COMPUTER HARDWARE – SBS

UNIT 1

Introduction to Computer Hardware A computer is an electronic device, operating under the control of instructions stored in its own memory that can accept data (input), process the data according to specified rules, produce information (output), and store the information for future use. Characteristics of a Computer High Speed

  • Computer is a very fast device.
  • It is capable of performing calculation of very large amount of data.
  • The computer has units of speed in microsecond, nanosecond, and even the picosecond.
  • It can perform millions of calculations in a few seconds as compared to man who will spend many months to perform the same task. Accuracy
  • In addition to being very fast, computers are very accurate.
  • The calculations are 100% error free.
  • Computers perform all jobs with 100% accuracy provided that the input is correct. Storage Capability
  • Memory is a very important characteristic of computers.
  • A computer has much more storage capacity than human beings.
  • It can store large amount of data.
  • It can store any type of data such as images, videos, text, audio, etc. Diligence
  • Unlike human beings, a computer is free from monotony, tiredness, and lack of concentration.
  • It can work continuously without any error and boredom.
  • It can perform repeated tasks with the same speed and accuracy. Versatility
  • A computer is a very versatile machine.
  • A computer is very flexible in performing the jobs to be done.
  • This machine can be used to solve the problems related to various fields.
  • At one instance, it may be solving a complex scientific problem and the very next moment it may be playing a card game.
  • Payroll calculations
  • Budgeting
  • Sales analysis
  • Financial forecasting
  • Managing employee database
  • Maintenance of stocks, etc. Banking Today, banking is almost totally dependent on computers. Banks provide the following facilities −
  • Online accounting facility, which includes checking current balance, making deposits and overdrafts, checking interest charges, shares, and trustee records.
  • ATM machines which are completely automated are making it even easier for customers to deal with banks. Insurance Insurance companies are keeping all records up-to-date with the help of computers. Insurance companies, finance houses, and stock broking firms are widely using computers for their concerns. Insurance companies are maintaining a database of all clients with information showing −
  • Procedure to continue with policies
  • Starting date of the policies
  • Next due installment of a policy
  • Maturity date
  • Interests due
  • Survival benefits
  • Bonus Education The computer helps in providing a lot of facilities in the education system.
  • The computer provides a tool in the education system known as CBE (Computer Based Education).
  • CBE involves control, delivery, and evaluation of learning.
  • Computer education is rapidly increasing the graph of number of computer students.
  • There are a number of methods in which educational institutions can use a computer to educate the students.
  • It is used to prepare a database about performance of a student and analysis is carried out on this basis. Marketing

In marketing, uses of the computer are following −

  • Advertising − With computers, advertising professionals create art and graphics, write and revise copy, and print and disseminate ads with the goal of selling more products.
  • Smart Weapons Communication Communication is a way to convey a message, an idea, a picture, or speech that is received and understood clearly and correctly by the person for whom it is meant. Some main areas in this category are −
  • E-mail
  • Chatting
  • Usenet
  • FTP
  • Telnet
  • Video-conferencing Government Computers play an important role in government services. Some major fields in this category are −
  • Budgets
  • Sales tax department
  • Income tax department
  • Computation of male/female ratio
  • Computerization of voters lists
  • Computerization of PAN card
  • Weather forecasting
  • Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. Nowadays, generation includes both hardware and software, which together make up an entire computer system.
  • There are five computer generations known till date. Each generation has been discussed in detail along with their time period and characteristics. In the following table, approximate dates against each generation have been mentioned, which are normally accepted. GENERATION OF COMPUTERS

S.No Generation & Description 1 First Generation The period of first generation: 1946-1959. Vacuum tube based. 2 Second Generation The period of second generation: 1959-1965. Transistor based. 3 Third Generation The period of third generation: 1965-1971. Integrated Circuit based. 4 Fourth Generation The period of fourth generation: 1971-1980. VLSI microprocessor based. 5 Fifth Generation The period of fifth generation: 1980-onwards. ULSI microprocessor based. First Generation Computers: The period of first generation was from 1946-1959. The computers of first generation used vacuum tubes as the basic components for memory and circuitry for CPU (Central Processing Unit). These tubes, like electric bulbs, produced a lot of heat and the installations used to fuse frequently. Therefore, they were very expensive and only large organizations were able to afford it. In this generation, mainly batch processing operating system was used. Punch cards, paper tape, and magnetic tape was used as input and output devices. The computers in this generation used machine code as the programming language. The main features of the first generation are: Vacuum tube technology, Unreliable, Supported machine language only, Very costly, Generated a lot of heat, Slow input and output devices, Huge size, Need of AC, 15 Non-portable, Consumed a lot of electricity. Second Generation Computers: The period of second generation was from 1959-1965. In this generation, transistors were used that were cheaper, consumed less power, more compact in size, more reliable and faster than the first generation machines made of vacuum tubes. In this generation, magnetic cores were used as the primary memory and magnetic tape and magnetic disks as secondary storage devices. In this generation, assembly language and high- level programming languages like FORTRAN, COBOL were used. The

1 Take Input The process of entering data and instructions into the computer system. 2 Store Data Saving data and instructions so that they are available for processing as and when required. 3 Processing Data Performing arithmetic, and logical operations on data in order to convert them into useful information. 4 Output Informatio n The process of producing useful information or results for the user, such as a printed report or visual display. 5 Control the workflow Directs the manner and sequence in which all of the above operations are performed.

Input Unit This unit contains devices with the help of which we enter data into the computer. This unit creates a link between the user and the computer. The input devices translate the information into a form understandable by the computer. Following are some of the important input devices which are used in a computer −

  • Keyboard
  • Mouse
  • Joy Stick
  • Light pen
  • Track Ball
  • Scanner
  • Graphic Tablet
  • Microphone
  • Magnetic Ink Card Reader(MICR)

S.No Keys & Description 1 Typing Keys These keys include the letter keys (A-Z) and digit keys (09) which generally give the same layout as that of typewriters. 2 Numeric Keypad It is used to enter the 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 machines and calculators. 3 Function Keys The twelve function keys are present on the keyboard which are arranged in a row at the top of the keyboard. Each function key has a unique meaning and is used for some specific purpose. 4 Control keys These keys provide cursor and screen control. It includes four directional arrow keys. 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. Mouse Mouse is the most popular pointing device. It is a very famous cursor-control device having a small palm size box with a round ball at its base, which senses the movement of the mouse and sends corresponding signals to the CPU when the mouse buttons are pressed. Generally, it has two buttons called the left and the right button and a wheel is present between the buttons. A mouse can be used to

control the position of the cursor on the screen, but it cannot be used to enter text into the computer. Advantages

  • Easy to use
  • Not very expensive
  • Moves the cursor faster than the arrow keys of the keyboard. Joystick Joystick is also a pointing device, which is used to move the cursor position on a monitor screen. It is a stick having a spherical ball at its both lower and upper ends. The lower spherical ball moves in a socket. The joystick can be moved in all four directions.The function of the joystick is similar to that of a mouse. It is mainly used in Computer Aided Designing (CAD) and playing computer games. Light Pen Light pen is a pointing device similar to a pen. It is used to select a displayed menu item or draw pictures on the monitor screen. It consists of a photocell and an optical system placed in a small tube. When the tip of a light pen is moved over the monitor screen and the pen button is pressed, its photocell sensing element detects the screen location and sends the corresponding signal to the CPU. Track Ball Track ball is an input device that is mostly used in notebook or laptop computer, instead of a mouse. This is a ball which is half inserted and by moving fingers on the ball, the pointer can be moved. Since the whole device is not moved, a track ball requires less space than a mouse. A track ball comes in various shapes like a ball, a button, or a square. Scanner Scanner is an input device, which works more like a photocopy machine. It is used when some information is available on paper and it is to be transferred to the hard disk of the computer for further manipulation. Scanner captures images from the source which are then converted into a digital form that can be stored on the disk. These images can be edited before they are printed. Microphone Microphone is an input device to input sound that is then stored in a digital form. The microphone is used for various applications such as adding sound to a multimedia presentation or for mixing music. Magnetic Ink Card Reader (MICR) MICR input device is generally used in banks as there are large number of cheques to be processed every day. The bank's code number
  • All inputs and outputs are transmitted through the main memory. Memory is primarily of three types −
  • Cache Memory
  • Primary Memory/Main Memory
  • Secondary Memory Cache Memory Cache memory is a very high speed semiconductor memory which can speed up the CPU. It acts as a buffer between the CPU and the main memory. It is used to hold those parts of data and program which are most frequently used by the CPU. The parts of data and programs are transferred from the disk to cache memory by the operating system, from where the CPU can access them. Advantages The advantages of cache memory are as follows −
  • Cache memory is faster than main memory.
  • It consumes less access time as compared to main memory.
  • It stores the program that can be executed within a short period of time.
  • It stores data for temporary use. Disadvantages The disadvantages of cache memory are as follows −
  • Cache memory has limited capacity.
  • It is very expensive. Primary Memory (Main Memory) Primary memory holds only those data and instructions on which the computer is currently working. It has a 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 resides in the main memory. It is divided into two subcategories RAM and ROM. Characteristics of Main Memory
  • These are semiconductor memories.
  • It is known as the main memory.
  • Usually volatile memory.
  • Data is lost in case power is switched off.
  • It is the working memory of the computer.
  • Faster than secondary memories.
  • A computer cannot run without the primary memory. Secondary Memory This type of memory is also known as external memory or non-volatile. It is slower than the main memory. These are used for storing data/information permanently. CPU directly does not access these memories, instead they are accessed via input-output routines. The contents of secondary memories are first transferred to the main memory, and then the CPU can access it. For example, disk, CD-ROM, DVD, etc. Characteristics of Secondary Memory
  • These are magnetic and optical memories.
  • It is known as the backup memory.
  • It is a non-volatile memory.
  • Data is permanently stored even if power is switched off.
  • It is used for storage of data in a computer.
  • Computer may run without the secondary memory.
  • Slower than primary memories. RAM (Random Access Memory) is the internal memory of the CPU for storing data, program, and program result. It is a read/write memory which stores data until the machine is working. As soon as the machine is switched off, data is erased. Access time in RAM is independent of the address, that is, each storage location inside the memory is as easy to reach as other locations and takes the same amount of time. Data in the RAM can be accessed randomly but it is very expensive. RAM is volatile, i.e. data stored in it is lost when we switch off the computer or if there is a power failure. Hence, a backup Uninterruptible Power System (UPS) is often used with computers. RAM is small, both in terms of its physical size and in the amount of data it can hold. RAM is of two types −
  • Static RAM (SRAM)
  • Dynamic RAM (DRAM) Static RAM (SRAM) The word static indicates that the memory retains its contents as long as power is being

Let us now discuss the various types of ROMs and their characteristics. MROM (Masked ROM) The very first ROMs were hard-wired devices that contained a pre-programmed set of data or instructions. These kind of ROMs are known as masked ROMs, which are inexpensive. PROM (Programmable Read Only Memory) PROM is read-only memory that can be modified only once by a user. 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. EPROM (Erasable and Programmable Read Only Memory) EPROM can be erased by exposing it to ultra-violet light for a duration of up to 40 minutes. Usually, an EPROM eraser achieves this function. During programming, an electrical charge is trapped in an insulated gate region. The charge is retained for more than 10 years because the charge has no leakage path. For erasing this charge, ultra-violet light is passed through a quartz crystal window (lid). This exposure to ultra-violet light dissipates the charge. During normal use, the quartz lid is sealed with a sticker. EEPROM (Electrically Erasable and Programmable Read Only Memory) 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 (millisecond). 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 reprogramming is flexible but slow. Advantages of ROM The advantages of ROM are as follows −

  • Non-volatile in nature
  • Cannot be accidentally changed
  • Cheaper than RAMs
  • Easy to test
  • More reliable than RAMs
  • Static and do not require refreshing
  • Contents are always known and can be verified Differences between RAM and ROM

DIFFERENC

E

RA

M

RO

M

Working type Data stored in RAM can be retrieved and altered. Data stored in ROM can only be read. Use Used to store the data that has to be currently processed by CPU temporarily. It stores the instructions required during bootstrap of the computer. Speed It is a high-speed memory. It is much slower than the RAM. CPU Interaction The CPU can access the data stored on it. The CPU can not access the data stored on it unless the data is stored in RAM. Size and Capacity Large size with higher capacity.^ Small size with less capacity. Used as/in CPU Cache, Primary memory. Firmware, Micro-controllers