There Are Five Basic Components of A Computer. They Are: Input Unit
There Are Five Basic Components of A Computer. They Are: Input Unit
Input Unit :The input unit consists of input devices that are attached to the
computer. They take input and convert it into binary language for the computer to
understand. Eg keyboard, mouse, joystick, scanner etc.
Output Unit : The output unit consists of output devices that are attached with
the computer. It converts the binary data coming from CPU to human
understandable form. Eg monitor, printer, plotter etc.
Central Processing Unit (CPU) : The input is processed by the processor. It
executes the instructions by fetching data, if required, from memory or input
device. It performs the required computation and then either stores the output or
displays on the output device. The CPU has three main components which are
responsible for different functions – Arithmetic Logic Unit (ALU), Control Unit
(CU) and Memory registers
Memory : Memory is used for storage of data and instructions and is called
internal memory The internal memory is divided into many storage locations,
each of which can store data or instructions.
Q2. Differences between primary memory & secondary memory of the computer
The major features (also differences) between RAM and ROM are:
RAM ROM
Definition of RAM is Random Access
Definition of ROM is Read-only Memory
Memory
Random Access Memory (RAM) is
ROM is cheaper when compared to RAM.
expensive when compared to ROM
The speed of Random Access Memory The speed of Read-only Memory (ROM) is
(RAM) is higher when compared to ROM slower when compared to RAM.
Random Access Memory (RAM) has a
ROM has a lower capacity compared to RAM
higher capacity when compared to ROM
Data in RAM can be modified, erased, or Data in ROM can only be read, it cannot be
read. modified or erased.
The data stored in RAM is used by the
The data stored in ROM is used to bootstrap the
Central Processing Unit (CPU) to process
computer.
current instructions
Data present in Read-Only Memory (ROM) is
Data of RAM is very volatile, it will exist as not volatile, it is permanent. Data will remain
long as there is no interruption in power. unchanged even when there is a disruption in the
power supply.
Arithmetic and Logic Unit (ALU) : The ALU, as its name suggests performs
mathematical calculations and takes logical decisions. Arithmetic calculations
include addition, subtraction, multiplication and division. Logical decisions
involve comparison of two data items to see which one is larger or smaller or
equal.
Control Unit : The Control unit coordinates and controls the data flow in and out
of CPU, controls all the operations of ALU, memory registers and also
input/output units. It is also responsible for carrying out all the instructions stored
in the program. It decodes the fetched instruction, interprets it and sends control
signals to input/output devices until the required operation is done properly by
ALU and memory.
Memory : Memory attached to the CPU is used for storage of data and
instructions. and is called internal memory. when a program is executed, it’s data
is copied to the internal memory and is stored in the memory till the end of the
execution. The internal memory is also called the Primary memory or Main
memory. This memory is also called as RAM, i.e. Random Access Memory.
Q9. How do you define a computer? State the differences between Data & Information
with examples.
Ans: A computer is an electronic device, under the control of instructions stored in its
memory that can accept data (input), process the data according to specified rules
(Program), produce information (output), and store the information for future use.
Data are raw numbers or other findings which, by themselves, are of limited
value. Eg, names, roll nos, marks, salary etc.
Information is data that has been converted into a meaningful and useful context. Eg
Raman scored 30 in First UT.
Q. What are input devices? Name few input devices other than Keyboard, Mouse
Scanner. Explain MICR/ OMR/ MICR.
Input devices are peripherals that can send data to a computer or another device for
processing.
Microphone, Webcam, GraphicsTablets, Trackballs, Barcodereader, Gamepad
OMR: optical mark recognition/ reader, is used to read marks on a document and send
them to computer.
OCR: OCR stands for optical character Recognition, is an input device which reads
printed text and sends that to computer.
MICR: Magnetic Ink Character Reader is an input device which generally finds
application is banks to process cheques.
Q. What are Utility software? Name few Utility software & explain how they
work.
Ans: Utility softwares are those that assists OS in carrying out certain specialized tasks &
maintenance work of the computer. Eg.,
Antivirus-An anti-virus scans the system for any virus and if detected, gets rid of
it by deleting or isolating it.
Compression tools-Compression tools are utilities that assist operating systems
in shortening files so that they take less space
Disk Clean up-Disk clean up tools assist users in freeing up disk space.
Disk Defragmenter-Disk defragmenter is a disk management utility that
increasesfile access speeds by rearranging fragmented files on contiguous
locations.
Backup-Back up utility enables backing up offiles,folders, databases or
complete disks.
File management tools-Utility software providing regular file management tasks
like browse, search, update, preview,etc. are called file management tools.
Q. What is the smallest unit of memory? How can you further divide a memory?
What is a nibble? 1 TB= ? MB
Ans:
The smallest memory unit is known as a bit. The term "bit" refers to a binary digit. A
logical state with one of two potential values is represented by a bit.
1 Byte = 8 bits
1024 Bytes = 1 KB (Kilo Byte)
1024 KB = 1 MB (Mega Byte)
1024 MB = 1 GB(Giga Byte)
1024 GB = 1 TB(Terra Byte)
1024 TB = 1 PB(PetaByte)
1024 PB = 1 EB(ExaByte)
1024 EB = 1 ZB(ZettaByte)
1024 ZB = 1 YB (YottaByte)
1024 YB = 1 (BrontoByte)
1024 Brontobyte= 1 (GeopByte)
1 nibble = 4 bits.
Interpreter Compiler
Scans the entire program and translates it as
Translates program one statement at a time.
a whole into machine code.
Interpreters usually take less amount of time Compilers usually take a large amount of
to analyze the source code. However, the time to analyze the source code. However,
overall execution time is comparatively the overall execution time is comparatively
slower than compilers. faster than interpreters.
Generates Object Code which further
No Object Code is generated, hence are
requires linking, hence requires more
memory efficient.
memory.
Target programs execute independently.
Interpreter originally exists in the memory at
They don’t require the Compiler in the
the time of interpretation.
memory.
Programming languages like JavaScript, Programming languages like C, C++, Java
Python, Ruby use interpreters. use compilers.