IC Unit 2 Final Data
IC Unit 2 Final Data
Buses: It is a set of lines used to move information from one part of computer to
another.
(1) Data Bus : Data transfers between peripherals, memory and CPU. It is very
busy bus.
(2) Address Bus : The components pass memory addresses to one another over the
address bus. This determines the location in memory that the processor will read
data from or write data to.
• A bus transfers electrical signals from one place to another. An actual bus
appears as an endless amount of etched copper circuits on the motherboard’s
surface. The bus is connected to the CPU through the Bus Interface Unit.
• Data travels between the CPU and memory along the data bus. The location
(address) of that data is carried along the address bus. A clock signal which
keeps everything in synch travels along the control bus.
Virtual memory:
Virtual Memory increases the capacity of main memory. Virtual memory is not a
storage unit, its a technique. In virtual memory, even such programs which have a
larger size than the main memory are allowed to be executed.
• A motherboard is the main circuit board inside the computer which is also
known as mainboard or mobo.
• It holds the processor, memory and expansion slots and connects directly or
indirectly to every part of the computer like power supply, CPU, hard drive,
RAM, Graphics card, CD drive and other peripheral devices such as sound
cards, network cards, etc.
• Front view:
Motherboard is made up of a chipset (Glue Logic), some code in ROM and various
interconnections or buses.
In computer design, various types of buses are used to link different components of
motherboard.
Motherboard connected with all other boards of the computer. So, it is mother of
all other board.
1. CPU Chip
• CPU or processor chip is main component of mother board.
• The CPU chip may be different for one computer model to other.
• It processes the data and controls the function of computer.
3. Memory Chips
• Memory chips are physically installed on motherboard by different
packaging methods.
• There are three different methods for packing RAM chips:
(1) DIP : Dual Inline Package
(2) SIMM : Single Inline Memory Module Packaging
(3) SIPP : Single Inline Pin Package
4. Expansion Slots
• Expansion Slots are connectors on motherboard where expansion cards like
display card, hard disk controller card etc. can be connected.
• Most common expansion slots are:
(1) PCI Express – To communicate with motherboard. So, with
microprocessor quickly and efficiently. Newest standard for expansion cards
on personal computers.
(2) PCI – Peripheral Component Interconnect is for internal expansion of
computer using sound cards, network cards, USB expansion cards, etc.
(3) AGP – Accelerated Graphics Port designed for graphics adapters.
(4) ISA – Industry Standard Architecture, most ancient type of expansion
slot, compatible with older expansion cards.
6. System Clock
• It is used to synchronize the activities of various components.
7. BIOS
• Basic input/output system (BIOS) is the set of software programs that test
hardware at startup, start the operating system and support the transfer of
data among hardware devices.
• BIOS is stored in read only memory (ROM) so that it can be executed when
you turn on the computer.
• BIOS setup gives the facility of :
1. Hard drives, diskette drives and peripherals
2. Video display type and display options
3. Password protection from unauthorized use
4. Power management feature
9. Ports
8) USB Ports Used to connect USB devices such as printers, scanners cameras
etc...
10. NIC
11. SMPS
• A switched mode power supply, or SMPS, is an electronic power supply
unit (PSU) that incorporates a switching regulator – an internal control
circuit that switches the load current rapidly on and off in order to stabilizes
the output voltage.
CPU:
This unit can store instructions, data, and intermediate results. This unit supplies
information to other units of the computer when needed. It is also known as
internal storage unit or the main memory or the primary storage or Random
Access Memory (RAM).
Its size affects speed, power, and capability. Primary memory and secondary
memory are two types of memories in the computer. Functions of the memory
unit are −
• It stores all the data and the instructions required for processing.
• It stores the final results of processing before these results are released to an
output device.
1. Control Unit
This unit controls the operations of all parts of the computer but does not carry out
any actual data processing operations.
• It obtains the instructions from the memory, interprets them, and directs the
operation of the computer.
• Arithmetic Section
• Logic Section
Arithmetic Section
-It holds the address of memory where CPU wants to read or write data.
-When CPU wants to store some data in the memory or reads the data from the
memory, it places the address of the required memory location in MAR.
PC (Program Counter):
IR (Instruction Register):
- Once the instruction is fetched from main memory, it is stored in the Instruction
Register.
AC (Accumulator) :
CISC RISC
1. Large Instruction set. 1. Compact Instruction set.
2. More complex hardware. 2. Simple hardware.
3. Designed using code control. 3. Designed using hard wired control.
4. Slow clock speed. 4. Fast clock speed.
5. Compact and versatile register 5. Numerous registers.
set.
− Difference: The basic difference between CPU and GPU is that CPU
emphasis on low latency. Whereas, GPU emphasis on high throughput
While often limited by other reasons, a 3.0 Ghz processor is roughly twice as fast
as a 1.5Ghz processor. One gigahertz represents a processor's ability to perform a
billion — 1,000,000,000 —operations per second, and a megahertz is 1000 times
less, or one million operations per second. Thus, an older 500 Mhz processor
would be considered one third the speed of a 1.5Ghz processor.
Processor speed is impacted by several factors. These include circuit size, die size,
cache size, efficiency of the instruction set and manufacturing variables. Smaller
chips usually result in faster processor speeds because the data has less distance to
travel, but smaller chips also result in greater heat generation, which needs to be
managed.
Memory
1. Primary Memory
2. Secondary Memory
• In this type of memory magnetic cores were surrounded by thin wire which
magnetize core in 2 directions, depending on the current passing through
wires.
• Depending upon the magnetization, bit value is stored as either 0 or 1.
• Semiconductor memory is far better than this memory. So, magnetic core
memory is totally outdated now.
2. Semi-conductor Memory –
(1) RAM
(2) ROM
Volatile Storage :
Advantages:
• It functions fast.
• It is well suited to protecting sensitive information.
• When power is shut down, the information is quickly deleted.
Advantage:
3. Often used for temporary retention 3. Often used for long term retention
of data, such as with RAM, or for of data, such as files and folders.
retention of sensitive data.
• RAM stands for Random Access Memory. It is also called “Direct Access
Memory”.
• It is the Read and Write (R/W) memory of a computer. The user can write
information to it and read information from it.
• The RAM is a volatile memory, it means information written to it can be
accessed as long as power is on. As soon as the power is off, it cannot be
accessed.
• RAM holds data and processing instructions temporarily until the CPU
needs it. So program must be loaded into RAM before execution.
• RAM is considered as “Random Access” because you can access any
memory cell directly if you know the row and column that intersect at that
cell.
• RAM is made in electronic chips made of semiconductor material. In RAM,
transistors make up the individual storage cells which can each “remember”
an amount of data, for example, 1 or 4 bits – as long as the PC is switched
on.
• This RAM are installed in the PC’s motherboard using sockets – there are
typically 2, 3 or 4 slots.
• RAM plays very important role in speed of a computer. The amount of data
that can be stored in RAM is measured in bytes.
1. Dynamic RAM
2. Static RAM
• Static RAM holds data in a static form, and does not need to be dynamically
refreshed as in the case of DRAM.
• The reason is because SRAM chips are made of a flip-flop circuit which
does not need constant refreshing.
• It is still volatile, means when the power is removed from the memory
device, the data is not held and will disappear.
• SRAM has very fast access speed because of configuration of 6 transistors
which keeps current flowing in one direction or the other (0 or 1 state). Each
state can be written and read instantly, therefore the chip does not require a
capacitor to fill up.
SRAM DRAM
1. PROM
2. EPROM
3. EEPROM
• This type of ROM can be written or changed with the help of electrical
devices.
• So data stored in this type of ROM chip can be easily modified.
RAM ROM
5. The instruction is written into the 5. The instruction written into ROM
RAM at the time of execution at manufacturing time.
What is UVPROM?
An integrated circuit memory chip in which the stored information can be erased
only by ultra violet light and the circuit can be reprogrammed with new
information that can be stored indefinitely.
Flash memory is the special type of EEPROM that can be erased and
reprogrammed in blocks instead of one byte at a time.
It writes and reads at 512 bit at a time instead of usual one allowing for faster data
transfer.
It is used in smart phones, GPS, MP3 player, digital camera, PC, USB drive, etc.
• Pseudo RAM called virtual memory exits on your hard drive rather than
as memory modules on your motherboard.
• Suppose that you PC has only 2 GB of RAM installed, but you ran photo
shop and demanded that it load two 500MB high resolution digital images.
• If windows were limited to using only your computer’s physical RAM, you
would be trouble because windows 8 requires a minimum of around 500 MB
of memory itself and photo shop also takes chunk of memory to run.
• You are also loading 1 GB of data. So, your 2 GB PC could not work
because amount of RAM needed by memory hungry mega applications is so
much.
• In this case, windows turn to your hard drive for help. It uses portion of
the empty space on your hard drive to temporarily hold the data. That
portion of hard drive is known as virtual memory.
• So, computer uses 2 GB of hard drive space, hence total memory available
within windows is now 4 GB i.e. 2 GB of RAM (physical memory) and 2
GB of hard drive (virtual memory).
• Your programs don’t know that they are using virtual memory.
• This virtual memory is always slower than true physical memory (RAM)
because the data has to be written to and read from your hard drive.
Demand paging
• Demand paging is the process where pages on hard drive are not loaded on
RAM until the program calls the page.
• After data is paged, paging processes track memory usage and constantly
call data back and forth between RAM and hard drive.
• Cache memory is a small size and very fast temporary storage memory in
CPU.
• The data or instructions that are most recently or most frequently used by
CPU are stored in cache.
• It stores and retains data only until a computer is powered up. So, it is
volatile memory.
• The data and instructions are retrieved from RAM when CPU uses them for
the first time. A copy of that data or instructions is stored in cache
memory.
• So, when the next the CPU needs that data or instructions, it first looks in
cache memory.
• If the required data is found there, it is retrieved from cache memory instead
of main memory.
• A computer can have several different levels of cache memory.
• The level numbers refers to distance from CPU where Level 1 is the closest.
All levels of cache memory are faster than RAM.
• The cache closest to CPU is always faster but generally costs more and
stores less data then other level of cache.
6. Page tables are not required for 6. Page tables are required for virtual memory
cache memory. for mapping between physical to virtual.
• They are made up of rigid metal platters & comes in many sizes
DISK PACK
WINCHESTER DISK
OPTICAL DISKS
• All read and write activities are performed by light. All recording
information stores at an optical disk. As per the opinions of data scientist
that compact space is most useful for huge data storage. Their big
advantages are not more costly, light weight, and easy to transport because it
is removable device unlike hard drive.
CD-ROM
CD-ROM stands for "Compact Disc Read Only Memory", and CD-ROM comes in
the "Random Access" category's devices. These types of disc can capable to store
almost 800 MB of digital data. These data can't discard by mistaken.
DVD-ROM
DVD-ROM stands for "Digital Versatile Disc — Read Only Memory", and it also
comes in the "Random Access" category's devices. DVD-ROM discs can store data
up to 4.7 GB, but Dual Layer DVD device's storage capacity is double. These types
of disc are used to store ultra quality video.
BLUE RAY
Blue Ray discs are totally replaced by DVDs, because these discs are capable to
hold data up to 25-50 GB, as well as double layer Blue Rays discs can store double
data. Due to high storage capacity, Blue Ray discs are used to store HD (High
Definition) videos.
HD DVD stands for "High Density DVD", and these devices are capable to store
data up to 15 GB (Dual Layer HD DVDS have storage capacity double). High-
Density DVD discs are also used to hold HD Videos.
DVD-RAM
Also known as a thumb drive, pen drive, flash-drive, memory stick, jump
drive, and USB stick, the USB flash drive is a flash memory data storage
device that incorporates an integrated USB interfaces. Flash memory is
generally more efficient and reliable than optical media, being smaller,
Introduction to Software
Operating system works like as bridge in between hardware and software, and
primary purpose and goal of an operating system is to manage all resources of
hardware and software that are connect with computer.
Without operating system all computer system are helpless, because operating
system create the interface between user and hardware.
When user give any instruction to computer then operating system transform these
instructions in to binary form such as 0 and 1, because computer systems are not
able to understand directly our commands. Computer can understand only machine
language.
Software:
• System Software
It is designed for handling the operation and extending the processing capability of
the computer system. It makes computer system operation more effective and
efficient.
System software helps for operating the hardware components together as well as
supporting the development and execution of the application programs. Some
example of system software: Operating Systems, utility programs,
compilers/interpreters etc.
• Application Software
It is a set of programs which are designed to some specific task or some special
job. It can further classify in the two types: general purpose application software
and special purpose application software. General purpose application software
can be used for very common need like word processing, spread sheets etc. Special
purpose application software is specially designed for solving special problems or