Letöltés
Letöltés
• Personal computer
• Hardware of a PC
• Memory
• CPU
1
Personal Computer
• A PC is a general purpose tool built around a
microprocessor.
• It has lots of different parts -- memory, a hard
disk, a modem, etc. -- that work together.
• General purpose" means that you can do many
different things with a PC. You can use it to
type documents, send e-mail, browse the
Internet and play games.
2
PC - continued
• A PC is a general-purpose information
processing device. It can take information
from a person (through the keyboard and
mouse), from a device (like a pendrive or CD)
or from the network (through a modem or a
network card) and process it. Once processed,
the information is shown to the user (on the
monitor), stored on a device (like a hard disk)
or sent somewhere else on the network (back
through the modem or network card). 3
The organisation of a computer
Memory
Input Output
Devices Devices
CPU
4
Main components of a typical
desktop computer
• Motherboard
• CPU
• RAM
• Video Card
• Power Supply
• Hard Drive (HDD) or Solid State Drive (SSD)
• (Optical Drive)
5
Logical Parts of Computers
• Memory
• CPU
• Peripherals
6
What is Memory?
• Memory is the electronic holding place for
instructions and data that your computer's
microprocessor can reach quickly. When your
computer is in normal operation, its memory
usually contains the main parts of the
operating system and some or all of the
application programs and related data that are
being used.
7
What is Memory?
• Memory is the best essential element of a
computer because computer can’t perform
simple tasks. Computer memory is of two
basic type – Primary memory / Volatile
memory and Secondary memory / non-volatile
memory. Random Access Memory (RAM) is
volatile memory and Read Only Memory
(ROM) is non-volatile memory.
8
What is Memory?
9
Comments: Memory
• Memory Element: Flip Flop. State: 0 or 1.
• Change state: based on circuit at each TIME STEP.
12
The capacitor in a
dynamic RAM memory
cell is like a leaky
bucket.
It needs to be
refreshed periodically
or it will discharge to 0.
This refresh operation is where dynamic RAM
gets its name. Dynamic RAM has to be
dynamically refreshed all of the time or it
forgets what it is holding. The downside of all
of this refreshing is that it takes time and
slows down the memory.
13
Static RAM
• A particular type of RAM, Static Random Access Memory
(SRAM), is used primarily for cache. SRAM uses multiple
transistors, typically four to six, for each memory cell. It has
an external gate array that switches, or flip-flops, between two
states. This means that it does not have to be continually
refreshed like DRAM. Each cell will maintain its data as long
as it has power. Without the need for constant refreshing,
SRAM can operate extremely quickly. But the complexity of
each cell make it prohibitively expensive for use as standard
RAM.
• https://www.geeksforgeeks.org/types-computer-memory-ram-
rom/
14
Different types of memory II.
• PROM (programmable read-only memory): A PROM is a
memory chip on which you can store a program. But once the
PROM has been used, you cannot wipe it clean and use it to
store something else. Like ROMs, PROMs are non-volatile.
16
Further Memory comments
• All of the components in your computer, such
as the CPU, the hard drive and the operating
system, work together as a team, and memory
is one of the most essential parts of this team.
From the moment you turn your computer on
until the time you shut it down, your CPU is
constantly using memory. Let's take a look at a
typical scenario:
17
You turn the computer on
• The computer loads data from read-only memory (ROM) and
performs a power-on self-test (POST) to make sure all the
major components are functioning properly.
18
Loading Operating System
• The computer loads the basic input/output system (BIOS) from
ROM. The BIOS provides the most basic information about
storage devices, boot sequence, security, Plug and Play (auto
device recognition) capability and a few other items.
• The computer loads the operating system (OS) from the hard
drive into the system's RAM. Generally, the critical parts of
the operating system are maintained in RAM as long as the
computer is on.
19
Loading Applications
• When you open an application, it is loaded into
RAM. To conserve RAM usage, many
applications load only the essential parts of the
program initially and then load other pieces as
needed.
• After an application is loaded, any files that
are opened for use in that application are
loaded into RAM.
20
The Process
• In the list above, every time something is
loaded or opened, it is placed into RAM. This
simply means that it has been put in the
computer's temporary storage area so that the
CPU can access that information more easily.
The CPU requests the data it needs from
RAM, processes it and writes new data back to
RAM in a continuous cycle.
21
The Process (cont.)
• In most computers, this moving of data
between the CPU and RAM happens millions
of times every second. When an application is
closed, it and any accompanying files are
usually deleted from RAM to make room for
new data.
If the changed files are not saved to a
permanent storage device before being purged,
they are lost.
22
CPU
• Abbreviation of Central Processing Unit.
The CPU(s) is (are) the brain(s) of the computer. Sometimes
referred to simply as the processor or central processor, the
CPU is where most calculations take place (Exception: where
there is a dedicated graphics card, and user is running e.g high
resolution games, or engineering softwares)
In terms of computing power, the CPU is the most important
element of a computer system.
• Computer runs a STORED program.
• This stored program can be arbitrary.
• The basic architecture we discuss is called
Neumann Architecture.
23
The Neumann Principles
1. Computer is processing data sequentially.
The machine carries out instructions one by one. Neumann thought, electric computers
could be fast enough without parallelism. However most of today’s computers are
sequential, there are multiprocessor computers able to perform multiple task in the
same time.
24
The Neumann Principles
4. Stored program concept.
Instructions can be denoted with numbers, so they can treated as data and can
be stored in memory. In this way, computer can work on its own, it retreives
data and instructions from the memory. Naturally the data and the instructions
are located in different parts of the memory.
5. Computer is universal.
There is no need to make special devices, machines to perform different
computer tasks. Turing prooved with mathematical logical tools that a machine
capable to perform some elementary operations can carry out any kind of
calculations.
25
CPU
• CPU
• The Central Processing Unit (11:37)
26
Important Components of CPU:
• Control Unit --- brain of the CPU. It decides which
operations are to be performed and when.
27
• Instruction Execution:
28
Types of Computers
• Supercomputers
• Mainframes
• Minicomputers
• Workstations
• Desktop computers
• Notebook computers (laptops)
• Netbooks
• Mobile tools (smart phones, tablets)
29
Thank you for your attention!
30