Docsity

FIT notes cs first year first sem, Study notes of Computer Science

Toggle sidebar
bg1
Unit – 1 (Introduction to Computers) Introduction to Fundamentals of Information Technology
1
WHAT IS COMPUTER?
Computer is an electronic device that is designed to work with information. The term computer is derived
from the Latin term ‘‘COMPUTARE’’, this means to calculate. Computer cannot do anything without a
program. The word ‘computer’ usually refers to the Center Processor Unit plus internal memory. Computer
is an advanced electronic device that takes raw data as input from the user and processes these data under the
control of set of instructions (called program) and gives the result (output) and saves output for the future use.
It can process both numerical and non-numerical (arithmetic and logical) calculations.
➢ Input (data): Input is the raw information entered into a computer from the input devices. It is the
collection of letter, numbers, images etc.
➢ Process: Process is the operation of data as per given instruction. It is totally internal process of the
computer system.
➢ Output : Output is the processed data given by computer after data processing .Output is also called
as result. We can save these results in the storage devices for the future use.
Need for Computers.
When we do a work manually, it takes a lot of time and in order to save this time we need computers. We
have seen that a computer can do work quickly, neatly and with no errors of its own. In short, we list the
reasons why we need a computer as follows:
1. To save time. That is for quick performance.
2. To reduce the intellectual strain.
3. To avoid mistakes.
4. To get the results in a neat printed form without any mistakes.
5. To store data easily.
---------------------------------------------------------------
Computer Components:
Computers are made of the following basic components:
A) Case with hardware inside: -
i)Power Supply - A Power Supply is the sends power to all of the other hardware so they can operate. The
one you should get depends on the requirements of your system.
ii)Motherboard - This is where the core components of your computer reside which are listed below. Also
the support cards for video, sound, networking and more are mounted into this board.
a) Microprocessor - This is the brain of your computer. It performs commands and instructions and controls
the operation of the computer.
b) Memory - The RAM in your system is mounted on the motherboard. This is memory that must be powered
on to retain its contents.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download FIT notes cs first year first sem and more Study notes Computer Science in PDF only on Docsity!

WHAT IS COMPUTER?

Computer is an electronic device that is designed to work with information. The term computer is derived from the Latin term ‘‘COMPUTARE’’ , this means to calculate. Computer cannot do anything without a program. The word ‘computer’ usually refers to the Center Processor Unit plus internal memory. Computer is an advanced electronic device that takes raw data as input from the user and processes these data under the control of set of instructions (called program) and gives the result (output) and saves output for the future use. It can process both numerical and non-numerical (arithmetic and logical) calculations. ➢ Input (data): Input is the raw information entered into a computer from the input devices. It is the collection of letter, numbers, images etc. ➢ Process: Process is the operation of data as per given instruction. It is totally internal process of the computer system. ➢ Output : Output is the processed data given by computer after data processing .Output is also called as result. We can save these results in the storage devices for the future use. Need for Computers. When we do a work manually, it takes a lot of time and in order to save this time we need computers. We have seen that a computer can do work quickly, neatly and with no errors of its own. In short, we list the reasons why we need a computer as follows:

  1. To save time. That is for quick performance.
  2. To reduce the intellectual strain.
  3. To avoid mistakes.
  4. To get the results in a neat printed form without any mistakes.
  5. To store data easily.

Computer Components: Computers are made of the following basic components: A) Case with hardware inside: - i)Power Supply - A Power Supply is the sends power to all of the other hardware so they can operate. The one you should get depends on the requirements of your system. ii)Motherboard - This is where the core components of your computer reside which are listed below. Also the support cards for video, sound, networking and more are mounted into this board. a) Microprocessor - This is the brain of your computer. It performs commands and instructions and controls the operation of the computer. b) Memory - The RAM in your system is mounted on the motherboard. This is memory that must be powered on to retain its contents.

c)Drive controllers - The drive controllers control the interface of your system to your hard drives. The controllers let your hard drives work by controlling their operation. On most systems, they are included on the motherboard, however you may add additional controllers for faster or other types of drives. iii)Hard disk drive(s) - This is where your files are permanently stored on your computer. Also, normally, your operating system is installed here. iv)CD-ROM drive(s) - This is normally a read only drive where files are permanently stored. There are now read/write CD-ROM drives that use special software to allow users to read from and write to these drives. v)Floppy drive(s) - A floppy is a small disk storage device that today typically has about 1.4 Megabytes of memory capacity. Other possible file storage devices include DVD devices, Tape backup devices, and some others. B) Monitor - This device which operates like a TV set lets the user see how the computer is responding to their commands. C)Keyboard - This is where the user enters text commands into the computer. D)Mouse - A point and click interface for entering commands which works well in graphical environments.

Characteristics of Computers Now-a-days computer is playing a main role in everyday life. It solves the human problems very quickly as well as accurately. The important characteristics of a computer are described below:

1. Speed The computer is a very high speed electronic device. The operations on the data inside the computer are performed electronic circuits. Computer can perform million and billion of operations on the data in one second. The speed of computer is usually measures in Mega Hertz (MHz) or Giga Hertz (GHz). 2. Arithmetical & logical operations A computer can perform arithmetical and logical operations. In arithmetic operations, it performs the additions, subtraction, multiplication and division on the numeric data. In logical it compares the numerical data as well as alphabetical data. 3. Accuracy Computer is also very accurate device. It gives accurate output result provided that the correct input data and set of instructions are given to the computer. It means that output is totally depended on the given instructions and input data. If input data is in-correct then the resulting output will be in-correct. In computer terminology it is known as Garbage-in; Garbage-out. 4. Reliability The electronic components in modern computer have very low failure rate. The modern computer can perform very complicated calculations without creating any problem and produces consistent (reliable) results.

Input Unit: Computers need to receive data and instruction in order to solve any problem. Therefore we need to input the data and instructions into the computers. The input unit consists of one or more input devices. Keyboard is the one of the most commonly used input device. Other commonly used input devices are the mouse, floppy disk drive, magnetic tape, etc. All the input devices perform the following functions.

  1. Accept the data and instructions from the outside world.
  2. Convert it to a form that the computer can understand.
  3. Supply the converted data to the computer system for further processing. Storage Unit: The storage unit of the computer holds data and instructions that are entered through the input unit, before they are processed. It preserves the intermediate and final results before these are sent to the output devices. It also saves the data for the later use. The various storage devices of a computer system are divided into two categories. 1. Primary Storage : Stores and provides very fast. This memory is generally used to hold the program being currently executed in the computer, the data being received from the input unit, the intermediate and final results of the program. The primary memory is temporary in nature. The data is lost, when the computer is switched off. In order to store the data permanently, the data has to be transferred to the secondary memory. The cost of the primary storage is more compared to the secondary storage. Therefore most computers have limited primary storage capacity. 2. Secondary Storage: Secondary storage is used like an archive. It stores several programs, documents, data bases etc. The programs that you run on the computer are first transferred to the primary memory before it is actually run. Whenever the results are saved, again they get stored in the secondary memory. The secondary memory is slower and cheaper than the primary memory. Some of the commonly used secondary memory devices are Hard disk, CD, etc., Memory Size: All digital computers use the binary system, i.e. 0’s and 1’s. Each character or a number is represented by an 8 bit code.
  4. The set of 8 bits is called a byte.
  5. A character occupies 1 byte space.
  6. A numeric occupies 2 byte space.
  7. Byte is the space occupied in the memory. Units Description 8 bit = 1 Byte 1024 Bytes = 1 KB 1024 KB = 1 MB Bit – Binary Digit (0 and 1) KB = Kilo Byte MB = Mega Byte

1024 MB = 1GB

1024 GB = 1 TB

1024 TB = 1 PB

1024 PB = 1 EB

1024 EB = 1 ZB

1024 ZB = 1 YB

1024 YB = 1BB

1024 BB = 1 Geop Byte GB = Giga Byte TB = Tera Byte PB = Peta Byte EB = Exa Byte ZB = Zetta Byte YB = Yotta Byte BB = Bronto Byte Output Unit: The output unit of a computer provides the information and results of a computation to outside world. Printers, Visual Display Unit (VDU) are the commonly used output devices. Other commonly used output devices are floppy disk drive, hard disk drive, and magnetic tape drive. Arithmetic Logical Unit: All calculations are performed in the Arithmetic Logic Unit (ALU) of the computer. It also does comparison and takes decision. The ALU can perform basic operations such as addition, subtraction, multiplication, division, etc and does logic operations via, >, <, =, etc. Whenever calculations are required, the control unit transfers the data from storage unit to ALU once the computations are done, the results are transferred to the storage unit by the control unit and then it is send to the output unit for displaying results. Control Unit: It controls all other units in the computer. The control unit instructs the input unit, where to store the data after receiving it from the user. It controls the flow of data and instructions from the storage unit to ALU. It also controls the flow of results from the ALU to the storage unit. The control unit is generally referred as the central nervous system of the computer that control and synchronizes its working. Central Processing Unit: The control unit and ALU of the computer are together known as the Central Processing Unit (CPU). The CPU is like brain performs the following functions:

  1. It performs all calculations.
  2. It takes all decisions.
  3. It controls all units of the computer. A PC may have CPU-IC such as Intel 8088, 80286, 80386, 80486, Celeron, Pentium, Pentium Pro, Pentium II, Pentium III, Pentium IV, Dual Core, and AMD, Core i3, Core i5, Core i9 etc.

Generation of Computers Generation of computers has been divided into five according to the development of technologies used to fabricate the processors, memories and I/O units.

Database management, multi-user application, online systems like airline reservation, interactive query systems, automatic industrial control, etc emerged during this period. Fourth Generation: 1975 – 89 Microprocessors were introduced as CPU. Using microprocessors, complete processors and large section of main memory could be incorporated in a single chip. Tens of thousands of transistors can be placed in a single chip (VLSI design implemented). CRT screen, laser and ink jet printers, scanners etc were developed during this period. In the fourth generation computers, semiconductor memory chips were used as the main memory. Secondary memory was composed of hard disks – floppy disks and magnetic tapes were used for backup memory. LAN and WANS were developed (where desktop work stations were interconnected). During the fourth generation C language and UNIX Operating Systems were introduced besides, Graphical User Interface. Fourth generation computers were characterized by less power consumption. high performance, lower cost, speed and compact in size. Fifth Generation: 1989 to present day Generation number beyond IV, have been occasionally to describe some current computer system that have dominant organizational or application driven feature. In this period, computers based on artificial intelligence are available. Computer use extensive parallel processing, multiple pipelines, multiple processors etc. Introduced ULSI (Ultra Large Scale Integration) technology – Intel’s Pentium 4 microprocessor contains 55 million transistors millions of components on a single IC chip. Superscalar processors, Vector processors, SIMD processors, 32 bit micro controllers and embedded processors, digital Signal Processors (DSP) etc have been developed Object oriented language like JAVA suitable for internet programming has been developed. Portable note book computers introduced. Memory chips up to 1 GB, hard disk drives up to 180 GB and optical disks up to 27 GB are available (still the capacity is increasing). Introduced World Wide Web (and other existing applications like e-mail, e commerce, virtual libraries / classrooms, multimedia applications etc). New operating systems developed – Windows 95/98/XP/7 …, LINUX, etc. A failed component to be replaced with a new one without the need to shutdown the system, allowing the uptime of the system to be very high. Quantum mechanism and nanotechnology will radically change the phase of computers.

Classification of Computers Classification on the Basis of Operational Principles Based on the operational principle of computers, they are categorized as analog, digital and hybrid computers.

Analog Computers: These are almost extinct today. These are different from a digital computer because an analog computer can perform several mathematical operations simultaneously. It uses continuous variables for mathematical operations and utilizes mechanical or electrical energy. Digital Computers: They use digital circuits and are designed to operate on two states, namely bits 0 and 1. They are analogous to states ON and OFF. Data on these computers is represented as a series of 0s and 1s. Digital computers are suitable for complex computation and have higher processing speeds. They are programmable. Digital computers are either general purpose computers or special purpose ones. General purpose computers, as their name suggests, are designed for specific types of data processing while general purpose computers are meant for general use. Hybrid Computers: These computers are a combination of both digital and analog computers. In this type of computers, the digital segments perform process control by conversion of analog signals to digital ones. Classification on the Basis of Speed and Memory On the basis of their speed and memory size, computers are classified into following four main groups.

  1. Super computers
  2. Main frame computers
  3. Mini computers
  4. Micro computers 1. Super computers Super computers are the most powerful computers available today. They are used in scientific, military and technical applications. Quantum physics, mechanics, weather forecasting, molecular theory are best studied by means of supercomputers. Supercomputers were introduced in the 1960s and were designed primarily by Seymour Cray at Control Data Corporation (CDC). While the supercomputers of the 1970s used only a few processors, by the end of the 20th century, massively parallel supercomputers with tens of thousands of "off-the-shelf" processors were used. Supercomputers’ processing speeds are measured in floating point operations per second or FLOPS. PARAM 8000 (param in Sanskrit means supreme) developed in 1991 by Centre for Development of Advanced Computing (C-DAC) is the Indian first super computer. Other notable Indian super computers include SAGA 220, EKA and PARAM YUVA (the latest in the PARAM series). On June 18, 2012, IBM's Sequoia Supercomputer system, based at the U.S. Lawrence Livermore National Laboratory (LLNL), reached 16 peta FLOPS, setting the world record and claiming first place in the latest TOP500 list of super computers. The important features of super computers are given below: i. It is most powerful computer system – needs a large room.

Desktops: A desktop is intended to be used on a single location. Desktops are called so because they can be easily fitted on a desk. Desktop computers are readily available at relatively lower costs. Power consumption is not as critical as that in laptops. Desktops are widely popular for daily use in the workplace and households. Laptops: Similar in operation to desktops, laptop computers are miniaturized and optimized for mobile use. It weighs between 2 to 11 pounds. Laptops run on a single battery or an external adapter that charges the computer batteries. They are enabled with an inbuilt keyboard, touch pad acting as a mouse and a liquid crystal display. Their portability and capacity to operate on battery power have proven to be of great help to mobile users. Notebooks : They fall in the category of laptops, but are inexpensive and relatively smaller in size. They weigh between two to nine pounds. They had a smaller feature set and lesser capacities in comparison to regular laptops, at the time they came into the market. But with passing time, net books too began featuring almost everything that notebooks had. By the end of 2008, net books had begun to overtake notebooks in terms of market share and sales. Pocket PCs: Pocket PCs may be classified into electronic organizers, Personal Digital Assistants ( PDAs), tablets and pen computers. These computers are popularly known as a palmtops. PDAs can also be used as portable audio players, web browsers and smart phones. Tablets are mobile computers that are very handy to use. They use the touch screen technology. Tablets come with an onscreen keyboard or use a stylus or a digital pen. Apple's iPad redefined the class of tablet computers. Most of the pocket PCs can access the Internet by means of Bluetooth or Wi-Fi communication. The size of a palmtop computer is similar to that of a pocket size calculator. Classification of Computers on the Basis of Functions On the basis of their functions computers are classified as servers, workstations, information appliances, and embedded computer. Servers A Server is a computer that provides services used by other computers. In other words a s erver is a physical computer dedicated to running one or more such services to serve the needs of users of the other computers on the network. Depending on the computing service that it offers it could be a database server, file server, mail server, print server, web server, gaming server , or some other kind of server. For example, a computer dedicated to a database may be called a " database server ". " File servers " manage a large collection of computer files. " Web servers " process web pages and web applications. A printer server connects printers

to client computers over a network and manages one or more printers. A game server is a server which is the authoritative source of events in a multiplayer video game In the context of client-server architecture, a server is a computer program running to serve the requests of other programs, the "clients". In the context of Internet Protocol (IP) networking, a server is a program that operates as a socket listener and manages network traffic. Servers often provide essential services across a network, either to private users inside a large organization or to public users via the Internet. Workstations A workstation is a high-end microcomputer designed for technical or scientific applications. In other words, A workstation is a computer intended for individual use that is faster and more capable than a personal computer. It's intended for business or professional use. Workstations and applications designed for them are used by small engineering companies, architects, graphic designers, and any organization, department, or individual that requires a faster microprocessor, a large amount of random access memory (RAM), and special features such as high-speed graphics adapters. Historically, the workstation developed technologically about the same time and for the same audience as the UNIX operating system, which is often used as the workstation operating system. Among the most successful makers of this kind of workstation are Sun Microsystems, Hewlett-Packard, DEC, and IBM. The term workstation has also been used to refer to a mainframe computer terminal or a PC connected to a network. Information appliances - Information appliances are computers specially designed to perform a specific user- friendly function —such as playing music, photography, or editing text. The term is most commonly applied to mobile devices, though there are also portable and desktop devices of this class. Embedded computers Embedded computers are computers that are a part of a machine, device or toy. Embedded computers generally execute a program that is stored in non-volatile memory and is only intended to operate a specific machine or device. Embedded computers are very common in cars, televisions, washing machines and other home appliances. Embedded computers are typically required to operate continuously without being reset or rebooted, and once employed in their task the software usually cannot be modified. An automobile may contain a number of embedded computers; however, a washing machine and a DVD player would contain only one.