2. Basic Computer Architecture
Outline:
âą
Concept and Terminology
âą
Arithmetic and Logic Unit
âą
Memory Unit
âą
Primary Storage Devices
âą
Motherboard
âą
General System Architecture
âą
High Level Language
âą
Instruction Set Architecture
âą
Pipelining
âą
Parallelism
âą
Secondary Storage Devices
âą
Partitioning and Formatting
3. Concept and Terminology
Computer:
â
An electronic device which is capable of receiving data in a particular form and of performing a
sequence of operations through a set of instructions(program) to produce a result in the form of
information or signals and stores
â
Is a machine that performs processes, calculations and operations based on instructions provided
by a software and hardware
Computer System
â
Groups of CPU, memory system and peripheral devices all interconnected by a conductor (buses)
4. Concept and Terminology
Computer Architecture:
â
Functionality, organizations and implementation of computer
systems
â
Concerned with structure and behaviour of computer system
â
design/abstract model/blueprint
â
Includes information,formats, instruction set and techniques
for addressing memory
5. Arithmetic and Logic Unit
â
Digital circuit used to perform arithmetic and logical
operations
â
represents the fundamental building block of the central
processing unit (CPU) of a computer.
â
Arithmetic Operation: addition, subtraction, multiplication
and division
â
Logic Operation: AND OR NOT
6. Memory Unit
â
Memory unit is the amount of data that can be stored in
the storage unit. This storage capacity is expressed in
terms of Bytes.
â
It stores all the data and the instructions required for
processing.
â
Bit, Nibble, Byte, Word
7. Processor
â
Microprocessor: a small chip that resides in computers and
other electronic devices
â
Basic job is to receive input and provide appropriate output
â
Made up of millions of transistor
8. Storage Devices
â
A storage device is any computing hardware that is used
for storing data files and information.
â
It can hold and store the information both temporarily and
permanently, and can external or internal to a computer.
9. Primary Storage Devices
â
Main memory or storage,internal memory or prime memory
â
Is the only one which is directly accessible to the CPU.
â
The CPU continuously reads instructions stored there and executes them as required.
â
Is the area in a computer in which data is stored for quick access by the computerâs processor.
â
Main memory is directly or indirectly connected to the central processing unit via a memory
bus.
â
Hence, non-volatile primary storage containing a small startup program (BIOS) is used to
bootstrap the computer, that is, to read a larger program from non-volatile storage to RAM and
start to execute it. A non-volatile technology used for this purpose is called ROM, for read-only
memory.
â
RAM, ROM, Cache Memory
10. Random Access Memory
â
Random Access Memory (or simply RAM) is the memory or information storage in a
computer that is used to store running programs and data for the programs. Data
(information) in the RAM can be read and written quickly in any order.
â
DRAM (Dynamic Random Access Memory) â The term dynamic indicates that the memory
must be constantly refreshed or it will lose its contents. DRAM is typically used for the main
memory in computing devices. If a PC or smartphone is advertised as having 4-GB RAM or
16-GB RAM, those numbers refer to the DRAM, or main memory, in the device.
â
SRAM (Static Random Access Memory) â While DRAM is typically used for main memory,
today SRAM is more often used for system cache. SRAM is said to be static because it
doesn't need to be refreshed, unlike dynamic RAM, which needs to be refreshed thousands
of times per second. As a result, SRAM is faster than DRAM. However, both types of RAM
are volatile, meaning that they lose their contents when the power is turned off.
14. Secondary Storage Devices
â
also known as external memory or auxiliary storage
â
Is a Non volatile Memory that is not directly accessible by the CPU
â
The computer usually uses its input/output channels to access secondary
storage and transfer the desired data to primary storage.
â
Use to store Permanent Data.
â
The access time per byte for HDDs or SSDs is typically measured in
milliseconds (one thousandth seconds), while the access time per byte for
primary storage is measured in nanoseconds (one billionth seconds).
â
Hard Disk, Floppy Disk, CD/DVD etc.
15. Motherboard
â
Main board, main circuit board, system board, planar
board, logic board
â
Hold and allows communication between many of the
crucial electronic components of a system such as
CPU,memory, and provide connectors for other
peripherals
â
Sound cards, video cards, network cards, hard drive etc.
16. General System Architecture
â
Distributed Computer System
â
A distributed system is a collection of independent computers that appear to the users of the system as a
single system.
î
Examples of distributed systems / applications of distributed computing :
î
Intranets, Internet.
î
Google search system. Each request is worked upon by hundreds of computers which crawl the web and
return the relevant results.
â
Client/Server architecture
â
Wikipedia. Consider a massive server to which we send our requests and the server responds with the
article that we requested. Suppose we enter the search term âjunk foodâ in the Wikipedia search bar. This
search term is sent as a request to the Wikipedia servers (mostly located in Virginia, U.S.A) which then
responds back with the articles based on relevance. In this situation, we are the client node, wikipedia
servers are central server.
17. High Level Language
â
Like human language
â
Do not provide much facility at hardware level
â
Usually used to write application programs
â
Eg: python, java, C# etc.
18. Instruction Set Architecture
â
Also called instruction set is part of a computer that is
applicable to programming, which is basically machine
language
â
Instruction set provides commands to the processor, to tell
it what it needs to do,
19. Pipelining
â
Instruction pipelining is a technique for implementing
instruction level parallelism within a single processor
â
That is, how many instruction can be executed
simultaneously.
20. Parallelism
â
Type of computation in which many calculation or the
execution of processes are carried out simultaneously
â
Large problems can often be divided into smaller ones
which can then be solved at the same time