Skip to main content

Computer architecture

Computer architecture deals with the functional behaviour of a computer system as viewed by a programmer. It can also be described as the logical structure of the system unit that housed electronic components. The computer architecture forms the backbone for building successful computer systems.
The first computer architecture was introduced in 1970.
Components of Computer
A computer consists of following three main components
1. Input/Output (I/O) Unit 
2. Central Processing Unit
3. Memory Unit
Note System unit is a metal or plastic case that holds all the physical parts of the computer.
The components that process data are located in it.
Input Unit
The computer accepts coded information through input unit by the user. It is a device that is used to give required information to the computer. e.g.Keyboard, mouse, etc.
An input unit performs the following functions
(i) It accepts the instructions and data from the user.
(ii) It converts these instructions and data in
computer in acceptable format.
(iii) It supplies the converted instructions and data to the computer system for further processing.
Output Unit
This unit sends the processed results to the user. It is mainly used to display the desired result to the user as per input instruction. e.g. Monitor, printer,plotter, etc.
The following functions are performed by an
output unit
(i) It accepts the results produced by the computer which are in coded form and hence cannot be easily understood by user.
(ii) It converts these coded results to human acceptable form.
(iii) It supplies the converted results to the user. 
Central Processing
Unit (CPU)It consists a set of registers, arithmetic logic unit
and control unit, which together interpret and execute instructions in assembly language.
The primary functions of the CPU are as follows
(i) The CPU transfers instructions and input data from main memory to registers, i.e.internal memory.
(ii) The CPU executes the instructions in the stored sequence.
(iii) When necessary, CPU transfers output data from registers to main memory.
Central Processing Unit is often called the brain of computer. The CPU is fabricated as a single
Integrated Circuit (IC) and is also known as microprocessor.
A CPU controls all the internal and external devices and performs arithmetic and logic operations.
The CPU consists of following main sub-systems
Arithmetic Logic Unit (ALU)
ALU contains the electronic circuitry that executes all arithmetic and logical operations on the available data. ALU uses registers to hold
the data that is being processed.
Most ALUs can perform the following operations
(i) Logical operations (AND, NOT, OR, XOR).
(ii) Arithmetic operations (addition,
subtraction, multiplication and division).
(iii) Bit-shifting operations (shifting or rotating a word by a specified number of bit to the left or right with or without sign extension).
(iv) Comparison operations (=, <, < =, >, > =)
Registers
These are used to quickly accept, store and transfer data and instructions that are being used
immediately by the CPU. These registers are the top of the memory hierarchy and are the fastest way
for the system to manipulate data. The number and size of registers vary from processor to processor.
Control Unit (CU)
CU coordinates with the input and output devices of a computer. It directs the computer to
carry out stored program instructions by communicating with the ALU and the registers.
It organises the processing of data and instructions.
The basic function of control unit is to fetch the instruction stored in the main memory, identify the operations and the devices involved in it and
accordingly generate control signals. 
Microprocessor
It is the controlling element in a computer system and is sometimes referred to as the chip. Microprocessor
is the main hardware that drives the computer. It is a large Printed Circuit Board (PCB), which is used in
all electronic systems such as computer, calculator,digital system, etc. The speed of CPU depends upon
the type of microprocessor used.
-Intel 4004 was the first microprocessor made by Intel in 1971 by scientist Ted Hoff and engineer Frederico Faggin.
- Some of the popular microprocessors are Intel, Intel
core i7, Dual core, Pentium IV, etc.
Memory Unit
This unit is responsible to store programs or data on a temporary or permanent basis. It has primary
memory (main memory) and secondary memory (auxiliary memory).
The input data which is to be processed is brought into main memory before processing.
Another kind of memory is referred to as secondary memory of a computer system. This unit
is used to permanently store data, programs and output. This unit does not deal directly with CPU.
Interconnection of Units
CPU sends data, instructions and information to the components inside the computer as well as to
the peripheral devices attached to it.
A bus is a set of wires used for interconnection,where each wire can carry one bit of data.
In other words, bus is a set of electronic signal pathways that allows information and signals to
travel between components inside or outside of a computer.
A computer bus can be divided into two types
1. Internal Bus The internal bus connects components inside the motherboard like CPU and system memory. It is also called the
system bus.
Internal bus includes following buses
- The command to access the memory or the I/O devices is carried by the control bus.
- The address of I/O devices or memory is carried by the address bus. The data to be transferred is carried by the data bus.
2. External Bus It connects the different external devices; peripherals, expansion slots, I/O ports and drive connections to the
rest of computer. It is also referred to as the expansion bus.

Thanks for reading.

Comments

Popular posts from this blog

What is Computer?

 The word computer originates from the word compute which means to calculate. It was initially used to refer to human beings that perform calculations. A computer has been defined so many forms by different authors. Some of the definitions are as follows: - Computer :-  is an electronic device that accepts data as input Process the data and gives out information as output.  - Computer :- It can be defined as an electronic or electromechanical device that is capable of accepting data, holds a means of instruction in its memory, process the information given by following sets of instructions to carry out a task without human intervention and at the end provide significant result. - Computer :- is any machine which accepts data and information presented to it in a prescribed form,carry out some operations on the input and supply the required result in a specified format as information or as signals to control some other machines or process. - Computer :- is an ele...

System Analysis and Design: A Comprehensive Overview

System analysis and design is a critical phase in the development of software systems. It involves a structured approach to understanding, defining, and designing solutions to meet business needs or address problems. This process ensures that the resulting system is efficient, effective, and aligned with user requirements. Let's delve into the key components and stages of system analysis and design:  1. System Analysis: Understanding Requirements and Problems In this stage, system analysts gather and analyze information to understand the current system or business processes, identify problems, and determine user needs. The goal is to define the scope and objectives of the project.  Requirements Gathering:  Analysts interact with stakeholders to gather requirements, including functional, non-functional, and user-specific needs. Interviews, surveys, observations, and workshops are used to collect detailed information. Problem Identification:  Existing problems, ineffic...

Algorithm Analysis ,Time and Space Complexities

An algorithm is a step-by-step procedure or set of rules for solving a problem or performing a specific task. Algorithm analysis involves evaluating the efficiency and performance of algorithms, particularly in terms of their time and space complexities.  These complexities provide insights into how an algorithm's runtime and memory requirements grow as the input size increases.  Time Complexity: Time complexity measures the amount of time an algorithm takes to run as a function of the input size. It helps us understand how the algorithm's performance scales with larger inputs. Common notations used to express time complexity include Big O, Big Theta, and Big Omega. - Big O Notation (O()): It represents the upper bound on an algorithm's runtime.  For an algorithm with time complexity O(f(n)), the runtime won't exceed a constant multiple of f(n) for large inputs. -Big Omega Notation (Ω()): It represents the lower bound on an algorithm's runtime.  For an algorithm w...