0% found this document useful (0 votes)
13 views83 pages

Lab Project: Prepared By: Aaradhya Gyawali Date: 2081/09/23 Submitted To: Ashok Chaudhary Sir Date: 2081/11/08

The document is a lab project prepared by Aaradhya Gyawali, detailing various aspects of computer systems, including their characteristics, applications, evolution, generations, and types. It acknowledges the guidance of the teacher, Mr. Ashok Chaudhary, and outlines the content covered in the project. The project emphasizes the significance of computers in modern society and their diverse functionalities across different fields.

Uploaded by

gagangiri898
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views83 pages

Lab Project: Prepared By: Aaradhya Gyawali Date: 2081/09/23 Submitted To: Ashok Chaudhary Sir Date: 2081/11/08

The document is a lab project prepared by Aaradhya Gyawali, detailing various aspects of computer systems, including their characteristics, applications, evolution, generations, and types. It acknowledges the guidance of the teacher, Mr. Ashok Chaudhary, and outlines the content covered in the project. The project emphasizes the significance of computers in modern society and their diverse functionalities across different fields.

Uploaded by

gagangiri898
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 83

LAB PROJECT

Prepared By: Aaradhya Gyawali Submitted to: Ashok Chaudhary Sir


Date: 2081/11/08
Date: 2081/09/23
ACKNOWLEDGEMENT

I would like to take this opportunity to extend


my sincere gratitude and appreciation to my computer lab teacher
Mr. Ashok Chaudhary Sir for providing guidance and support thr-
ought the process of completing my computer project for school.
Finally, I would like to express my gratitude to my teachers and -
mentors for providing me guidance throughout this project.

Thank You

Name: Aaradhya Gyawali


CONTENTS

Unit-1 Computer System

Unit-2 Number System and Boolean Logic

Unit-3 Computer Software and Operating System

Unit-4 Application Package

Unit-5 Programming Concept and Logics

Unit-6 Web Technology I

Unit-7 Multimedia

Unit-8 Information Security and Cyber Law


Unit-1 Computer System

A computer is an electronic device that processes data, performing calculations and operations
based on instructions provided by software and hardware. At its core, a computer consists of
several key components:
1. Hardware: The physical parts of a computer, including:
o Central Processing Unit (CPU): The brain of the computer that performs
calculations and executes instructions.
o Memory (RAM): Temporary storage that holds data and instructions for the CPU
while tasks are being performed.
o Storage: Long-term data storage solutions, such as Hard Disk Drives (HDD) and
Solid-State Drives (SSD).
o Input Devices: Tools used to enter data into a computer, such as keyboards and
mice.
o Output Devices: Components that convey information from the computer to
theuser, like monitors and printers.
2. Software: Programs and applications that run on the computer, instructing the hardware
on what tasks to perform. Software can be classified into:
o System Software: Operating systems (e.g., Windows, macOS, Linux) that
manage computer hardware and software resources.
o Application Software: Programs designed for end-users, such as word
processors, web browsers, and video games.
3. Networking: Connecting computers to share resources and data, often through the
internet or local networks.
Computers can perform a wide range of functions, from simple calculations to complex
simulations, enhancing our ability to work, communicate, and entertain ourselves. As
technology continues to evolve, computers become faster and more powerful, leading to new
applications and innovations in various fields.

1
Characteristics of Computer

As we all know today the computer has become an essential part of life that makes the user
experience more efficient. Computer has many qualities that makes it different from other
electronic devices. The main characteristics of computer are:

1. Speed: Computers can process data and perform calculations at incredible speeds, often
measured in million or billion operations per second (MIPS/BIPS). This allows for rapid
data processing and task execution.
2. Accuracy: Computers are highly accurate and perform operations with precision. Errors
typically arise from human input rather than the computer itself.
3. Automation: Once programmed, computers can execute tasks automatically without
human intervention, increasing efficiency in performing repetitive tasks.
4. Storage: Computers can store vast amounts of data in various formats. This data can be
retrieved and utilized quickly, allowing for effective data management.
5. Versatility: Computers can perform a wide variety of tasks, from simple calculations to
complex simulations, making them useful in diverse fields such as education, business,
science, and entertainment.
6. Diligence: Unlike humans, computers do not suffer from fatigue or loss of
concentration; they can perform indefinitely without a decrease in performance.
7. Connectivity: Computers can connect to other devices and networks, enabling
communication and data sharing across various platforms and locations.
8. Multitasking: Modern computers can perform multiple tasks simultaneously, allowing
users to run several applications or processes at the same time.
9. Programmability: Computers can be programmed to perform a wide range of tasks,
making them adaptable to various needs and applications.
10. Consistency: Computers produce consistent results with the same inputs, ensuring
reliability in output quality.

These characteristics contribute to the effectiveness and ubiquity of computers in modern


society.

2
Modern Applications/ Use of Computer

Computers have made human life a lot easier and comfortable: they provide opportunities for
Staying in touch to billions of people who may very well be in different parts of the world. To-
day, the use of computer in daily basis in our life is important.

There are many applications of computers and hence are used in various fields. Some of the
fields are:

1. Education: Computers are used for e-learning platforms, online courses, and digital
classrooms, enhancing the learning experience through interactive content, quizzes, and
multimedia resources.
2. Healthcare: In healthcare, computers manage patient records, assist in diagnostic
procedures, monitor vital signs, and facilitate telemedicine, improving efficiency and
patient care.
3. Business: Computers streamline operations through accounting software, inventory
management systems, and customer relationship management (CRM) tools, enabling
better decision-making and productivity.
4. Science and Research: They assist scientists in data analysis, simulations, and
modeling, helping in research across biology, chemistry, physics, and environmental
studies, advancing knowledge in various domains.
5. Engineering and Design: Computers are used in Computer-Aided Design (CAD) and
Computer-Aided Manufacturing (CAM) systems, enabling precise design and
production in architecture, automotive, and aerospace industries.
6. Finance: In finance, computers facilitate stock trading, portfolio management, and
financial forecasting, allowing for complex calculations and real-time data analysis.
7. Entertainment: Computers are integral to gaming, animation, and video production,
allowing for the creation of high-quality visual effects and engaging user experiences.
8. Communications: They enable instant communication through email, video
conferencing, and social media, making global connectivity seamless.
9. Transportation: Computers are used in navigation systems, traffic management, and
automated vehicles, improving safety and efficiency in transportation networks.
10. Manufacturing: Computers control machinery on production lines, monitor processes,
and manage supply chains, leading to increased automation and productivity in
manufacturing.

These applications demonstrate the versatility and impact of computers in enhancing


processes, improving efficiency, and driving innovation across various sectors.

3
Evolution of Computers

Today’s world is information rich world and it became a necessity for everyone to know about
history of computers. Charles Babbage is considered as ‘Father of Computer’ for his design of
Analytical Engine which laid foundation for development of modern computer.

There are some ages which divide up the history of computer technology.

The history of computers spans several key milestones:

1. Early Concepts (Pre-1800s): Ideas of mechanical computation emerged, with notable


contributions from ancient civilizations and figures like Blaise Pascal (who built the
Pascaline in 1642) and Gottfried Wilhelm Leibniz (who invented the Step Reckoner).
2. 19th Century: Charles Babbage conceptualized the "Analytical Engine" (1837), a
mechanical computer with key features like a control unit and memory, though it was
never completed. Ada Lovelace is credited as the first computer programmer for her
work on it.
3. Early 20th Century: The development of electromechanical devices, such as the Zuze
Z3 (1941), helped lay the foundation for digital computing. Alan Turing's concept of the
Turing machine (1936) became central to modern computing theory.
4. World War II: The development of the ENIAC (1945), the first general-purpose
electronic digital computer, and the Colossus, a machine used for codebreaking, marked
significant advancements.
5. The 1950s-60s: The invention of the transistor (1947) replaced vacuum tubes, leading
to smaller, more reliable computers. The mainframe era emerged, with large systems
used by businesses and governments.
6. 1970s: The microprocessor revolutionized computing, leading to the development of
personal computers (PCs). In 1975, the Altair 8800 launched the personal computer era,
and the Apple II (1977) became one of the first successful PCs.
7. 1980s-90s: The rise of graphical user interfaces (GUIs) made computers more user-
friendly. Notable developments included the IBM PC (1981), Apple's Macintosh (1984),
and the widespread adoption of the internet.
8. 2000s-Present: The growth of mobile devices, cloud computing, artificial intelligence,
and powerful processors has transformed the way computers are used in everyday life,
making them more integrated into daily activities.

Throughout its history, computing has dramatically evolved from mechanical devices to the
advanced digital systems we rely on today.

4
Computers Generation

Computer Generation is classification of computer into different sets according to their manuf-
acturing date, technology used inside those computers. There are five generations of computer.
In the following table, an approximate date against each generation has been mentioned which
are normally accepted.

Five Generations of Computers

Generations of computers Generations timeline Evolving hardware

First generation 1940s-1950s Vacuum tube based

Second generation 1950s-1960s Transistor based

Third generation 1960s-1970s Integrated circuit based

Fourth generation 1970s-present Microprocessor based

Fifth generation The present and the future Artificial intelligence based

First Generation Computers:

The main characteristics of first generation of computers (1940s-1950s)


 Main electronic component – Vacuum tube
 Main memory – Magnetic drums and Magnetic tapes
 Programming language – Machine language
 Power – Consume a lot of electricity and generate a lot of heat.
 Speed and size – Very slow and very large in size (often taking up entire room).
 Input/output devices – Punched cards and paper tape.
 Examples – ENIAC, UNIVAC1, IBM 650, IBM 701, etc.

5
Second Generation Computers:

The main characteristics of second generation of computers (1950s-1960s)

 Main electronic component – Transistor


 Memory – Magnetic core and magnetic tape / disk
 Programming language – Assembly language
 Power and size – Low power consumption, generated less heat, and smaller in size (in
comparison with the first-generation computers).
 Speed – Improvement of speed and reliability (in comparison with the first-generation
computers).
 Input/output devices – Punched cards and Magnetic tape.
 Examples – IBM 1401, IBM 7090 and 7094, UNIVAC 1107, etc.

Third Generation Computers:

The main characteristics of third generation of computers (1960s-1970s)

 Main electronic component – Integrated circuits (ICs)


 Memory – Large magnetic core, Magnetic tape / disk
 Programming language – High level language (FORTRAN, BASIC, Pascal, COBOL,
C, etc.)
 Size – Smaller, Cheaper, and more efficient than second generation computers (they
were called minicomputers). 
 Speed – Improvement of speed and reliability (in comparison with the second-
generation computers). 
 Input / output devices – Magnetic tape, Keyboard, Monitor, Printer, etc.
 Examples – IBM 360, IBM 370, PDP-11, UNIVAC 1108, etc.

6
Fourth Generation Computers:

The main characteristics of fourth generation of computers (1970s-present)

 Main electronic component – Very large-scale integration (VLSI) and microprocessor.


 VLSI– Thousands of transistors on a single microchip.
 Memory – Semiconductor memory (such as RAM, ROM, etc.)
 Programming language – high level language (Python, C#, Java, JavaScript, Rust,
Kotlin, etc.).
 Size – smaller, cheaper and more efficient than third generation computers.
 Speed – improvement of speed, accuracy, and reliability (in comparison with the third-
generation computers). 
 Examples – IBM PC, STAR 1000, APPLE II, Apple Macintosh, etc.

Fifth Generation Computers:

The main characteristics of fifth generation of computers (the present and the future)

 Main electronic component: Based on artificial intelligence, uses the Ultra Large-Scale
Integration (ULSI) technology and parallel processing method. 
 Language – understand natural language (human language).
 Power – consume less power and generate less heat.
 Speed – remarkable improvement of speed, accuracy and reliability (in comparison
with the fourth-generation computers). 
 Example – desktops, laptops, tablets, smartphones, etc.

7
Types of Computers:

Nowadays, it is impossible to imagine life without a computer. By the help of computer, we


can do our work, entertainment ourselves and find out what we need to know. Computers with
varieties of shapes and sizes, according to their uses and applications and with changeable
processing capabilities.

Classification of computers based on purpose:

Computer is mostly classified into two categories according to their purpose:


 General Purpose Computer
 Specific Purpose Computer

General Purpose Computer:

General purpose computer is designed to perform, or that is capable of performing, in a


reasonably efficient manner, the functions required by both scientific and business
applications. This type of computer can be used for business applications, scientific purpose,
educations and home use. It is the type of computer which can be used for performing daily
life tasks which might include emailing, browsing, media sharing, entertainment, playing
games, editing word documents, etc.

Specific Purpose Computer:

Special Purpose Computer are designed to perform a specific task or a single task. They are
not designed to handle several programs. The program is loaded during manufacturing time in
this type of computer which cannot be changed by user. The computer system is useful in
playing games, traffic lights control system, navigational system in an aircraft, weather
forecasting, satellite launch or tracking, oil exploration, and in automotive industries, digital
watch, robot helicopter, etc. It can perform only one task; these computers are fast in
processing. For example: Digital watch, digital thermometer, self-driven vehicles, digital
television, washing machine etc.

Classification of Computer based on data handling:

 Analog Computer
 Digital Computer
 Hybrid Computer

8
Analog Computer:

An Analog computer is a computer which uses continuously changeable entities like


mechanical, electrical, hydraulic, etc. These were first used at the time of the 1950s–1960s.
They do not use discrete values but use continuous values. Thus, these computers work on an
analog signal. Also, these signals are the continuous signals with a time-varying feature of the
signal.

Analog computers are in use for some specific applications, like the flight computer in aircraft,
ships, submarines, and some appliances in our daily life such as refrigerator, speedometer, etc.

Digital Computer:

These are the computers which perform various computational as well as some other general-
purpose works. The information in such computers is represented by variables taking a limited
number of discrete values. These computers work on a digital signal. These signals represent
data as a series of discrete values. But, at any given time it can only take on one of a finite
number of values.

Specifically, digital computers use the binary number system, which has two digits i.e., 0 and
1. A binary digit is called a bit. Thus, they represented and store the information in the groups
of bits. Main advantages of a digital computer are their accuracy and fast speed.

Also, these are re-programmable and their outputs are least affected by outside disturbances.
Some examples of digital computers are desktop, laptop, calculators, smartphones, etc.

9
Hybrid Computer:

Hybrid computer is a computer intended to provide functions and features in both analog and
digital computers. Developing a combined or hybrid computer model aims to produce a
functional device that incorporates the most beneficial aspects of both computer systems. The
analog components of the equipment are responsible for the effective processing of differential
equations, whereas the digital parts of the computer are responsible for addressing the logical
operations related to the system.

Classification of Computers based on size:

 Super Computer
 Main frame computer
 Mini Computer
 Micro Computer

Super Computer

A supercomputer is a computer that performs at or near the highest operational rate for
computers.
Traditionally, supercomputers have been used for scientific and engineering applications that
must handle massive databases, do a great amount of computation or both. Advances like multi
core processors and general-purpose graphics processing unit have enabled powerful machines
that could be called desktop supercomputers or GPU supercomputers.
By definition, a supercomputer is exceptional in terms of performance. At any time, there are
a few well-publicized supercomputers that operate at extremely high speeds relative to all
other computers. The term supercomputer is sometimes applied to far slower -- but still
impressively fast computers.

10
Main frame Computer

A mainframe computer, informally called a mainframe or big iron, is a computer used


primarily by large organizations for critical applications like bulk data processing for tasks
such as censuses, industry and consumer statistics, enterprise resource planning, and large-
scale transaction processing. A mainframe computer is large but not as large as
a supercomputer and has more processing power than some other classes of computers, such
as minicomputers, servers, workstations, and personal computers. Most large-scale computer-
system architectures were established in the 1960s, but they continue to evolve. Mainframe
computers are often used as servers.

Mini Computer:

A mini computer is a type of computer that is smaller and less powerful than a mainframe but
more powerful than a microcomputer. It was developed in the 1960s to provide computing
power to small and medium-sized businesses, research institutions, and universities at a lower
cost than large mainframes.

Mini computers typically support multiple users and can handle tasks such as data processing,
scientific calculations, and industrial control. They were popular before the rise of personal
computers and the development of more powerful microprocessors in the 1970s.

Although mini computers are largely obsolete today, their introduction helped pave the way
for the evolution of more compact, efficient, and accessible computing systems.

11
Micro Computer:

A microcomputer is a small, affordable computer designed for personal or small business use.
It is built around a microprocessor, which is a single integrated circuit (IC) that contains the
central processing unit (CPU), memory, and other essential components of the computer.
Microcomputers are characterized by their compact size and ability to handle tasks such as
word processing, internet browsing, and simple applications.

Introduced in the 1970s, microcomputers revolutionized computing by making it accessible to


individuals and small businesses. They are commonly used today in personal devices like
laptops, desktops, and tablets. Key examples of early microcomputers include the Apple I,
Commodore 64, and IBM PC.

Microcomputers typically have a user-friendly interface and are less expensive than larger
systems like mainframes or mini computers, making them ideal for everyday use. They support
a wide range of software applications and can be easily upgraded or customized.

The micro computers are further divided into categories such as:
 Desktop Computer
 Laptop or Notebooks
 Handheld Computers
 Tablet Computers
 Wearable Computers
 Personal digital assistants

Mobile:

A mobile phone is an electronic wireless that permits user to make and receive calls and send
text messages with each other device. The oldest generation of mobile phones can only make
and receive calls. However, today’s mobile phone, web browsers, games, cameras, video
players, and even navigation system have been packed with many additional features.
Mobile Computing is a technology that allows transmission of data, voice and video through
a computer or any other wireless enabled devices without having to be connected to a fixed
physical link.

Mobile Computing Applications are:

Communication:
 Email, Messaging, and social media: Mobile devices enable instant communication
via email, text messaging (SMS), and social media platforms like WhatsApp, Facebook,
and Twitter. 
 Voice and Video Calls: Apps like Skype, Zoom, and FaceTime allow for voice and
video communication anywhere with an internet connection. 

12
2. Navigation and Location-based Services:
 GPS and Mapping: Services like Google Maps and Waze offer real-time navigation,
route planning, and traffic updates.
 Location-based Apps: Mobile apps that provide recommendations or services based on
the user’s geographic location, like finding nearby restaurants, events, or rideshare
options.
3. Entertainment:
 Streaming Services: Mobile devices allow users to stream videos, music, and games
on platforms like Netflix, Spotify, and YouTube. 
 Mobile Gaming: Games like Pokémon GO, Fortnite, and Candy Crush are popular on
smartphones and tablets.
4. E-commerce and Online Shopping:
 Shopping Apps: Mobile commerce allows users to shop online easily using apps like
Amazon, eBay, and Etsy. 
 Mobile Payments: Mobile wallets like Apple Pay, Google Pay, and PayPal enable
secure, contactless transactions. 
5. Productivity:
 Document Editing and Collaboration: Apps like Microsoft Office, Google Docs, and
Slack facilitate document creation, editing, and team collaboration remotely.
 Task Management: Tools like Trello, Asana, and Evernote help users manage tasks,
projects, and reminders on the go. 
6. Healthcare:
 Telemedicine: Mobile devices support virtual doctor visits and health monitoring
through apps like MyChart or telehealth services.
 Fitness and Wellness Apps: Apps like Fitbit and MyFitnessPal help users track their
exercise, nutrition, and overall health. 
7. Education:
 E-learning: Mobile devices enable online learning through platforms like Coursera,
Duolingo, and Khan Academy. 
 Student Management: Schools and universities use mobile apps for managing class
schedules, grades, assignments, and notifications. 

Disadvantages of Mobile Computing:

 Security Risks: Mobile devices are vulnerable to hacking, malware, and data breaches.
 Battery Life: Frequent use of mobile applications can quickly drain battery life.
 Limited Processing Power: Mobile devices typically have less processing power than
desktops or laptops.
 Connectivity Issues: Reliance on internet or network connectivity can be problematic
in areas with poor signal or no Wi-Fi.
 Data Privacy Concerns: Mobile apps and services can track personal data, raising
privacy issues.
 Distractions: Constant notifications and alerts can lead to reduced productivity and
attention.
 Small Screen Size: The compact size of mobile devices can limit user experience for
tasks that require detailed visuals or extensive typing.

13
Concept of computer architecture and organization
Computer Architecture:

Computer architecture refers to the design and organization of the components that make up
a computer system. It defines how hardware components such as the CPU, memory,
input/output devices, and storage interact and work together to perform tasks. Key elements of
computer architecture include:
1. Central Processing Unit (CPU): The brain of the computer that performs calculations
and executes instructions. It consists of:
o Control Unit (CU): Directs the operation of the processor by interpreting
instructions from memory.
o Arithmetic Logic Unit (ALU): Performs mathematical calculations and logical
operations.
2. Memory:
o Primary Memory (RAM): Temporarily stores data and instructions that are
currently in use.
o Secondary Memory: Provides long-term data storage, such as hard drives
(HDD), solid-state drives (SSD), or optical discs.
3. Registers: Small, fast storage locations inside the CPU used to hold data and
instructions that are being processed.
4. Bus System: A set of communication pathways that transfer data between the CPU,
memory, and other components. The bus includes:
o Data Bus: Carries the actual data.
o Address Bus: Carries the address of data.
o Control Bus: Carries control signals to coordinate actions.
5. Input/Output (I/O) Devices: Devices that allow data to be input into the computer or
output to the user (e.g., keyboards, mice, monitors, printers).
6. Instruction Set Architecture (ISA): A set of instructions the CPU can understand and
execute. It defines the machine language for the processor.

Computer Components:

A computer is made up of several key components that work together to perform various
tasks. These components can be categorized into hardware and software, with hardware being
the physical parts of the computer. The main computer components include:
1. Central Processing Unit (CPU):
 Control Unit (CU): Directs the operations of the processor and coordinates data flow.
 Arithmetic Logic Unit (ALU): Performs mathematical, logical, and decision-making
operations.
2. Memory (Storage):
 Primary Memory (RAM): Temporary storage that holds data and instructions being
actively used by the CPU.
 Secondary Memory: Long-term storage for data, programs, and operating systems,
typically in the form of:
o Hard Disk Drive (HDD): Mechanical storage device.
o Solid-State Drive (SSD): Faster, electronic storage without moving parts.
o Optical Discs (e.g., CD, DVD): Used for data storage and transfer.

14
3. Input Devices:
 Devices that allow users to input data into the computer, such as:
o Keyboard
o Mouse
o Scanner
o Microphone
4. Output Devices:
 Devices that present processed data to users, such as:
o Monitor (screen display)
o Printer
o Speakers
5. Motherboard:
 The main circuit board that connects all computer components, including the CPU,
memory, and peripheral devices.
6. Power Supply Unit (PSU):
 Converts electrical power from an outlet to a usable form for the computer’s internal
components.
7. Bus System:
 A collection of communication pathways (data, address, and control buses) that transmit
data between the CPU, memory, and other devices.
8. Graphics Processing Unit (GPU):
 Specialized processor designed for rendering images and videos, especially useful in
gaming, video editing, and artificial intelligence applications.
9. Network Interface Card (NIC):
 Allows the computer to connect to a network (wired or wireless) for internet access and
communication with other devices.
10. Cooling System:
 Includes fans or heat sinks to dissipate heat generated by the CPU, GPU, and other
components, ensuring they operate within safe temperature limits.
11. Peripheral Devices:
 External devices that expand the functionality of the computer, such as:
o External Hard Drives
o Webcams
o Printers
o Speakers
12. Software:
 Operating System (OS): Manages hardware and software resources, providing a user
interface and essential services (e.g., Windows, macOS, Linux).
 Application Software: Programs designed to perform specific tasks, such as word
processors, browsers, or games.

These components work together to execute programs, process data, and interact with users,
enabling the computer to function efficiently for a wide range of tasks.

15
Computer Hardware:

Computer hardware refers to the physical components of a computer system that work
together to perform computing tasks. These components include:
1. Central Processing Unit (CPU): The "brain" of the computer, responsible for
executing instructions and performing calculations.
2. Memory: Stores data temporarily (RAM) and permanently (storage devices like hard
drives or SSDs).
3. Input Devices: Allow users to interact with the computer (e.g., keyboard, mouse,
microphone).
4. Output Devices: Present data from the computer to users (e.g., monitors, printers,
speakers).
5. Motherboard: The main circuit board that connects all internal components.
6. Power Supply: Converts electrical power to a form usable by the computer.
7. Graphics Processing Unit (GPU): Handles rendering of graphics, especially for
gaming and video tasks.

Microprocessor

A microprocessor is a small, integrated circuit (IC) that serves as the central processing unit
(CPU) of a computer. It performs calculations, executes instructions, and controls other
components of the computer. Microprocessors are typically made up of millions of transistors
packed into a single chip. They are responsible for tasks such as arithmetic operations,
decision-making, and data manipulation. Microprocessors are found in a wide range of
devices, from personal computers to smartphones and embedded systems. They are the core
component that drives modern computing technology.

16
Computer Memory

Computer memory refers to the components or devices used to store data and instructions for
processing. It is categorized into two main types:
1. Primary Memory: Temporary, fast memory that holds data and instructions currently
in use by the CPU. It is volatile, meaning it loses its content when the computer is
powered off.
2. Secondary Memory: Long-term storage for data, applications, and the operating
system. Examples include hard drives (HDD), solid-state drives (SSD), and optical
disks. Unlike primary memory, secondary memory is non-volatile and retains data even
when the power is off.

Primary Memory

Primary memory refers to the main storage used by a computer to temporarily store data and
instructions that are actively being used or processed. It is fast, directly accessible by the CPU,
and essential for the system's performance. Primary memory is typically divided into two main
types:
1. RAM (Random Access Memory):
o Volatile memory, meaning it loses all stored data when the power is turned off.
o Stores data and instructions that are currently being processed by the CPU,
allowing for quick access and manipulation.
o More RAM generally leads to better system performance, especially for
multitasking and running large applications.
2. ROM (Read-Only Memory):
o Non-volatile memory, meaning it retains its data even when the power is turned
off.
o Contains firmware, which is software permanently programmed into the
computer during manufacturing (e.g., the BIOS or bootloader).
o ROM is used to store essential instructions for booting up the computer and
performing hardware initialization.

Random Access Memory (RAM)

RAM (Random Access Memory) is a type of primary memory used to temporarily store
data and instructions that the CPU needs to access quickly while performing tasks. RAM is
volatile, meaning it loses its contents when the power is turned off. There are two main types
of RAM:
1. Dynamic RAM (DRAM):
o Needs refreshing: DRAM stores data in capacitors that need to be refreshed
periodically to maintain the data.
o Slower than SRAM: It is generally slower but cheaper and can store more data
per chip.
o Commonly used in computers: DRAM is typically used for the main memory
in most devices.

17
2. Static RAM (SRAM):
o Doesn't need refreshing: SRAM stores data using flip-flops, which retain the
data as long as power is supplied.
o Faster but more expensive: SRAM is faster than DRAM but is also more
expensive and consumes more power, so it's often used in smaller amounts like
CPU cache memory.

In summary, DRAM is more common and cost-effective for general memory needs, while
SRAM is faster and used in performance-critical applications like caches.

Read Only Memory (ROM)

ROM (Read-Only Memory) is a type of non-volatile memory used to store permanent data
that remains intact even when the power is turned off. It contains essential instructions, such
as the system's firmware or BIOS, which are required for booting and basic hardwarefunctions.
ROM is "read-only" in the sense that its data is usually programmed during manufacturing and
cannot be easily modified. However, there are several variations of ROM that allow for
reprogramming, including:
1. PROM (Programmable ROM):
o One-time programmable: PROM can be written or programmed only once by
the user or manufacturer.
o Once the data is written, it cannot be modified, making it useful for storing
firmware that doesn't need to be updated after manufacturing.
2. EPROM (Erasable Programmable ROM):
o Rewritable: EPROM can be erased and reprogrammed multiple times using
ultraviolet (UV) light.
o It is usually packaged in a transparent window so that the chip can be exposed to
UV light to erase the data, after which it can be reprogrammed using electrical
signals.
3. EEPROM (Electrically Erasable Programmable ROM):
o Electrically erasable and reprogrammable: EEPROM can be erased and
reprogrammed using electrical signals, which allows for easier and more flexible
updates compared to EPROM.
o It is slower than some other types of memory but is commonly used for storing
small amounts of data that may need to be updated periodically, such as
configuration settings or device parameters.

Cache Memory

Cache memory is a small, high-speed memory located between the CPU and RAM. It stores
frequently accessed data and instructions to speed up processing. Since cache memory is faster
than RAM, it helps the CPU access critical information more quickly, reducing delays and
improving overall performance.

Cache memory improves processing speed by keeping commonly used data readily available
for quick access.

18
Input Device

Input devices are hardware tools that allow users to interact with a computer or other digital
systems by sending data or commands. Common examples include the keyboard (for typing),
mouse (for pointing and clicking), scanner (for digitizing documents), and microphone (for
capturing sound). These devices enable users to provide input, which the computer processes
and responds to.

Some of the common input devices are:


 Keyboard
 Mouse
 Scanner Trackball
 Joystick
 Microphone etc.

Keyboard

A keyboard is an input device used to enter text, numbers, and other commands into a
computer or digital system. It consists of a set of keys, typically including:
1. Alphanumeric keys: The standard letters (A-Z) and numbers (0-9) that you use to type
text.
2. Function keys (F1-F12): Special keys used for specific tasks in software programs
(e.g., F1 for help).
3. Control keys: Such as Shift, Ctrl, Alt, and the Enter key, used for various control
functions or modifying other keys.
4. Navigation keys: Arrow keys, Home, End, Page Up, and Page Down, which help
navigate through documents or software interfaces.
5. Numeric keypad: A separate section with numbers and mathematical operators, often
used for quick number entry.

When a key is pressed, it sends an electrical signal to the computer, which processes the input
and displays the corresponding character or performs a specific action. Keyboards are essential
for tasks like typing documents, coding, and interacting with software applications.

Joystick

A joystick is an input device used to control video games or computer graphics by moving a
stick in different directions. It typically consists of a stick that can be tilted in various directions
(up, down, left, right), along with buttons for additional controls. Joysticks are commonly used
in gaming, flight simulators, and other applications requiring precise movement control. The
movement of the joystick is translated into digital signals that the computer interprets to
control on-screen actions.

2
Mouse

A mouse is a handheld input device used to interact with a computer's graphical user interface
(GUI). It typically has two buttons (left and right) and a scroll wheel, though some models
may have additional buttons.
 Movement: The mouse detects movement on a surface and translates it into cursor
movement on the screen. 
 Buttons: The left button is mainly used for selecting items, while the right button is
often used for opening menus or additional options. The scroll wheel allows users to
navigate through pages or documents vertically. 

The mouse allows users to point, click, drag, and drop items, making it essential for tasks such
as navigating operating systems, designing graphics, or playing games.

The types of mouses are:


 Optical Mouse
 Wireless Mouse
 Laser Mouse
 Gaming Mouse
 3D Mouse etc.

Scanner

A scanner is an input device that converts physical documents, images, or objects into digital
formats that a computer can process. It works by using light and sensors to capture the details
of a document or image and then converting this information into a digital file (such as a PDF
or JPEG). There are several types of scanners:
1. Flatbed scanner: The most common type, where you place the document or image on
a glass surface for scanning.
2. Sheet-fed scanner: Automatically feeds pages through the scanner for faster
processing, ideal for multi-page documents.
3. Handheld scanner: A portable device that you manually move over the document or
image to capture the content.

Scanners are widely used in offices, libraries, and homes for digitizing paperwork, creating
digital artwork, and archiving documents.

Trackball

A trackball is an input device similar to a mouse but with a stationary ball on top that the user
rotates to move the cursor on the screen. Unlike a mouse, where the device is moved around
on a surface, the trackball stays in one place, and the ball is controlled with the fingers or palm
to navigate. It often includes buttons for selecting items, similar to a mouse. Trackballs are
especially useful in limited spaces or for people seeking precision in their movements.

2
Besides the mentioned input devices there are other input device, there are other input devices
which are commonly used. They are:
 Touch Screen
 Optical Mark Recognition
 Optical Character Recognition
 QR Code Scanner
 Biometric Machine etc.

Touch Screen

A touchscreen is an input device that allows users to interact directly with a device by
touching the display screen. It detects touch gestures, such as tapping, swiping, or pinching,
and translates these actions into commands or input for the device. Touchscreens are
commonly used in smartphones, tablets, kiosks, and some laptops, offering a more intuitive
and direct way to interact with the system without needing a mouse or keyboard.

Biometric Machine

A biometric machine is an input device that uses unique physical or behavioral


characteristics, such as fingerprints, facial features, or iris patterns, to identify or authenticate
individuals. These machines scan and analyze the biometric data, comparing it to a stored
database for verification. Biometric machines are commonly used for security purposes, such
as in access control systems, smartphones, or employee attendance systems.

Microphone

A microphone is an input device that captures sound, such as a person's voice or


environmental noise, and converts it into an electrical signal that can be processed by a
computer or other devices. Microphones are commonly used for activities like voice recording,
video conferencing, speech recognition, and music production.

QR Code Scanner

A QR code scanner is an input device used to read and interpret QR (Quick Response) codes,
which are two-dimensional barcodes that store information like URLs, text, or product details.
The scanner uses a camera or laser to capture the code, then decodes it to display or process
the stored information. QR code scanners are commonly found in smartphones, point-of-sale
systems, and ticketing systems.

Hence above mentioned all the devices are Input device which are used to send information
on a computer system. The given information is taken by computer system, it processes the
given information and gives result which are shown by Output Devices.

22
Output Devices

Output devices are hardware components that take data from a computer and convert it into a
form that can be perceived or used by the user. These devices present the results of the
computer's processing in various forms, such as visual, auditory, or physical. Here are some
common types:
1. Monitor: Displays visual output, including text, images, and videos. It’s the primary
device for interacting with graphical content on a computer.
2. Printer: Converts digital documents or images into physical copies on paper. Common
types include inkjet, laser, and dot-matrix printers.
3. Speakers: Output sound and audio, such as music, speech, or sound effects, allowing
users to hear the computer's output.
4. Projector: Displays visual output, like images or videos, on a larger screen or surface,
often used for presentations or entertainment.
5. Headphones: Similar to speakers but provide personal, focused audio output.

These devices play a crucial role in communication between the computer and the user,
allowing the results of tasks, data, and information to be delivered in usable formats.

Types of Output Devices

The output devices are basically classified into two types:


a. Softcopy Output Device
b. Hardcopy Output Device

Softcopy Output Device

A softcopy output device refers to devices that display digital output in a non-physical form,
typically on a screen. Examples include:
1. Monitors: Display text, images, and videos on a screen.
2. Speakers: Emit sound based on digital audio output.

Softcopy output devices present information in digital formats that can be viewed or heard
directly, rather than printed or physically produced.

Hardcopy Output Device

A hardcopy output device produces a physical, tangible output from a computer. Examples
include:
1. Printers: Create physical copies of documents, images, or graphics on paper.
2. Plotters: Produce large-scale prints, often used for technical drawings or maps.

These devices convert digital information into a physical form that can be touched or stored in
the real world.

23
Monitor

A monitor is an output device that displays visual information from a computer, such as text,
images, videos, and graphics. It typically consists of a screen made of liquid crystal display
(LCD), light-emitting diode (LED), or organic light-emitting diode (OLED) technology. The
monitor works by receiving signals from the computer’s graphics card and converting them
into visual content that users can view and interact with.

Monitors vary in size, resolution (clarity of images), and refresh rate (how often the screen
updates per second). They are essential for tasks like browsing the web, editing documents,
playing games, and designing graphics.

According to technology used in producing images, monitors are of two types. They are:
 Cathode-Ray Tube (CRT) Monitor
 Flat-Panel Display Monitor

Cathode-Ray Tube (CRT) Monitor

A CRT (Cathode Ray Tube) monitor is an older type of display device that uses a large,
vacuum tube to display images by firing electron beams onto a phosphorescent screen. The
screen lights up in response to these beams, creating the images you see.
Advantages of CRT Monitors:
1. Color Accuracy: CRT monitors often offer better color accuracy and deeper blacks
compared to early LCD monitors.
2. Viewing Angles: CRT screens generally provide wide viewing angles with consistent
image quality from almost any position.
3. Affordable: In their prime, CRT monitors were typically less expensive than LCD
monitors of similar size and quality.
4. Fast Response Time: CRTs can display fast-moving images without motion blur, which
is advantageous for gaming or video editing.
Disadvantages of CRT Monitors:
1. Size and Weight: CRT monitors are bulky and heavy, making them less portable and
requiring more space compared to modern flat-screen displays.
2. Power Consumption: They consume more power than LCDs or LED monitors, leading
to higher electricity usage.
3. Screen Flickering: CRTs can suffer from flickering at certain refresh rates, which can
cause eye strain or headaches with prolonged use.
4. Image Burn-In: Prolonged display of static images can lead to burn-in, where remnants
of an image are permanently visible on the screen.

Although CRT monitors were once the standard, they have been largely replaced by flat-panel
technologies like LCD and LED displays due to their smaller size, energy efficiency, and
improved image quality.

24
Flat-Panel Display Monitor

A flat-panel display monitor is a type of modern screen that is slim, lightweight, and uses
flat-panel technology such as LCD (Liquid Crystal Display), LED (Light Emitting Diode),
or OLED (Organic Light Emitting Diode) to display images. These monitors are commonly
used in computers, televisions, and mobile devices due to their compact design and improved
performance.
Advantages of Flat-Panel Display Monitors:
1. Slim and Lightweight: Flat-panel monitors are much thinner and lighter than
traditional CRT monitors, making them easier to place and move.
2. Space-Efficient: Their compact design allows for more flexible setups and is ideal for
modern workspaces.
3. Energy-Efficient: Compared to CRT monitors, flat-panel monitors consume less
power, especially LED and OLED models.
4. Improved Image Quality: Flat-panel displays generally offer sharper, brighter images
with higher resolutions, providing better contrast, color accuracy, and wider viewing
angles.
5. Larger Screen Sizes: Flat-panel displays can easily be made in larger sizes, making
them suitable for tasks like gaming, graphic design, or watching videos.
Disadvantages of Flat-Panel Display Monitors:
1. Cost: High-quality flat-panel displays, especially OLED, can be more expensive than
basic CRT or older LCD models.
2. Limited Viewing Angles (in some types): Some types, especially older LCD monitors,
may have limited viewing angles, leading to color distortion or a washed-out picture if
viewed from the side.
3. Burn-In (for OLED): OLED displays are prone to burn-in, where static images can
leave permanent marks on the screen if left too long.
4. Color and Brightness Variability (for LCD): The color accuracy and brightness of
LCD monitors can vary based on the panel quality and viewing angles, especially in
cheaper models.

Overall, flat-panel monitors are preferred today for their space-saving design, excellent image
quality, and energy efficiency. They have largely replaced older CRT monitors in most
applications.

Speaker

A speaker is an output device that converts electrical signals from a computer or other audio
source into sound. It uses a diaphragm to vibrate air, producing sound waves that we can hear.
Speakers are commonly used for listening to music, audio from videos, or sound effects on
computers, smartphones, and other devices. They come in various sizes, from small portable
speakers to large home theater systems.

25
Printer

A printer is an output device that produces physical copies of digital documents, images, or
graphics. It works by receiving data from a computer or other digital source and transferring it
onto paper or other materials. There are several types of printers:
 Impact Printer
 Non-Impact Printer

Impact Printer

An impact printer is a type of printer that creates an image or text by physically striking an
ink ribbon against paper. This force produces dots or characters on the page, making it one of
the earliest printing technologies. The print head, which contains pins, hits the ribbon to
transfer ink onto the paper, forming characters or images.
Types of Impact Printers:
1. Dot Matrix Printer: Uses a matrix of tiny pins that strike the ribbon to form characters
or images. It’s commonly used for printing invoices, receipts, or multi-part forms.
2. Line Printer: Prints entire lines of text at once, often used in high-speed environments
like data centers.
Advantages:
 Cost-effective: Impact printers are generally less expensive than modern inkjet or laser
printers.
 Multi-part Printing: They can print multiple copies of a document simultaneously
(e.g., carbon copies).
 Durability: Impact printers can handle continuous forms and are ideal for industrial or
high-volume printing.
Disadvantages:
 Noise: Impact printers are much louder than inkjet or laser printers due to the physical
striking mechanism.
 Lower print quality: The print quality is often lower than that of non-impact printers,
with visible dots and less precise text.
 Slower: They are slower compared to modern printers, especially for complex
documents.

Impact printers are still used in certain specialized environments, but they have largely been
replaced by quieter and faster printing technologies in most home and office settings.

Non-Impact Printer

A non-impact printer is a type of printer that does not use a physical strike to transfer ink or
toner onto paper. Instead, it uses other methods, such as heat or light, to produce images and
text. Non-impact printers are generally quieter, faster, and produce higher-quality prints than
impact printers.

26
Types of Non-Impact Printers:
1. Inkjet Printers: Use tiny nozzles to spray liquid ink onto paper to create images and
text. They are commonly used for home and office printing, offering high-quality color
prints.
2. Laser Printers: Use a laser beam to create an electrostatic image on a drum, which is
then transferred to paper using toner powder. They are fast, efficient, and produce high-
quality text documents.
3. Thermal Printers: Use heat to transfer ink or activate specially treated paper to produce
images or text. They are commonly used in label printers, receipts, and barcode printers.
Advantages:
 Quieter: Non-impact printers operate silently compared to impact printers, making
them more suitable for quiet environments.
 Higher Print Quality: They produce sharper, more detailed images and text, especially
for color printing.
 Faster: Non-impact printers generally have faster printing speeds than impact printers.
Disadvantages:
 Cost: Non-impact printers, especially laser printers and inkjets, can be more expensive
to purchase and maintain than impact printers.
 Consumables: Ink or toner cartridges may need to be replaced frequently, depending
on usage, and can be costly over time.

Non-impact printers are widely used in homes, offices, and businesses due to their superior
print quality, speed, and versatility.

Graphics Plotter

A graphics plotter is an output device used to produce high-quality, precise graphical images,
such as drawings, charts, or technical designs, typically on large sheets of paper. Unlike
printers that work by spraying ink or using dots, plotters use a pen or other drawing instruments
to draw continuous lines.
Advantages of Graphics Plotters:
1. Precision: Plotters can create highly accurate and detailed graphics, making them ideal
for applications like architectural plans, engineering diagrams, and CAD (Computer-
Aided Design) drawings.
2. Large Format: They can handle large paper sizes (e.g., A0, A1) and produce large-
scale drawings, which is important in fields like construction and design.
3. Smooth Lines: Plotters can produce smooth, continuous lines without the pixelation
that might be seen in printers, which is crucial for technical drawings and blueprints.
Disadvantages of Graphics Plotters:
1. Slow Speed: Plotters can be slower than printers, especially for complex or detailed
designs, as they work by drawing each line individually.
2. Cost: Plotters are typically more expensive than regular printers, both in initial
investment and maintenance.
3. Limited Versatility: They are specialized for creating graphical output and are less
versatile for general-purpose printing tasks.
4. Size: Due to their ability to print large formats, plotters tend to be bulky and may require
significant space.
27
Hardware Interfaces

A hardware interface is a system or set of protocols that allows different hardware devices
to communicate with each other or with a computer. It defines the physical connections (such
as ports or cables) and the data transfer methods (such as protocols or signal formats) that
enable devices like keyboards, printers, or external storage to work with a computer. Examples
include USB, HDMI, and Ethernet interfaces, which enable smooth interaction between
hardware components and the computer system.

Computer Port

A computer port is a physical or virtual connection point through which data is transferred
between a computer and external devices. Ports allow communication with peripherals like
keyboards, mice, printers, monitors, or external storage. Common types include USB ports
for connecting various devices, HDMI for video and audio output, and Ethernet ports for
network connectivity. Ports can be located on the computer’s body or use wireless connections,
enabling the exchange of data and signals.

USB Port

A USB (Universal Serial Bus) port is a standard connection interface used to transfer data
and power between a computer and peripheral devices, such as keyboards, mice, printers, and
external storage. USB ports are widely used due to their versatility, fast data transfer speeds,
and ability to provide power to connected devices. USB ports come in different types,
including USB-A, USB-B, and USB-C, with USB-C being the latest and most reversible
version with faster speeds and higher power delivery.

Serial Port

A serial port is a communication interface used to transfer data one bit at a time over a single
wire or channel. It is commonly used for connecting older devices like modems, mice, and
printers to a computer. Serial ports use a standard called RS-232 for data transmission. While
serial ports are less common in modern computers, they are still used in specialized equipment
like industrial machines and network devices due to their simple and reliable communication
method.

VGA Port

A VGA (Video Graphics Array) port is an older video connection standard used to transmit
analog video signals from a computer to a monitor or projector. It typically has a 15-pin
connector and is commonly used for connecting displays to desktop computers and laptops.
Although it has been largely replaced by digital connections like HDMI and DisplayPort, VGA
is still found in some older devices due to its widespread use in the past.

28
Unit-2 Number System Conversion and Boolean Logic

Boolean Logic

Boolean Algebra is algebra of logic, which deals with the study of binary variables and logical
operation. As every data are represented in terms binary values, we need to manipulate those
values by using some certain rules and expression which we can do through Boolean algebra.
It is most common and basic method to analysis and design logic circuit. It was introduced by
an English mathematician George Boole. In Boolean algebra the variables can have only one
of the two possible value 0 and1 (False or True). All modern digital computers understand
either these two values.

Boolean Algebra

It is algebra of logic which could accept either of the possible two values 0 and 1 and generate
a result through logical relationship and operation.

Boolean Variable

Those entities which has either or 0 and 1 and denote some specific operation ore known as
boolean variable. Simply, it is an entity in Boolean algebra which has only either of the two
possible values.

Boolean Function

Boolean function is an expression formed by binary variables, binary operators such as AND,
OR, NOT, parentheses, and equal sign for a given set of value this boolean function gives the
0 or 1 as a result.

Truth Table

A table which represents the input-output relationship between of the binary variables for each
logical gate called truth table. It shows the relationship between input and output in tabular
form. Thus, truth table is table representing the results the logical operation of the logical
operation on all possible combination of logical values.

Boolean Operator and Operands

Operators are the symbols that define the specific operation. These are three basic operators
used in Boolean Algebra, i.e. AND, OR, NOT. Every other operation can be expressed in terms
of this basic operation.

29
Logic Gates

A logic Gate is an electronic circuit that operates on one or more inputs to produce an output.
Logic Gate are used for binary operations which are very fundamental components for modern
digital computer. Logic gates are embedded unit an Integrated Circuit (IC). Each gate has its
specific function and graphical symbol.

a) AND Gate
b) OR Gate
c) NOT Gate
d) NAND Gate
e) NOR Gate
f) XOR Gate
g) XNOR Gate

AND

An AND gate is a basic digital logic gate that outputs true (1) only when all of its inputs are
true (1). If any of the inputs is false (0), the output will be false (0).

Truth Table for an AND Gate:

A B Y = A. B

0 0 0

0 1 0
1 0 0
1 1 1
Logical Diagram

30
OR

An OR gate is a basic digital logic gate that outputs true (1) if at least one of its inputs is true
(1). The output is false (0) only when all of its inputs are false (0).

Truth Table for an OR Gate:

A B Y = A+B
0 0 0

0 1 1
1 0 1
1 1 1
Logical Diagram

NOT

NOT Gate is another fundamental gate whose result is complement of its input. It is also
called inverter. It produces low-0 logic for high-1 input and vice-versa. This Gate has single
input and single output.

Truth Table for a NOT Gate:

A A'

0 1

1 0
Logical Diagram

31
NAND

NAND gate is a derived gate, derived from NOT and AND gate. This gate reciprocal the output
obtains from the AND gate. That means it will produce low-0 output when both the inputs are
high-1 and produce high-1 output when any one of the inputs is low-0. These gate also may
have two or more than two and a single output.

Truth Table for a NAND Gate:

A B A. B Y = (A.B)'

0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0

Logical Diagram

NOR

NOR gate is a derived gate derived from the combination of OR gate and NOT gate. This gate
reciprocal the output obtains from the OR gate. That means NOR gate will produce high-1
logic when both the inputs are low-0 and produce low output-0 in all possible combination of
0 and 1. These gate also may have two or more than two input at a single output.

32
Truth Table for a NOR Gate:

A B Y = (A+B)'

0 0 1
0 1 0

1 0 0

1 1 0

Logical Diagram

XOR

It is the type of digital electronic circuit will generate low-0 output when both the inputs are
either low-0 or high-1. It will give high-1 output only when one of the given inputs is high.
These gate also may have two or more the two input.

Truth Table for a XOR Gate:

A B Y = (A+B)

0 0 0
0 1 1

1 0 1

1 1 0

33
Logical Diagram of XOR Gate

XNOR

It is the type of digital electronic circuit will generate high-1 output when both the inputs are
either low-0 or high-1. It will give low-0 output only when one of the given inputs is high-1.
These gate also may have two or more the two input.

Truth Table for a XNOR Gate:

A B Y = (A+B)’

0 0 1
0 1 0
1 0 0

1 1 1

Logical Diagram
34
Unit-3 Computer Software and Operating System

Software

As we know stand-alone hardware cannot do nothing, for the smooth operation of our
Computer System there should be proper coordination between hardware and software.
Software helps to mobilize the hardware and other resources. In order to mobilize hardware,
we have to write several sets of instruction which instruct computer what to do, what not.
These set of instruction are collectively known as program and the term software is the
collection of related programs and associated documents. In Order to produce useful output,
hardware and software must work together. Nothing useful can be done with the hardware only
and software cannot be utilized without hardware. The different types of software are:

1) System software: System software is set of one or more programs designed to control
the operation of our computer system. This type of software doesn't fulfill the specific
requirement of the user. They are general program written to assist human in the use of
the computer system. In general system software support the running of other software,
communicate with peripheral device, support the development of other types of
software and monitors the use of various hardware resources. Thus, the system software
makes the operation of the computer system more effective and efficient.

2) System software: System software is set of one or more programs designed to control
the operation of our computer system. This type of software doesn't fulfill the specific
requirement of the user. They are general program written to assist human in the use of
the computer system. In general system software support the running of other software,
communicate with peripheral device, support the development of other types of
software and monitors the use of various hardware resources. Thus, the system software
makes the operation of the computer system more effective and efficient.

Types of System Software:

a. Operating System
b. Language Processing Software
c. Utility Software
d. Device driver Software

Operating System

An Operating System (OS) is a software that acts as an intermediary between computer


hardware and the user, managing both the hardware resources and software applications. The
OS ensures that all parts of the computer work together efficiently and provides a user-friendly
interface to interact with the system.

35
Language Processing Software

Language processing software refers to software applications designed to process and


manipulate human language data. These tools are used to analyze, understand, generate, and
translate text or speech. Language processing is commonly used in areas like natural language
processing (NLP), machine translation, speech recognition, and text-to-speech applications.

The types of language processing software/ language processors are:


 Compiler
 Interpreter
 Assembler

Compiler

A compiler is a special type of software that translates a program written in a high-level


programming language (like C, Java, or Python) into machine code or an intermediate code
that a computer's processor can understand and execute.

Interpreter

An interpreter is a type of software that directly executes instructions written in a high-level


programming language, without the need for prior compilation into machine code. Instead of
converting the entire program into machine code at once, an interpreter translates and executes
the code line-by-line or statement-by-statement.

Assembler

An assembler is a type of software that translates assembly language code into machine code
(binary code) that a computer's processor can execute. Assembly language is a low-level
programming language that is closely related to the computer's machine code but is more
readable for humans.

Device Driver Software

A device driver is a type of software that allows the operating system (OS) to communicate
with and control hardware devices, such as printers, graphics cards, keyboards, or storage
devices. The driver acts as a translator between the hardware and the OS, converting the
general commands from the OS into specific commands that the hardware can understand and
execute.

36
Utility Software

Utility software refers to a category of programs designed to help users manage, maintain,
and optimize their computer systems. Unlike application software that performs specific tasks
for end-users (like word processing or gaming), utility software focuses on performing
essential functions that enhance the performance and usability of the operating system and
hardware.

Utility software can perform a wide range of tasks, such as file management, disk cleanup,
virus scanning, and system monitoring. For example, antivirus programs help protect your
computer from malware, while disk defragmenters optimize the arrangement of files on a
hard drive to improve system speed. Backup utilities ensure that important data is safely
stored, while file compression tools like WinRAR or 7-Zip help reduce the size of files for
easier storage and transfer.

These utilities contribute to maintaining the health and efficiency of a computer system,
offering important support functions such as improving performance, enhancing security, and
troubleshooting problems.

Firmware

Firmware is a type of software that is permanently stored on hardware devices, typically in


read-only memory (ROM). It provides low-level control for the device's specific functions and
acts as the intermediary between the hardware and higher-level software like the operating
system. Firmware is essential for the basic operation of devices such as printers, smartphones,
routers, and cameras, as it allows them to perform their intended tasks.

Unlike regular software that can be easily modified or updated, firmware is more stable and is
typically updated less frequently. It helps manage hardware components, ensure they work
correctly, and enable the device to boot up and run. Firmware updates can improve
performance, fix bugs, or add new features to the hardware. The examples of firmware are:
 BIOS
 Embedded Systems
 Computer Peripherals

Web Based Software

Web-based software refers to applications that run on web browsers rather than being
installed directly on a computer's operating system. These applications are accessed via the
internet and can be used on any device with a browser, such as computers, tablets, or
smartphones.

Examples of web-based software include cloud-based tools like Google Docs, Trello, or
Dropbox, which allow users to create, store, and share documents or manage projects online.
Since they operate over the internet, web-based software typically doesn’t require specific
hardware or software setups and can be used from anywhere, as long as there's an internet
connection.
37
Unit-4 Application Package

Word Processor (MS-Word)

MS-Word is a text editing or word processing software develop by Microsoft Corporation,


USA under MS-Office package. Word processing refers to use of computer to create, edit and
print documents. A word processor enables us to create a document, store it electronically in a
disk, display it on a screen, modify it by entering commands and characters from keyboard
and print it on a printer. MS-Word is a windows-based application it has many powerful and
advance feature to manipulate the document, With the help of this program we can create any
types of documents like letters, reports, thesis, manuals, brochures, advertisement an many
other documents. Beside creating, editing and modifying the documents MS-Word provides
some special facilities such as checking spelling and grammatical error, to search for
synonyms and antonyms, to work with columns, tables, special symbols, pictures, graphs,
charts and many more. The document created with MS-Word have “.doc” extension. The
newer version of MS-Word has newer extension “.docx”".

Features of Word-Processing Software

a. Fast operation: Since, MS-Word is a digital text editing software there is no any mechanical
movement associated. Hence, it is faster in operation.

b. Editing text feature (Character formatting): Any type of operation like insert, delete, modify
the documents and undo/redo, find/replace can be perform very easily. Similarly, we can
customize our text document in any form or style like bold, italic, underline, different font size,
different font color, different font style can be performed etc.

c. Permanent storage: Using MS-Word file and documents can be electronically stored in a
disk or any other storage media. So, we can retrieve it whenever require.

d. Graphics: MS-Word allows us to insert several objects like pictures and graph anywhere in
the document whenever required.

f. Mail merge: Mail merge a useful tool that will allow us to easily produce multiple letters,
labels, envelops and more using information stored in a list, database or spreadsheet.

g. Searching: MS-Word allows us to search any word or text and replace or delete with other
necessary ones throughout the entire document.

h. Printing: MS-Word allows user to print the documents created by the user anytime,
anywhere.

i. Formatting a document: Word has various tools which help format a document. Formatting
refers to the process of enhancing the appearance of the document to make it more readable
and attractive. We can search and replace, display ruler, change a paragraph alignment, change
line spacing, creating bullets and numbering to show your information in list.

38
Basic Terms of Word Processing

1. Document
 A document is the file you create and edit in a word processor. It can be a letter, report,
resume, or any other text-based file.
2. Text
 Text refers to the characters, words, and sentences you type into the document.
3. Cursor (or Insertion Point)
 The cursor (or insertion point) is the blinking vertical line on the screen that indicates
where the next character will be inserted as you type.
4. Font
 Font refers to the style and appearance of the text. Common attributes of fonts include
size, style (e.g., bold, italic, underline), and type (e.g., Arial, Times New Roman).
5. Formatting
 Formatting is the process of changing the appearance of text or document layout, such
as adjusting the font, size, alignment, spacing, margins, and more to enhance readability
or to follow specific guidelines.
6. Paragraph
 A paragraph is a block of text that is usually separated by a line break or indentation.
In word processing, paragraphs are formatted to control the alignment, spacing, and
indentation.
7. Alignment
 Alignment refers to how the text is arranged on the page. Common types include:
o Left alignment (text aligned to the left margin)
o Right alignment (text aligned to the right margin)
o Center alignment (text centered)
o Justified alignment (text stretched to align with both left and right margins)
8. Margins
 Margins are the blank spaces around the edges of a document. They help ensure that
text doesn’t run off the page, and can be adjusted for layout purposes.
9. Spell Check
 Spell check is a tool that automatically checks the spelling of words in the document,
highlighting any potential errors and suggesting corrections.
10. Page Break
 A page break is a marker that indicates where one page ends and another begins,
allowing you to start a new page within the same document.
11. Copy, Cut, and Paste
 Copy allows you to duplicate selected text, cut removes selected text, and paste inserts
the copied or cut text at a new location.
12. Save and Save As
 Save keeps your work in its current state and stores it in a file. Save As allows you to
save the document with a new name or in a different location or file format.
13. Headers and Footers
 Headers are sections of text that appear at the top of each page, and footers appear at
the bottom. They often contain information like page numbers, document title, or
author’s name.

39
14. Insert
 The Insert function allows you to add various elements into your document, such as
images, tables, hyperlinks, or special symbols.
15. Bullets and Numbering
 Bullets and numbering are used to create lists, either with bullet points or numbered
items, to organize information clearly.
16. Table of Contents
 A table of contents is an ordered list of headings and subheadings in a document,
providing an overview of the document’s structure. It helps readers navigate long
documents.
17. Track Changes
 Track Changes is a feature that allows users to make edits to a document while keeping
a record of all changes made, making it easier to review and approve edits.
18. Template
 A template is a pre-designed document layout that can be used as a starting point for
creating new documents. Templates often include specific formatting and placeholders
for text.
19. Undo/Redo
 Undo reverses the last action you took (like typing or deleting), and redo restores the
action if you decide to keep it.
20. Print Preview
 Print Preview is a feature that allows you to view how your document will appear when
printed, helping you ensure proper formatting before printing.

MS-Word 2019

Microsoft Word 2019 is a word processing software that is part of the Microsoft Office suite.
It is widely used for creating, editing, formatting, and printing text-based documents such as
reports, letters, resumes, and more. MS Word 2019 offers a user-friendly interface with
advanced features, making it suitable for both personal and professional use.

MS Word 2019 is a versatile tool for creating professional documents, with a focus on ease of
use and powerful functionality.

40
Some of works on MS-Word

41
MS-Excel

MS-Excel is a spreadsheet software in the Microsoft office suite that allows user to store,
organize and analyze numerical and text data. It is a part of MS-Office package. A spreadsheet
program allows to present information in a clear way. It can be used to perform mathematical
calculation using several mathematical formula and equations. Excel also allows us to convert
spreadsheet data into various charts like bar-graph, columns and other. It can be used to
calculate the data according to the need of the user such as salary sheet, income and expenses
statement, balance sheet, budget preparation, grade and percentage calculation etc. Some
application areas of excel are:
1. Basic mathematical calculation.
2. Financial modeling and analysis.
3. Statistical analysis
4. Scientific and engineering calculation.
5. Graphic presentation and more
The extension of MS-Excel file is “.xlsx” and “.xls”".

Worksheet (Spreadsheet): Worksheet is the collection of rows and columns which are used to
list, organize and calculate data.

Workbook: The files that are used in spreadsheet are collectively known as workbook.
Workbook are made up of several numbers of worksheet. By default, one workbook has three
worksheets.

Cell: The intersection of rows and columns are called cell. In order to refer a cell, enter a
column letter followed by row number. For example, C2 The cell where intersection point is
called active cell.

Features of MS-Excel

1. It facilitates us to work in a multiple worksheet at a time.


2. It allows us to create different types of charts and graphs.
3. It allows us to organize and manage large volume of data.
4. It allows us to perform any type of calculation automatically by using custom formula
and equation.
5. It allows us to easily sort the data in ascending and descending order.
6. It supports high level features like object linking and embedding.
7. It allows us to format a data to make it more attractive by using tools like font size, font
color etc.
8. Simple computing operation such as cut, copy, paste, find, replace can be easily done.
9. It includes internet features such as web tool bar.
10. It allows us to store data electronically in any storage medium.

42
MS- Excel 2019

Microsoft Excel 2019 is a powerful spreadsheet software that is part of the Microsoft Office
suite. It is widely used for organizing, analyzing, and visualizing data in tabular form. Excel
allows users to perform complex calculations, create charts and graphs, and manage large
datasets with ease, making it an essential tool for both personal and business tasks.
Key features of MS Excel 2019 include:
 Spreadsheets: Work with grids of rows and columns to enter, store, and manipulate
data.
 Formulas and Functions: Perform calculations using built-in formulas (like SUM,
AVERAGE, and IF) and a wide range of functions for data analysis.
 Charts and Graphs: Create visual representations of data through different chart types
(bar, line, pie, etc.) to help make data more understandable.
 Data Sorting and Filtering: Easily sort and filter data based on specific criteria to
analyze and extract relevant information.
 PivotTables: Summarize and analyze large amounts of data to create meaningful reports
and insights.
 Conditional Formatting: Apply visual cues (like colors or icons) to highlight important
data trends or outliers.
 Collaboration Tools: Share workbooks, track changes, and co-author documents in real
time for team collaboration.

MS Excel 2019 is a versatile tool, widely used in fields like finance, accounting, data analysis,
and project management, for tasks ranging from simple data entry to advanced financial
modeling and analysis.

Basic Fundamentals of spreadsheet

A spreadsheet is a digital tool used to organize, store, and analyze data in tabular form. It
consists of rows and columns, creating a grid-like structure where data can be entered,
manipulated, and visualized. The most widely used spreadsheet software is Microsoft Excel,
but other alternatives like Google Sheets and LibreOffice Calc are also popular.

Some of the basic fundamentals of spreadsheet are:

1. Cells
 A cell is the basic unit in a spreadsheet where you can enter data (text, numbers,
formulas, etc.). Each cell is identified by a unique address, formed by its column letter
and row number (e.g., A1, B2).

43
2. Rows and Columns
 Rows are horizontal lines in a spreadsheet, labeled with numbers (1, 2, 3, etc.).
 Columns are vertical lines, labeled with letters (A, B, C, etc.).
 The intersection of a row and column forms a cell.
3. Worksheets
 A worksheet is a single tab within a spreadsheet file, which contains rows and columns
for data entry. Multiple worksheets can exist within one spreadsheet file (often called a
workbook).
4. Range
 A range refers to a group of adjacent cells. It can be a selection of cells in a single row,
column, or even multiple rows and columns (e.g., A1:B3 or A1:A10).
5. Data Types
 Text: Non-numeric data such as names or descriptions.
 Numbers: Numeric data that can be used for calculations.
 Dates/Times: Specialized data types for entering and working with dates and times.
 Formulas: Equations that perform calculations, such as SUM (A1:A10), which adds
the values from cells A1 to A10.
6. Cell References
 Relative Reference: A reference that changes when the formula is copied to another
cell (e.g., A1).
 Absolute Reference: A reference that does not change when the formula is copied,
indicated by dollar signs (e.g., $A$1).
 Mixed Reference: A combination of relative and absolute references, like $A1 or A$1.
7. Workbook
 A workbook is the entire file in which one or more worksheets reside. A workbook can
hold multiple sheets, enabling you to organize data and perform different calculations
on each sheet.
8. Cell References
 Relative references change when a formula is copied to another cell.
 Absolute references do not change when copied, indicated by dollar signs (e.g., $A$1).
 Mixed references combine both relative and absolute references (e.g., A$1).
9. Headers and Footers
 Headers appear at the top of each printed page, and footers appear at the bottom. They
can contain information like page numbers, document title, or the current date.
10. Formula Bar
 Formula Bar in Excel is located directly above worksheet area, to the right of the name
box. The formula bar can be used to edit the content of any cell and can be extended to
show multiple lines for same formula.

44
Some works done on MS-Excel

45
Presentation Software

Power point is the presentation software in the Microsoft office suite, with power point we can
create dynamic and professional presentation by using pre-defined layouts, themes and
templates. Powerpoint includes all the features we need to produce professional looking
presentation. Powerpoint presentation consists of series of slides which contain information
that we want to communicate with our audience, this information can include text, image,
graph, charts, video, audio and many more. Presentation program can be used as a supplement
of older visual aid technology such as pamphlets, handouts, posters, chalkboard etc.

The extension of PowerPoint file is “.ppt", later version use “.pptx”". Similarly magic point,
apple keynote, IBM lotus, Harvard graphics etc. are the alternative software for Ms-
Powerpoint.

Features of Presentation Software

1. Formatting of data helps to make document much more attractive, effective and
interactive by using tools like font, font color, hyperlinks etc.
2. Simple computing operation such as cut, copy, paste, find and replace are supported,
3. It allows user to use pre-defined layout, themes and templates which helps in faster
development and design of presentation.
4. Slide transition and effects can also be used for further requirement,
5. We can create our own custom animation.
6. It supports both internal and external hyperlink.
7. Different bar, graphs, charts can be used to convey, detailed and precise information.
8. Internet features such as web toolbar, online help, web linking can also be done.

Microsoft PowerPoint

Microsoft PowerPoint is a widely used presentation software that is part of the Microsoft
Office suite. It allows users to create dynamic and visually appealing presentations that can
include slides with text, images, charts, videos, animations, and transitions. PowerPoint is
commonly used for business meetings, academic presentations, and various other purposes
where information needs to be communicated in a visual format.

Some of Key Features of Powerpoint are:

46
Key Features of MS PowerPoint:
1. Slides:
o A slide is the basic unit in a PowerPoint presentation. It contains elements like
text, images, shapes, and other multimedia. Presentations are made up of multiple
slides that convey different aspects of the topic.
2. Themes:
o Themes are pre-designed templates that define the overall design of a
presentation, including background colors, fonts, and layouts. This helps create a
professional and consistent appearance throughout the presentation.
3. Text Boxes:
o Text boxes are used to add and format text on slides. You can adjust the size, font,
color, and position of the text to make it visually appealing.
4. Multimedia Integration:
o PowerPoint allows you to integrate various types of multimedia, such as images,
audio, video, and charts. This helps to enhance the presentation and make it
more engaging for the audience.
5. Animations:
o Animations add motion to objects on the slide. You can animate text, shapes, or
images to appear in various ways (e.g., fade in, fly in, etc.), making the
presentation more interactive.
6. Transitions:
o Transitions are effects that occur when moving from one slide to the next.
Examples include fades, wipes, and slides. Transitions help maintain the flow of
the presentation and capture the audience’s attention.
7. Slide Show Mode:
o Slide Show Mode allows you to view your presentation in full-screen mode, as
it will appear to the audience. You can navigate through the slides, present, and
even use a laser pointer during the presentation.
8. Presenter Tools:
o PowerPoint offers various tools for presenters, such as Presenter View, which
shows the current slide, upcoming slides, and notes for the presenter while the
audience only sees the presentation itself.
9. Collaboration:
o PowerPoint allows multiple people to collaborate on the same presentation,
making it easier for teams to create and edit slides together. You can also add
comments for feedback.
10. Export and Sharing:
 Once the presentation is complete, you can save it in various formats (PPTX, PDF, etc.)
or share it with others via email or cloud services. You can also present it online or
convert it into a video.

47
Components of PowerPoint

The key components of Microsoft PowerPoint are as follows:


1. Slides
 The basic unit of a presentation, where content such as text, images, and multimedia are
added.
2. Slide Layouts
 Predefined designs for arranging content on slides (e.g., title slide, content slide, two-
content slide).
3. Ribbon
 The toolbar at the top, containing tabs like Home, Insert, Design, Transitions, and
Animations, which provide various tools and options for creating and editing slides.
4. Slide Pane
 The area on the left where you can see a thumbnail view of all the slides in your
presentation for easy navigation.
5. Workspace
 The main area where you edit the selected slide, adding and formatting content like text,
images, and shapes.
6. Notes Pane
 A space beneath each slide where presenters can add speaker notes for reference during
the presentation.
7. Slide Show View
 A full-screen mode that allows you to present the slides to an audience.
8. Text Boxes
 Areas where you can type text on slides. You can add and format text in these boxes.
9. Multimedia Tools
 Options to insert and edit images, videos, audio, charts, and other media elements.
10. Animations
 Visual effects applied to elements on a slide to add motion and enhance engagement.
11. Transitions
 Effects that occur when moving from one slide to another during the presentation.

48
Unit-5 Programming Concept and Logics

Programming
Programming is the process of designing and writing instructions for a computer to follow.
These instructions, known as "code," are written in specific programming languages that the
computer can understand and execute. The primary goal of programming is to create software,
applications, websites, games, and more, by solving problems and automating tasks through
written code.

Programmer
A programmer, also called a developer or coder, is someone who writes, tests, and maintains
code. Programmers use their knowledge of programming languages, problem-solving skills,
and logical thinking to develop software solutions. They work with various tools, frameworks,
and libraries to ensure that their code is functional, efficient, and maintainable.

Programming Language
A programming language is a formal set of instructions that a programmer uses to
communicate with a computer. Programming languages are used to create software
applications, scripts, and algorithms. Different programming languages offer various features,
syntax, and capabilities to suit different types of tasks. Some common programming languages
include:
 Python: Known for its readability and simplicity, often used in data analysis, web
development, and automation.
 JavaScript: A scripting language primarily used for web development to create
interactive web pages.
 Java: A popular language used for building large-scale applications, especially for
Android development and enterprise systems.
 C++: An extension of C, used for systems programming, game development, and
applications requiring high performance.
 Ruby: A dynamic, object-oriented language often used in web development,
particularly with the Ruby on Rails framework.

The above-mentioned programs are some commonly used programs used by programmers/
coders. The types of Programming Language are:

Low level Language

A low-level language is a programming language that is close to the hardware and provides
little abstraction from the computer's machine code. These languages are typically more
efficient and faster but are harder for humans to read and write compared to high-level
languages.
There are two main types of low-level languages:
1. Machine Language
2. Assembly Language

Low-level languages give programmers more control over the hardware but require a deeper
understanding of the system architecture.
49
Machine Language

Machine language is the lowest-level programming language, consisting of binary code


(combinations of 0s and 1s). It is directly understood by a computer's central processing unit
(CPU) and executed without needing any translation. Machine language corresponds to the
specific instructions that the hardware can perform, such as adding numbers, moving data, or
controlling the flow of the program.

Since each type of CPU (e.g., Intel, ARM) has its own set of machine language instructions
(called an instruction set architecture or ISA), machine language is dependent on the specific
hardware it’s running on.
Advantages of Machine Language:
1. Direct Control: Machine language allows precise control over the hardware, enabling
efficient resource usage and maximum performance.
2. Speed: Programs written in machine language execute faster because they directly
interact with the hardware without requiring interpretation or compilation.
3. Efficiency: Code in machine language is optimized for the specific CPU architecture,
resulting in faster and more efficient operations.
Disadvantages of Machine Language:
1. Difficulty of Writing: Writing in machine language is extremely challenging, as it
involves manually manipulating binary code, making it error-prone and time-
consuming.
2. Lack of Portability: Machine language is specific to the hardware, meaning code
written for one CPU architecture will not work on another without modification.
3. Hard to Read and Maintain: Machine language is incomprehensible to most humans,
which makes debugging, reading, and maintaining code very difficult.
4. Complexity: Even for small tasks, writing machine language code can require long
sequences of binary instructions, which can be tedious and inefficient.

In summary, machine language is the most fundamental way of programming a computer,


offering speed and control at the cost of readability and ease of use.

Assembly Language

Assembly language is a low-level programming language that uses symbolic names


(mnemonics) to represent machine code instructions. It is one step above machine language
and provides a more human-readable way of writing code, although it's still closely tied to the
hardware architecture. Each assembly language instruction corresponds to a specific machine
code instruction for a particular processor.
Advantages of Assembly Language:
1. Control Over Hardware: Assembly provides fine-grained control over the hardware,
allowing optimization of performance for specific tasks.
2. Efficiency: Programs written in assembly language can be faster and more memory-
efficient than those written in higher-level languages.
3. Readable (Compared to Machine Code): Assembly is more understandable than raw
binary machine code due to its use of mnemonics (e.g., MOV, ADD).

50
Disadvantages of Assembly Language:
1. Complexity: Writing in assembly is still very complex and requires a deep
understanding of the hardware and instruction set.
2. Not Portable: Assembly language is specific to a particular CPU architecture, making
the code non-portable across different machines.
3. Error-Prone: Even with mnemonics, assembly is still easy to get wrong, and debugging
is difficult due to the low-level nature of the language.
4. Time-Consuming: Writing and maintaining assembly code takes longer compared to
higher-level programming languages.

In summary, assembly language offers control and efficiency but requires deep knowledge of
the machine's architecture and is harder to write, debug, and maintain than higher-level
languages.

High Level Language

A high-level language is a programming language that is abstracted from the hardware, using
syntax and semantics that are closer to human languages. These languages are designed to be
easy to read, write, and maintain, with built-in features that simplify complex tasks. Examples
include Python, Java, and C++.
Advantages of High-Level Languages:
1. Ease of Use: High-level languages are user-friendly and easier to learn, making them
accessible to beginners.
2. Portability: Code written in high-level languages can often be run on different types of
hardware with little to no modification (e.g., "write once, run anywhere").
3. Faster Development: High-level languages offer abstractions and libraries that speed
up the development process, allowing for quicker coding and less focus on hardware
details.
4. Maintainability: Code in high-level languages is easier to read, understand, and
maintain, which makes it more suitable for large-scale projects and teams.
Disadvantages of High-Level Languages:
1. Less Control Over Hardware: High-level languages abstract away the details of the
hardware, meaning developers have less control over system resources like memory and
processing power.
2. Slower Execution: Programs written in high-level languages are often slower than
those written in low-level languages because they require interpretation or compilation
to machine code.
3. Memory Usage: High-level languages may use more memory compared to low-level
languages, as they include additional abstractions and built-in features.

In summary, high-level languages simplify development and improve code readability but may
come with trade-offs in performance and control compared to low-level languages.

51
Language Processors/Translators

A language processor is a program that translates or interprets high-level programming


languages into machine-readable code or intermediate code. The main types of language
processors are:
1. Compiler: Translates the entire source code of a program into machine code or an
intermediate language all at once. The output is a separate executable file that can be
run multiple times without needing to recompile.
2. Interpreter: Translates and executes the source code line by line, without creating an
intermediate executable file. Each time the program runs, the source code is re-
interpreted.
3. Assembler: Converts assembly language code into machine code. It translates the
human-readable mnemonics into binary instructions specific to the computer's
architecture.
Advantages:
 Compiler: Fast execution (after compilation), generates efficient machine code.
 Interpreter: Easier debugging and error detection, immediate execution without
compilation step.
 Assembler: Direct translation from assembly language to machine code, close control
over hardware.
Disadvantages:
 Compiler: Longer compilation time and errors are detected only after full compilation.
 Interpreter: Slower execution, as it translates code line-by-line each time it runs.
 Assembler: Less portability, as it is specific to the architecture.

In summary, language processors convert high-level programming code into machine-readable


formats to enable the execution of programs.

A short diagram for Assembler, Compiler and Interpreter respectively are:

52
Types of Errors/Bugs

In programming, errors (or bugs) refer to mistakes or issues in the code that cause a program
to behave incorrectly or unexpectedly. These errors are typically classified into several types,
each with its own causes and characteristics:
1. Syntax Errors
 Definition: These occur when the programmer violates the rules of the programming
language, such as incorrect punctuation, misspelled keywords, or improper use of
language constructs.
 Example: Forgetting a semicolon at the end of a statement in languages like C or Java.
 Explanation: Syntax errors are detected by the compiler or interpreter during the
compilation or execution phase, preventing the program from running.
2. Runtime Errors
 Definition: These errors occur while the program is running, often due to unexpected
conditions like invalid input, division by zero, or accessing non-existent resources.
 Example: Trying to divide a number by zero.
 Explanation: Runtime errors typically cause the program to crash or stop unexpectedly,
and they can be harder to predict and fix because they depend on the execution
environment.
3. Semantic Errors
 Definition: These errors occur when the code is syntactically correct but does not
behave as intended because the meaning of the code is wrong.
 Example: Using a wrong variable name that is logically incorrect but syntactically
valid.
 Explanation: These are often closely related to logic errors but focus more on the actual
meaning or intent behind the code.

Algorithm

An algorithm is a step-by-step procedure or set of rules designed to perform a specific task or


solve a problem. It is a finite sequence of instructions that take an input, process it, and produce
an output. Algorithms are the foundation of all computer programs and are used to solve a
wide variety of problems, such as sorting data, searching for information, or performing
calculations.

Advantages of Algorithm
1. Efficiency
2. Clarity and Structure
3. Problem-Solving
4. Consistency

Disadvantages of Algorithm
1. Complexity
2. Resource-Intensive
3. Cannot Solve All Problems etc.

53
Examples of Algorithm
Example 1: Write an algorithm to display the sum of three numbers.

1. Start
2. Get three numbers, a, b, and c.
3. Enter the values of a, b, and c.
4. Add the value of a, b and c. [Sum=a+ b+ c]
5. End

Example 2: Write an algorithm to display greatest among two numbers.

Input: Two numbers a and b


Step 1: Start
Step 2: Read number a
Step 3: Read number b
Step 4: if a > b, print a (Compare a and b using greater than operator)
Step 5: else print b
Step 6: Stop
Output: Largest number among a and b

Flowchart

flowchart is a graphical representation of an algorithm or process, using different symbols to


illustrate the sequence of steps involved. It provides a clear and visual way to understand the
flow of logic or operations in a system or program.
Key Flowchart Symbols:
1. Oval: Represents the start and end of a process.
2. Rectangle: Denotes a process or action step (e.g., calculation or assignment).
3. Parallelogram: Represents input or output operations (e.g., user input, displaying
results).
4. Diamond: Indicates a decision point (e.g., yes/no, true/false condition).
5. Arrow: Shows the direction of flow from one step to another.

Advantages of Flowchart

1. Clarity: Provides a clear, visual representation of a process.


2. Ease of Understanding: Makes complex algorithms or processes easier to understand for
both technical and non-technical audiences.
3. Documentation: Helps in documenting processes for analysis, improvement, or reference.

Disadvantages of Flowchart

1. Complexity with Large Processes: For large or complex systems, flowcharts can become
cluttered and difficult to interpret.
2. Limited Flexibility: Flowcharts require redrawing when changes occur, making them less
adaptable. Etc.

54
Examples of flowchart

Example 1: Draw flowchart to find greatest number among two numbers.

Example 2: Draw flowchart to calculate simple interest.

55
C Programming Language

It is a High-Level Programming Language, developed by Dennis Ritchie at AT & T’s Bell


Laboratories of USA, in 1970. It is a very powerful programming language. It is used for both
system programming and application programming. So, often known as Middle Level
Programming Language, also. It means, it supports or works as the low-level language and
high-level language, both.

Advantages and Disadvantages of C Programming Language

The advantages are:


1. Suitable for system programming.
2. It is easier to interact with hardware.
3. Easy to learn.
4. Program code is secure.
5. It is compact and efficient.

The disadvantages are:


1. It does not contain runtime checking.
2. There is no strict data type checking.
3. As the program extends, the debugging becomes more complex because it uses compiler
instead of interpreter for the compilation.
4. Semi-colon requires for each statement.

Features of C Programming

1. It supports high level and level programming both, so known as mid-level programming
language.
2. It is mostly used for System programming but very popular for Application
programming, too.
3. The program development is faster and more efficient.
4. It has very powerful tools and keywords.
5. It uses its own text editor.
6. It has its own compiler.
7. It supports structured programming.
8. It is portable easily.
9. It has very powerful library functions set.
10.Flexible in programming.

C Tokens

The set of identifiers, keywords, constants, variables and operators is known as C Tokens. It
remains as a single unit and compiler does not break in the time of compilation.

56
Data Types in C

The term Data Types in any language refers to the types of data which can be used in the
program execution for entering and manipulating as the values. In the same way, the data types
in c also refer to the data types, which can be used as the values. Basically, it is of four types.
They are:
1. int: It represents the integer type data. It means the numbers without the decimal points.
It consumes 2 bytes memory. The derived data types from int are short int and long int.
2. float: It means the real numbers with the decimal points. It consumes 4 Bytes memory
space. It can also be signed and unsigned. Derived data types of it are double and long
double.
3. char: It is used for a single character (alphabet or symbol) like ‘A’, ‘f’, ‘@’ etc. It
requires 1 byte memory. It can also be signed or unsigned.
4. void: void means no value. It means null value. It is used for returning null value to the
modules.

Operators

The symbols, which are used to operate on the operands for the mathematical and logical
calculations are known as operators. C programming language has a rich set of built-in
operators. Operator that requires two operands are binary (dyadic) operators, operators that
require one operand is unary (monadic) and the operator that requires three operands is ternary
operator. Eg. a+b, here + is an operator.

Types of Operators:

1. Arithmetic Operator
2. Relational Operator
3. Equality Operator
4. Logical Operator
5. Assignment Operator
6. Increment/Decrement Operator
7. Conditional Operator (Ternary Operator)
8. Bitwise Operator
9. Special Operator

Input/ Output (I/O functions)

I/O (Input/Output) functions are operations that allow a program to interact with the outside
world, such as receiving data (input) from users or external devices, and sending data (output)
to display devices, files, or other systems.

57
//C program to read variable of different datatype and display it

#include<stdio.h>
#include<conio.h>
void main ();
{
Int a;
Float b;
Char c;
printf (“Enter integer value of a”);
scanf(“%d, &a);
printf(“Enter fractional value of b”);
scanf(“%f, &b);
printf(“Enter any character”);
scanf(“%c, &c);
printf (“a=%d \nb=%f \n, a, b);
getch();
}

//C program to find difference of two number

#include<stdio.h>
#include<conio.h>
void main ();
{
int a, b, c;
printf (“Enter two numbers”);
scanf (“%d%d”, &a, &b);
c= a-b;
printf (“Difference is %d”, c);
getch ();
}

Output:
a=10
b= 5
c= 5

58
Write a C program to calculate area of room.

#include<stdio.h>
#include<conio.h>
void main ();
{
int l, b, a;
printf (“Enter the length”);
scanf (“%d”, &l);
printf (“Enter the breadth”);
scanf (“%d”, &b);
a= l*b;
printf (“Area is %d”, &a);
getch ();
}

Output:
Enter the l= 20
Enter the b= 30
Area = 600

Write a C program to calculate Simple Interest

#include<stdio.h>
#include<conio.h>
void main ();
{
int P, T, R, I;
printf (“Enter the value of P”);
scanf (“%d”, &P);
printf (“Enter the value of T”);
scanf (“%d”, &T);
printf (“Enter the value of R”):
scanf (“%d”, &R);
I=(P*T*R/100)
printf (“Interest is %d”, &I);
getch ();
}

Output:
P=450
T=7
R=2%
I=63

59
Write a C program to input mark in 3 subject and calculate sum and average.

#include<stdio.h>
#include<conio.h>
void main ();
{
int Sub1, Sub2, Sub3, Sum, Average;
printf (“Enter the marks in Sub1”);
scanf (“%d”, &Sub1);
printf (“Enter the marks in Sub2”);
scanf (“%d”, &Sub2);
printf (“Enter the marks in Sub3”);
scanf (“%d”, &Sub3);
Sum= Sub1+ Sub2 + Sub3;
printf (“Sum is %d”, S);
Average= Sum/3;
printf (“Average is %d”, &S);
getch ();
}

Output:
Sub1=20
Sub2=30
Sub3=40
Sum=90
Average=30

//C program to check entered number is even or odd.

#include<stdio.h>
#include<conio.h>
void main ();
{
int a;
printf (“Enter the value of a”);
scanf (“%d”, &a);
a%2==0? printf(“Even”): printf(“Odd”);
getch ();
}

Output:
Enter the value of a= 24
Even

60
//C program to input number & check number is divisible by 5 or not.

#include<stdio.h>
#include<conio.h>
void main ();
{
int a;
printf (“Enter the value of a”);
scanf (“%d”, &a);
a%5==0? printf(“Divisible”): printf (“Non-divisible);
printf (“Number is %d”, result);
getch ();
}

Output:
Enter the value of a=55
Divisible

Enter the value of a=34


Not-divisible

//C program to change integer value to float.

#include<stdio.h>
#include<conio.h>
void main ();
{
int a=5;
float b=a;
printf (“a=%d”, &a);
printf (“b=%f”, &b);
getch ();
}

Output:
a=5
float= 5.00

a=21
float=21.00

61
//C program to demonstrate decrement operator.

#include<stdio.h>
#include<conio.h>
void main ();
{
int a= 10;
printf (“Value before increment \n a= %d”, &a);
a--;
printf (“Value after decrement \n a=%d”, a);
getch ();
}

//C program to enter percentage & determine grade of student.

#include<stdio.h>
#include<conio.h>
void main ();
{
int per;
printf (“Enter the percentage”);
scanf (“%d”, &per);
if(per>=90)
{
printf (“You got A+”);
}
else if(per>=80)
{
printf (“You got A”);
}
else if(per>=70)
}
printf (“You got B+”);
}
else
{
printf(“Failure”);
}
getch ();
}

Output:
Enter the percentage= 85
You got A

Enter the percentage= 55


Failure

62
//C program to display day in a week using switch statement.

#include<stdio.h>
#include<conio.h>
void main ();
{
int num;
printf (“Enter the number”);
scanf (“%d”, &num);
switch(num)
{
Case1:
printf(“Sunday”);
break;
Case2:
printf(“Monday”);
break;
Case3:
printf(“Tuesday”);
break;
Case4:
printf(“Wednesday”);
break;
Case5:
printf(“Thursday”);
break;
Case6:
printf(“Friday”);
break;
Case7:
printf(“Saturday”);
break;
default:
printf (“Please enter number from 1 to 7);
}

Output:
Enter the number= 1
Sunday

Enter the number=5


Thursday

63
//C program to enter a character & check whether its vowel or not.

#include<stdio.h>
#include<conio.h>
void main ();
{
char let;
printf (“Enter the number”);
scanf (“%c”, &let);
switch(let)
{
Case ‘a’:
printf(“Vowel”);
break;
Case ‘e’:
printf(“Vowel”);
break;
Case ‘i’:
printf(“Vowel”);
break;
Case ‘o’:
printf(“Vowel”);
break;
Case ‘u’:
printf(“Vowel”);
break;
default:
printf(“Constant”);
}

Output:
Enter the value= a
Vowel

Enter the value= w


Consonant

Enter the value= i


Vowel

64
//C program to display number from 1 to 100.

#include<stdio.h>
#include<conio.h>
void main ();
{
int i;
for (i=1; i<=10; i++)
{
printf (“%d \t”, i);
}
getch ();
}

Output:
i=1; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

//C program to display multiplication of 2.

#include<stdio.h>
#include<conio.h>
void main ();
{
int i, num;
printf (“Enter a number”);
scanf (“%d”, &num);
for (i=1; i<=10, i++)
{
printf (“%d*%d=%d”, num, i, num*1);
}
getch ();
}

Output:
Enter a number= 2
2*1=2, 2*2=4, ---- , 2*9=18, 2*10=20.

65
//C program to display even number from 1 to 100.

#include<stdio.h>
#include<conio.h>
void main ();
{
int i;
for (i=2; i<=100; i++)
{
if(i%2==0)
{
printf(“Even”);
scanf (“%d”, i);
}
}
getch ();
}

Output:
The even number are: 2, 4, 6, 8, 10 ------- , 100.

//C program to read a number & reverse it.

#include<stdio.h>
#include<conio.h>
void main ();
{
int num, rem, rev=0!
printf (“Enter a number”);
scanf (“%d”, &num);
while (num! =0)
{
rem=num%10;
rev=rev*10+rem;
num=num/100;
}
printf (“Reverse=%d”, &rev);
getch ();
}

Output:
Enter a number= 123
Reverse = 321

Enter a number= 1201


Reverse= 1021

66
//C program to calculate sum until user press ().

#include<stdio.h>
#include<conio.h>
void main ();
{
int sum, num=0;
do
{
printf (“Enter a number”);
scanf (“%d”, &sum);
Sum=sum+ num;
}
while (num! =0);
printf (“Sum is %d”, Sum);
getch ();
}

Output:
Enter a number= 10
Enter a number= 8
Enter a number= 6
Enter a number= 0
Sum= 24

//C program to display the following series.

#include<stdio.h>
#include<conio.h>
void main ();
{
int i, x;
x=5;
for (i=1; i<=10; i++)
{
printf (“%d\t”, x);
x= x+ 10;
}
getch ();
}

Output:
5 15 25 35 45 55 65 75 85 95

67
//C program to read 10 array element & display it.

#include<stdio.h>
#include<conio.h>
void main ();
{
int num [50], i;
int (i=0, i<50, i++)
{
printf (“Enter %d element”, i++);
scanf (“%d”, &num[i]);
}
printf (“Array elements are \n”);
for (i=0; i<=10; i++)
{
printf (“%d \t “, num[i]);
}
getch ();
}

Output:
Enter 1 element = 1
Enter 2 element = 2
Enter 3 element = 5
Enter 4 element = 4
Enter 5 element = 7
Enter 6 element = 8
Enter 7 element = 9
Enter 8 element = 0
Enter 9 element = 1
Enter 10 element = 1

Array Elements are:


1 2 5 4 7 8 9 0 1 1

68
//C program to enter 10 array element and calculate sum of array element.

#include<stdio.h>
#include<conio.h>
void main ();
{
int num [10]; sum=0, i;
for (i=0, i<10, i++)
printf (“Enter a element %d”, i++);
scanf (“%d”, &num[i]);
}
for (i=0; i<10, i++)
{
Sum= sum+ num[i];
}
printf (“Sum is %d”, Sum);
getch ();
}

Output:
Enter element 1= 8
Enter element 2= 18
Enter element 3= 19
Enter element 4= 47
Enter element 5= 69
Enter element 6= 74
Enter element 7= 51
Enter element 8= 21
Enter element 9= 99
Enter element 10= 10

Sum = 416

69
//C program to read and display 3X3 matrix.

#include<stdio.h>
#include<conio.h>
void main ();
{
int [3] [3]; i, j;
for (i=0; i<3; i++)
{
for j=0; j<3; j++)
{
printf (“Enter element”);
scanf (“%d”, &a[i] [j]);
}
}
printf (“Array elements are \n”);
for (i=0; i<3; i++)
{
for (j=0; j<3; j++)
{
printf (“%d”, &num [ i] [j]);
}
printf(“\n”);
}
getch();
}

//C program to find factorial of given number.

#include<stdio.h>
#include<conio.h>
void main ();
{
int n, i, fact=1;
printf (“Enter the number”);
scanf (“%d”, &n);
for (i=1; i<=n, i++)
{
fact= fact*I;
}
printf (“Factorial is %d”, fact);
getch ();
}

Output:
Enter the number: 5
Factorial = 120
70
//C program to add 3X3 matrix.

#include<stdio.h>
#include<conio.h>
void main ();
{
int a [3] [3], b [3] [3], sum [3] [3], i, j;
printf (“Enter the elements of matrix A”);
for (i=0; i<3; i++)
{
for (j=0; j<3; j++)
{
printf (“Enter element”);
scanf (“%d”, &a [i] [j]);
}
}
printf (“Enter element of matrix B”);
for (i=0; i<3; i++)
{
for (j=0; j<3; j++)
{
printf (“Enter the element”);
scanf (“%d”, &b [i] [j]);
}
}
for (i=0; i<3; i++)
{
for (j=0; j<3; j++)
{
Sum [i] [j] = a [i] [j] + b [i] [j];
}
}
printf(“Sum:\n”);
for (i=0; i<3; i++)
{
for (j=0; j<3; j++);
{
printf (“%d”, sum[i] [j]);
}
printf(“\n”);
}
getch (); Sum:
}
4 5 57
Output: 10 12 14
10 14 7
71
Unit-6 Web Technology I

Internet

The Internet is a global network that connects millions of computers and devices, enabling
the exchange of information and communication across the world. It allows individuals,
businesses, governments, and organizations to access and share data, resources, and services
via websites, applications, and other digital platforms. The internet has revolutionized how
people interact, learn, work, and entertain themselves, offering tools for communication like
email, social media, and video conferencing. It also serves as a hub for a wide range of
services, including online shopping, banking, education, entertainment, and news. Since its
inception, the internet has grown to become an essential part of daily life, influencing nearly
every aspect of modern society.

World Wide Web (WWW)

WWW stands for the World Wide Web, which is a system of interlinked hypertext documents
and multimedia content accessed via the internet. It allows users to browse websites, interact
with online applications, and access various types of information using web browsers. The
WWW uses the HTTP protocol and is based on web pages that are often written in HTML
(Hypertext Markup Language). It revolutionized how information is shared and accessed,
providing a platform for communication, commerce, entertainment, and education on a global
scale.

Web Server

A web server is a computer system or software that hosts websites and delivers web pages to
users' browsers over the internet. When a user enters a website address (URL), the web server
processes the request and sends the appropriate web page or content to the user's browser. Web
servers handle requests for static content like text and images, as well as dynamic content
generated by web applications. They play a critical role in making websites accessible to users
worldwide. Examples of web server software include Apache, Nginx, and Microsoft IIS.

Domain Name System (DNS)

DNS (Domain Name System) is a system that translates human-readable domain names, such
as www.example.com, into machine-readable IP addresses, like 192.0.2.1. It acts like an
address book for the internet, ensuring that when you enter a website address in your browser,
it can locate the correct server where the site is hosted. Without DNS, we would need to
remember numeric IP addresses for every website, which would be difficult and impractical.
DNS helps streamline internet navigation, making it faster and easier to access online content.

72
URL

A URL (Uniform Resource Locator) is the web address used to access a specific resource on
the internet. It specifies the location of a website or file and the protocol used to retrieve it. A
typical URL includes components such as the protocol (e.g., HTTP or HTTPS), domain name
(e.g., www.example.com), and sometimes a path or query parameters that point to specific
pages or data on the website. It is essentially the address you type into a web browser to visit
a webpage.

Web Browser

A web browser is a software application that allows users to access, retrieve, and view content
on the internet. It works by interpreting and displaying web pages written in languages like
HTML, CSS, and JavaScript. When a user types a web address (URL) into the browser’s
address bar, the browser sends a request to the relevant web server, retrieves the web page, and
renders it for the user to interact with. Modern web browsers also support features like tabbed
browsing, bookmarks, extensions, and privacy controls to enhance the user experience.
Examples of widely used browsers include Google Chrome, Mozilla Firefox, Apple Safari,
and Microsoft Edge.

Search Engines

A search engine is an online tool that helps users find information on the internet by searching
for specific keywords or phrases. When a user enters a query, the search engine scans its
indexed database of websites and provides a list of relevant results. Search engines use
algorithms to rank and display web pages based on factors like relevance, content quality, and
user engagement. Popular search engines include Google, Bing, and Yahoo. They help users
navigate the vast amount of information available online quickly and efficiently.

Hyper Text Mark-up Language (HTML)

HTML (Hypertext Markup Language) is the standard language used to create and design web
pages. It structures the content on the web by defining elements like headings, paragraphs,
links, images, and lists. HTML uses tags (enclosed in angle brackets) to specify the different
types of content and how they should appear on a webpage. For example, the <h1> tag is used
for main headings, while the <p> tag is used for paragraphs. HTML is the foundation of web
development, working alongside other technologies like CSS (Cascading Style Sheets) and
JavaScript to create fully functional, interactive websites.

Objective of HTML

 Insert a graphic or photographs within a web page.


 Create a table and link within a webpage.
 Use cascading style sheets.
 Create, validate and publish a web page.

73
Unit-7 Multimedia

Multimedia

Multimedia consists of two words ‘Multi’ and ‘Media’, Where multi means many and media
means way/medium of expressing information. Hence, multimedia is the way of expressing
information in different forms. The information can be expressed in either text, audio, video,
graphics and animation. We use several forms of media for better understanding and effective
communication. By using multimedia any information can be illustrated in greater depth.

Since single form of media is inefficient for better communication and greater understanding,
we integrate several components of multimedia (text, audio video, animation and graphics) by
using multimedia computer system. Hence the integration of different forms of media is
mandatory for effective communication. Multimedia computer system consist of multimedia
hardware and multimedia software. Printer, projector, webcam, microphone, digital camera
etc. are some of the widely used multimedia computer hardware. Similarly, software like text
editor (MS Word), Presentation tool (Power Point), Photo editing (Photo Shop), Video editing
(iMovie), Accounting package (Tally) etc. are used as a multimedia software. These
multimedia hardware and software works together in order to integrate several components of
multimedia. for e.g.: video can be a created by integrating audio and images.

Advantages of Multimedia

1. It helps to make communication much more effective


2. It enhances the level of understanding in any particular topic.
3. Games, Cartoons, movies are made more effective and realistic by using multimedia.
4. It makes teaching and learning process much more interesting and intuitive.
5. Virtual reality and simulation have become more realistic.

Disadvantages of Multimedia

1. Multimedia Components may be expensive.


2. Technical knowledge and IT literacy is required to operate multimedia.
3. Technology is always changing and never constant.
4. Multimedia devices run on electricity.

Applications of Multimedia

1. Education
2. Communication
3. Entertainment
4. Medicine
5. Science and technology
6. Advertisement
7. Websites/Webpages
8. Research and engineering

74
Education

The application of multimedia in education significantly enhances the learning experience by


integrating various forms of media, such as text, audio, video, images, animations, and
interactive elements. This approach helps cater to different learning styles, making content
more engaging, accessible, and easier to understand.

For example, in classrooms, teachers can use videos or animations to explain complex topics
like the water cycle or historical events, helping students visualize and better grasp abstract
concepts. Similarly, interactive learning tools such as quizzes, simulations, and educational
games encourage active participation, allowing students to apply their knowledge and receive
immediate feedback, which enhances retention and understanding.

Multimedia is also particularly effective in language learning. Tools like Duolingo use a
combination of text, images, and audio to teach new languages in a way that engages multiple
senses and reinforces vocabulary, pronunciation, and grammar. Additionally, multimedia can
support inclusive education by providing materials in different formats, such as audio for
visually impaired students or captions for hearing-impaired learners.

Overall, multimedia in education breaks traditional barriers by making learning more dynamic,
immersive, and personalized. It encourages creativity, improves comprehension, and ensures
that learning is not only informative but also enjoyable and accessible to a wide range of
students.

Communication

Multimedia plays a crucial role in enhancing communication by integrating text, images,


audio, and video, making messages more engaging and effective. In advertising, multimedia
campaigns use visuals and sound to capture attention and convey messages more powerfully.
In social media, platforms like Instagram or YouTube leverage multimedia to share content
quickly and effectively with a broad audience. Multimedia also facilitates better understanding
in business communications through presentations, webinars, and video conferencing, where
visuals and audio help clarify ideas and foster collaboration. Overall, multimedia enriches
communication by making it more interactive, informative, and appealing, improving both the
delivery and reception of messages.

Entertainment

Multimedia is widely used in entertainment to create immersive and engaging experiences.


Movies and TV shows combine visuals, sound, and special effects to captivate audiences and
tell compelling stories. Video games use interactive graphics, animations, and sound to provide
an engaging, user-driven experience. Music videos and live concerts often integrate stunning
visuals and audio to enhance the performance. Social media platforms also use multimedia to
entertain, with short-form videos, memes, and interactive content keeping users engaged.
Overall, multimedia transforms entertainment by blending different media forms to create
richer, more dynamic experiences for the audience.

75
Science and Technology

Multimedia plays a vital role in science and technology by enhancing the way complex
information is presented and understood. In scientific research, multimedia tools such as
simulations, animations, and 3D models help visualize concepts like molecular structures or
astronomical phenomena, making them easier to grasp. Educational platforms use interactive
multimedia to teach scientific principles, allowing students to engage with experiments and
data in virtual labs. In technology, multimedia helps with product demonstrations, training
simulations, and software tutorials, providing a clearer understanding of technical processes.
Overall, multimedia improves communication and learning, making science and technology
more accessible and engaging.

Research and Engineering

Multimedia is increasingly used in research and engineering to present complex data, visualize
concepts, and enhance understanding. In research, multimedia tools like graphs, interactive
diagrams, and animations help visualize experimental results, making data interpretation
clearer. Engineers use multimedia to design prototypes, with CAD software incorporating 3D
models and simulations to test functionality before physical production. Training videos,
virtual simulations, and tutorials are used to teach new engineering techniques and software.
Overall, multimedia streamlines the process of sharing knowledge, solving problems, and
advancing innovation in both research and engineering fields.

Website/Webpages

Multimedia is widely used on websites and in advertisements to enhance user engagement and
improve communication. Websites incorporate multimedia elements like images, videos,
animations, and interactive content to create visually appealing and user-friendly interfaces,
making the browsing experience more engaging. In online advertising, multimedia is used to
attract attention and convey messages effectively through video ads, dynamic banners, and
interactive content. Combining text, visuals, and audio in advertisements helps brands deliver
a more memorable and impactful message, increasing the likelihood of user interaction and
conversion. Overall, multimedia improves both the aesthetic appeal and functionality of
websites and advertisements.

76
Unit-8 Information Security and Cyber Law

Information Technology and it’s social impact

Information Technology is a modern concept or methodology of communication. It is the


combined form of Information and Communication Technology, which is highly used for the
information flow and in many other fields. IT has made the world closer day by day. One can
easily send and receive the message throughout the world within a second. It has been widely
used in education, industry, banks, research center, hospitals, etc. It is being used as learning
and teaching tool in the sector of education. Distant learning has become possible due to the
advancement of IT. It has been highly used in the industries to control quantity and quality of
the product. It is equally used for the management in hospitals and for the treatment of the
patients. IT is being used in the sector of animation and other entertainment. Scientists can use
computer or IT for their research and experiment. Space technology has become possible due
to the IT. Thus, it has much such a positive impact on the society. But it has some negative
impacts, too. As the use of IT is increasing day by day, the cybercrimes are also increasing.
Cyber criminals can easily steal others’ information or data, they can disclose other secrecy,
and they can easily spread the virus in the network and disturbs the social peace and security.

Information Security

As we know, in a network or cyber space there is always threat of cyber-attacks which may
leads to loss and damages of our precious data and information. It is always necessary to be
aware of such malicious activity. We need to adopt different measures while using computer
from such intentional and accidental activities. Thus, information security refers to the process
of protecting our network infrastructure from unauthorized access, misuse, modification,
destruction or any malfunction. We can use several physical and software preventive measures
to protect ourselves from such unethical activities. Information security helps to create a secure
environment for computers, users and programs.

Information security can mitigate security threats and security attacks. Security threats is
possible danger that might cause unwanted activities in our computer system to breach security
and thus cause possible harm whereas security attack is an attempt to gain unauthorized access
to destroy, expose, steal or alter others valuable data and information. These attacks can be
triggered by malicious application such as viruses, spyware, Trojan horse, WORMS etc.

Objectives of Information Security

Confidentiality: It means information are available for only the authorized individual, that
means individual or any other system cannot use or process others information without proper
authorization.

Integrity: It indicates accuracy and completeness of data and information which means without
proper authorization data and information cannot be tampered.

77
Cyber Crime

Cybercrime refers to illegal activities that involve computers, networks, or digital devices as
a primary tool for committing crimes. It encompasses a wide range of criminal activities,
including hacking, identity theft, online fraud, cyberbullying, data breaches, and the
distribution of malicious software (malware). Cybercriminals exploit vulnerabilities in digital
systems, steal personal information, or disrupt services, often with the intent to cause financial
harm, gain unauthorized access to sensitive data, or damage an organization's reputation.

Examples of cybercrimes include:


 Phishing: Deceptive emails or websites designed to steal sensitive information like
passwords and credit card numbers.
 Ransomware: Malicious software that locks a user's system or data and demands
payment for release.
 Online fraud: Fraudulent activities such as credit card fraud or scams conducted
through online platforms.
 Cyberbullying: Harassing or bullying individuals via social media or other online
platforms.

With the increasing reliance on technology, cybercrime poses significant threats to individuals,
businesses, and governments, and combating it requires robust cybersecurity measures and
legal frameworks.

Harmful Effects of Cyber Crime

Cybercrime can have serious and far-reaching harmful effects, impacting individuals,
businesses, and society as a whole. Some of the key harmful effects include:
1. Financial Loss: Cybercriminals can steal sensitive financial information, leading to
identity theft, fraud, and significant financial losses for individuals and businesses.
2. Reputation Damage: Organizations that fall victim to cybercrimes, such as data
breaches, can suffer damage to their reputation, losing customer trust and credibility,
which may affect long-term business success.
3. Data Loss or Theft: Cybercriminals can access and steal sensitive data, including
personal, financial, or intellectual property, putting individuals and organizations at risk
of privacy violations and exploitation.
4. Disruption of Services: Cyberattacks, such as Distributed Denial of Service (DDoS)
attacks, can disrupt the normal functioning of websites, services, or critical
infrastructure, causing inconvenience or even operational paralysis for businesses and
government services.
5. Emotional and Psychological Impact: Victims of cyberbullying, harassment, or
identity theft may suffer from emotional distress, anxiety, or depression, which can have
long-term psychological effects.
6. Legal Consequences: Individuals and businesses may face legal actions or penalties if
they are found to be negligent in safeguarding sensitive data or allowing cybercrimes to
occur.
7. Loss of Intellectual Property: Cybercriminals can steal valuable intellectual property
or trade secrets, leading to unfair competition and loss of innovation for businesses.

78
Protection from Cyber Crime

Protection from cybercrime involves taking proactive steps to secure your personal and
professional digital information from cybercriminals. Here are some key measures to help
protect against cybercrime:
1. Use Strong Passwords: Create complex, unique passwords for each account,
combining letters, numbers, and special characters. Avoid using easily guessable
information such as birthdates or common words.
2. Enable Two-Factor Authentication (2FA): Add an extra layer of security by requiring
both a password and a second form of verification (such as a code sent to your phone)
to access accounts.
3. Regularly Update Software: Keep your operating system, antivirus software, and
applications up to date. Software updates often include security patches that protect
against newly discovered vulnerabilities.
4. Install Antivirus and Anti-malware Software: Use trusted antivirus software to detect
and block malicious programs like viruses, ransomware, and spyware that can
compromise your data.
5. Be Cautious with Email and Links: Be wary of phishing emails or suspicious links.
Cybercriminals often impersonate trusted sources to steal personal information. Verify
the sender's identity before clicking on links or downloading attachments.
6. Backup Your Data: Regularly back up important files to an external device or cloud
storage to prevent data loss in case of a cyberattack, like ransomware.
7. Secure Your Wi-Fi Network: Use a strong password and encryption (such as WPA3)
for your home Wi-Fi network to prevent unauthorized access. Disable remote
management if not needed.
8. Educate and Train Users: If you’re a business owner, educate employees on
cybersecurity best practices, such as recognizing phishing attempts and using secure
networks.
9. Use Firewalls: Enable a firewall on your devices to filter incoming and outgoing
network traffic and block unauthorized access.
10. Monitor Financial Accounts: Regularly review bank statements, credit card bills, and
online accounts to detect any unauthorized transactions.

By following these steps, you can significantly reduce your risk of falling victim to cybercrime
and better protect your personal and professional information online.

Concept of Cyber Law in Nepal

Cyber law in Nepal refers to the legal framework that governs the use of digital technology,
internet services, and online activities to address cybercrimes and ensure the protection of
digital rights. It deals with issues like online security, privacy, intellectual property, digital
transactions, and the legal responsibilities of individuals and organizations in the digital world.

79
Electronic Transaction Art (ETA)- 2063

ETA 2063 refers to the Electronic Transaction Act of 2063 in Nepal, a significant piece of
legislation aimed at regulating electronic transactions, cybercrimes, and digital
communications within the country. The act was enacted by the government of Nepal in 2006
(corresponding to the year 2063 in the Nepali calendar). Its primary goal was to promote and
ensure the secure use of electronic means of communication and commerce, paving the way
for the digital transformation of various sectors in Nepal.

Objectives of ETA-2063
 To make legal provision for authentication and regulation of electronic data.
 To make a reliable date generation, communication, and transmission.
 To make a secured and authentic means of electronic communication.
 To regulate all the relating matters of electronic transfer.

Challenges of ETA-2063

Although ETA 2063 laid the foundation for digital laws in Nepal, challenges such as the rapid
evolution of technology, limited awareness, and enforcement issues still persist. Efforts to
update the Act and address emerging cyber threats continue to be a priority for the government.

In summary, ETA 2063 is a landmark law in Nepal that supports the growth of electronic
transactions and digital communication while providing legal protections against cybercrimes.

ICT Policy 2072

The ICT Policy 2022 of Nepal is designed to accelerate the country's digital transformation
by improving infrastructure, promoting e-governance, fostering innovation, and ensuring the
inclusion of marginalized communities in the digital economy. It focuses on expanding digital
access, enhancing cybersecurity, and equipping citizens with the necessary digital skills to
thrive in a modern, technology-driven society. The policy encourages the development of a
robust ICT ecosystem, with an emphasis on startups and entrepreneurship, while ensuring data
protection and privacy. Overall, it aims to create a digitally empowered Nepal with a strong,
secure, and inclusive digital future.

These show that although the challenges Nepal is trying to solve the problem related to cyber
crime which will be great for country.

80

You might also like