Unit1 Computer Fundamentals
Unit1 Computer Fundamentals
Computer Basics
Computer:
Computer is an electronic device, which is used for manipulating data according to a list of
instructions. A list of computer instructions designed to perform some task is known as a
program. It is a complete collection of hardware, software and peripherals designed to work
together. Computers take numerous physical forms. Early electronic computers were the size of a
large room, consuming as much power as several hundred modern personal computers. Today,
computers can be made small enough to fit into a wrist watch and powered from a watch battery.
the most common form of computer in use today is by far the embedded computer. Embedded
computers are mostly small and simple and they are often used to control other devices. They are
used to control machines from fighter aircraft to industrial robots, digital cameras, and even
children’s toys.
The defining feature of modern computers which distinguishes them from all other machines is
that they can be programmed. That is to say that a list of instructions can be given to the
computer and it will store them and carry them out at some time in the future. Instruction is a
command given to a computer to perform specified task. Some computer instructions are simple:
add one number to another, move some data from one location to another, send a message to
some external device, etc. These instructions are read from the computer's memory and are
generally executed in the order they were given.
Computer works mostly on data and information. Data is a collection of raw facts. Data
may be valuable or non-valuable. When these data has been converted and processed, so
that it gets definite form and shape which becomes useful and act as a base for making
any decision. Then it becomes an information, in simple we can say that information is
the processed data. The two principal characteristics of a computer are:
History Of Computer:
Abacus
An abacus is a calculation tool, often constructed as a wooden frame with beads sliding on
wires. It was in use centuries before the adoption of the written Hindu-Arabic numeral system and
is still widely used by merchants and clerks in the People's Republic of China, Japan, Africa, and
elsewhere.
The Chinese abacus is typically around 20 cm (8 inches) tall and it comes in various widths
depending on the application. It usually has more than seven rods. There are two beads on each
rod in the upper deck and five beads each in the bottom for both decimal and hexadecimal
computation. The beads are usually rounded and made of a hard wood. The beads are counted by
moving them up or down towards the beam. The abacus can be reset to the starting position
instantly by a quick jerk along the horizontal axis to spin all the beads away from the horizontal
beam at the center.
Chinese abaci can be used for functions other than counting. Unlike the simple counting board
used in elementary schools, very efficient suanpan techniques have been developed to do
multiplication, division, addition, subtraction, square root and cube root operations at high speed.
Bead arithmetic is the calculating technique used with various types of abaci, in particular the
Chinese abacus. The similarity of the Roman abacus to the Chinese one suggests that one could
have inspired the other, as there is some evidence of a trade relationship between the Roman
Empire and China. However, no direct connection can be demonstrated, and the similarity of the
abaci may be coincidental, both ultimately arising from counting with five fingers per hand.
Where the Roman model (like most modern Japanese) has 4 plus 1 bead per decimal place, the
standard Chinese abacus has 5 plus 2, allowing less challenging arithmetic algorithms, and also
allowing use with a hexadecimal numeral system. Instead of running on wires as in the Chinese
and Japanese models, the beads of Roman model runs in groves, presumably making arithmetic
calculations much slower. Possibly the Roman abacus was used primarily for simple counting. In
a contest between the Chinese abacus and the electric calculator on November 12, 1946, the
abacus won 4 to 1.
.
2. Jacquard’s Loom
The Jacquard loom is a mechanical loom, invented Joseph Marie Jacquard in 1801
which utilized holes punched in pasteboard, each row of which corresponded to one row of the
design. Multiple rows of holes were punched on each card and the many cards that comprised
the entire design of the textile were strung together in order
The first device that might be considered to be a computer in the modern sense of the word was
conceived in 1822 by the eccentric British mathematician and inventor Charles Babbage.
Babbage's engines were among the first mechanical computers. His engines were not actually
completed, largely because of funding problems and personality issues. Babbage realized that a
machine could do the work better and more reliably than a human being. Babbage directed the
building of some steam-powered machines that more or less did their job, suggesting calculations
could be mechanized to an extent.
The data and program memory were separated, operation was instruction based, the control unit
could make conditional jumps and the machine had a separate I/O unit.
Magnetic Drum: The magnetic drum is a more familiar technology, comparable with modern
magnetic discs. It consisted of a non-magnetic cylinder coated with a magnetic material, and an
array of read/write heads to provide a set of parallel tracks of data round the circumference of the
cylinder as it rotated. Drums had the same program optimization problem as delay lines.
Magnetic Core Memory: The most important contribution made by the MIT(Massachusetts
Institute of Technology) group was the development of the magnetic core memory, which they
later installed in Whirlwind. The MIT group made their core memory designs available to the
computer industry .
Mini Computer : These are medium sized computers. They possess more
work efficiency in comparison with micro computers. Mini computers are
more expensive than a micro computers and one cannot think of purchasing a
mini computer for personal use. These computers are generally useful for
ASST. PROF. SHWETA SINGH
DEPARTMENT OF COMPUTER SCIENCE Page 10
small & medium sized company. More than one person can use this computer
at a time. Mini computer possess multiple CPUs. They have bigger memory
and higher speed than micro computer but less than that of main frame. They
are cheaper than mainframe. A multi-user computer capable of supporting
from 10 to hundreds of users simultaneously. Medium sized company can be
used for following purpose:
1. Employees Payroll
2. Maintenance of books of accounts.
3. Cost Analysis.
4. Sales Supervision.
The other type of parallel computer is called a distributed memory computer. In this
type a number of processors, each with its own memory are interconnected by a
communication network. A program is divided into many parts and each computer work
independently. Whenever processo need to exchange data to continue with computation
they do so by sending messages across the network.Such computers are called message
passing multicomputers. A popular interconnection network is called a hypercube.
3 Hybrid Computers
Hybrid computers are made by combining features of analog computers and digital computers. In
general, analog computers are extraordinarily fast, since they can solve most complex equations
at the rate at which a signal traverses the circuit, which is generally an appreciable fraction of the
speed of light. Digital computers can be built to take the solution of equations to almost
unlimited precision, but quite slowly compared to analog computers. Hybrid computers can be
used to obtain a very good but relatively imprecise 'seed' value, using an analog computer front-
ASST. PROF. SHWETA SINGH
DEPARTMENT OF COMPUTER SCIENCE Page 12
end, which is then fed into a digital computer iterative process to achieve the final desired degree
of precision. Hybrid computers utilizes the best qualities of digital and analog computer.
Register consist of flip flops. These flip flops are connected in parallel. A CPU contains a
number of registers to store data temporarily during the execution of a program. The no of
register is differ from processor to processor. The advantages of storing the data in register are
that it can be retrieved faster than memory because the number of register in the memory is very
less. The drawback of using the register is that it is very expensive. Register are classified as
follows:
1. Accumulator: It is a register, which holds one of the operand prior to the execution of
instruction and receives the result of most of the arithmetic and logic operations. It is one
of the frequently used registers.
2. General Purpose Register: These register stores data and intermediate result during
the execution of a program. These are accessible to the user if the user is working in
assembly language.
3. Special Purpose Register: A CPU contains a number of special purpose registers.
It is used for different purpose. These are:
● Program counter
● Stack pointer
● Status register
● Instruction register
● Memory address register
● Memory buffer register
Stack Pointer: It is used to save the contents of the register if it is required during the
execution of a program.
Status Register: It is a 1-bit flag, which is used to indicate certain condition that arises
during the arithmetic and logic operation.
Memory Address Register: It holds the address of the instruction or data to be fetched
Memory Buffer Register: It holds the instruction code or data received from or sent to
the memory. The data which are written into the memory are held in this register until
write operation is completed.
Features of a Microprocessor
Here is a list of some of the most prominent features of any microprocessor −
Cost-effective − The microprocessor chips are available at low prices and
results its low cost.
Size − The microprocessor is of small size chip, hence is portable.
Low Power Consumption − Microprocessors are manufactured by using
metaloxide semiconductor technology, which has low power consumption.
Versatility − The microprocessors are versatile as we can use the same chip in
a number of applications by configuring the software program.
Reliability − The failure rate of an IC in microprocessors is very low, hence it is
reliable.
bases, they are being used by big companies, banks etc as a centralized
computer system. It can continuously work round the clock and hundreds of
users can work on them simultaneously. Mainframe can easily attached to
any network and even to microcomputer. These computers are used for
following purpose.
The other type of parallel computer is called a distributed memory computer. In this
type a number of processors, each with its own memory are interconnected by a
communication network. A program is divided into many parts and each computer work
independently. Whenever processo need to exchange data to continue with computation
they do so by sending messages across the network.Such computers are called message
passing multicomputers. A popular interconnection network is called a hypercube.
Hybrid Computers
Hybrid computers are made by combining features of analog computers and digital computers. In
general, analog computers are extraordinarily fast, since they can solve most complex equations
at the rate at which a signal traverses the circuit, which is generally an appreciable fraction of the
speed of light. Digital computers can be built to take the solution of equations to almost
unlimited precision, but quite slowly compared to analog computers. Hybrid computers can be
used to obtain a very good but relatively imprecise 'seed' value, using an analog computer front-
end, which is then fed into a digital computer iterative process to achieve the final desired degree
of precision. Hybrid computers utilizes the best qualities of digital and analog computer.
USER INTERFACE
The user interface (UI) is the point of human-computer interaction and communication in a
device. This can include display screens, keyboards, a mouse and the appearance of a desktop. It
is also the way through which a user interacts with an application or a website. The growing
dependence of many businesses on web applications and mobile applications has led many
companies to place increased priority on UI in an effort to improve the user's overall experience.
Command-line interfaces
A command-line interface allows the user to interact with the computer by typing in commands.
The computer displays a prompt, the user keys in the command and presses enter or return.
Commands must be typed correctly and in the right order or the command will not work.
Experienced users who know the commands can work very quickly without having to find
their way around menus.
An advantage of command driven programs is that they do not need
the memory and processing power of the latest computer and will often run on lower spec
machines.
Command driven programs do not need to run in Windows.
A command-line interface can run many programs, for example a batch file could launch half
a dozen programs to do its task.
An inexperienced user can sometimes find a command driven program difficult to use because
of the number of commands that have to be learnt.
Simple menu
The user is offered a simple menu from which to choose an option. One menu often leads to a
further menu. Part of the screen may have an instruction followed by a numbered list of options
to choose from.
Menu bar
A menu bar is the set of options at the top of the screen. When an option is chosen a drop-down
menu may be offered.
they are easy to use as the user does not have to remember sets of commands
they are user friendly - you can often guess your way around the options
they can be irritating if there are too many levels of menus to move around - with a command-
line interface you can go to the option required immediately
Graphical user interface is sometimes shortened to GUI. The user chooses an option usually by
pointing a mouse at an icon representing that option.
cable, or wirelessly through radio waves. Connected computers can share resources, like access
to the Internet, printers, file servers, and others. A network is a multipurpose connection, which
allows a single computer to do more.
Types of network
A local area network (LAN) is a group of computers and peripheral devices that share a common
communications line or wireless link to a server within a distinct geographic area.
Features of lan network
WANs are used to connect LANs and other types of networks together so that users and
computers in one location can communicate with users and computers in other locations. Many
WANs are built for one particular organization and are private.
it may be best to view WANs as computer networking technologies used to transmit data over
long distances, and between different LANs, MANs and other localised computer networking
architectures.
mechanism of a MAN is similar to an Internet Service Provider (ISP), but a MAN is not owned
by a single organization.
Like a WAN, a MAN provides shared network connections to its users..
Virtual Private network :- VPN meaning that it is a private point-to-point connection between
two machines or networks over a shared or public network such as the internet. A Virtual Private
Network is a combination of software and hardware. VPN (Virtual Private Network) technology,
can be use in organization to extend its connection over less secure internet to connect remote
users, branch , offices, and partner private, internal network. VPN turn the Internet into a private
WAN.
It uses “virtual” connections through the internet from a business’s private network to the remote
site. A Virtual Private Network is a technology which creates a network, and that network is
virtually private.
The letter V in VPN stands for “virtual” means that it shares phy.
ClassificationThe four classifications defined by Flynn are based upon the number of concurrent
instruction (or control) streams and data streams available in the architecture.
Single instruction stream, single data stream (SISD)
SISD
A sequential computer which exploits no parallelism in either the instruction or data streams.
Single control unit (CU) fetches single instruction stream (IS) from memory. The CU then
generates appropriate control signals to direct single processing element (PE) to operate on
single data stream (DS) i.e., one operation at a time.
Examples of SISD architecture are the traditional uniprocessor machines like older personal
computers (PCs; by 2010, many PCs had multiple cores) and mainframe computers.
Single instruction stream, multiple data streams (SIMD)
A single instruction operates on multiple different data streams. Instructions can be executed