






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to the basic components and functionality of personal computers (pcs). It covers the central processing unit (cpu), including the control unit and arithmetic logic unit, the different types of main memory (ram, rom, prom, eprom), secondary/auxiliary memory devices, and input/output devices. How a computer system operates, receiving input, processing information, producing output, and storing data. It also discusses the system bus that enables communication between the various components. This comprehensive overview lays the foundation for understanding the hardware and software that make up a personal computer.
Typology: Study notes
1 / 30
This page cannot be seen from the preview
Don't miss anything!
Introduction to PC
1.0 Introduction 5 1.1 Objectives 5 1.2 Introduction to PC 6 1.3 Central Processing Unit (CPU) 10 1.3.1 Control Unit 1.3.2 Arithmetic Logic Unit 1.4 Types of Main Memory 14 1.4.1 RAM 1.4.2 ROM 1.4.3 PROM 1.4.4 EPROM 1.5 Secondary (auxiliary) Memory 19 1.6 Input/Output devices 22 1.7 Peripherals 23 1.8 Summary 26 1.9 Solutions / Answers 28 1.10 Further Reading and References 31
1.0 INTRODUCTION
Computer is the most powerful tool man has ever created. Computers are used in almost every working place in the modern times that is school, colleges, offices, railways, banks, industries, hospitals etc. The word “computer” comes from the word “compute” which means to calculate. So a computer can be considered as a calculating device that can perform arithmetic operations at a high speed but more accurately.
Computer is a digital electronic storage device, which accepts data and set of instructions, manipulates it, and retrieves the information at very high speed. In other wards we can say that a computer is a data processing device which following specific instructions, perform a sequence of operations to achieve a desired result. In this unit we will discuss about personal computer (PC) and its components. From here onward, the words PC and computer are used interchangeably.
1.1 OBJECTIVES
After going through this unit, you will be able to:
Hardware and Software: An
1.2 INTRODUCTION TO PC
Specifically, a computer receives input (data or/and instructions) through the input devices (such as keyboard or mouse) process the data according to the specified instructions and then presents the output (results) in a readable form on its output device, i.e. either on its screen/monitor or on paper through the printer attached to it. A simple analogy can be drawn between the sequence of operations performed by a computer and man to process data.
Suppose a student asks a teacher “what happens when 8 is multiplied by 6”. He receives the answer 40 from teacher. In the case of computer, this process can be described as follows: The teacher’s brain receives the question through his ears (analogous to a computer’s input device), processes the question with the help of his brain’s information processing and analytical ability (analogous to computer’s Central Processing Unit) and give the answer through the mouth (analogous to a computer’s output device). Further, just as the teacher can write down the answer on a sheet of paper or blackboard, the computer can also print the answer on a paper through a printer attached to it.
From the outside, a computer looks like:
System Unit Monitor Keyboard Mouse
Figure 1: Computer System (or Desktop PC)
The CPU resides inside a box known as the System unit, along with various support devices and tools for storing information. You can think of the system unit as a container for the CPU. The system unit case can either be short and wide usually underneath the screen (as in Figure-1) or it can be taller and narrow (Figure 2) and generally sits below of your desk.
CPU Container
Hardware and Software: An
Figure 4: Block Diagram of a Computer
The basic parts of a computer are shown in Figure 4.
The function of a computer can be described as follows:
Central Processing Unit
Memory (main)
Control Unit
Arithmetic-Logic Unit
Input Devices (^) Output-Devices
monitor/screen). Introduction to PC
Thus, a computer does mainly the following four functions:
These four functions are responsible for everything that computers do. Components of a computer system are given in Figure 5.
(Auxiliary Storage Device-Floppy/Pen drive/CD-ROM)
(Input Device) (Output Device)
(Primary Memory)
Figure 5: Components of a Computer System
☞ Check Your Progress 1
a) The CPU resides inside a box known as the System unit.
b) Every modern computer system consists of three basic sections-input devices, Processor (CPU) and Output devices.
c) Hardware in the mechanical and electrical devices, which we can see and touch.
d) ALU stands for Automatic Logic Unit.
e) Peripheral devices allow people to interact with the CPU.
program instructions.
function as directed by the brain. Similarly, in order to work a computer, also need some Introduction to PC sort of “brain” or “calculation capacity”. In a computer system, there is a device roughly the size of a large postage stamp, known as the central processing unit (CPU). In a computer system, all major calculations and comparisons are made inside the CPU. It is also responsible for activating and controlling the operations of other units of a computer system.
The CPU resides inside a box known as the system unit, along with various support devices and tools for storing information. Just think of the system unit as a container for the CPU. The system unit case, that is the metal case itself, usually sits on top of your desk, often underneath the screen (as shown in Figure-1), or it can be taller and narrow, in which case it generally sits underneath your desk and is referred to as a tower case (as shown in Figure-2).
CPU reads and executes program instructions, performs calculations, and makes decisions. The CPU is mainly responsible for storing and retrieving information on disks and other media. It also handles information from one part of the computer to another and directs the flow of traffic throughout the computer system. Below you can see meaning of each word of a Control Processing Unit.
Central Processin g
Unit
It is a Unit because it is a chip, which consists of transistors It is called a processor because it does arithmetic and logical operation
It is central because it controls all activities of a system.
A block diagram of a modern computer is shown in Figure 6:
Figure 6: A Block Diagram of a Basic Computer Organization.
Basically the Control Unit (CU) and the Arithmetic-Logic-Unit (ALU) of a computer system are jointly known as the Central Processing Unit (CPU). Logically we can say:
Input Devices
Control Unit Arithmetic & Logic Unit
Devices
Hardware and Software: An Introduction
Thus the CPU has mainly two parts:
The Control Unit (CU) controls the entire operation of a computer. It is responsible of carrying out program instructions and telling the rest of the computer system what to do. It manages and coordinates the entire computer system.
It obtains instructions from the program stored in the main memory, interprets the instructions, and issues signals that cause other units of the system to execute them. Although, it does not perform any actual processing on the data, the control unit acts as a central nervous system for the other components of the computer. It manages and coordinates the entire computer system.
The Arithmetic-Logic-Unit (ALU) of a computer system is the place where the actual execution of the program instructions takes place during the processing operation.
The internal architectural design of computers differs from one system to another. However, the basic organization remains the same for all computer system. A block diagram of the basic computer organization is shown in Figure 6. Now let us look at each part of CPU in detail.
How does the input device know that it is the time for it to feed data into the storage unit (or memory)? How does the ALU know what should be done with the data once those are received?
And how the final results are sent to output device (monitor/screen or printer etc.), not the intermediate result? All this is possible because of the control unit (CU) of the computer system. By selecting, interpreting and seeing to the execution of the program instructions, the control unit is able to maintain order and direct the operation of the entire system. The control unit (CU) basically does the following things:
Hardware and Software: An Introduction •^ No processing is done in the primary storage unit (or memory).
To understand the operation of CU, ALU etc., let us execute the statement (or command) R=n (^) 1+n 2. This statement adds two numbers n 1 and n 2 and places the result in a location X (refer the Figure 8).
Let R = n1+n
ADD INSTRUCTION
NUMBER 1
NUMBER 2
RESULT
Numbers 1(n1)
CONTROL UNIT
MEMORY UNIT
ARITHMETIC AND LOGIC UNIT (ALU)
Memory Locations Numbers 2(n2) Result R
(ACCUMULATOR)
Step 3 The control unit signals the ALU perform “addition operation” on the two numbers and to store the result in the Step 2^ accumulator The two numbers are brought from memory and placed in the ALU
Step 1 Move instruction to the control unit
Step 4 Send result in memory
Figure 8: CPU Operation to find data and instructions (Adding two numbers)
Introduction to PC
1.4 TYPES OF MAIN MEMORY
The data and instructions which are entered into the computer system through input devices (keyboard, mouse etc.) have to be stored inside the computer before the actual processing starts. Similarly, after processing, the results produced by the computer must be kept somewhere inside the computer system before being passed onto the output devices (monitor/screen or printer). Thus, the storage unit (primary/main memory) of a computer system is designed to take care of all these needs.
The memory unit is the electronic device that holds data and instructions for processing. It consists of binary cells (i.e., 0 or 1 signals) to store the information. Thus,
Figure 9: Main Memory : ROM (Non-volatile) and RAM (Volatile)
Introduction to PC
Figure 11: Relationship between the CPU and main memory (RAM and ROM).
Hardware and Software: An Introduction change the contents of the PROM before the computer is actually delivered. This means that bugs can be removed and new versions installed shortly before delivery.
☞ Check Your Progress 2
a) Computer can communicate with other computers and can receive and send data in various forms like text, sound, video, graphics etc.
b) A digital computer operates on Hexadecimal digits 0,1,….9,A,B,…,F.
c) The Control Unit communicates with both ALU and Main memory.
manages and coordinates the entire computer system.
execute process.
f) ALU is not a part of the CPU.
g) ALU can do only arithmetic & logical operations.
operations are stored temporarily before being put out to the computer's memory.
j) Primary memory is directly communicated with the CPU.
k) When we load software from floppy disk, hard disk or CD-ROM, it is stored in the main memory.
l) RAM & ROM are the two types of computer main memory inside of a computer.
i) The different types of memory units are:
a) RAM
b) ROM
c) PROM
d) All of the above
Hardware and Software: An Introduction …………………………………………………………….. ……………………………………..
1.5 SECONDARY (AUXILIARY) MEMORY
DEVICES
External Storage/Auxiliary Storage (i.e. Hard Disk, Floppy Disk, CD-ROM, DVD, Zip-Drive, magnetic tape) – provides a place where data can be permanently stored and transferred to and from main memory (RAM).
Secondary memory is also known as auxiliary memory or secondary storage. This is a Non-volatile type memory; it means the stored data and programs do not get lost, even after the computer is switched off. Unlike RAM which looses the contents when the computer is turned off, and ROM, to which it is not possible to add anything new, the auxiliary storage devices allows the computer to record information semi-permanently, so it can be used later by the same computer or another computer. Auxiliary storage devices are also useful in transferring data and programs from one computer to another computer. They can also be used as a back-up storage, which allows back up the valuable information that you are working on. So even if by some accident if your computer crashes and the data in it is unrecoverable, you can restore it from back-ups.
The most important auxiliary storage devices are Hard Disk, Floppy Disk, CD-ROMs, DVD, magnetic tapes, magnetic disks etc.
Portable. Usually the A drive on your computer.
Portable disks means that you can carry with you or can be remove them from disk drive A.
A standard floppy disk can hold 1.44 MB of data.
Slower to access then hard-disks and has less storage capacity, but they are less expensive and portable.
to store information.
In most of the computers partitioning of hard drive is done and each portion is given a separate drive name. For example a 80GB Hard Disk may be partitioned into four drives C, D, E and G each of 20 GB.
Most computers have one hard drive located inside the computer case. If a computer has one hard drive, it is called drive C. If a computer has additional hard drives, they are called drives D, E, F, and so on.
The hard drive stores the programs on your computer. When you buy a new program, you must first install in onto your hard drive before you can
run it. The hard drive is also called the hard disk, hard disk drive or fixed Introduction to PC disk drive.
The size of a Hard Drive is measured in Gigabytes. A 20+ GB hard drive is common for new computers, and the larger the hard drive, the more programs you can store on your computer.
Figure 12: Hard Disk
CD-ROM stands for Compact Disk Read Only Memory. A CD-ROM drive reads information from a compact disk. CD-ROMs are high capacity storage, and like, floppy disks are portable (removable). You cannot write information to a CD-ROM (because it is read only), you can only retrieve information. However, CD-RW (CD Rewritable) drives are becoming more common, these drives allow you to record data such as music files etc. onto CD-RW disks. You can change the data on CD-RW disks.
When you type a letter in MS Word, as you type it is being stored in RAM, when you save the file (either to your floppy disk or your hard disk) you are saving to auxiliary storage. The next time you open your letter, you are retrieving it from the auxiliary storage into memory. Auxiliary storage is considered both an input and an output device.
Magnetic tape is a magnetically coated strip of plastic on which data can be encoded. Tapes for computers are very similar to the tapes used to store the music. Storing data on tapes is considerably cheaper than storing data on disks. Tapes also have larger storage capacities, ranging from a few hundred kilobytes to gigabytes. Magnetic tapes are used for taking backup of the large date from computer system.
The table on next page summarizes the different types of secondary (auxiliary) memory devices:
R/W Head
Platter
Introduction to PC
DVD-ROM DVD±R DVD±RW
4.7GB to 8.5GB
Large storage capacity
Same as CD-ROM/ CD-R/CD- RW
Optical
Hardware and Software: An Introduction
1.6 INPUT-OUTPUT DEVICES
In this section you will get introduced with the various types of I/O devices available for computer systems. The topics discussed here briefly will be taken up in detail in the Unit 3 of this block.
The input-output (also known as I/O) devices provide the means of communication between the computer and the outside world. They are also known as peripheral devices because they surround the CPU.
Without any input devices a computer would simply be a display device and not allow users to interact with it, much like a TV.
When using a computer, you must send commands to the computer, and data to be processed. Also, data must be returned from the computer to the user. In order to do this, the computer makes use of input and output devices.
Table 3: Categories of Input Devices
Category Device Name Keying device Keyboard Punch card reader Pointing Devices Mouse Joystick Touch Screen Light Pen Pen based computing Speech recognizers Optical character Recognizer
Optical scanner Bar Code Reader Magnetic Ink Character Recognition (MICR) Other devices Digital Camera Web cam Smart Cards Telephone
Output Devices
The output generated by a computer can be transmitted to the user via some devices or media. These devices are called output devices. The following are some examples of