It Bba Sem 1 Unit 1&2
It Bba Sem 1 Unit 1&2
HARDWARE, SOFTWARE,
HUMANWARE, FIRM WARE
WITH EXAMPLE
Hardware:
- Computer hardware is any physical device used in or with your
machine, whereas software is a collection of codes installed onto your
computer’s hard drive.
- For instance, the computer monitor you are currently using to read this
text and the mouse you’re using to navigate this web page is computer
hardware.
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
Human ware:
- Human ware is the method of adding a human facets into the
development of computer programs.
- The main goal of developing human ware is to make hardware and
software as functional as possible.
- For example, in a traditional desktop system, human ware might
involve changing the visual interface to make it more accessible to
those with low computer literacy.
- Another excellent and very common example is the designing of
hardware systems for persons with disabilities.
Firm Ware:
- In computing, firmware is a specific class of computer software that
provides the low-level control for a device specific hardware.
- Firm ware such as the program of an embedded system may be the
only program that will run on the system and provide all of
its functions.
- Software files are usually large and take up a substantial amount of
hardware memory when compared to firmware.
- Firmware is a term for a piece of software that is stored on a hardware
device in order to make it run properly.
2. RAM VS ROM
ROM:
o Non-volatile
o Fast to read
o Usually used in small quantities
o Cannot be written to quickly
o Used to store boot instructions or firmware
o Relatively expensive per megabyte stored compared to RAM
RAM:
o Volatile
o Fast to read and write
o Used as system memory to store data (including program
code) that the CPU
o needs to process imminently
o Relatively cheap per megabyte stored compared to ROM, but
relatively
o expensive compared to secondary memory
3. SRAM VS DRAM
4. WHAT IS COMPUTER? WHY IS
IT KNOWN AS DATA
PROCESSOR?
CHARACTERISTICS
intro
A computer is an electronic device that manipulates information, or data.
It has the ability to store, retrieve, and process data. You may already
know that you can use a computer to type documents, send email, play
games, and browse the Web.
Data processor
Computer is known as data processor because it processes the data.
First the data is inserted in the computer through input devices. After that,
computer translate the data in its own language and then the computer
takes action according to the instructions given to the computer. After
processing, the data sent back to the user through output devices of
computer such as monitor.
Characteristics – later on
1) Speed
A computer works with much higher speed and accuracy compared
to humans while performing mathematical calculations. Computers
can process millions (1,000,000) of instructions per second. The
time taken by computers for their operations is microseconds and
nanoseconds.
2) Accuracy
Computers perform calculations with 100% accuracy. Errors may
occur due to data inconsistency or inaccuracy.
3) Diligence
A computer can perform millions of tasks or calculations with the
same consistency and accuracy. It doesn’t feel any fatigue or lack
of concentration. Its memory also makes it superior to that of
human beings.
4) Versatility
Versatility refers to the capability of a computer to perform different
kinds of works with same accuracy and efficiency.
5) Reliability
A computer is reliable as it gives consistent result for similar set of
data i.e., if we give same set of input any number of times, we will
get the same result.
6) Automation
Computer performs all the tasks automatically i.e.; it performs
tasks without manual intervention.
7) Memory
A computer has built-in memory called primary memory where it
stores data. Secondary storage are removable devices such as CDs,
pen drives, etc., which are also used to store data.
5. WHAT IS MEANT BY
GENERATION IN COMPUTER
TERMINOLOGY? LIST OUT
VARIOUS COMPUTER
GENERATIONS ALONG WITH
KEY CHARACTERISTICS OF
COMPUTER OF EACH
GENERATION
‘Generation’ in computer terminology is a ‘step’ ahead in
technology.
As you go through the history of evolution of computers, you will
find that the earliest computers were big in size, consumed a lot of
power and heated up quickly, due to which it had to be shut down,
frequently to be cooled.
They were very expensive in terms of development and
maintenance.
As technology improved, computers became compact, faster and
more powerful.
From a user’s perspective, they become user friendly and more
affordable.
This has largely contributed towards the popularity that computers
have gained these days.
The term ‘generation’ was earlier used only to distinguish between
varying hardware technologies but was later extended to include
both hardware and software.
A comparison of generations is made below.
Advantages
1. Based on Integrated Circuit (IC).
2. Reduce computational time from microsecond to nanoseconds.
3. Better portable and reliable than 2nd generation computers.
4. Consume less power and generated less heat. In some cases, air
conditioning was still required.
5. Maintenance cost was quite low since hardware rarely failed.
Disadvantages
1. Highly sophisticated technology required for the manufacture of
IC chips.
IV. FOUTH GEN 1971-95
The trend in 1970s was to move from single-purpose but
powerful computers towards cheaper computer systems that
could support a large range of applications.
A new revolution in computer hardware came about which
could shrink the computer logic circuitry and its components
using the Large-Scale Integration (LSI) technology.
Hundreds of components could now fit onto a single chip!
In the 1980s, Very Large-Scale Integration (VLSI) squeezed
hundreds of thousands of components onto a single chip.
This shrinking trend continued and led to the introduction of
personal computers (PCs) –
Companies like Apple Computers and IBM introduced very
successful PCs.
The IC technology was not only used to construct the
processor, but also for the construction of memory. The first
memory chip was constructed in 1970 and could hold 256
bits.
Advantages
1. Smallest in size because of high component density.
2. Very reliable.
3. Heat generated is negligible.
4. No air conditioning required in most cases.
5. Much faster in computation than previous generation.
6. Hardware failure is negligible and hence minimal maintenance
is required.
7. Easily portable because of their small size.
8. Totally general purpose.
9. Minimal labour and cost involved at assembly stage.
10.Cheapest among all generations.
11.Microprocessor based system.
Disadvantage
1. Highly sophisticated technology required for the manufacture of
LSI chips.
6. BLOCK DIAGRAM TO
ILLUSTRATE BASIC
ORGANISATION OF A
COMPUTER SYSTEM AND
EXPLAIN FUNCTIONS OF
VARIOUS UNITS.
Below is the list of different units of a block diagram of computer that
connects to form a full functioning computer system.
Input unit
Processing unit
Storage unit
Output unit
I. Input unit:
The input unit consists of different input devices.
The role of an input unit is to give data to the computer.
A Computer takes input from input devices in the form of clicks,
drags and drops, pointing, alphanumeric characters etc depending
upon the device used.
Input can be either a data or an instruction.
The Keyboard is a type of input device that gives data as input to
the computer whereas mouse usually gives instructions through
clicks.
Converts data into machine readable form for further processing.
II. Processing Unit:
Processing unit consists of various parts like CU, ALU, Registers
and is often referred to as an electronic brain of a computer system.
This unit is responsible for performing overall operations of a
computer system.
After the input device provides raw data to the computer system,
CPU performs specific operations and produces a result which we
call an output. CPU can also access data from secondary storage of
computer via primary memory.
To carry out any operations the CPU assigns tasks to its component
Components of a processing unit.
a) Arithmetic Logical Unit (ALU):
ALU is a logical unit of CPU.
This unit is responsible for the processing of the data and
instructions.
When the CU encounters instructions which are related to
performing logical or arithmetic operation on data, it passes that
instruction to ALU.
It carries out arithmetic operations like additions, multiplication,
divisions etc.
The comparison operations that arithmetic logical unit performs are
comparison like less than, greater than, less than or equal to,
greater than or equal to, not equal to etc.
Logical operations includes OR, AND, NOT etc.
The data on which ALU performs operations are fetched from
memory unit.
After the processing completes, the information or result is sent
back to the storage or an output device.
b) Control Unit (CU):
Control unit is another part of CPU.
It supervises the overall operations of other units of the computer.
The CU acts as the central nervous system and controls the
processing of data according to the instruction given to the
computer.
It fetches instructions and data from the memory unit and executes
the instructions one at a time using time signal.
Control unit also determines the sequences of program and
instruction’s execution
2. SECONDARY STORAGE
- Known as external, storage, auxiliary, backup memory or non-
volatile memory
- Slower than PM
- Stores data and info permanently
- CPU directly does not access these memories, accessed via input-
output machines
- Carries data from one computer to another
- Magnetic and optical memories
- Non-volatile
- Data permanently stored even if power lost
- Computer may run without secondary memory
- TYPES
a. MAGNETIC MEMORY – uses properties of magnet to store
data. In use since generations of computer. contains data
storing coated by magnetic oxide
i. Magnetic drum – contains metallic drum coated by
magnetic oxide outside in which data is stored
ii. Magnetic tape – contains thin, plastic ribbon used to
store data, covered by magnetic oxide. The read/wrote
data speed slow. Used for storing audio, video, backup.
Highly reliable
iii. Magnetic disk – contains circular disk of metal or
plastic. Both sides used to store date. Disk coated by
magnetic oxide. Divided in multiple concentric circles-
track further divided into sectors in which data is stored.
Hard disk, floppy disk
iv. Hard disk – used as main device of computer. Made of
aluminium. Both sides used to store data except upper
side or uppermost disk and lower side of lowermost disk.
Also known as hard drive – both data storing disk and
data read/write components combined together. Storage
capacity of mega/tera byte
v. Floppy disks – small removable disk, plastic coated with
magnetic receding material. This device is a rewritable
media and can be reused number of times. Commonly
used to move files b/w diff computers. Data storing
surface exposed
8. CLASSIFICATION OF
COMPUTERS ON THE BASIS
OF SPEED, STORAGE, AND
APPLICATIONS
I. SIZE
1. PERSONAL COMPUTER/MICRO COMPUTERS
A PC can be defined as a small, relatively inexpensive computer
designed for an individual user.
PCs are based on the microprocessor technology that enables
manufacturers to put an entire CPU on one chip.
Businesses use personal computers for word processing,
accounting, desktop publishing, and for running spreadsheet and
database management applications.
At home, the most popular use for personal computers is
playing games and surfing the Internet.
Although personal computers are designed as single-user
systems, these systems are normally linked together to form a
network.
In terms of power, nowadays high-end models of the Macintosh
and PC offer the same computing power and graphics capability
as low-end workstations by Sun Microsystems, Hewlett-
Packard, and Dell.
2. WORKSTATION
The workstation is a computer used for engineering applications
(CAD/CAM), desktop publishing, software development, and
other such types of applications which require a moderate
amount of computing power and relatively high-quality
graphics capabilities.
Workstations generally come with a large, high-resolution
graphics screen, a large amount of RAM, inbuilt network
support, and a graphical user interface.
Most workstations also have mass storage device such as a disk
drive, but a special type of workstation, called diskless
workstations, comes without a disk drive.
Common operating systems for workstations are UNIX and
Windows NT.
Like PC, workstations are also single-user computers like PC
but are typically linked together to form a local area network,
although they can also be used as stand-alone systems.
3. MINI COMPUTER
It is a multi-user computer system, capable of supporting
hundreds of users simultaneously. Software technology is
different from minicomputer.
4. MAINFRAME
The mainframe is very large in size and is an expensive
computer capable of supporting hundreds/ thousands of users
simultaneously
Executes many programs concurrently and supports much
execution of programs
5. SUPER COMPUTER
Supercomputers are one of the fastest computers currently
available.
Supercomputers are very expensive and are employed for
specialized applications that require an immense amount of
mathematical calculations (number-crunching).
For example, weather forecasting, scientific simulations,
(animated)graphics, fluid dynamic calculations, nuclear energy
research, electronic design, and analysis of geological data (e.g.,
in petrochemical prospecting).
II. PURPOSE
1. GENERAL PURPOSE
General computers can do various everyday tasks such as writing a
word processing letter, Document preparation, recording, financial
analysis, printing documents, creating databases, and calculations
with accuracy and consistency.
The size, storage capacity, and cost of such computers are mainly
less.
The ability of these computers is limited in performing specialized
tasks.
Still, it has versatility and useful for serving people’s basic needs at
home or in the workplace in the environment.
Desktops, laptops, smartphones, and tablets are used on daily basis
for general purposes.
2. SPECIAL PURPOSE
These computers are designed to perform a particular or
specialized task. The size, storage capacity, and cost of such
computers mainly depend on the nature and size of the work. The
function of these computers is consistent with any particular task.
The special computer needs specific input and devices as well as a
compatible motherboard with the processor to conduct work
efficiently.
These computers are used for special purposes in weather
forecasting, space research, agriculture, engineering, meteorology,
satellite operation, traffic control, and research in chemical
sciences.
Example – ATM, washing machines, Surveillance equipment,
Weather-forecasting simulators, Traffic-control computers,
Defence-oriented applications, Oil-exploration systems, Military
planes controlling computers.
III. DATA HANDLING/TECHNOLOGY
1. Analog Computers
Analog computers are used to process continuous data that
changes continuously and cannot have discrete values such as
speed, temperature, pressure and current.
Analog computers represent variables by physical quantities.
Thus, an analog computer can perform arithmetical operations
by using some variable physical quantity.
It can be used to solve various types of problems. It is used in
solving problems in relationship of changing variable quantities.
The analog system is set up according to initial conditions and
then allowed to change freely. These have been used in various
ways simulating the operation of aircraft and the like.
Analog computers are very much speedy and produce their
results very fast, but their results are approximately correct.
Example – Speedometer, Mercury Thermometer, Voltmeter,
Seismometer
2. Digital Computers
Digital computer is known as digital because of the quality of
performing calculations and logical operations with quantities
represented as digits, usually in the binary number system.
These numbers are used to perform arithmetic calculations and
also make logical decisions to reach a conclusion, depending upon
the data they receive from the user.
Digital Computers accepts the raw data as digits or numbers and
processes it with programs stored in its memory to produce output.
The data is represented internally in binary notation in a digital
computer thus enhancing its speed and storage capacity.
Example- Personal Computers (desktops, laptops, Chromebooks),
calculators, Digital Clock, ATM.
3. Hybrid Computers
Various specifically designed computers are with both digital and
analog characteristics, combining the advantages of analog and
digital computers when working as a system.
It is fast like analogue computer and has memory and accuracy like
digital computers.
Hybrid computers can be used in the large-scale organizations to
solve logical and technical calculations as well as offer great
processing of differential equations.
The purpose of designing hybrid computers is to provide functions
and features that can be found on both analog and digital devices.
Example- Electrocardiogram Machine (ECG), Ultrasound
Machine. Hybrid computers are also used in the field of forensics
and defence
ADVANTAGES
i. Cost management
Using cloud infrastructure can reduce capital costs, as
organizations don’t have to spend massive amounts of
money buying and maintaining equipment.
This reduces their capital expenditure costs -- as they
don’t have to invest in hardware, facilities, utilities or
building large data centres to accommodate their growing
businesses.
Additionally, companies don’t need large IT teams to
handle cloud data centre operations because they can rely
on the expertise of their cloud providers’; teams.
Cloud computing also cuts costs related to downtime.
Since downtime rarely happens in cloud computing,
companies don’t have to spend time and money to fix any
issues that might be related to downtime.
ii. Data and workload mobility
Storing information in the cloud means that users can
access it from anywhere with any device with just an
internet connection.
That means users don’t have to carry around USB drives,
an external hard drive or multiple CDs to access their
data.
Users can access corporate data via smartphones and
other mobile devices, enabling remote employees to stay
up to date with co- workers and customers.
End users can easily process, store, retrieve and recover
resources in the cloud.
In addition, cloud vendors provide all the upgrades and
updates automatically, saving time and effort.
iii. Business continuity and disaster recovery (BCDR).
All organizations worry about data loss. Storing data in
the cloud guarantees that users can always access their
data even if their devices, e.g., laptops or smartphones,
are inoperable.
With cloud-based services, organizations can quickly
recover their data in the event of emergencies, such as
natural disasters or power outages.
This benefits BCDR and helps ensure that workloads
and data are available even if the business suffers
damage or disruption.
DISADVANTAGES:
i. Cloud security
Security is often considered the greatest challenge facing
cloud computing.
When relying on the cloud, organizations risk data
breaches, hacking of APIs and interfaces, compromised
credentials and authentication issues.
Furthermore, there is a lack of transparency regarding
how and where sensitive information entrusted to the
cloud provider is handled.
Security demands careful attention to cloud
configurations and business policy and practice.
ii. Cost unpredictability
Pay-as-you-go subscription plans for cloud use, along
with scaling resources to accommodate fluctuating
workload demands, can make it tough to define and
predict final costs.
Cloud costs are also frequently interdependent, with one
cloud service often utilizing one or more other cloud
services -- all of which appear in the recurring monthly
bill. This can create additional unplanned cloud costs.
iii. Lack of capabilities and expertise
With cloud-supporting technologies rapidly advancing,
organizations are struggling to keep up with the growing
demand for tools and employees with the proper skill sets
and knowledge needed to architect, deploy, and manage
workloads and data in a cloud.
iv. IT governance
The emphasis on do-it-yourself capability in cloud
computing can make IT governance difficult, as there is
no control over provisioning, deprovisioning and
management of infrastructure operations.
This can make it challenging to properly manage risks
and security, IT compliance and data quality.
v. Compliance with industry laws
When transferring data from on-premises local storage
into cloud storage, it can be difficult to manage
compliance with industry regulations through a third
party.
It’s important to know where data and workloads are
actually hosted in order to maintain regulatory
compliance and proper business governance.
vi. Management of multiple clouds.
Every cloud is different, so multi-cloud deployments can
disjoint efforts to address more general cloud computing
challenges.
vii. Cloud performance
Performance -- such as latency -- is largely beyond the
control of the organization contracting cloud services
with a provider.
Network and provider outages can interfere with
productivity and disrupt business processes if
organizations are not prepared with contingency plans.
viii. Cloud migration
The process of moving applications and other data to a
cloud infrastructure often causes complications.
Migration projects frequently take longer than anticipated
and go over budget.
The issue of workload and data repatriation -- moving
from the cloud back to a local data centre -- is often
overlooked until unforeseen cost or performance
problems arise.
ix. Vendor lock in
Often, switching between cloud providers can cause
significant issues. This includes technical
incompatibilities, legal and regulatory limitations and
substantial costs incurred from sizable data migrations.
x. Building a private cloud
Architecting, building and managing private clouds --
whether for its own purpose or for a hybrid cloud goal --
can be a daunting task for IT departments and staff.
EXAMPLES:
I. Google Docs, Microsoft 365. Users can access Google Docs
and Microsoft 365 through the internet. Users can be more
productive because they can access work presentations and
spreadsheets stored in the cloud at anytime from anywhere on
any device.
II. Email, Calendar, Skype, WhatsApp. Emails, calendars, Skype
and WhatsApp take advantage of the cloud’s ability to provide
users with access to data remotely so they can access their
personal data on any device, whenever and wherever they want.
III. Zoom. Zoom is a cloud-based software platform for video and
audio conferencing that records meetings and saves them to the
cloud, enabling users to access them anywhere and at any time.
Another common communication and collaboration platform is
Microsoft Teams.
IV. AWS Lambda. Lambda enables developers to run code for
applications or back-end services without having to provision or
manage servers. The pay-as-you-go model constantly scales
with an organization to accommodate real-time changes in data
usage and data storage. Other major cloud providers also
support serverless computing capabilities, such as Google
Cloud Functions and Azure Functions.
SOFTWARES
APPLICATION
SYSTEM SOFTWARE SOFTWARE
DEVELOPING
SYSTEM MGT PROBLEM GENERAL PURPOSE SPECIFIC PURPOSE
SOFTWARE
Types of software
A wide variety of computer software is available today. Although the
range of software available is vast and varied, most software can be
divided into two major categories:
1. System software –
System software is a set of one or more programs designed to
control the operation and extend the processing capability of a
computer system.
It acts as an intermediary between the computer hardware and
application program, it also provides interface between user
and computer
2. Application software –
The software that a user uses for accomplishing a specific task
is the application software.
Application software may be a single program or a set of
programs.
A set of programs that are written for a specific purpose and
provide the required functionality is called software package.
Application software is written for different kinds of
applications—graphics, word processors, media players,
database applications, telecommunication, accounting purposes
etc.
BASIS SYSTEM SOFTWARE APPLICATION
SOFTWARE
DEFINITION Type of software which Which runs as per user’s
is the interface between request. Platform provided
application software and by system software
system
DEVELOPMENT SS developed in low High level language used
LANGUAGE level languages – more for development –
compatible with system developed as some
hardware to interact with specific purpose software
USAGE Used to operate Used by user to perform
computer hardware specific task
INSTALLATION Installed when OS AS installed acc to user’s
installed requirements
USER SS are specific to system In AS, user interacts with
INTERFACE hardware so less or no it as user interface is
user interaction available available in this case.
in case of systems
software
DEPENDENCY Can run independently. Can’t run independently,
Provides platform for cannot run w/o SS
running application
software
EXAMPLES Compiler, assembler, Word processor, web
debugger browser, media player
12. What is an Operating System?
Why is it necessary for a
computer system? List and
explain the various functions
performed by an OS in detail.
- Operating system (OS) is the software that provides an interface between the
computer hardware, and the application programs or users.
- An operating system is a software which performs all the basic tasks like file
management, memory management, process management, handling input
and output, and controlling peripheral devices such as disk drives and
printers.
- Some popular Operating Systems include Linux, Windows, Macintosh, MS-
DOS, etc.
WHY IS IT NECESSARY?
To make the computer system convenient and easy to use for the user
To use the computer hardware in an efficient way, by handling the details
of the operations of the hardware.
FUNCTIONS:
1. Process Management—
The process management activities handled by the OS are—
control access to shared resources like file, memory, I/O
and CPU,
control execution of applications,
create, execute and delete a process (system process or
user process),
cancel or resume a process
schedule a process, and
synchronization, communication and deadlock handling
for processes.
2. Memory Management—
The activities of memory management handled by OS are—
(1) allocate memory,
(2) free memory,
(3) re-allocate memory to a program when a used block is freed,
and
(4) keep track of memory usage.
3. File Management—
The file management tasks include— (1) create and delete both
files and directories, (2) provide access to files, (3) allocate
space for files, (4) keep back-up of files, and (5) secure files.
4. Device Management—
The device management tasks handled by OS are— (1) open,
close and write device drivers, and (2) communicate, control
and monitor the device driver.
5. Protection and Security—
OS protects the resources of system. User authentication, file
attributes like read, write, encryption, and back-up of data are
used by OS to provide basic protection.
6. User Interface or Command Interpreter—
Operating system provides an interface between the computer
user and the computer hardware. The user interface is a set of
commands or a graphical user interface via which the user
interacts with the applications and the hardware.
13. Differentiate between
Compiler, Interpreter and
Assembler.
COMPILER INTERPRETER ASSEMBLER
It translates all code at the It takes a single line of code Assembler converts
same time or instructions at a time. assembly language program
to machine level language.
But it cannot do so at once.
requires more memory as Memory usage is efficient Assembly code is often very
linking is needed for the as no intermediate object efficient (and therefore fast)
generated intermediate code is generated i.e.; it because it is a low-level
object code requires less memory language.
Displays errors after As soon as it detects an Since assembly language is
compilation all at the same error, it flags a syntax error easy to understand, one can
time. It gives a list of all in the program which easily find errors and
errors after compilation of makes it easier to rectify it quickly correct it.
whole program in lesser time
Compiler scans the entire It takes a single instruction Assembler converts source
program first before as input code to an object code first
translating into machine then it converts the object
code code to the machine
language.
It generates intermediate It does not produce any
object code intermediate object code
Input for compiler is high Same as compiler i.e., high Input for an assembler is
level language program level program assembly language program