Introduction To Computer Programming (Cse-271) : Prepared by Md. Atiqul Islam Rizvi Lecturer, Dept. of Cse, Cuet
Introduction To Computer Programming (Cse-271) : Prepared by Md. Atiqul Islam Rizvi Lecturer, Dept. of Cse, Cuet
PROGRAMMING (CSE-271)
PREPARED BY
MD. ATIQUL ISLAM RIZVI
LECTURER, DEPT. OF CSE, CUET.
Factors Affecting Processing Speed
Registers
RAM
The Bus
Cache Memory
Factors Affecting Processing Speed -
Registers
The CPU contains a number of small memory areas, called
registers, which store data and instructions while the CPU processes
them.
The size of the registers (also called word size) determines the
amount of data with which the computer can work at a one time.
Today, most PCs have 64-bit registers, mean the CPU can process
eight bytes of data at one time.
Factors Affecting Processing Speed - RAM
The amount of RAM in a PC has a direct affect on the system's
speed
A single "tick" of the clock is the time required to turn a transistor off and
back on. This is called a clock cycle.
Clock cycles are measured in Hertz (Hz), a measure of cycles per second. If a
computer has a clock speed of 300 MHz, then its system clock "ticks" 300
million times every second.
The faster a PC's clock runs, the more instructions the PC can execute each
second.
Factors Affecting Processing Speed – Bus
The data bus width determines how many bits can be transmitted between the
CPU and other devices.
The address bus runs only between the CPU and RAM, and carries nothing but
memory addresses for the CPU to use.
Cache is located directly on the CPU or between the CPU and RAM, making it
faster than normal RAM.
CPU-resident cache is called Level-1 (L1) cache. External cache is called Level-2
(L2) cache.
The amount of cache memory has a tremendous impact on the computer's speed.
Computer Network
A computer network, or simply a network, is a collection of computers and other
hardware components interconnected by communication channels that allow
sharing of resources and information.
LAN MAN WAN
Local Area Network Metropolitan Area Wide Area Network
Network
Covers local areas only Cover a larger geographic covers large geographic
area than LAN areas
Less maintenance cost Competitive price More maintenance cost
Faster than WAN Higher speed Less speed than LAN
Hardware focus on sharing Hardware focus on data Hardware focus on
resources transmission communication