0% found this document useful (0 votes)
20 views17 pages

UNIT 2 CPF (Computer Programming Fundamental)

mdu 1st semester notes of computer programming fundamental (cpf)
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)
20 views17 pages

UNIT 2 CPF (Computer Programming Fundamental)

mdu 1st semester notes of computer programming fundamental (cpf)
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/ 17

‭ nit 2‬

U
‭ omputer Hardware & Software‬
C

‭I/O Devices‬
‭ n‬‭input/output‬‭device,‬‭often‬‭known‬‭as‬‭an‬‭IO‬‭device,‬‭is‬‭any‬‭hardware‬‭that‬‭allows‬‭a‬‭human‬
A
‭operator‬‭or‬‭other‬‭systems‬‭to‬‭interface‬‭with‬‭a‬‭computer.‬‭Input/output‬‭devices,‬‭as‬‭the‬‭name‬
‭implies,‬ ‭are‬ ‭capable‬ ‭of‬ ‭delivering‬ ‭data‬ ‭(output)‬ ‭to‬ ‭and‬ ‭receiving‬ ‭data‬ ‭from‬ ‭a‬ ‭computer‬
‭(input).‬‭An‬‭input/output‬‭(I/O)‬‭device‬‭is‬‭a‬‭piece‬‭of‬‭hardware‬‭that‬‭can‬‭take,‬‭output,‬‭or‬‭process‬
‭data.‬‭It‬‭receives‬‭data‬‭as‬‭input‬‭and‬‭provides‬‭it‬‭to‬‭a‬‭computer,‬‭as‬‭well‬‭as‬‭sends‬‭computer‬‭data‬‭to‬
‭storage media as a storage output.‬
I‭ nput Devices‬
‭Input‬‭devices‬‭are‬‭the‬‭devices‬‭that‬‭are‬‭used‬‭to‬‭send‬‭signals‬‭to‬‭the‬‭computer‬‭for‬‭performing‬
‭tasks.‬‭The‬‭receiver‬‭at‬‭the‬‭end‬‭is‬‭the‬‭CPU‬‭(Central‬‭Processing‬‭Unit),‬‭which‬‭has‬‭work‬‭to‬‭send‬
‭signals to the output devices. Some of the classifications of Input devices are:‬
‭ ‬‭Keyboard Devices‬

‭●‬‭Pointing Devices‬
‭●‬‭Game Controller‬
‭●‬‭Visual Devices‬
‭●‬‭Audio Input Devices‬

‭Output Devices‬
‭ utput‬‭Devices‬‭are‬‭the‬‭devices‬‭that‬‭show‬‭us‬‭the‬‭result‬‭after‬‭giving‬‭the‬‭input‬‭to‬‭a‬‭computer‬
O
‭system.‬‭Output‬‭can‬‭be‬‭of‬‭many‬‭different‬‭forms‬‭like‬‭image,‬‭graphic‬‭audio,‬‭video,‬‭etc.‬‭Some‬
‭of the output devices are below.‬

‭ ‬‭Monitor‬

‭●‬‭Television‬
‭●‬‭Printer‬
‭●‬‭Speakers‬
‭●‬‭Projector‬
‭●‬‭Plotter‬
‭●‬‭Braille Reader‬
‭●‬‭Video Card‬
‭●‬‭Headphones‬

‭ oth the Input and Output Devices of the Computer‬


B
‭There‬‭are‬‭so‬‭many‬‭devices‬‭that‬‭contain‬‭the‬‭characteristics‬‭of‬‭both‬‭input‬‭and‬‭output.‬‭They‬‭can‬
‭ erform‬ ‭both‬ ‭operations‬ ‭as‬ ‭they‬ ‭receive‬ ‭data‬ ‭and‬ ‭provide‬ ‭results.‬ ‭Some‬ ‭of‬ ‭them‬ ‭are‬
p
‭mentioned below.‬
‭●‬‭USB Drive‬
‭●‬‭Modem‬
‭●‬‭CD and DVD‬
‭●‬‭Headset‬

‭Definition of Software‬
‭ oftware is a collection of instructions, data, or computer programs that are used to run‬
S
‭machines and carry out particular activities. A device’s running programs, scripts, and‬
‭applications are collectively referred to as “software” in this context.‬‭In a computer system,‬
‭the software is basically a set of instructions or commands that tell‬‭a computer what to do.‬
‭In other words, the software is a computer program that provides‬‭a set of instructions to‬
‭execute a user’s commands and tell the computer what to do. For‬‭example like MS-Word,‬
‭MS-Excel, PowerPoint, etc.‬
‭It is the opposite of hardware, which describes the physical aspects of a computer.‬

‭Relationship between Hardware and Software‬


‭ ‬‭Hardware and software both are interdependent on‬‭each other. Each of them‬‭should‬

‭work together to form a computer to produce a helpful output.‬‭●‬‭The software can not be‬
‭used if there is no support for any hardware device.‬‭●‬‭When there are no proper‬
‭instructions given, the hardware cannot be used and is‬‭useless.‬
‭●‬‭To get a selected job done on the pc, the relevant‬‭software package has to be‬‭loaded‬
‭into the hardware.‬
‭●‬‭Hardware could be a former expense.‬
‭●‬‭Software development is incredibly pricey and could‬‭be a continued expense.‬‭●‬‭The‬
‭different software packages can be loaded on hardware to run totally different‬‭j‬‭obs.‬
‭●‬‭The software acts as an associate interface between‬‭the user and therefore the‬
‭hardware.‬
‭●‬‭We can say the hardware and software are the heart‬‭and soul of a digital computer.‬

‭Types of Software‬
‭The chart below describes the types of software:‬
‭ bove is the diagram of types of software. Now we will briefly describe each type and its‬
A
‭subtypes:‬
‭1.‬‭System Software‬
‭●‬‭Operating System‬
‭●‬‭Language Processor‬
‭●‬‭Device Driver‬
‭2.‬‭Application Software‬
‭●‬‭General Purpose Software‬
‭●‬‭Customize Software‬
‭●‬‭Utility Software‬

‭ ystem Software‬
S
‭System‬‭software‬‭is‬‭software‬‭that‬‭directly‬‭operates‬‭the‬‭computer‬‭hardware‬‭and‬‭provides‬‭the‬
‭basic‬‭functionality‬‭to‬‭the‬‭users‬‭as‬‭well‬‭as‬‭to‬‭the‬‭other‬‭software‬‭to‬‭operate‬‭smoothly.‬‭Or‬‭in‬
‭other‬‭words,‬‭system‬‭software‬‭basically‬‭controls‬‭a‬‭computer’s‬‭internal‬‭functioning‬‭and‬‭also‬
‭controls‬‭hardware‬‭devices‬‭such‬‭as‬‭monitors,‬‭printers,‬‭and‬‭storage‬‭devices,‬‭etc.‬‭It‬‭is‬‭like‬‭an‬
i‭ nterface between hardware and user applications, it helps them to communicate‬
‭with‬‭each‬‭other‬‭because‬‭hardware‬‭understands‬‭machine‬‭language(i.e.‬‭1‬‭or‬‭0)‬‭whereas‬‭user‬
‭applications‬ ‭are‬ ‭work‬ ‭in‬ ‭human-readable‬ ‭languages‬ ‭like‬ ‭English,‬ ‭Hindi,‬ ‭German,‬ ‭etc.‬ ‭so‬
‭system‬ ‭software‬ ‭converts‬ ‭the‬ ‭human-readable‬ ‭language‬ ‭into‬ ‭machine‬ ‭language‬ ‭and‬ ‭vice‬
‭versa.‬

‭Types of System Software‬

‭It has two subtypes which are:‬


‭1.‬ ‭Operating‬ ‭System:‬ ‭It‬ ‭is‬ ‭the‬ ‭main‬ ‭program‬ ‭of‬ ‭a‬ ‭computer‬ ‭system.‬ ‭When‬ ‭the‬
‭computer‬ ‭system‬ ‭is‬ ‭ON‬ ‭it‬ ‭is‬ ‭the‬ ‭first‬ ‭software‬ ‭that‬ ‭loads‬‭into‬‭the‬‭computer’s‬
‭memory.‬‭Basically,‬‭it‬‭manages‬‭all‬‭the‬‭resources‬‭such‬‭as‬‭computer‬‭memory,‬‭CPU,‬
‭printer,‬‭hard‬‭disk,‬‭etc.,‬‭and‬‭provides‬‭an‬‭interface‬‭to‬‭the‬‭user,‬‭which‬‭helps‬‭the‬‭user‬
‭to‬‭interact‬‭with‬‭the‬‭computer‬‭system.‬‭It‬‭also‬‭provides‬‭various‬‭services‬‭to‬‭other‬
‭computer‬ ‭software.‬ ‭Examples‬ ‭of‬ ‭operating‬ ‭systems‬ ‭are‬ ‭Linux,‬ ‭Apple‬ ‭macOS,‬
‭Microsoft Windows, etc.‬
‭2.‬ ‭Language‬ ‭Processor:‬ ‭As‬ ‭we‬ ‭know‬ ‭that‬ ‭system‬ ‭software‬ ‭converts‬ ‭the‬
‭human-readable‬ ‭language‬ ‭into‬ ‭a‬ ‭machine‬ ‭language‬ ‭and‬ ‭vice‬ ‭versa.‬ ‭So,‬ ‭the‬
‭conversion‬ ‭is‬ ‭done‬ ‭by‬ ‭the‬ ‭language‬ ‭processor.‬ ‭It‬ ‭converts‬‭programs‬‭written‬‭in‬
‭high-level‬ ‭programming‬ ‭languages‬ ‭like‬ ‭Java,‬ ‭C,‬ ‭C++,‬ ‭Python,‬ ‭etc(known‬ ‭as‬
‭source‬ ‭code),‬ ‭into‬ ‭sets‬ ‭of‬ ‭instructions‬ ‭that‬ ‭are‬ ‭easily‬ ‭readable‬ ‭by‬
‭machines(known as object code or machine code).‬
‭3.‬‭Device‬‭Driver:‬‭A‬‭device‬‭driver‬‭is‬‭a‬‭program‬‭or‬‭software‬‭that‬‭controls‬‭a‬‭device‬
‭and‬‭helps‬‭that‬‭device‬‭to‬‭perform‬‭its‬‭functions.‬‭Every‬‭device‬‭like‬‭a‬‭printer,‬‭mouse,‬
‭modem,‬ ‭etc.‬ ‭needs‬‭a‬‭driver‬‭to‬‭connect‬‭with‬‭the‬‭computer‬‭system‬‭eternally.‬‭So,‬
‭when‬ ‭you‬ ‭connect‬ ‭a‬ ‭new‬ ‭device‬ ‭with‬ ‭your‬ ‭computer‬ ‭system,‬‭first‬‭you‬‭need‬‭to‬
‭install‬ ‭the‬ ‭driver‬ ‭of‬ ‭that‬ ‭device‬ ‭so‬ ‭that‬ ‭your‬ ‭operating‬ ‭system‬ ‭knows‬ ‭how‬ ‭to‬
‭control or manage that device.‬

‭Features of System Software‬

‭Let us discuss some of the features of System Software:‬


‭ ‬‭System Software is closer to the computer system.‬

‭●‬‭System Software is written in a low-level language‬‭in general.‬
‭●‬‭System software is difficult to design and understand.‬
‭●‬‭System software is fast in speed(working speed).‬
‭●‬‭System software is less interactive for the users‬‭in comparison to application‬
‭software.‬
‭ pplication Software‬
A
‭Software‬‭that‬‭performs‬‭special‬‭functions‬‭or‬‭provides‬‭functions‬‭that‬‭are‬‭much‬‭more‬‭than‬‭the‬
‭basic‬ ‭operation‬ ‭of‬ ‭the‬ ‭computer‬ ‭is‬ ‭known‬ ‭as‬ ‭application‬ ‭software.‬ ‭Or‬ ‭in‬ ‭other‬ ‭words,‬
‭application‬‭software‬‭is‬‭designed‬‭to‬‭perform‬‭a‬‭specific‬‭task‬‭for‬‭end-users.‬‭It‬‭is‬‭a‬‭product‬‭or‬‭a‬
‭program‬ ‭that‬ ‭is‬ ‭designed‬ ‭only‬ ‭to‬ ‭fulfill‬ ‭end-users’‬ ‭requirements.‬ ‭It‬ ‭includes‬ ‭word‬
‭processors, spreadsheets, database management, inventory, payroll programs, etc.‬

‭Types of Application Software‬

‭There are different types of application software and those are:‬


‭1.‬ ‭G eneral‬ ‭Purpose‬ ‭Software:‬ ‭This‬ ‭type‬ ‭of‬ ‭application‬ ‭software‬ ‭is‬ ‭used‬ ‭for‬ ‭a‬
‭variety‬ ‭of‬ ‭tasks‬ ‭and‬ ‭it‬ ‭is‬ ‭not‬ ‭limited‬ ‭to‬ ‭performing‬ ‭a‬ ‭specific‬ ‭task‬ ‭only.‬ ‭For‬
‭example, MS-Word, MS-Excel, PowerPoint, etc.‬
‭2.‬‭Customized‬‭Software:‬‭This‬‭type‬‭of‬‭application‬‭software‬‭is‬‭used‬‭or‬‭designed‬‭to‬
‭perform‬‭specific‬‭tasks‬‭or‬‭functions‬‭or‬‭designed‬‭for‬‭specific‬‭organizations.‬‭For‬
‭example,‬ ‭railway‬ ‭reservation‬ ‭system,‬ ‭airline‬ ‭reservation‬ ‭system,‬ ‭invoice‬
‭management system, etc.‬
‭3.‬ ‭Utility‬ ‭Software:‬ ‭This‬ ‭type‬ ‭of‬ ‭application‬ ‭software‬ ‭is‬ ‭used‬ ‭to‬ ‭support‬ ‭the‬
‭computer‬ ‭infrastructure.‬ ‭It‬ ‭is‬ ‭designed‬ ‭to‬ ‭analyze,‬ ‭configure,‬ ‭optimize‬ ‭and‬
‭maintain‬ ‭the‬ ‭system,‬ ‭and‬ ‭take‬ ‭care‬ ‭of‬ ‭its‬ ‭requirements‬ ‭as‬ ‭well.‬ ‭For‬ ‭example,‬
‭antivirus,‬ ‭disk‬ ‭defragmenter,‬ ‭memory‬ ‭tester,‬ ‭disk‬‭repair,‬‭disk‬‭cleaners,‬‭registry‬
‭cleaners, disk space analyzer, etc.‬

‭Features of Application Software‬

‭Let us discuss some of the features of Application Software:‬


‭●‬‭An important feature of application software is‬‭it performs more specialized‬‭tasks‬
‭like word processing, spreadsheets, email, etc.‬
‭●‬‭Mostly, the size of the software is big, so it requires‬‭more storage space.‬‭●‬
‭Application software is more interactive for the users, so it is easy to use and‬‭design.‬
‭●‬‭The application software is easy to design and understand.‬
‭●‬‭Application software is written in a high-level‬‭language in general.‬

‭ ifference Between System Software and Application Software‬


D
‭Some difference between system software and application software:‬
‭System Software‬ ‭Application Software‬

I‭ t‬ ‭is‬ ‭designed‬ ‭to‬ ‭manage‬ ‭the‬‭resources‬ I‭ t‬ ‭is‬ ‭designed‬ ‭to‬ ‭fulfill‬ t‭ he‬
‭of‬ ‭the‬ ‭computer‬ ‭system,‬ ‭like‬ ‭memory‬ ‭requirements‬ ‭of‬ ‭the‬ ‭user‬ ‭for‬
‭and process management, etc.‬ ‭performing specific tasks.‬

‭Written in a low-level language.‬ ‭Written in a high-level‬

‭Less interactive for the users.‬ ‭language. More interactive for‬

‭the users.‬
‭ ystem software plays a vital role for‬
S
‭the effective functioning of a system.‬

‭ pplication‬ ‭software‬ ‭is‬ ‭not‬ ‭so‬


A
‭important‬‭for‬‭the‬‭functioning‬‭of‬‭the‬
‭system, as it is task specific.‬

I‭ t is independent of the application‬ ‭It needs system software to run.‬


‭software to run.‬

‭Operating System‬
‭Operating‬ ‭Systems‬ ‭basically‬ ‭manages‬ ‭all‬ ‭the‬ ‭resources‬ ‭of‬ ‭the‬ ‭computer.‬ ‭An‬ ‭operating‬
s‭ ystem‬‭acts‬‭as‬‭an‬‭interface‬‭between‬‭the‬‭software‬‭and‬‭different‬‭parts‬‭of‬‭the‬‭computer‬‭or‬‭the‬
‭computer‬‭hardware.‬‭The‬‭operating‬‭system‬‭is‬‭designed‬‭in‬‭such‬‭a‬‭way‬‭that‬‭it‬‭can‬‭manage‬‭the‬
‭overall resources and operations of the computer.‬
‭Operating‬ ‭System‬ ‭is‬ ‭a‬ ‭fully‬ ‭integrated‬ ‭set‬ ‭of‬ ‭specialized‬ ‭programs‬ ‭that‬ ‭handle‬ ‭all‬ ‭the‬
‭operations‬ ‭of‬ ‭the‬‭computer.‬‭It‬‭controls‬‭and‬‭monitors‬‭the‬‭execution‬‭of‬‭all‬‭other‬‭programs‬
‭that‬ ‭reside‬ ‭in‬ ‭the‬ ‭computer,‬ ‭which‬ ‭also‬ ‭includes‬ ‭application‬ ‭programs‬ ‭and‬ ‭other‬ ‭system‬
‭software‬ ‭of‬ ‭the‬‭computer.‬‭Examples‬‭of‬‭Operating‬‭Systems‬‭are‬‭Windows,‬‭Linux,‬‭Mac‬‭OS,‬
‭etc.‬
‭ n‬ ‭Operating‬ ‭System‬ ‭(OS)‬ ‭is‬ ‭a‬ ‭collection‬ ‭of‬ ‭software‬ ‭that‬ ‭manages‬ ‭computer‬ ‭hardware‬
A
‭resources‬‭and‬‭provides‬‭common‬‭services‬‭for‬‭computer‬‭programs.‬‭The‬‭operating‬‭system‬‭is‬
‭the most important type of system software in a computer system.‬

‭F unctions of Operating System‬


‭ esource‬‭Management:‬‭The‬‭operating‬‭system‬‭manages‬‭and‬‭allocates‬‭memory,‬‭CPU‬‭time,‬
R
‭and‬ ‭other‬ ‭hardware‬ ‭resources‬ ‭among‬ ‭the‬ ‭various‬ ‭programs‬ ‭and‬ ‭processes‬‭running‬‭on‬‭the‬
‭computer.‬

‭ rocess‬ ‭Management:‬ ‭The‬ ‭operating‬ ‭system‬ ‭is‬ ‭responsible‬ ‭for‬ ‭starting,‬ ‭stopping,‬ ‭and‬
P
‭managing‬ ‭processes‬ ‭and‬ ‭programs.‬ ‭It‬ ‭also‬ ‭controls‬ ‭the‬ ‭scheduling‬ ‭of‬ ‭processes‬ ‭and‬
‭allocates resources to them.‬

‭ emory Management:‬‭The operating system manages the‬‭computer’s primary memory‬


M
‭and provides mechanisms for optimizing memory usage.‬

‭ ecurity:‬‭The‬‭operating‬‭system‬‭provides‬‭a‬‭secure‬‭environment‬‭for‬‭the‬‭user,‬‭applications,‬
S
‭and‬ ‭data‬ ‭by‬ ‭implementing‬ ‭security‬ ‭policies‬ ‭and‬‭mechanisms‬‭such‬‭as‬‭access‬‭controls‬‭and‬
‭encryption.‬

‭Job Accounting:‬‭It keeps track of time and resources‬‭used by various jobs or users.‬

‭ ile Management:‬‭The operating system is responsible‬‭for organizing and managing the‬


F
‭file system, including the creation, deletion, and manipulation of files and directories.‬

‭ evice‬‭Management:‬‭The‬‭operating‬‭system‬‭manages‬‭input/output‬‭devices‬‭such‬‭as‬‭p‬‭rinters,‬
D
‭keyboards,‬ ‭mice,‬ ‭and‬ ‭displays.‬ ‭It‬ ‭provides‬ ‭the‬ ‭necessary‬ ‭drivers‬ ‭and‬‭interfaces‬‭to‬‭enable‬
‭communication between the devices and the computer.‬

‭Networking:‬ ‭The‬‭operating‬‭system‬‭provides‬‭networking‬‭capabilities‬‭such‬‭as‬‭establishing‬
a‭ nd‬‭managing‬‭network‬‭connections,‬‭handling‬‭network‬‭protocols,‬‭and‬‭sharing‬‭resources‬‭such‬
‭as printers and files over a network.‬
‭User‬ ‭Interface‬‭:‬ ‭The‬ ‭operating‬ ‭system‬ ‭provides‬ ‭a‬ ‭user‬ ‭interface‬ ‭that‬ ‭enables‬ ‭users‬ ‭to‬
‭interact‬ ‭with‬ ‭the‬ ‭computer‬ ‭system.‬ ‭This‬ ‭can‬ ‭be‬ ‭a‬ ‭Graphical‬ ‭User‬ ‭Interface‬ ‭(GUI),‬ ‭a‬
‭Command-Line Interface (CLI), or a combination of both.‬

‭ ackup and Recovery:‬‭The operating system provides‬‭mechanisms for backing up data‬‭and‬


B
‭recovering it in case of system failures, errors, or disasters.‬

‭ irtualization:‬‭The‬‭operating‬‭system‬‭provides‬‭virtualization‬‭capabilities‬‭that‬‭allow‬‭multiple‬
V
‭operating‬ ‭systems‬ ‭or‬ ‭applications‬ ‭to‬ ‭run‬ ‭on‬ ‭a‬ ‭single‬ ‭physical‬ ‭machine.‬ ‭This‬ ‭can‬ ‭enable‬
‭efficient use of resources and flexibility in managing workloads.‬

‭ erformance Monitoring:‬‭The operating system provides‬‭tools for monitoring and‬


P
‭optimizing system performance, optimizing resource usage, and analyzing system logs.‬

‭ ime-Sharing:‬ ‭The‬ ‭operating‬‭system‬‭enables‬‭multiple‬‭users‬‭to‬‭share‬‭a‬‭computer‬‭system‬


T
‭and‬ ‭its‬ ‭resources‬ ‭simultaneously‬ ‭by‬ ‭providing‬ ‭time-sharing‬ ‭mechanisms‬ ‭that‬ ‭allocate‬
‭resources fairly and efficiently.‬

‭ ystem‬‭Calls:‬‭The‬‭operating‬‭system‬‭provides‬‭a‬‭set‬‭of‬‭system‬‭calls‬‭that‬‭enable‬‭applications‬
S
‭to‬ ‭interact‬ ‭with‬ ‭the‬ ‭operating‬ ‭system‬ ‭and‬ ‭access‬ ‭its‬ ‭resources.‬ ‭System‬ ‭calls‬ ‭p‬‭rovide‬ ‭a‬
‭standardized‬ ‭interface‬‭between‬‭applications‬‭and‬‭the‬‭operating‬‭system,‬‭enabling‬‭portability‬
‭and compatibility across different hardware and software platforms.‬

‭ rror-detecting:‬‭These contain methods that include‬‭the production of dumps, traces,‬


E
‭error messages, and other debugging and error-detecting methods.‬

‭Multiprogramming Operating System‬

‭ ultiprogramming OS is an ability of an operating system that executes more than one‬


M
‭program using a single processor machine.‬

‭ ore than one task or program or jobs are present inside the main memory at one point‬‭of‬
M
‭time.‬

‭ he‬‭OS‬‭could‬‭pick‬‭and‬‭start‬‭the‬‭execution‬‭of‬‭one‬‭of‬‭the‬‭jobs‬‭in‬‭memory,‬‭whenever‬‭the‬‭j‬‭obs‬
T
‭does‬‭not‬‭need‬‭CPU‬‭that‬‭means‬‭the‬‭job‬‭is‬‭working‬‭with‬‭I/O‬‭at‬‭that‬‭time‬‭the‬‭CPU‬‭is‬‭idle‬‭at‬‭that‬
‭time‬‭the‬‭OS‬‭switches‬‭to‬‭another‬‭job‬‭in‬‭memory‬‭and‬‭CPU‬‭executes‬‭a‬‭portion‬‭of‬‭it‬‭till‬‭the‬‭job‬
‭issues a request for I/O and so on.‬
‭Advantages‬

‭The advantages of multiprogramming operating system are as follows −‬


‭●‬‭CPU utilization is high because the CPU never goes‬‭to idle state.‬‭●‬
‭Memory utilization is efficient.‬
‭●‬‭CPU throughput is high and also supports multiple‬‭interactive user terminals.‬

‭Disadvantages‬

‭The disadvantages of multiprogramming operating system are as follows −‬

‭●‬‭CPU scheduling is compulsory because lots of jobs‬‭are ready to run on CPU‬


‭simultaneously.‬
‭●‬‭User is not able to interact with jobs when it is‬‭executing.‬
‭●‬‭Programmers also cannot modify a program that is‬‭being executed.‬

‭Multitasking Operating System‬

‭ ulti‬‭tasking‬‭operating‬‭systems‬‭allow‬‭multiple‬‭users‬‭to‬‭perform‬‭multiple‬‭tasks‬‭at‬‭the‬‭same‬
M
‭time.‬ ‭The‬ ‭allocation‬‭of‬‭system‬‭resources‬‭such‬‭as‬‭input/output‬‭devices,‬‭CPU‬‭and‬‭memory‬
‭among‬ ‭processes‬ ‭can‬ ‭be‬ ‭easily‬ ‭managed‬ ‭by‬ ‭a‬ ‭multitasking‬ ‭operating‬ ‭system.‬ ‭There‬ ‭are‬
‭various‬ ‭states‬ ‭through‬ ‭which‬ ‭a‬ ‭processor‬ ‭passes‬ ‭to‬ ‭complete‬ ‭particular‬ ‭or‬ ‭multiple‬
‭executions.‬ ‭Multitasking‬ ‭is‬ ‭the‬ ‭ability‬ ‭of‬ ‭an‬ ‭OS‬ ‭to‬ ‭execute‬ ‭more‬ ‭than‬ ‭one‬ ‭task‬
‭simultaneously on‬‭a‬‭CPU machine as shown in the below‬‭diagram.‬
‭Advantages‬
‭●‬‭A Multitasking Operating System is capable of executing‬‭multiple applications‬
‭simultaneously without slowing down the system.‬
‭●‬‭Each process is assigned a specific length of time(i.e‬‭time sharing), hence a‬
‭process does not have to wait for a longer duration to utilize CPU.‬
‭●‬‭A multitasking OS can effectively manage I/O devices,‬‭RAM, hard disks,‬‭CPUs,‬
‭and other computer resources.‬
‭●‬‭In Multi-Tasking Operating a user is capable of‬‭executing multiple programs at‬‭the‬
‭same time, such as games, browser, MS Word, and other services.‬‭●‬‭Memory‬
‭management is well-defined in multitasking operating systems.‬‭Because of this, the‬
‭operating system does not grant any permission for‬‭unwanted apps to waste RAM.‬

‭Disadvantages‬
‭●‬‭As a single processor is executing multiple processes‬‭at the same time then‬‭there‬
‭will be load on the CPU and the CPU may heat up.‬
‭●‬‭Computer system will be lagging if the processor‬‭is slow in the Multi-Tasking‬
‭Operating System while executing multiple programs simultaneously.‬‭●‬‭Main‬
‭memory(RAM) has to store multiple processes during multitasking so‬‭there can be‬
‭memory boundation if the main memory is overloaded.‬

‭Multiprocessing Operating System‬

I‭ n operating systems, to improve the performance of more than one CPU can be used‬‭within‬
‭one computer system called Multiprocessor operating system.‬

‭Multiple‬ ‭CPUs‬ ‭are‬ ‭interconnected‬ ‭so‬ ‭that‬ ‭a‬ ‭job‬ ‭can‬ ‭be‬ ‭divided‬ ‭among‬ ‭them‬ ‭for‬ ‭faster‬
e‭ xecution.‬‭When‬‭a‬‭job‬‭finishes,‬‭results‬‭from‬‭all‬‭CPUs‬‭are‬‭collected‬‭and‬‭compiled‬‭to‬‭give‬
‭the‬‭final‬‭output.‬‭Jobs‬‭needed‬‭to‬‭share‬‭main‬‭memory‬‭and‬‭they‬‭may‬‭also‬‭share‬‭other‬‭system‬
‭resources‬ ‭among‬ ‭themselves.‬ ‭Multiple‬ ‭CPUs‬ ‭can‬ ‭also‬ ‭be‬ ‭used‬ ‭to‬ ‭run‬ ‭multiple‬ ‭jobs‬
‭simultaneously.‬

‭ or Example:‬‭UNIX Operating system is one of the most‬‭widely used multiprocessing‬


F
‭systems.‬

‭The basic organization of a typical multiprocessing system is shown in the given figure.‬

‭ o employ a multiprocessing operating system effectively, the computer system must‬‭have‬


T
‭the following things:‬

‭○‬‭A motherboard is capable of handling multiple processors‬‭in a multiprocessing‬


‭operating system.‬
‭○‬‭Processors are also capable of being used in a multiprocessing‬‭system.‬

‭Advantages of multiprocessing operating system are:‬

‭○‬ ‭Increased‬‭reliability:‬‭Due‬‭to‬‭the‬‭multiprocessing‬‭system,‬‭processing‬‭tasks‬‭can‬‭be‬
‭distributed‬‭among‬‭several‬‭processors.‬‭This‬‭increases‬‭reliability‬‭as‬‭if‬‭one‬‭processor‬
‭fails; the task can be given to another processor for completion.‬
‭○‬‭Increased throughout:‬‭As several processors increase,‬‭more work can be done in‬
‭less‬
‭○‬‭The economy of Scale:‬‭As multiprocessors systems‬‭share peripherals, secondary‬
‭storage devices, and power supplies, they are relatively cheaper than‬
‭single-processor systems.‬

‭Disadvantages of Multiprocessing operating System‬

‭○‬‭Operating system of multiprocessing is more complex‬‭and sophisticated as it takes‬


‭care of multiple CPUs at the same time.‬
‭Time-Sharing Operating System‬

‭Time-Sharing Operating Systems is one of the important types of operating systems.‬

‭ ime-sharing‬ ‭enables‬ ‭many‬ ‭people,‬ ‭located‬ ‭at‬ ‭various‬ ‭terminals,‬ ‭to‬ ‭use‬ ‭a‬ ‭particular‬
T
‭computer‬ ‭system‬ ‭at‬ ‭the‬ ‭same‬ ‭time.‬ ‭Multitasking‬ ‭or‬ ‭Time-Sharing‬ ‭Systems‬ ‭is‬ ‭a‬ ‭logical‬
‭extension‬ ‭of‬ ‭multiprogramming.‬ ‭Processor’s‬ ‭time‬ ‭is‬ ‭shared‬ ‭among‬ ‭multiple‬ ‭users‬
‭simultaneously and is termed as time-sharing.‬

‭ he‬‭main‬‭difference‬‭between‬‭Time-Sharing‬‭Systems‬‭and‬‭Multiprogrammed‬‭Batch‬‭Systems‬
T
‭is‬ ‭that‬ ‭in‬ ‭case‬ ‭of‬ ‭Multiprogrammed‬ ‭batch‬ ‭systems‬‭,‬ ‭the‬ ‭objective‬ ‭is‬ ‭to‬ ‭maximize‬
‭processor‬ ‭use,‬ ‭whereas‬ ‭in‬ ‭Time-Sharing‬ ‭Systems,‬ ‭the‬ ‭objective‬ ‭is‬ ‭to‬ ‭minimize‬‭response‬
‭time.‬

‭ ultiple jobs are implemented by the‬‭CPU‬‭by switching‬‭between them, but the switches‬
M
‭occur so frequently. So, the user can receive an immediate response.‬

‭ n‬‭operating‬‭system‬‭uses‬‭CPU‬‭scheduling‬‭and‬‭multiprogramming‬‭to‬‭provide‬‭each‬‭user‬‭with‬
A
‭a‬ ‭small‬ ‭portion‬ ‭of‬ ‭a‬ ‭time.‬ ‭Computer‬ ‭systems‬ ‭which‬ ‭were‬ ‭designed‬ ‭primarily‬ ‭as‬ ‭batch‬
‭systems have been modified to time-sharing systems.‬

‭Advantages‬

‭ ‬‭It provides the advantage of quick response.‬



‭●‬‭This type of operating system avoids duplication‬‭of software.‬
‭●‬‭It reduces CPU idle time.‬

‭Disadvantages‬

‭ ‬‭Time sharing has a problem of reliability.‬



‭●‬‭Questions of security and integrity of user programs‬‭and data can be raised.‬‭●‬
‭Problem of data communication occurs.‬

‭Real-Time Operating System‬


‭ ‬ ‭real-time‬ ‭operating‬ ‭system‬ ‭(RTOS)‬ ‭is‬ ‭a‬ ‭special-purpose‬ ‭operating‬ ‭system‬ ‭used‬ ‭in‬
A
‭computers‬ ‭that‬ ‭has‬ ‭strict‬ ‭time‬ ‭constraints‬ ‭for‬ ‭any‬ ‭job‬ ‭to‬ ‭be‬ ‭performed.‬ ‭It‬ ‭is‬ ‭employed‬
‭ ostly‬‭in‬‭those‬‭systems‬‭in‬‭which‬‭the‬‭results‬‭of‬‭the‬‭computations‬‭are‬‭used‬‭to‬‭influence‬‭a‬
m
‭p‬‭rocess‬ ‭while‬ ‭it‬ ‭is‬ ‭executing.‬ ‭Whenever‬ ‭an‬ ‭event‬ ‭external‬ ‭to‬ ‭the‬ ‭computer‬ ‭occurs,‬ ‭it‬‭is‬
‭communicated‬‭to‬‭the‬‭computer‬‭with‬‭the‬‭help‬‭of‬‭some‬‭sensor‬‭used‬‭to‬‭monitor‬‭the‬‭event.‬‭The‬
‭sensor‬ ‭produces‬‭the‬‭signal‬‭that‬‭is‬‭interpreted‬‭by‬‭the‬‭operating‬‭system‬‭as‬‭an‬‭interrupt.‬‭On‬
‭receiving‬‭an‬‭interrupt,‬‭the‬‭operating‬‭system‬‭invokes‬‭a‬‭specific‬‭process‬‭or‬‭a‬‭set‬‭of‬‭p‬‭rocesses‬
‭to serve the interrupt.‬
‭This‬‭process‬‭is‬‭completely‬‭uninterrupted‬‭unless‬‭a‬‭higher‬‭priority‬‭interrupt‬‭occurs‬‭during‬‭its‬
‭execution.‬‭Therefore,‬‭there‬‭must‬‭be‬‭a‬‭strict‬‭hierarchy‬‭of‬‭priority‬‭among‬‭the‬‭interrupts.‬‭The‬
‭interrupt‬ ‭with‬ ‭the‬ ‭highest‬ ‭priority‬ ‭must‬ ‭be‬ ‭allowed‬ ‭to‬ ‭initiate‬ ‭the‬ ‭process‬ ‭,‬ ‭while‬ ‭lower‬
‭priority‬‭interrupts‬‭should‬‭be‬‭kept‬‭in‬‭a‬‭buffer‬‭that‬‭will‬‭be‬‭handled‬‭later.‬‭Interrupt‬‭management‬
‭is important in such an operating system.‬

‭ eal-time operating systems employ special-purpose operating systems because‬


R
‭conventional operating systems do not provide such performance.‬

‭Advantages‬

‭The benefits of real-time operating system are as follows-:‬

‭●‬‭Easy to layout, develop and execute real-time applications‬‭under the real-time‬


‭operating system.‬
‭●‬‭The real-time working structures are extra compact,‬‭so those structures require‬‭much‬
‭less memory space.‬
‭●‬‭In a Real-time operating system, the maximum utilization‬‭of devices and systems.‬
‭●‬‭Focus on running applications and less importance‬‭to applications that are in the‬
‭queue.‬
‭●‬‭Since the size of programs is small, RTOS can also‬‭be embedded systems like in‬
‭transport and others.‬
‭●‬‭These types of systems are error-free.‬
‭●‬‭Memory allocation is best managed in these types‬‭of systems.‬

‭Disadvantages‬

‭The disadvantages of real-time operating systems are as follows-‬

‭●‬‭Real-time operating systems have complicated layout‬‭principles and are very‬‭costly to‬
‭develop.‬
‭●‬‭Real-time operating systems are very complex and‬‭can consume critical CPU‬‭cycles.‬
‭S ingle-User Operating System‬
‭ n‬‭operating‬‭system‬‭that‬‭allows‬‭a‬‭single‬‭user‬‭to‬‭perform‬‭only‬‭one‬‭task‬‭at‬‭a‬‭time‬‭is‬‭called‬‭a‬
A
‭Single-User‬ ‭Single-Tasking‬ ‭Operating‬ ‭System.‬ ‭Functions‬ ‭like‬ ‭printing‬ ‭a‬ ‭document,‬
‭downloading‬‭images,‬‭etc.,‬‭can‬‭be‬‭performed‬‭only‬‭one‬‭at‬‭a‬‭time.‬‭Examples‬‭include‬‭MS-DOS,‬
‭Palm OS, etc.‬
‭Advantages‬

‭●‬‭This operating system occupies less space in memory.‬

‭Disadvantages‬

‭●‬‭It can perform only a single task at a time.‬

‭Multiuser Operating System‬


‭ ‬‭multi-user‬‭operating‬‭system‬‭is‬‭an‬‭operating‬‭system‬‭that‬‭permits‬‭several‬‭users‬‭to‬‭access‬‭a‬
A
‭single‬ ‭system‬ ‭running‬ ‭to‬ ‭a‬ ‭single‬ ‭operating‬ ‭system.‬ ‭These‬ ‭systems‬ ‭are‬ ‭frequently‬ ‭quite‬
‭complex,‬‭and‬‭they‬‭must‬‭manage‬‭the‬‭tasks‬‭that‬‭the‬‭various‬‭users‬‭connected‬‭to‬‭them‬‭require.‬
‭Users‬‭will‬‭usually‬‭sit‬‭at‬‭terminals‬‭or‬‭computers‬‭connected‬‭to‬‭the‬‭system‬‭via‬‭a‬‭network‬‭and‬
‭other‬‭system‬‭machines‬‭like‬‭printers.‬‭A‬‭multi-user‬‭operating‬‭system‬‭varies‬‭from‬‭a‬‭connected‬
‭single-user‬ ‭operating‬ ‭system‬ ‭in‬ ‭that‬ ‭each‬ ‭user‬ ‭accesses‬ ‭the‬‭same‬‭operating‬‭system‬‭from‬
‭different machines.‬

‭ he‬‭main‬‭goal‬‭of‬‭developing‬‭a‬‭multi-user‬‭operating‬‭system‬‭is‬‭to‬‭use‬‭it‬‭for‬‭time-sharing‬‭and‬
T
‭batch‬‭processing‬‭on‬‭mainframe‬‭systems.‬‭This‬‭multi-user‬‭operating‬‭system‬‭is‬‭now‬‭often‬‭used‬
‭in‬‭large‬‭organizations,‬‭the‬‭government‬‭sector,‬‭educational‬‭institutions‬‭like‬‭large‬‭universities,‬
‭and‬‭on‬‭servers'‬‭side‬‭such‬‭as‬‭Ubuntu‬‭Server‬‭or‬‭Windows‬‭Server.‬‭These‬‭servers‬‭allow‬‭several‬
‭users to access the operating system, kernel, and hardware at the‬‭same time.‬

‭Advantages‬

‭It is highly productive as it performs multiple tasks at a time.‬

I‭ t is time saving as we don’t have to make changes in many desktops, instead can make‬
‭changes only to the server.‬

‭Disadvantages‬

‭If the connection to the server is broken, the user cannot perform any task on the client as‬
‭it is connected to that server.‬

‭Multithreading Operating System‬

‭ ultitasking‬ ‭is‬ ‭of‬ ‭two‬ ‭types:‬ ‭Processor‬ ‭based‬ ‭and‬ ‭thread‬ ‭based.‬ ‭Processor‬ ‭based‬
M
‭multitasking‬‭is‬‭totally‬‭managed‬‭by‬‭the‬‭OS,‬‭however‬‭multitasking‬‭through‬‭multithreading‬‭can‬
‭be controlled by the programmer to some extent. The concept of multithreading‬
‭needs‬ ‭proper‬ ‭understanding‬ ‭of‬ ‭these‬ ‭two‬ ‭terms‬ ‭–‬ ‭a‬ ‭process‬‭and‬‭a‬‭thread.‬‭A‬‭process‬‭is‬‭a‬
‭p‬‭rogram‬‭being‬‭executed.‬‭A‬‭process‬‭can‬‭be‬‭further‬‭divided‬‭into‬‭independent‬‭units‬‭known‬‭as‬
‭threads.‬ ‭A‬ ‭thread‬ ‭is‬ ‭like‬ ‭a‬ ‭small‬ ‭light-weight‬ ‭process‬ ‭within‬ ‭a‬ ‭process.‬ ‭Or‬‭we‬‭can‬‭say‬‭a‬
‭collection of threads is what is known as a process.‬

‭Advantages‬

‭ ‬‭Threads minimize the context switching time.‬



‭●‬‭Use of threads provides concurrency within a process.‬
‭●‬‭Efficient communication.‬
‭●‬‭It is more economical to create and context switch‬‭threads.‬
‭●‬‭Threads allow utilization of multiprocessor architectures‬‭to a greater scale and‬
‭efficiency.‬

‭Disadvantages‬

‭ ultithreading is complex and many times difficult to handle. It has a few drawbacks.‬‭These‬
M
‭are:‬

‭●‬ ‭If‬‭you‬‭don’t‬‭make‬‭use‬‭of‬‭the‬‭locking‬‭mechanisms‬‭properly,‬‭while‬‭investigating‬
‭data‬‭access‬‭issues‬‭there‬‭is‬‭a‬‭chance‬‭of‬‭problems‬‭arising‬‭like‬‭data‬‭inconsistency‬
‭and dead-lock.‬
‭●‬‭If many threads try to access the same data, then‬‭there is a chance that the‬
‭situation of thread starvation may arise.‬
‭●‬‭Display issues may occur if threads lack coordination‬‭when displaying data.‬

‭Virus‬

‭ computer virus is a type of malicious software, or malware, that spreads between‬


A
‭computers and causes damage to data and software.‬

‭ omputer‬‭viruses‬‭aim‬‭to‬‭disrupt‬‭systems,‬‭cause‬‭major‬‭operational‬‭issues,‬‭and‬‭result‬‭in‬‭data‬
C
‭loss‬‭and‬‭leakage.‬‭A‬‭key‬‭thing‬‭to‬‭know‬‭about‬‭computer‬‭viruses‬‭is‬‭that‬‭they‬‭are‬‭designed‬‭to‬
s‭ pread‬ ‭across‬ ‭programs‬ ‭and‬ ‭systems.‬ ‭Computer‬ ‭viruses‬ ‭typically‬ ‭attach‬‭to‬‭an‬‭executable‬
‭host‬‭file,‬‭which‬‭results‬‭in‬‭their‬‭viral‬‭codes‬‭executing‬‭when‬‭a‬‭file‬‭is‬‭opened.‬‭The‬‭code‬‭then‬
‭spreads‬‭from‬‭the‬‭document‬‭or‬‭software‬‭it‬‭is‬‭attached‬‭to‬‭via‬‭networks,‬‭drives,‬‭file-sharing‬
‭programs, or infected email attachments.‬

‭Types of Computer Virus‬


‭Discussed below are the different types of computer viruses:‬
‭●‬‭Boot‬‭Sector‬‭Virus‬‭–‬‭It‬‭is‬‭a‬‭type‬‭of‬‭virus‬‭that‬‭infects‬‭the‬‭boot‬‭sector‬‭of‬‭floppy‬‭disks‬
‭or‬‭the‬‭Master‬‭Boot‬‭Record‬‭(MBR)‬‭of‬‭hard‬‭disks.‬‭The‬‭Boot‬‭sector‬‭comprises‬‭all‬‭the‬
‭files‬ ‭which‬ ‭are‬ ‭required‬ ‭to‬ ‭start‬ ‭the‬ ‭Operating‬‭system‬‭of‬‭the‬‭computer.‬‭The‬‭virus‬
‭either overwrites the existing program or copies itself to another part of the disk.‬
‭●‬‭Direct‬‭Action‬‭Virus‬‭–‬‭When‬‭a‬‭virus‬‭attaches‬‭itself‬‭directly‬‭to‬‭a‬‭.exe‬‭or‬‭.com‬‭file‬‭and‬
‭enters‬ ‭the‬ ‭device‬ ‭while‬ ‭its‬ ‭execution‬ ‭is‬ ‭called‬ ‭a‬ ‭Direct‬ ‭Action‬ ‭Virus.‬ ‭If‬ ‭it‬ ‭gets‬
‭installed‬ ‭in‬ ‭the‬ ‭memory,‬ ‭it‬ ‭keeps‬ ‭itself‬ ‭hidden.‬ ‭It‬ ‭is‬ ‭also‬ ‭known‬‭as‬‭Non-Resident‬
‭Virus.‬
‭●‬‭Resident‬‭Virus‬‭–‬‭A‬‭virus‬‭which‬‭saves‬‭itself‬‭in‬‭the‬‭memory‬‭of‬‭the‬‭computer‬‭and‬‭then‬
‭infects‬‭other‬‭files‬‭and‬‭programs‬‭when‬‭its‬‭originating‬‭program‬‭is‬‭no‬‭longer‬‭working.‬
‭This‬‭virus‬‭can‬‭easily‬‭infect‬‭other‬‭files‬‭because‬‭it‬‭is‬‭hidden‬‭in‬‭the‬‭memory‬‭and‬‭is‬‭hard‬
‭to be removed from the system.‬
‭●‬ ‭Multipartite‬ ‭Virus‬ ‭–‬ ‭A‬ ‭virus‬ ‭which‬ ‭can‬ ‭attack‬ ‭both‬ ‭the‬ ‭boot‬ ‭sector‬ ‭and‬ ‭the‬
‭executable‬ ‭files‬‭of‬‭an‬‭already‬‭infected‬‭computer‬‭is‬‭called‬‭a‬‭multipartite‬‭virus.‬‭If‬‭a‬
‭multipartite virus attacks your system, you are at risk of cyber threat.‬
‭●‬ ‭Overwrite‬ ‭Virus‬ ‭–‬ ‭One‬ ‭of‬ ‭the‬ ‭most‬ ‭harmful‬ ‭viruses,‬ ‭the‬ ‭overwrite‬ ‭virus‬ ‭can‬
‭completely‬‭remove‬‭the‬‭existing‬‭program‬‭and‬‭replace‬‭it‬‭with‬‭the‬‭malicious‬‭code‬‭by‬
‭overwriting‬‭it.‬‭Gradually‬‭it‬‭can‬‭completely‬‭replace‬‭the‬‭host’s‬‭programming‬‭code‬‭with‬
‭the harmful code.‬
‭●‬ ‭Polymorphic‬‭Virus‬‭–‬‭Spread‬‭through‬‭spam‬‭and‬‭infected‬‭websites,‬‭the‬‭polymorphic‬
‭virus‬ ‭are‬ ‭file‬ ‭infectors‬ ‭which‬ ‭are‬ ‭complex‬ ‭and‬ ‭are‬ ‭tough‬ ‭to‬‭detect.‬‭They‬‭create‬‭a‬
‭modified‬ ‭or‬ ‭morphed‬ ‭version‬ ‭of‬ ‭the‬ ‭existing‬ ‭program‬ ‭and‬ ‭infect‬ ‭the‬ ‭system‬ ‭and‬
‭retain the original code.‬
‭●‬‭File‬‭Infector‬‭Virus‬‭–‬‭As‬‭the‬‭name‬‭suggests,‬‭it‬‭first‬‭infects‬‭a‬‭single‬‭file‬‭and‬‭then‬‭later‬
‭spreads‬‭itself‬‭to‬‭other‬‭executable‬‭files‬‭and‬‭programs.‬‭The‬‭main‬‭source‬‭of‬‭this‬‭virus‬
‭are games and word processors.‬
‭●‬‭Spacefiller‬‭Virus‬‭–‬‭It‬‭is‬‭a‬‭rare‬‭type‬‭of‬‭virus‬‭which‬‭fills‬‭in‬‭the‬‭empty‬‭spaces‬‭of‬‭a‬‭file‬
‭with‬‭viruses.‬‭It‬‭is‬‭known‬‭as‬‭cavity‬‭virus.‬‭It‬‭will‬‭neither‬‭affect‬‭the‬‭size‬‭of‬‭the‬‭file‬‭nor‬
‭can be detected easily.‬
‭●‬ ‭Macro‬‭Virus‬‭–‬‭A‬‭virus‬‭written‬‭in‬‭the‬‭same‬‭macro‬‭language‬‭as‬‭used‬‭in‬‭the‬‭software‬
‭program‬ ‭and‬ ‭infects‬ ‭the‬ ‭computer‬ ‭if‬ ‭a‬ ‭word‬ ‭processor‬ ‭file‬‭is‬‭opened.‬‭Mainly‬‭the‬
‭source of such viruses is via emails.‬
‭Characteristics of Virus‬
‭1.‬‭Spread:‬‭Computer viruses spread from one system‬‭to another through storage‬
‭devices, networks, or email.‬
‭2.‬‭Infection:‬‭Once a virus infects a system, it can‬‭begin to perform harmful actions,‬
‭such as stealing information or disrupting the operation of the computer.‬‭3.‬
‭Concealment:‬‭Many viruses are able to hide in the‬‭operating system and avoid‬
‭detection by antivirus programs.‬
‭4.‬‭Modification:‬‭Some viruses can modify the code‬‭of other files or programs,‬‭which‬
‭can cause errors or system crashes.‬
‭5.‬‭Data Loss:‬‭Some viruses are designed to delete‬‭or corrupt information stored on‬‭the‬
‭system.‬
‭6.‬‭Theft of Personal Information:‬‭Some viruses can‬‭capture personal information‬‭such‬
‭as passwords, credit card numbers, or other sensitive information.‬‭7.‬‭Decreased‬
‭Computer Performance:‬‭Some viruses consume system‬‭resources‬‭and slow down the‬
‭performance of the computer.‬
‭8.‬‭Spam:‬‭Some viruses use infected systems to send‬‭junk mail or spam to other‬‭users.‬
‭9.‬‭Extortion:‬‭Some viruses encrypt the user's files‬‭and demand a ransom to unlock‬
‭them, known as ransomware.‬

‭Antivirus Software‬
‭ ntivirus‬‭software‬‭is‬‭a‬‭program‬‭that‬‭searches‬‭for,‬‭detects,‬‭prevents,‬‭and‬‭removes‬‭software‬
A
‭infections‬ ‭that‬ ‭can‬ ‭harm‬ ‭your‬ ‭computer.‬ ‭Antivirus‬ ‭can‬ ‭also‬ ‭detect‬ ‭and‬ ‭remove‬ ‭other‬
‭dangerous‬‭software‬‭such‬‭as‬‭worms,‬‭adware,‬‭and‬‭other‬‭dangers.‬‭This‬‭software‬‭is‬‭intended‬‭to‬
‭be‬‭used‬‭as‬‭a‬‭preventative‬‭measure‬‭against‬‭cyber‬‭dangers,‬‭keeping‬‭them‬‭from‬‭entering‬‭your‬
‭computer‬‭and‬‭causing‬‭problems.‬‭Antivirus‬‭is‬‭available‬‭for‬‭free‬‭as‬‭well.‬‭Anti-virus‬‭software‬
‭that‬‭is‬‭available‬‭for‬‭free‬‭only‬‭provides‬‭limited‬‭virus‬‭protection,‬‭whereas‬‭p‬‭remium‬‭anti-virus‬
‭software offers more effective security. For example Avast,‬‭Kaspersky, etc.‬

You might also like