Docsity

Course: Programming with fortan( Introduction to computers), Lecture notes of Mathematics

Partial preview of the text

Download Course: Programming with fortan( Introduction to computers) and more Lecture notes Mathematics in PDF only on Docsity!

CUAP TLE MINTO AION 19 HOME UTE RD CHAPTER — 01 (INTRODUCTION TO COMPUTERS) * Computer; The word computer is derived from the Latin word “computare” (to calculate), which means a calculating machine. It was first used as a counting machine. Presently its uses and importance are seen dominating almost in the whole of our working fields. Computer is an ultra-modern electronic device, which accepts data through input devices, stores and processes mathematically or logically and then sends the result through the output devices according to the user requirements. It works on the given instructions of human being. In other words: A computer is an electronic device which — Accepts data (via input devices like keyboards, mouse) Processes data (CPU performs arithmetic / logical Operations) Stores data (RAM, Hard drives) Produces output (Monitors, Printers) Operates based on instructions (programs) provided by the user {human being), rely on software (human instructions) to function, 29 © 09 6 ° * Classification of Computers: Computers are available in different sizes with different capabilities. They may be classified in the following four categories : (i) Super Computer (ii) Mainframe Computer (iii) Mini Computer (iv) Micro or Personal Computer (PC) (i) Super Computer: Super computer is the most powerful, expensive, and high speedy computer, In a few countries of the recent world have super computer. It can perform more than crores of calculation within a second. This computer is being used in sophisticated scientific research, cosmic research, and in the military affairs. Its sale and production are restricted. These types of computers are no available in Bangladesh, In recent time India has introduced and used their own made super computer named "Param", (ii) Mainframe Computer: Mainframe computer is less powerful than the super computer that can analyze huge quantity of data quickly. They are used in big research institutes, educational institutes, banks, large organizations etc, A large number of users can use such a computer simultaneously. At first mainframe computer is installed in Bangladesh at ‘Bangladesh Atomic Energy Commission’ in 1962. Later on mainframe computer is also installed at Dhaka University, BUET, Statistical-Bureau, PDB etc. An example of mainframe computer is IBM 370 and VAX 11/780. {iii} Mini Computer: A physically small and less working capability computer compared to mainframe is called mini computer. This type of computer can be set up on a large size table. Many users can use it simultaneously by connecting several terminals. Mini computer is generally used in Offices, Banks, Clinics, Hospitals, Garments factory and multinational companies etc. The PDP Series of computers are mini computers, {iv) Micro or Personal Computer (PC): In November, 1971 Intel company at first produced Microprocessor. This Microprocessor is introduced as Intel-4004, which is mainly used in calculator. The word Micro means very small. That is why a microcomputer made with mini microprocessor is called Microcomputer, Only one can use this type of computer at a time, so itis called Personal Computer (PC). A man in general stage could be able to use computer technology when the microcomputer came to broad way. Besides in official works computer is being used extensively in home-works, sports, and recreations and in personal affairs. Microcomputer is mainly contained unique processor. Recently multiprocessor is being built with microcomputer. The working efficiency of processor used in Microcomputer is going to the way of development is so torrently that meanwhile the necessity of minicomputer is being mitigated by microcomputer. A few days ago men could only think to use microcomputer setting on a desktop. At present it is also found in the shape of briefcase and mini hnate Scanned by PixScan * Types of Computers: On the basis of structure, computers are classified in three types as : {i} Digital Computers. (ii)Analog Computers _(iii)Hybrid Computers : {@) Digital Computer: A majority of the computers used in the world today are digital. A digital com; processes information which is based on the absence or presence of an electric plus, an on (1) / off (0} condition’ Soa computer that counts the numbers and works directly on digits that represent either discrete data or symbols is called digital computer. These types of computers are able to give acute and errorless result. {ii) Analog Computer: A computer that can measure continuous physical quantities such as electrical current, ‘ength, temperature, pressure, shaft rotations, voltage etc. and convert them to analogous decimal digits, and them realizes an arithmetic ar logical operation and accomplished result is visible by meter or indicator Is called analog computer. Speedometer of motorcar, thermometer etc. are the Ideal examples of analog machine. Analog computers are used mainly for scientific and engineering purposes because they deal with quantities that very constantly. These types of computers give approximate results only. {ili] Hybrid Computer: The best combination of digital and analog computer is called hybrid computer. The hybrid computer takes analog inputs, converts them into digital data and processes them in digital form. Whether the output is digital or analog is a matter of requirement. These types of computers are used in real-time processing like weather forecasting and in the intensive care of a hospital. ** Parts of a Digital Computer: Externally digital computer system is divided into three parts. They are — (i) Input device (ii) Central Processing Unit (CPU) (iii) Output device (input device: If we want to do any task by a computer we must put data or instructions into it. By which devices computers are given any instructions, data and program are called Input device or Instruction device. By using this device a user can communicate with the computer. As input device, keyboard is used more. The input devices are 1. Mouse 5. Light pen 9. Compact disk drive 13. Optical Character Recognition (OCR) 2. Scanner _| 6. Digital camera 10. Digital video disk drive 14. Digitizer 3.Modem_ | 7. Harddisk drive | 11. Punch card 15. Graphics tablet 4. Joy stick | 8. Floppy disk drive | 12. Optical Mark Readers (OMR) {ii) Central Processing Unit (CPU): Shortly central processing unit is called CPU. Itis the main part of a computer. It is also called the ‘brain’ of the personal computer. All the functions of a computer is controlled by CPU. Basically the central processing unit consists of control unit, arithmetic-logic unit and memory unit. These basic elements of the central processing unit are installed on a single semiconductor chip, which is called the microprocessor. In 1971 Intel company of America at first introduced microprocessor. Later on more improved microprocessors were available of which one chip contained whole CPU, RAM, ROM, I/O etc. So CPU of personal computer means microprocessor, It divided into three parts: (a) Control Unit (CU) —(b) Arithmetic Logic Unit (ALU) (c) Memary Unit (MU) {a) Control Unit (CU): Control unit controls whole functions of a computer. This unit receives an instruction from main memory, orders to arithmetic logic unit to solve different arithmetic problems. Transfers this results into output unit etc. In a word, the control unit controls all the works. (b) Arithmetic Logic Unit (ALU): Any arithmetic and logical problems are solved in the arithmetic logic unit of a computer. This unit solves arithmetic problem by addition, subtraction, multiplication or division and it examines logical sides of any problem. After processing result is stared Into this unit. (c) Memory Unit (MU): Functions of memory unit is to store data program or result. This unit stores given instruction and data. It also stores periodical results. Memory can be divided into two parts - 1. Main memory or Primary memory —_ 2. Secondary memory or Auxiliary memory Scanned by PixScan CHAPTER — 01 (oreTR aD, Arithmetic Logic Unit (ALU) Vv Input Device 1 Control unit (cu) |" output Device | Memory Unit (MU) Main Memory Secondary Memory Cache Floppy disk, Compact disk | | | | | \ I RAM, ROM, Hard disk, | | i | | i CPU (Central Processing Unit) Fig: Basic or Block Diagram of a Digital Computer @ Key Principle: IPO Input (— Processing —) Output Scanned by PixScan CHAPTER — 01 ONTRODuC TION: TO COMPUTERS) Memory of a Computer Primary Memory or Main Memory — te, Secondary Memory or Auxiliary Memory ROM RAM Cache memory Hard Disk MROM | F>) pram Comet oi PROM = SRAM Magnetic Tape EPROM > eporaM EEPROM F>/_soRaM E>) scram Ey vram E>) RDRAM E>) cMos RAM ROM — Read Only Memory MROM — Mask ROM PROM — Programmable ROM EPROM - Erasable Programmable ROM EEPROM - Electrically Erasable Programmable ROM RAM — Random Access Memory DRAM — Dynamic RAM SRAM - Static RAM ee ee Scanned by PixScan