CIT-Module 2
CIT-Module 2
3
1.Application software.
2.System software.
Application Software
A set of programs used to solve particular problems of user through
computer is called Application software. It is also known as
application package. The ready packages are also available in market
on CDs for various purposes. These are used by user who does not
know the computer programming. The users solve their problems by
using ready packages more easily and quickly.
System Software
• The operating system and utility programs are the two major
categories of system software. Just as the processor is the nucleus of
the computer system, the operating system is the nucleus of all
software activity.
• The operating system is the most important program that runs on a
computer. Every general-purpose computer must have an operating
system to run other programs. Operating systems perform basic tasks,
such as
5
1. Recognizing input from the keyboard
2. Sending output to the display screen
3. Keeping track of files and directories on the disk
4. Controlling peripheral devices such as disk drives and printers.
6
System Software
• It is the first program loaded into memory when the computer is
turned on and, in a sense, brings life to the computer hardware.
Without it, you cannot use your word processing software,
spreadsheet software, or any other applications.
System Software
• Utility programs help manage, maintain andcontrol computer
resources. These programs are available to help you with the day-
today chores associated with personal computing and to keep your
system running at peak performance.
• Some examples of utility programs include:
• Virus scanning software
• Backup software
8
• Scandisk
• Disk defragmenter
System Software
• Backup software is software that assists you in backing up your files
and even the entire computer hard drive.
9
• Scandisk is a utility provided with Windows computers. Scandisk
scans your disks to see if there are any potential problems on the disk,
such as bad disk areas.
Computer Hardware
The physical parts of a computer are known as computer hardware
You can touch, see and feel the hardware. The hardware consists of
10
electronic circuits and mechanical equipment etc. used to perform
various functions in the computer.
1.Input devices
2.Output devices
3.Central Processing Unit (CPU)
4.Memory unit
5.Storage devices
Input and Input Devices
Input is any data or instructions entered into the computer in the form
of signals. The input into the computer can be entered:
11
• Through keyboard (by typing characters).
• By selecting commands (icons) on the screen and then clicking with
mouse.
• By pressing finger on a touch screen.
• By speaking into a microphone.
• By scanning data printed on paper through scanner etc.
• Therefore, the devices that are used to enter data and instructions or
commands into the computer are called input devices or units. The
input devices are the eyes and ears of computers. In old computers
the punched card readers, paper tape readers were used as input
devices.
Input Devices
Now-a-days, the commonly used input devices are:
12
• Keyboard
• Mouse
• Scanner
• Microphone
• Digital Camera
• Optical Bar Code Reader
• Optical mark recognition (OMR)
• Touch Screen
• Joystick
• Magnetic Ink Character Recognition (MICR)
It must be noted that floppy drives, hard disks and CD drives are
used for both input and output devices.
13
Input Devices
• Keyboard : The keyboard is still the commonest way of entering
information into a Computer.
• Mouse : A pointing device is any human interface device that
allows a user to input spatial data to a computer .
• Scanners : A scanner allows you to scan printed material and
convert it into a file format that may be used within the PC.
• Microphone : Microphone is an input device used to enter the
sound signals of user into the computer. It is used to record the
voice of the user in a computer. It is also used to talk to others on
the Internet. The user talks to another user on the Internet by
14
sending his message through the microphone and receives the
response on the speaker attached to the computer. For this
purpose you must have the microphone and a sound card with
your computer
Input Devices
• Digital Camera : Digital Camera is an input device used to take
pictures and to store directly in computer in digital form. It
operates on the same basic principle as a traditional or
conventional camera but digital camera sends images directly
inside the PC in digital form instead of storing it on a conventional
film. When a picture is taken with digital camera, the electric
image of the picture is stored in digital form on the floppy disk or
15
CD-R attached with the camera. The stored picture can be loaded
into the computer from the disk for editing.
• Optical Bar Code Reader (OBR) : Data coded in the form of
small vertical lines forms the basis of bar coding. Alphanumeric
data is represented using adjacent vertical lines called Bar Codes.
These are of varying widths and spacing between them used to
uniquely identify books, merchandise in stores, postal packages
etc.
Input Devices
• Optical mark recognition (OMR) : OMR devices can sense
marks on computer readable paper. This kind of device is typically
used by academic institutions to grade aptitude tests whether
candidates need to mark the correct option from a number of
16
alternatives , on a special sheet of paper. These answer sheets can
then be directly read by the optical mark recognition devices and
can be used for further processing by the computer.
• Touch Screen : The touch screen can detect exactly where on its
surface it has been touched. Touch screen are used in lot of fast
food and restaurants because they are easy to keep clean reprogram
if changes need to be made to menu.
Input Devices
• Joysticks: The main function of joysticks is to play computer
games by controlling the way that something moves on the
screen. Joysticks can be used to control movement from side
by side, up and down and diagonally.
17
• Magnetic Ink Character Recognition (MICR) : is similar to
optical mark recognition and is used exclusively by the bank
industry. MICR devices are used by the banking Industry to
read the account numbers on cheques directly and
subsequently do the necessary processing
18
Output and Output Devices
The processed input data into a useful form is called output when input
data is processed, computer generates several types of output,
depending upon the hardware and software used and the requirements
of the user. The user use output on a screen, prints it on the printer or
hear it through speakers or head sets.
OUTPUT DEVICES
• Monitors: The monitor is a popular and most commonly used output
device. The monitor consists of a screen and the electronic
components that produce the output on the screen for a temporary
20
period. The output received on the screen is called softcopy. Most
monitors used in personal computers display text, graphics and video
information.
• Plotters: A plotter is a special output device used to produce
hardcopies of graphs and designs on the paper. A plotter is typically
used to print large-format graphs or maps such as construction maps
or engineering drawings.
OUTPUT DEVICES
• Speaker : A speaker gives you sound output from your
computer. Some speakers are built into the computer and some are
separate.
21
• Printers: These are most commonly used output devices used to
get prints of documents on the paper. The output printed on the
paper is called hard copy. The hard copy is also called as print out.
22
Printer
Impact Printers : An Impact printer prints characters and graphics on
the paper with the strikes of hammer on a ribbon. A simple example
of an impact printer is typewriter, which uses small hammers to strike
the ribbon. Each hammer is embossed with the shape of alphanumeric
character that shape is printed on the paper through inked ribbon.
There are many types of impact printers but the most popular and
commonly used is the dot matrix printer.
24
Non-Impact Printers
• Inkjet Printers : are called Non-Impact printers because they print
by spraying ink on the paper. Being of non-impact type, they
cannot be used to produce multiple copies of a document in a single
printing.
25
white Laser printers. The higher the resolution and speed the more
expensive the printer.
26
Operating System
An Operating System (OS) is
a software that acts as an
interface between computer
hardware components and the
user.
27
Applications like Browsers, MS Office, Notepad Games, etc., need some
environmentto run and perform its tasks.
History Of OS
• Operating systems were first developed in the late 1950s to
manage tape storage.
• The General Motors Research Lab implemented the first OS in
the early 1950s for their IBM 701.
• In the mid-1960s, operating systems started to use disks.
• In the late 1960s, the first version of the Unix OS was developed.
• The first OS built by Microsoft was DOS. It was built in 1981 by
purchasing the 86-DOS software from a Seattle company.
28
• The present-day popular OS Windows first came to existence in
1985 when a GUI was created and paired with MS-DOS.
Examples of Operating System with
Market Share
29
30
Memory Management
• The operating system manages the Primary Memory or Main Memory.
Main memory is fast storage and it can be accessed directly by the CPU.
For a program to be executed, it should be first loaded in the main
memory. An Operating System performs the following activities for
memory management:
• It keeps track of primary memory, i.e., which bytes of memory are used by
which user program. The memory addresses that have already been
allocated and the memory addresses of the memory that has not yet been
used. In multiprogramming, the OS decides the order in which processes
are granted access to memory, and for how long. It Allocates the memory
to a process when the process requests it and deallocates the memory
when the process has terminated or is performing an I/O operation.
32
Processor Management
• In a multi-programming environment, the OS decides the
order in which processes have access to the processor, and
how much processing time each process has.
34
– Allocates devices in an effective and efficient
way.
Deallocates devices when they are no longer required.
File Management
A file systemis organized into
directories for efficient or easy
navigation and usage. These
directories may contain other
directories and other files. An
Operating System carries out the
following file management
activities.
35
– It keeps track of where information is stored, user access settings and
status of every file, and more…
– These facilities are collectively known as the file system.
37
Multitasking/Time Sharing OS
• Time-sharing operating system enables people located at a
different terminal (shell) to use a single computer system at
the same time. The processor time (CPU) which is shared
among multiple users is termed as time sharing.
38
Multiprocessing OS
• Multiprocessing is the use of two or more CPUs (processors) within a single
Computer system. The term also refers to the ability of a system to
support more than one processor within a single computer system. Now
since there are multiple processors available, multiple processes can be
39
executed at a time. These multi processors share the computer bus,
sometimes the clock, memory and peripheral devices also.
Real Time OS
• When a computing device must interact with the real
world within constant and repeatable time
40
constraints, the device manufacturer may opt to use
a real-time operating system.
• In these systems, the time interval for processing
and responding to inputs is very small. Therefore,
due to this quality, these are used in real-time
situations. For example in missile systems, robots,
etc.
• An RTOS must function without buffering, processing
latencies and other delays, which are perfectly
acceptable in other types of operating systems.
41
Distributed OS
• In this system, there is more than one CPU present. The OS
distributes the tasks among all the processors. The processors
do not share any memory or clock time. OS handles all
communication between them through various
communication lines.
42
Network OS
• In these OS various
systems are connected
to a server. It allows the
system to share
resources such as files,
printers, applications,
etc. Moreover, it gives
the capability to serve to
manage these resources.
43
• Examples are UNIX, LINUX, Microsoft Windows Server 2008,
etc.
Mobile OS
• Mobile OS are designed to accommodate the unique needs of mobile
computing and communication-centric devices, such as smartphones and
tablets. Mobile devices typically offer limited computing resources
compared to traditional PCs, and the OS must be scaled back in size and
complexity in order to minimize its own resource use, while ensuring
adequate resources for one or more applications running on the device.
44
FEW TERMS
• Multiprogramming – Multiprogramming is known as
keeping multiple programs in the main memory at
the same time ready for execution.
45
• Multiprocessing – A computer using more than one
CPU at a time.
• Multitasking – Multitasking is nothing but
multiprogramming with a Round-robin scheduling
algorithm.
• Multithreading is an extension of multitasking
Multi programming
• In a modern computing system, there are usually several concurrent
application processes which want to execute. Now it is the responsibility
of the Operating System to manage all the processes effectively and
efficiently. Now the main memory is too small to accommodate all of
these processes or jobs into it. Thus, these processes are initially kept in
46
an area called job pool. This job pool consists of all those processes
awaiting allocation of main memory and CPU. CPU selects one job out of
all these waiting jobs, brings it from the job pool to main memory and
starts executing it.
Multiprocessing
• In a uni-processor system, only one process executes at a time.
Multiprocessing is the use of two or more CPUs (processors) within a
single Computer system. Now since there are multiple processors
47
available, multiple processes can be executed at a time. These multi
processors share the computer bus, sometimes the clock, memory and
peripheral devices also.
• With the help of multiprocessing, many processes can be executed
simultaneously. Say processes P1, P2, P3 and P4 are waiting for execution.
Now in a single processor system, firstly one process will execute, then the
other, then the other and so on.
• But with multiprocessing, each process can be assigned to a different
processor for its execution. If its a dual-core processor (2 processors), two
processes can be executed simultaneously and thus will be two times
faster, similarly a quad core processor will be four times as fast as a single
processor.
49
Multitasking
• As the name itself suggests, multi
tasking refers to execution of
multiple tasks (say processes,
programs, threads etc.) at a time.
• Multitasking is a logical
extension of multi
programming. The major way in
which multitasking differs from
multiprogramming is that
multiprogramming works
solely on the concept of
context switching whereas
50
multitasking is based on time sharing alongside the concept of context
switching.
Multi threading
• Multithreading is the ability of a program or an operating
system to enable more than one user at a time without
requiring multiple copies of the program running on the
computer.
51
52
Computer Virus
A computer virus is a malicious application or
authored code used to perform
destructive activity on a device or local
network.
54
Many viruses pretend to be legitimate programs to trick users into
executing them on their device, delivering the computer virus payload.
Malware attacks worldwide from 2015 to first half 2022
55
https://www.statista.com/statistics/873097/malware-attacks-per-year-worldwide/ .
56
Boot Sector Virus
• Your computer drive has a sector solely responsible
for pointing to the operating system so that it can
boot into the interface.
• A boot sector virus damages or controls the boot
sector on the drive, rendering the machine unusable.
• Attackers will usually spread this virus type using a
malicious USB device.
• The virus is activated when users plug in the USB
device and boot their machine.
57
Web Scripting Virus
• Most browsers have defenses against malicious web scripts,
but older, unsupported browsers have vulnerabilities that
allow an attacker to run code on the local device.
Browser Hijacker
• A virus that can change the settings on your browser will hijack
browser favorites, the home page URL, your search
preferences and redirect you to a malicious site. The site
could be a phishing site or an adware page used to steal data
or make money for the attacker.
58
Resident Virus
• A virus that can access computer memory and sit dormant until
a payload is delivered is considered a resident virus. This
malware may stay dormant until a specific date, time, or a
user performs an action.
60
What Is a Computer Worm?
• A computer worm is malware, just like a virus, but a worm
takes a copy of itself and propagates it to other users. Worms
can also deliver a payload and exhaust resources.
61
• Email worms exhaust storage space and spread very quickly
across the internet, so they create issues differently than a
virus.
62
• Unknown programs start when the computer boots or when you open
specific programs.
• Passwords change without your knowledge or your interaction on the
account.
Task
• https://purplesec.us/resources/cybersecurity-
statistics/
64