Introduction to Computer System 1720336827
Introduction to Computer System 1720336827
2) Input Devices:
The devices through which control signals are sent to a computer are termed as input devices.
These devices convert the input data into a digital form that is acceptable by the computer
system.
Some examples of input devices include keyboard, mouse, scanner, touch screen, etc.,
Data entered through input device is temporarily stored in the main memory (also called
RAM) of the computer system.
For permanent storage and future use, the data as well as instructions are stored permanently
in additional storage locations called secondary memory.
3) Output Devices:
The device that receives data from a computer system for display, physical production, etc., is
called output device.
It converts digital information into human understandable form.
For example, monitor, projector, headphone, speaker, printer, etc.
A printer is the most commonly used device to get output in physical (hardcopy) form.
Three types of commonly used printers are inkjet, laserjet and dot matrix.
Now-a-days, there is a new type of printer called 3D-printer, which is used to build physical
replica of a digital 3D design.
Evolution of computer
➢ Abacus
Approximately 4,000 years ago, the Chinese invented the Abacus.
It was the first machine used for counting and calculating.
It is made of a wooden frame, metal rods, and wooden beads Abacus was mainly used for
addition, subtraction and later for division and multiplication.
Today, the abacus is still used widely in China and other Asian countries to count and
calculate, just as we use calculators.
➢ Napier’s bones
In the early 17th century, John Napier, a Scottish mathematician, invented another calculating
tool.
“Napier’s bones” was based upon manipulation of rods with printed digits.
The rods were made of bone, ivory, wood or metal.
The set consists of 10 rectangular blocks with multiples of a different digit on each of the
four sides.
➢ Adding Machine-Pascaline
In 1642, at the age of 19, a French mathematician by the name of Biaise Pascal invented the
Pascaline.
The Pascaline is known as the first mechanical and automatic calculator.
The Pascaline was a wooden box that could only add and subtract by means of a series of
gears and wheels.
It had a box with eight movable wheels called dials. When each wheel rotated one revolution,
it would then turn the neighbouring wheel.
➢ Leibniz Calculator
Mathematician Gottfried Leibniz built a calculator in 1650 that could add, subtract, multiply
and divide the numbers.
➢ Jacquard loom
In 1801, Joseph Mary Jacquard invented the Jacquard loom.
A powered loom that used punched wooden cards to automatically weave incredibly detailed
patterns including pictures and text.
This can be taken as the first “Read only Memory” device.
Computer Memory
A computer system needs memory to store the data and instructions for processing.
The secondary memory (also called storage device) is used to store data, instructions and
results permanently for future use.
Units of Memory
A computer system uses binary numbers to store and process data.
The binary digits 0 and 1, which are the basic units of memory, are called bits. Further, these
bits are grouped together to form words.
A 4-bit word is called a Nibble. Examples of nibble are 1001, 1010, 0010, etc.
A two-nibble word, i.e., 8-bit word is called a byte, for example, 01000110, 01111100,
10000001, etc.
Types of Memory
Computers have two types of memory — primary and secondary.
(A) Primary Memory
Primary memory is an essential component of a computer system. Program and data are
loaded into the primary memory before processing.
The CPU interacts directly with the primary memory to perform read or write operation.
It is of two types viz.
(i) Random Access Memory (RAM) and
(ii) Read Only Memory (ROM).
Microprocessors
A processor (CPU) which is implemented on a single microchip is called
microprocessor.
Microprocessor is a small-sized electronic component inside a computer that
carries out various tasks involved in data processing as well as arithmetic and
logical operations.
A microprocessor is built over an integrated circuit comprising millions of
small components like resistors, transistors and diodes.
Microprocessors are capable of processing millions of instructions per
millisecond.
Microprocessor Specifications
Microprocessors are classified on the basis of different features which include chip type,
word size, memory size, clock speed, etc.
A)Word Size
Word size is the maximum number of bits that a microprocessor can process at a time.
At present, the minimum word size is 16 bits and maximum word size is 64 bits.
B)Memory Size
Depending upon the word size, the size of RAM varies. Initially, RAM was very
small (4MB) due to 4/8 bits word size.
As word size increased to 64 bits, it has become feasible to use RAM of size upto 16
Exabytes (EB).
C)Clock Speed
Computers have an internal clock that generates pulses (signals) at regular intervals of
time. Clock speed simply means the number of pulses generated per second by the
clock inside a computer.
The clock speed indicates the speed at which the computer can execute instructions.
Earlier, it was measured in Hertz (Hz) and Kilohertz (kHz).
But with advancement in technology and chip density, it is now measured in
Gigahertz (GHz), i.e., billions of pulses per second.
D)Cores
Core is a basic computation unit of the CPU.
Earlier processors had only one computation unit, thereby capable of performing only
one task at a time.
With the advent of multicore processor, it has become possible for the computer to
execute multiple tasks, thereby increasing the system’s performance.
CPU with two, four, and eight cores is called dual-core, quad-core and octa-core
processor, respectively.
Microcontrollers
The microcontroller is a small computing device which has a CPU, a fixed amount of RAM,
ROM and other peripherals all embedded on a single chip as compared to microprocessor that
has only a CPU on the chip.
Keyboard, mouse, washing machine, digital camera, pendrive, remote controller,
microwave are few examples of microcontrollers.
As these are designed for specific tasks only, hence their size as well as cost is
reduced.
Because of the very small size of the microcontroller, it is embedded in another
device or system to perform a specific functionality.
For example, the microcontroller in a fully automatic washing machine is used to
control the washing cycle without any human intervention.
The cycle starts with the filling of water, after which the clothes are soaked and
washed; thereafter the water is drained and the clothes are spin dry.
The simple use of microcontroller has permitted repetitive execution of tedious tasks
automatically without any human intervention, thereby saving precious time.
System software:
The software that provides the basic functionality to operate a computer by
interacting directly with its constituent hardware is termed as system software.
A system software knows how to operate and use different hardware components of
a computer.
It provides services directly to the end user, or to some other software.
Examples of system software include operating systems, system utilities, device
drivers, etc.
Operating System:
As the name implies, the operating system is a system software that operates the
computer.
An operating system is the most basic system software, without which other software
cannot work.
The operating system manages other application programs and provides access and
security to the users of the system.
Some of the popular operating systems are Windows, Linux, Macintosh, Ubuntu,
Fedora, Android, iOS, etc.
System Utilities:
Software used for maintenance and configuration of the computer system is called
system utility.
Some system utilities are shipped with the operating system for example disk
defragmentation tool, formatting utility, system restore utility, etc.
Another set of utilities are those which are not shipped with the operating system but
are required to improve the performance of the system, for example, anti-virus
software, disk cleaner tool, disk compression software, etc.
Device Drivers:
As the name signifies, the purpose of a device driver is to ensure proper functioning
of a particular device.
The device driver acts as an interface between the device and the operating system.
It provides required services by hiding the details of operations performed at the
hardware level of the device.
Just like a language translator, a device driver acts as a mediator between the
operating system and the attached device.
Programming Tools:
In order to get some work done by the computer, we need to give instructions which
are applied on the input data to get the desired outcome.
Computer languages are developed for writing these instructions.
There is a continuous need for conversion from high level to machine level language,
for which translators are needed.
(A) Classification of Programming Languages:
Two major categories of computer programming languages are low-level languages
and high-level languages.
Low-level languages are machine-dependent languages and include machine
language and assembly language.
Machine language uses 1s and 0s to write instructions which are directly
understood and executed by the computer.
But writing a code in machine language is difficult as one has to remember all
operation codes and machine addresses.
Also finding errors in the code written in machine language is difficult.
To simplify the writing of code, assembly language was developed that
allowed usage of English-like words and symbols instead of 1s and 0s.
But one major drawback of writing code in this language is that the code is
computer specific, i.e., the code written for one type of CPU cannot be used
for another type of CPU.
High-level languages are machine-independent and are simpler to write code into.
Instructions use English-like sentences and each high-level language follows a
set of rules, similar to natural languages.
However, these languages are not directly understood by the computer.
Hence, translators are needed to translate high-level language codes into
machine language.
Examples of high level language include C++, Java, Python, etc.
OS User Interface:
There are different types of user interfaces each of which provides a different functionality.
(A) Command-based Interface:
The command-based interface requires a user to enter the commands to
perform different tasks like creating, opening, editing or deleting a file, etc.
The primary input device used by the user for command based interface is the
keyboard.
Examples of operating systems with command-based interface include MS-
DOS and Unix.