IT fundamental Unit-1
IT fundamental Unit-1
Unit - 1
Introduction to Computers
Computers are electronic devices designed to perform a wide range of tasks by executing
instructions given through software. The history of computers spans from mechanical calculating
machines to the powerful, multipurpose machines we use today. A computer system is
composed of both hardware (physical components) and software (programs and data), and
understanding its components, operations, and the way it processes information is vital for
anyone interested in the field of computing.
A computer system can be defined as a complete unit that combines both hardware and
software components to perform tasks, ranging from simple calculations to complex simulations.
It includes not just the computer itself but also input devices (like a keyboard and mouse),
output devices (like a monitor and printer), storage devices (like hard drives), and software
programs (including the operating system and applications).
A computer system follows the basic input-process-output-storage (IPOS) cycle, where it takes
inputs from the user, processes that information, stores it as needed, and provides output to the
user.
2. Characteristics of Computers
Computers are widely regarded for their superior capabilities when compared to human
performance. Here are some of the core characteristics:
3. Generations of Computers
Generations of Computers
The development of computers can be categorized into five generations, with each generation
representing a significant technological leap.
4. Types of Computers
Computers can be categorized based on their processing power, size, and functionality.
• Analog Computers: These computers process continuous data and are typically
used for specialized tasks such as monitoring physical variables (e.g., temperature, speed,
voltage). An example is a thermometer or speedometer.
• Digital Computers: These handle discrete data and are the most common type of
computer today. Digital computers process data in binary form (0s and 1s) and are used in
everything from personal laptops to high-performance supercomputers.
• Hybrid Computers: These combine both analog and digital technology. Hybrid
computers are used in specialized fields such as medical diagnostics, where continuous data
(e.g., heart rate) needs to be processed alongside discrete data (e.g., test results).
A computer system consists of multiple components that work together to perform computing
tasks. These components include both hardware and software:
• Hardware Components:
• Central Processing Unit (CPU): The CPU is the brain of the computer,
responsible for executing instructions. It consists of the Arithmetic and Logic Unit (ALU), which
performs calculations, and the Control Unit (CU), which directs the flow of instructions.
• Memory: This refers to storage units that temporarily hold data and instructions.
The main types of memory are RAM (Random Access Memory), which is fast and temporary,
and ROM (Read-Only Memory), which is permanent and stores essential boot-up instructions.
• Input Devices: Devices like the keyboard, mouse, scanner, and microphone allow
users to provide data to the computer.
• Output Devices: Devices like monitors, printers, and speakers display or produce
the results of computer processing.
• Software Components:
6. Booting Process
The booting process refers to the series of steps a computer takes from the moment it is
powered on to the point where the operating system (OS) is loaded and ready for use. The goal
of booting is to initialize hardware components, load the necessary software, and provide a user
interface for interaction. This process is critical for ensuring that a computer system starts up
correctly and is ready to execute programs and tasks.
• Cold Boot: Also known as a “hard boot,” this occurs when the computer is turned
on from a completely off state. The computer’s hardware checks and initializes all components,
and the operating system is loaded from storage into RAM.
• Warm Boot: Also known as a “soft boot,” this happens when the computer is
restarted without being completely powered off. This process is typically faster than cold booting
because the system does not need to initialize hardware components again.
1. When power is applied, the BIOS (Basic Input/Output System) runs a POST
(Power-On Self-Test) to check if all necessary hardware components (e.g., memory, processor,
keyboard) are functioning properly.
3. The operating system initializes its components, such as device drivers and user
interface, to make the system ready for use.
(1) Input Devices: These devices allow users to enter data into a computer system.
Common input devices include:
• Mouse: A pointing device used to interact with graphical elements on the screen.
(2) Output Devices: These devices allow a computer to communicate information to the
user. Common output devices include:
• Monitor: Displays visual output from the computer, such as text, images, and
videos.
8. Storage Devices
Storage devices are hardware components used to store data digitally. These devices play a
critical role in the functioning of computers, smartphones, tablets, and other electronic devices.
They provide a means for users to save data and access it as needed, both for short-term and
long-term use. Storage devices are essential for running software, saving files, and backing up
important information.
• RAM (Random Access Memory): Temporary storage used to hold data that is
actively being processed by the CPU. It is fast but loses all data when the power is turned off.
• Cache Memory: A small, high-speed memory located inside or near the CPU that
stores frequently used data for faster access.
• Hard Disk Drive (HDD): The most common type of secondary storage, using
magnetic disks to store data. It offers large storage capacities but is relatively slower than
solid-state drives.
• Solid-State Drive (SSD): A faster and more reliable alternative to HDDs that uses
flash memory for storage, which results in quicker data access and lower power consumption.
• Optical Discs (CDs, DVDs): Use laser technology to read and write data.
Commonly used for media distribution and backup storage.
• Tertiary Storage: These are used for long-term archival storage and typically
involve removable
9.Computer Software
Computer software refers to the collection of programs, data, and instructions that tell a
computer what to do and how to perform tasks. Software can be classified into system software,
application software, and firmware. Here’s a breakdown:
1. System Software
System software is designed to manage and control the hardware components of a computer
and provide a platform for running application software. It is the foundational software that
allows users and applications to interact with the hardware.
2. Application Software
Application software refers to programs designed to perform specific tasks or applications that
users interact with directly. These tasks can range from productivity, entertainment,
communication, and more.
3. Firmware
Firmware is specialized software that provides low-level control for hardware devices. It is
typically stored on hardware components (like ROM chips) and is not intended to be modified by
end users. Firmware operates at a lower level than application software and system software.
Programming languages can be classified into three main types based on their level of
abstraction from the hardware: Machine Language, Assembly Language, and High-Level
Language.
Machine language is the lowest-level programming language, consisting of binary code (1s and
0s) that the computer’s central processing unit (CPU) can directly understand. Each instruction
corresponds to a specific operation for the hardware.
3. High-Level Language (Third and Fourth Generation Languages - 3GL and 4GL)
High-level languages are closer to human languages and abstract away hardware details.
These languages are more user-friendly, portable (can run on different hardware), and are
easier to write, read, and maintain.
Programming languages have evolved over time to improve ease of use, portability, and
efficiency. They are categorized into generations based on their features and abstraction level.
The first generation consisted of machine code, which directly interacted with the hardware. It
was written in binary code (0s and 1s), and each machine had its own set of instructions,
making it difficult to write and debug.
Assembly language emerged as a step forward from machine language. It used mnemonics to
represent instructions and was still hardware-dependent. Programmers wrote code in a more
human-readable form but still had to work closely with hardware.
The third generation brought languages like C, Java, Python, and Fortran, which abstracted
away hardware details and provided greater portability across different systems. These
languages use more understandable syntax, reducing the complexity of programming and
allowing the creation of larger, more complex applications.
A language translator is software that converts high-level programming code into machine code
(or intermediate code) so that a computer can execute the program. There are three primary
types of language translators:
1. Compiler
A compiler translates the entire source code of a program into machine code or intermediate
code in one go. The translated code is saved as a separate file (e.g., .exe on Windows). The
compilation process is done before the program runs, and the program is executed afterward.
• Advantages: The resulting machine code runs faster because the translation
happens beforehand.
• Disadvantages: Errors are reported only after the entire program is compiled,
making debugging more difficult.
2. Interpreter
3. Assembler
An assembler translates assembly language code into machine code. Assembly language is a
human-readable representation of machine language, and the assembler converts it into the
binary code that a computer’s CPU can execute.
• Example: The process of turning an assembly program into machine code using
an assembler.
An Operating System (OS) is software that manages computer hardware and software
resources and provides a range of services for computer programs. It is the interface between
users and the computer hardware, controlling and coordinating activities such as memory
management, process scheduling, input/output operations, and file management.
Definition:
An operating system is a software program that enables communication between the user and
the hardware of a computer or device. It also manages the system’s resources and provides an
environment for application programs to run.
Job:
3. File Management: Organizing and managing files and directories on storage
devices.
5. Security and Access Control: Ensuring authorized access to data and resources
and protecting against malware.
6. User Interface: Providing a means for users to interact with the computer (e.g.,
graphical user interface (GUI) or command-line interface (CLI)).
Objective:
• Reliability and Stability: Ensuring the OS runs smoothly without errors or crashes.
These systems allowed multiple programs to run at the same time by sharing the CPU, a
concept known as multiprogramming. The OS was able to switch between programs,
maximizing resource utilization.
Time-sharing systems allowed multiple users to interact with the computer simultaneously. The
OS managed tasks through time slices, giving each user or process a short period of time to
use the CPU.
With the advent of personal computers, operating systems like Windows and Mac OS
introduced graphical user interfaces (GUIs), making it easier for users to interact with their
computers. Operating systems became more user-friendly and supported multitasking and
networking.
Modern operating systems support mobile devices (like Android and iOS), cloud computing, and
advanced multitasking. They are optimized for performance, touch interfaces, and connectivity.
There are several types of operating systems, each designed for specific purposes:
1. Batch Operating System: Executes batches of jobs without user interaction. Early
OS used this method.
3. Distributed OS: Manages a group of computers working together as if they were
a single system (e.g., Google’s Android, Linux-based systems).
4. Real-time OS: Designed for systems that require immediate processing of data
(e.g., embedded systems, industrial control systems).
Digital computer systems can be classified based on different criteria such as their size,
functionality, processing power, or application domain. Here’s an overview of how digital
computers are generally classified:
c. Mainframe Computers:
d. Supercomputers:
• Size: Extremely large and powerful computers designed for high-speed
calculations.
2. Based on Purpose/Functionality
a. General-purpose Computers:
• Applications: Suitable for general tasks like word processing, browsing the web,
gaming, etc.
b. Special-purpose Computers:
a. Analog Computers:
b. Digital Computers:
• Description: Digital computers process discrete data in binary form (0s and 1s).
All modern computers are digital computers.
c. Hybrid Computers:
4. Based on Architecture
b. Harvard Architecture:
• Description: In this architecture, there are separate memory spaces for data and
instructions, allowing for faster processing since both can be accessed simultaneously.
a. Parallel Computers:
b. Distributed Computers:
• Description: Distributed computing systems consist of multiple independent
computers connected via a network, working together to perform tasks.