Practical-1: CPU (Central Processing Unit)
Practical-1: CPU (Central Processing Unit)
Practical-1: CPU (Central Processing Unit)
PRACTICAL-1
AIM : Study the different components of desktop computer and server (IBM 360) and
assembling both of them.
SOLUTON :
Control Unit: extracts instructions from memory and decodes and executes them.
Arithmetic Logic Unit (ALU): handles arithmetic and logical operations.
To function properly, the CPU relies on the system clock, memory, secondary storage,
and data and address buses.
This term is also known as a central processor, microprocessor or chip.
The CPU is the heart and brain of a computer. It receives data input, executes
instructions, and processes information. It communicates with Input/Output (I/O)
devices, which send and receive data to and from the CPU. Additionally, the CPU has
an internal bus for communication with the internal cache memory, called the
backside bus. The main bus for data transfer to and from the CPU, memory, chipset,
and AGP socket is called the front side bus.
CPU contains internal memory units, which are called registers. These registers
contain data, instructions, counters, and addresses used in the ALU information
processing.
CABINET
1
16CE071 Kevin M Patel
CE-249 Computer Organization
Some computers have dual or multiple processors. These consist of two or more
separate physical CPUs located side-by-side on the same board or on separate boards.
Each CPU has an independent interface, separate cache, and individual paths to the
system front-side bus. Multiple processors are ideal for intensive parallel tasks
requiring multitasking.
The different components of the computer are as follows :
Processor
Main Memory
Secondary Memory
Monitor
Keyboard
Mouse
Now inside the case ,the hardware part contains of :
2
16CE071 Kevin M Patel
CE-249 Computer Organization
The main printed circuit board in a computer is known as the motherboard. Other
names for this central computer unit are system board, main board, or printed
wired board (PWB).
3
16CE071 Kevin M Patel
CE-249 Computer Organization
Processor
A processor is the logic circuitry that responds to and processes the basic instructions
that drive a computer.
There are different types of processors like intel i3,i5,i7 and it has also different
ranges in them.
Memory Slots
A memory slot, memory socket, or RAM slot is what allows computer memory
(RAM) to be inserted into the computer. Depending on the motherboard, there
may be two to four memory slots (sometimes more on high-end motherboards)
and are what determine the type of RAM used with the computer. The most
common types of RAM are SDRAM and DDR for desktop computers
and SODIMM for laptop computers, each having various types and speeds.
4
16CE071 Kevin M Patel
CE-249 Computer Organization
5
16CE071 Kevin M Patel
CE-249 Computer Organization
CABINET CONNECTIONS
The cabinet in which the motherboard is installed has many buttons that connect to
the motherboard. Some of the common connectors are Power Switch, Reset Switch,
Front USB, Front Audio, Power indicator(LED) and HDD LED.
6
16CE071 Kevin M Patel
CE-249 Computer Organization
SMPS
A switched-mode power supply (switching-mode power supply, switch-mode power
supply, switched power supply, SMPS, or switcher) is an electronic power supply that
incorporates a switching regulator to convert electrical power efficiently. Like other
power supplies, an SMPS transfers power from a DC or AC source (often mains
power) to DC loads, such as a personal computer, while converting voltage and
current characteristics.
7
16CE071 Kevin M Patel
CE-249 Computer Organization
8
16CE071 Kevin M Patel
CE-249 Computer Organization
HARD DISK
A hard disk drive (HDD), hard disk, hard drive or fixed disk[b] is a data storage
device that uses magnetic storage to store and retrieve digital information using one or
more rigid rapidly rotating disks (platters) coated with magnetic material. The platters
are paired with magnetic heads, usually arranged on a moving actuator arm, which
read and write data to the platter surfaces.
9
16CE071 Kevin M Patel
CE-249 Computer Organization
10
16CE071 Kevin M Patel
CE-249 Computer Organization
STEPS TO ASSEMBLE A PC
Step 1: Collect all the hardware requirements like the processor,motherboard,computer
case, RAM, power supply, SATA cables ,processor fan, case fan and hard drive .
Step 2: Open the case by making to move the screws out with the help of screw driver.
Step 3 :Install the processor on the processor chipset board on the motherboard,and now fix
the heat sink fan on the processor.
Step 4:Install the hard drive and the CD drive on the case.Now connect them with the help of
the connectors.
Step 5:Install the RAM by fitting the RAM on the RAM slot. Make sure the pins on the RAM
cards line up with the pins on the motherboard connector. Don't get the RAM slots mixed up
with PCI slots. The PCI slots are usually wider.
Step 6:Install the Case fan,in such a way that it blows the air out of the case.
Step 7:Install the power supply. Connect the 20 or 24 pin ATX connector and the 4-pin
power supply control connector to the motherboard.
Step 8 : Connect the SATA connectors to the hard drives , PATA with the CD-Drive and the
USB connectors and the case switches to the motherboard. The case and motherboard's
instructions should tell where to connect the cables.
11
16CE071 Kevin M Patel
CE-249 Computer Organization
12
16CE071 Kevin M Patel
CE-249 Computer Organization
CABINET
The cabinet is the place where all the processing parts and drives are fixed.It is the
place where all the components are to be fixed.
13
16CE071 Kevin M Patel
CE-249 Computer Organization
MOTHERBOARD
The motherboard is the place where the processor,RAM,sound cards ,video
cards,BIOS,etc are being placed.
HEAT SINK
A heat sink is an electronic device that incorporates a fan to keep a hot component
such as a processor cool.
14
16CE071 Kevin M Patel
CE-249 Computer Organization
MICROPROCESSOR
A microprocessor, sometimes
called a logic chip, is
a computer processor on a
microchip.
The microprocessor contains all,
or most of, the central processing
unit (CPU) functions and is the
"engine" that goes into motion
when you turn your Computer on.
15
16CE071 Kevin M Patel
CE-249 Computer Organization
RAM
Random Access Memory, or RAM, usually refers to computer chips that
temporarily store dynamic data to enhance computer performance while you are
working. Random access memory is volatile, meaning it loses its contents once
power is turned off.
16
16CE071 Kevin M Patel
CE-249 Computer Organization
COOLING FANS
The cooling fans are the devices which makes the cabinet cool by removing the hot
air from the cabinet.
SMPS
A switched-mode power supply (switching-mode power supply, switch-mode power
supply, switched power supply, SMPS, or switcher) is an electronic power supply that
incorporates a switching regulator to convert electrical power efficiently. Like other
power supplies, an SMPS transfers power from a DC or AC source (often mains
power) to DC loads, such as a personal computer, while converting voltage and
current characteristics.
17
16CE071 Kevin M Patel
CE-249 Computer Organization
Step 6: Put all the 6 cooling fans at their places 1 on the left side and 5 in the center of the
cabinet.
Step 7 :Put the two SMPS on the slot in the front side of the server and cover all the parts
with the triangular plastic glass cases , and close the lid of the cabinet.
18
16CE071 Kevin M Patel
CE-249 Computer Organization
PRACTICAL 2
Aim : To study the working of HDD.
SOLUTION :
What is HDD?
A hard disk drive (HDD), hard disk, hard drive or fixed disk is a data storage device that
uses magnetic storage to store and retrieve digital information using one or more rigid rapidly
rotating disks (platters) coated with magnetic material. The platters are paired with magnetic
heads, usually arranged on a moving actuator arm, which read and write data to the platter
surfaces. Data is accessed in a random-access manner, meaning that individual blocks of data
can be stored or retrieved in any order and not only sequentially. HDDs are a type of non-
volatile storage, retaining stored data even when powered off.
19
16CE071 Kevin M Patel
CE-249 Computer Organization
PARTS OF HDD
1. PLATTER
The platters are the circular discs inside the hard drive where the 1s and 0s that make up your
files are stored. Platters are made out of aluminum, glass or ceramic and have a magnetic
surface in order to permanently store data. On larger hard drives, several platters are used to
increase the overall capacity of the drive. Data is stored on the the platters in tracks, sectors
and cylinders to keep it organized and easier to find.
PLATTER
20
16CE071 Kevin M Patel
CE-249 Computer Organization
2. SPINDLE
The spindle keeps the platters in position and rotates them as required. The revolutions-per-
minute rating determines how fast data can be written to and read from the hard drive. A
typical internal desktop drive runs at 7,200 RPM, though faster and slower speeds are
available. The spindle keeps the platters at a fixed distance apart from each other to enable
the read/write arm to gain access.
SPINDLE
21
16CE071 Kevin M Patel
CE-249 Computer Organization
HEAD
4. ACTUATOR ARM
This arm is used to move the read heads in and out of the disk, so that data can be read
and written to particular locations and you can access data in a Random fashion, you don't
need to read your way through the entire disk to fetch a particular bit of information, you
can jump right there. Seek time is very low.
ACTUATOR ARM
22
16CE071 Kevin M Patel
CE-249 Computer Organization
IDE connector allows for data transfer from and to the platters.
POWER
IDE CONNECTOR CONNECTOR
23
16CE071 Kevin M Patel
CE-249 Computer Organization
24
16CE071 Kevin M Patel
CE-249 Computer Organization
SDD uses flash memory to store data, which provides better performance and
reliability over an HDD. The HDD has moving parts and magnetic platters, meaning the more
use they get, the faster they wear down and fail. With all the parts and requirements to spin
the platters, the HDD uses more power than an SSD.
25
16CE071 Kevin M Patel
CE-249 Computer Organization
26
16CE071 Kevin M Patel
CE-249 Computer Organization
27
16CE071 Kevin M Patel
CE-249 Computer Organization
28
16CE071 Kevin M Patel
CE-249 Computer Organization
1. TRACK:
2. SECTOR:
In computer disk storage, a sector is a subdivision of a track on a magnetic disk or optical disc.
Each sector stores a fixed amount of user-accessible data, traditionally 512 bytes for hard disk
drives (HDDs).
The sector is the minimum storage unit of a hard drive. Most disk partitioning schemes are
designed to have files occupy an integral number of sectors regardless of the file's actual size.
Files that do not fill a whole sector will have the remainder of their last sector filled with zeroes.
In practice, operating systems typically operate on blocks of data, which may span multiple
sectors.
29
16CE071 Kevin M Patel
CE-249 Computer Organization
SEEK TIME:
With rotating drives, the seek time measures the time it takes the head assembly on the
actuator arm to travel to the track of the disk where the data will be read or written.
ROTATIONAL LATENCY:
Rotational latency (sometimes called rotational delay or just latency) is the delay waiting for
the rotation of the disk to bring the required disk sector under the read-write head.
FILE SYSTEMS:
FAT:
File Allocation Table(FAT) is a computer file system architecture and a family of industry-
standard file systems utilizing it. The FAT file system is a legacy file system which is simple
and robust. It offers good performance even in lightweight implementations, but cannot deliver
the same performance, reliability and scalability as some modern file systems.
NTFS ("New Technology File System") is a proprietary file system developed by Microsoft.
Starting with Windows NT 3.1, it is the default file system of Windows NT family.
NTFS has several technical improvements over the file systems that it superseded – File
Allocation Table (FAT) and High Performance File System (HPFS) – such as improved
support for metadata and advanced data structures to improve performance, reliability, and disk
space use. Additional extensions are a more elaborate security system based on access control
lists (ACLs) and file system journaling.
30
16CE071 Kevin M Patel
CE-249 Computer Organization
DISK I/O:
Disk I/O includes read or write or input/output operations (defined in KB/s) involving a
physical disk. In simple words, it is the speed with which the data transfer takes place between
the hard drive and RAM.
DISK FORMATTING:
Disk formatting is the process of preparing a data storage device such as a hard disk
drive, solid-state drive, floppy disk or USB flash drive for initial use. In some cases, the
formatting operation may also create one or more new file systems. The term "format" is
understood to mean an operation in which a new disk medium is fully prepared to store files.
2. Partitioning:
Partitioning is the common term for the second part of the process, making the
data storage device visible to an operating system.
31
16CE071 Kevin M Patel
CE-249 Computer Organization
PRACTICAL 3
COMPONENTS OF PROCESSORS
As the name suggests, this component controls all the functions that take place inside the
processor itself. It instructs the ALU on which arithmetic and logical operation is to be
performed. It acts under the direction of the system clock and sorts out all the internal data
paths inside the processor to make sure that data gets from the right place and goes to the
right place.
Register
Register also sometimes known as the accumulator, is a temporary storage position where
data coming from RAM heading to the processor for execution and data coming from the
processor after processing is held. Thus a register is a local storage area within the processor
that is used to hold data that is being worked on by the processor.
32
16CE071 Kevin M Patel
CE-249 Computer Organization
This is the path (bus) used to fetch data from memory to the processor. In some cases the
internal and external data buses are the same bit-size but in others, the external data bus can
be either narrower or wider. The external data path is normally not as wide as the internal
data path.
Having a smaller external bus (data path) will slow the performance of the-CPU, but it makes
it simpler to upgrade earlier system designs to a new processor. Having a larger external data
bus will improve the performance as data can be brought into the CPU in large chunks.
Address Lines
The address lines are used to specify the exact location in memory where data can be found.
The standard PC is a binary device. Using the memory address bus, CPUs send out location
information on their address lines (or control lines) and these address lines are routed to every
other major component of the computer (memory, ROM, expansion bus etc).
The numbers of address lines within the memory address bus will determine the maximum
number of addressable locations. For example, if a PC has 3 address lines the maximum
number of addressable memory locations is 8.
33