Fit Unit-1
Fit Unit-1
Basics of computer
Computer:-
A computer is a programmable electronic device that accepts raw data as input
and processes it with a set of instructions (a program) to produce the result as
output. It can process numerical as well as non-numerical calculations. The term
"computer" is derived from the Latin word "computare" which means to
calculate.
The Analytical Engine was the first computer which was invented by Charles
Babbage in 1837. It used punch cards as read-only memory. Charles Babbage is
also known as the father of the computer.
The basic parts without which a computer cannot work are as follows:
Moreover, the CPU conducts all the arithmetical and logical operations in the
computer.
Now the CPU comprises of two units, namely – ALU (Arithmetic Logic Unit)
and CU (Control Unit). Both of these units work in sync. The CPU processes
the data as a whole.
1. Data inserted through the input unit into the primary memory. Performs
the basic arithmetical operation on it. Like addition, subtraction,
multiplication, and division. It performs all sorts of calculations required
on the data. Then sends back data to the storage.
2. The unit is also responsible for performing logical operations like, AND,
OR, Equal to, Less than, etc. In addition to this it conducts merging,
sorting, and selection of the given data.
CU – Control Unit
The control unit as the name suggests is the controller of all the activities/tasks
and operations. All this is performed inside the computer.
The memory unit sends a set of instructions to the control unit. Then the control
unit in turn converts those instructions. After that these instructions are
converted to control signals.
These control signals help in prioritizing and scheduling the activities. Thus, the
control unit coordinates the tasks inside the computer in sync with the input and
output units.
Memory Unit
All the data that has to be processed or has been processed is stored in the
memory unit. The memory unit acts as a hub of all the data. It transmits it to the
required part of the computer whenever necessary.
The memory unit works in sync with the CPU. This helps in faster accessing
and processing of the data. Thus, making tasks easier and faster.
Output
There is nothing to be amazed by what the output unit is used for. All the
information sent to the computer once processed is received by the user through
the output unit. Devices like printers, monitors, projector, etc. all come under
the output unit.
The output unit displays the data either in the form of a soft copy or hard copy.
The printer is for the hard copy. The monitor is for the display. The output unit
accepts the data in binary form from the computer. It then converts it into a
readable form for the user.
Software:-
A set of instructions that drives computer to do stipulated tasks is called a
program. Software instructions are programmed in a computer language,
translated into machine language, and executed by computer. Software can be
categorized into two types −
System software
Application software
System Software
System software operates directly on hardware devices of computer. It provides
a platform to run an application. It provides and supports user functionality.
Examples of system software include operating systems such as Windows,
Linux, Unix, etc.
Application Software
An application software is designed for benefit of users to perform one or more
tasks. Examples of application software include Microsoft Word, Excel,
PowerPoint, Oracle, etc.
Booting:-
When a user presses the power button on their computer, it initiates the process
known as "booting," which loads and starts the operating system. Booting can
also be thought of as a series of actions where the ROM of the computer is
accessed in order to load the startup instructions. After that, the operating
system is loaded from the disc that is now being used to boot the computer.
Types of booting:-
1. Cold Booting
To do a cold boot on a computer that is already operational, select the Shut
Down option. In order to complete the cold booting procedure, the computer
must first be powered down and then restarted. If the computer locks up, you
will need to do a cold reboot because a reset (also known as a "warm boot")
may not be sufficient.
During a cold boot, the computer is powered off and its random-access memory
(RAM) is flushed clean of any confidential data and registers that were created
by the operating system and applications while they were in use.
2. Hot/Warm Booting
When a computer is hanging and not working properly, you can restart it so
that it can function normally again. Warm boot does not turn off and does not
erase data when powered on. It makes a big difference when paired with a cold
boot. Before putting the system to use, it performs a self-diagnosis, also known
as a POST, and loads all necessary drivers.
Difference between Cold and Hot/Warm Booting
The following table highlights the differences between Cold Booting and Warm
Booting −
Result resets the hardware as resets the power supply and all of its
well as clearing all components.
RAM.
Storage Devices
Now we will discuss different types of storage devices available in the market.
These storage devices have their own specification and use. Some of the
commonly used storage devices are:
1. Primary storage devices
(i) RAM: It stands for Random Access Memory. It is used to store information
that is used immediately or we can say that it is a temporary memory.
Computers bring the software installed on a hard disk to RAM to process it
and to be used by the user. Once, the computer is turned off, the data is
deleted. With the help of RAM, computers can perform multiple tasks like
loading applications, browsing the web, editing a spreadsheet, experiencing
the newest game, etc. It allows you to modify quickly among these tasks,
remembering where you’re in one task once you switch to a different task. It is
also used to load and run applications, like your spreadsheet program, answer
commands, like all edits you made within the spreadsheet, or toggle between
multiple programs, like once you left the spreadsheet to see the email. Memory
is nearly always being actively employed by your computer. It ranges from
1GB – 32GB/64GB depending upon the specifications. There are different
types of RAM, although they all serve the same purpose, the most common
ones are :
SRAM: It stands for Static Random Access Memory. It consists of circuits
that retain stored information as long as the power is supply is on. It is also
known as volatile memory. It is used to build Cache memory. The access
time of SRAM is lower and it is much faster as compared to DRAM but in
terms of cost, it is costly as compared to DRAM.
DRAM: It stands for Dynamic Random Access Memory. It is used to
stores binary bits in the form of electrical charges that are applied to
capacitors. The access time of DRAM is slower as compare to SRAM but it
is cheaper than SRAM and has a high packaging density.
(ii) ROM: It stands for Read-Only Memory. The data written or stored in
these devices are non-volatile, i.e, once the data is stored in the memory
cannot be modified or deleted. The memory from which will only read but
cannot write it. This type of memory is non-volatile. The information is stored
permanently during manufacture only once. ROM stores instructions that are
used to start a computer. This operation is referred to as bootstrap. It is also
used in other electronic items like washers and microwaves. ROM chips can
only store few megabytes (MB) of data, which ranges between 4 and 8 MB per
ROM chip. There are two types of ROM:
PROM: PROM is Programmable Read-Only Memory. These are ROMs
that can be programmed. A special PROM programmer is employed to
enter the program on the PROM. Once the chip has been programmed,
information on the PROM can’t be altered. PROM is non-volatile, that is
data is not lost when power is switched off.
EPROM: Another sort of memory is that the Erasable Programmable
Read-Only Memory. It is possible to erase the info which has been
previously stored on an EPROM and write new data onto the chip.
Memory unit is the amount of data that can be stored in the storage unit. This
storage capacity is expressed in terms of Bytes.
The following table explains the main memory storage units –
Nibble
2
A group of 4 bits is called nibble.
Byte
3 A group of 8 bits is called byte. A byte is the smallest unit, which can represent a
data item or a character.
Word
A computer word, like a byte, is a group of fixed number of bits processed as a
unit, which varies from computer to computer but is fixed for each computer.
4
The length of a computer word is called word-size or word length. It may be as
small as 8 bits or may be as long as 96 bits. A computer stores the information
in the form of computer words.
1. Speed
2. Diligence
A human cannot work for several hours without resting, yet a computer never
tires. A computer can conduct millions of calculations per second with
complete precision without stopping. A computer can consistently and
accurately do millions of jobs or calculations. There is no weariness or lack
of concentration. Its memory ability also places it ahead of humans.
3. Reliability
A computer is reliable. The output results never differ unless the input varies.
the output is totally depend on the input. when an input is the same the
output will also be the same. A computer produces consistent results for
similar sets of data, if we provide the same set of input at any time we will
get the same result.
4. Automation
5. Versatility
6. Memory