XI-computer Notes Chapter 1
XI-computer Notes Chapter 1
MCQs
1. Desktop and personal computers are also known as.
a) Microcomputer
b) Supercomputer
c) Mainframe computer
d) Peripheral equipment
2. What does a dumb terminal consists of?
a) Microprocessor and monitor
b) Keyboard and printer
c) Keyboard and monitor
d) Keyboard and microprocessor
3. A bar-code reader is an example of a
a) Processing device
b) Storage device
c) Input device
d) Output device
4. The central processing unit is an example of
a) Software
b) Program
c) Hardware
d) Output unit
5. Which part of CPU performs all arithmetic and logic calculations on data it receives?
a) Control unit
b) Main memory unit
c) ALU
d) Read only memory
6. Which of the following can be output by a computer?
a) Graphics and text
b) Voice
c) Computer usable information
d) All of the above
7. Printers and screens are common forms of
a) Input units
b) Output units
c) Storage units
d) Processing units
8. An example of peripheral equipment is the
a) CPU
b) Spreadsheet
c) Printer
d) Microprocessor
9. A monitor looks like a television set but it does not
a) Give a steady picture
b) Receive television signals
c) Give a clear picture
d) Display graphics
10. Main problem with LCD is that they are difficult to read
a) Directly
b) In bright light
c) In dull light
d) Both (b) and (c)
11. It is a non-impact printer that can produce very high quality letter printing
a) Daisy wheel printer
b) Chain printer
c) Laser printer
d) Dot matrix printer
12. Name the printer which prints all the A’s in line before all the B’s
a) Inkjet printer
b) Chain printer
c) Laser printer
d) Thermal printer
13. The advantage of the laser printer is that
a) It is very slow
b) The output is of inferior quality
c) It cannot produce a wide range of type fonts
d) None of the above
14. Large computer systems typically use
a) Dot matrix printers
b) Inkjet printers
c) Chain printers
d) All of the above
15. To produce high quality graphics in color one would like to use
a) Plotter
b) Inkjet printers
c) Laser printer
d) All of the above
16. A microfilm roll is
a) 35 mm photographic film
b) Not perforated
c) Used to hold voluminous data
d) All of the above
17. The advantages of magnetic tape include all of he following except.
a) Low cost
b) Direct access storage medium
c) Highly reliable
d) Compact and portable
18. Laser beam technology is used for
a) Terminal
b) Optical disks
c) Keyboard
d) Magnetic tape
19. ASCII is the abbreviation of
a) Application software code for information interchange
b) American standard code for information interchange
c) American system code for information interchange
d) American symbolic code for information interchange
20. ROM is the abbreviation of
a) Read only memory
b) Random only memory
c) Read on memory
d) All of the above
21. The memory that remains unaffected when the power is switched off is
a) ROM
b) RAM
c) Cache memory
d) Video memory
22. A group of 4 bits is called a
a) Byte
b) Word
c) Nibble
d) All of the above
23. Step by step instructions that run the computer are
a) Hardware
b) Documents
c) CPUs
d) Software
24. A software that enables users and applications to interact with the computer hardware is
called
a) Operating system
b) Application software
c) Client software
d) Database management system
25. A source program is a
a) Program written in machine language
b) Program written in a high level language
c) Program required to run a computer
d) None of the above
26. Once a program has been translated into the machine language, it is called
a) System program
b) Logical program
c) Object program
d) Application program
27. Machine language is a language
a) Understood directly by a computer
b) Needs to be translated before computer can understand it
c) In which programs were written firs
d) Which is machine independent
28. Assembly language
a) Use mnemonics
b) Needs no translation into machine language
c) Use binary numbers only
d) None of the above
29. High level languages are similar to
a) Machine language
b) Assembly Language
c) English along with mathematical symbols
d) None of the above
30. The high level language F|ORTRAN is generally used for
a) Business applications
b) General purpose applications
c) Scientific applications
d) Process control
31. Which of the following language is most efficient
a) Assembly language
b) High level language
c) Machine language
d) All are equally efficient
32. Which one of the following is not a visual IDE
a) Delphi
b) Visual C++
c) Visual Java
d) COBOL
33. A compiler is a
a) Part of a computer
b) Program to convert a high level language into machine language
c) Source program
d) Object program
34. In computer terminology an assembler means
a) A person who assembles the computer parts
b) A hardware unit of a computer
c) A program
d) A language
Pointing Devices (Mouse and its variants):A pointing device is an input device. It is used to
control the movement of the pointer or cursor on the screen. It can also be used for sending
command signals to the computer, selecting items on the screen, selecting commands from
commands menu. Using a pointing device, we can point at or manipulate any object or text on
the screen. For example, using a pointing device you could point at and select an icon from a list
of icons.
It includes mouse, joystick, track ball and track pad.
Mouse:-Mouse is the most commonly used pointing input device. It is used to control the cursor
or pointer on the screen. It is designed to be used on a flat surface and generally has left and right
button and a scroll wheel between them. The mouse is attached with the computer by a cable or
wireless connection. Mouse is used to open, close, drag and drop files, icons on a computer.
There are two types of mouse.
Mechanical Mouse: It has a small ball at the bottom. The ball rotates as the mouse is
rolled over a flat surface. As the mouse is rolled over the flat surface, the pointer moves
in the same direction on the screen.
Optical Mouse: It has no ball at the bottom. It uses the laser technology to detect the
mouse movement. Nowadays, it is commonly used in personal computers (PCs).
Trackball Mouse: It performs functions like a mouse but it is a stationary device. It has
moveable ball on its top. The ball is rotated or rolled with fingers or palm to move the pointer on
the screen. Like mouse, a trackball also has buttons used to send the commands to computer. The
trackball is usually available in laptop computer. It is fixed on its keyboard. It is also available as
separate input device.
Joystick: A joystick is an input device and also called pointing device it is commonly used to
control video games. Joysticks consist of a base and a stick that can be moved in any direction
right, left, up and down. The stick can be moved slowly or quickly and in different amounts.
Joysticks typically connect to your computer using a basic USB or serial port connection
Touch screen:-A touch screen is an electronic visual display that can detect the presence and
location of a touch (usually by a finger or hand) within the display area. A touch screen is a
display device that allows users to interact with a computer using their finger or stylus.
Light Pen:- The light pen consists of a light sensitive pen-like device that enters commands into
a special display screen when the user touches the screen with the pen. The tip of pen contains a
light-sensitive element. This device also contains a button. Light pens are frequently used by
illustrators, graphic designers, and drafting engineers.
Digitizing Tablet:- A digitizer tablet, also known as a graphics tablet or drawing tablet, it is an
input device used by artists, designers, and engineers, it consists of a flat surface and a stylus or
pen-like instrument that is used to draw images, animations, graphics, sketches, and handwritten
signature or notes on the flat drawing surface of digitizing tablet. The device captures the
movements and pressure applied by the stylus and converted them into digital form that is
processed by the computer. It is covered by a grid of tiny wires and connected by cable to the
computer.
Pen-based computers: pen based computer, that uses software to enable to accept handwriting
or drawing as a form of input. A stylus
contains special electronic circuitry, is used to write on the
Computer-display or on a separate tablet, which then interpreted the hand writing and displays
the result on the screen in printed form.
Q10. What is CPU? Define its role and define its components.
Ans. Central Process Unit (CPU):-Central Process Unit (CPU) is also called Microprocessor.
CPU is the brain of computer. It is made up of silicon containing millions of tiny
transistors, these transistors manipulate data. It fetches data from RAM, decodes it and executes
data, all the calculations are done in this section with high speed and accuracy. The speed is
measured in Hz. It also produces the address bit needed by memory. It consists of an
arithmetic and logic unit (ALU), a control unit (CU), various registers, clock and
cache memory.
Control Unit: The Control Unit, controls, directs and coordinates of all parts of the computer
like input, output, memory, and ALU units to perform operations/tasks. It manages the flow of
instructions and data between various components and makes sure that data or instructions are
moved properly among different components. It acts like traffic police. The Control Unit does
not execute the instructions. It Fetches instructions from RAM, decodes instructions to determine
what operation to be performed, if required arithmetic and logic operations it sends to ALU and
Controlling and coordinating the execution of instructions
Arithmetic Logic Unit: ALU stands for the Arithmetic and Logic Unit. This unit is responsible
for mathematical, logical, and decision operations. This unit is divided into two main parts or
groups of functions. The arithmetic portion performs the mathematical operations including
addition, subtraction, multiplication, and division. The logic portion performs operations
comparing, selecting, matching, and merging data and information.
Clock: The clock refers to a microchip that regulates the timing and speed of all computer
functions. Clock generates pulses and instructions are executed on the basis of pulses. Clock
speed is measure in MHz and GHz.
Registers: CPU contains registers, registers are temporary holding area, they are small in size
and hold only few bytes at a time. The size of register determines how many bits can be
processed at once by CPU it may be 16 bits, 32 bits and 64 bits. The registers are used to quickly
transfer data and instructions that are being used immediately by the CPU. They assist ALU and
CU in different operations
Cache: Cache is an intermediate storage area, which is available inside microprocessor or on
motherboard. The immediate processed information is stored in cache, the operations of a CPU
is much faster and RAM is much slower than the CPU. It reduces the time required to fetch a
small amount of data, instead of fetching data from RAM, the CPU fetches data from the cache
memory. It also stores data temporarily.
Q12. Define bit, byte, kilobyte, megabyte, gigabyte, terabyte and word.
BIT:-Bit is short for 'binary digit.' It's a single digit in a binary number, and it can be either 1 or
0.
Inside a computer, which can be either switched ON or OFF.
BYTE:-The byte is a unit of digital information that most commonly consists of eight bits.
KILOBYTE:- Kilobyte is equal to 1024 bytes. Thus, the memory of a 640K can store
640X1024 or 655360 bytes.
MEGABYTE:- A Megabyte is equal to 1024 KB or 1048576 bytes.
GIGABYTE:- A Gigabyte is equal to 1024 MB or 1073241824 bytes.
TERABYTE:- A Terabyte is equal to 1024 GB or 1009511627776 bytes.
WORD:-Word size" refers to the number of bits processed by a computer's CPU in one go (these
days, typically 32 bits or 64 bits). Data bus size, instruction size, address size are usually
multiples of the word size.
Volatile memory is the type of memory in which Non-volatile memory is the type of memory
data is lost as it is powered-off. in which data remains stored even if it is
powered-off.
The data in volatile memory is not permanent. The data in volatile memory is permanent.
Volatile memory has a high impact on the Non-Volatile memory has no impact on the
performance of the system. performance of the system.
In volatile memory, both read and write operations In non-volatile memory, only a read operation
can be performed. can be performed.
The chips of volatile memory are kept in the memory While chips of the non-volatile memory are
slot. embedded on the motherboard.
In volatile memory, the processor has direct access to In non-volatile memory, the processor does not
data. have direct access to data.
Q30. What is meant by primary and secondary storage/memory? Define their types
Primary Storage Devices:-Primary storage devices are used by computer during processing.
They are quite smaller in storage capacity than secondary devices. Most primary storage devices
are found inside the computer and they have the fastest access to data. Primary storages devices
are temporary or volatile, they hold data when the power is on and they lost data when the power
is off. It is generally made up of semiconductor device. The data and instruction are received
from input unit or secondary unit resides in the main memory or primary memory which is
required to be processed by the processor. It is divided into two subcategories RAM and ROM.
Types of Primary Memory:-
RAM and ROM are already discussed
Secondary Storage Devices:-This type of secondary storage devices is known as external
devices or non-volatile. Secondary storage devices have a larger storage capacity than primary
storage devices and store data permanently. Users save their data on secondary storage devices.
Secondary storage do not lose their data when the power is off. The access of data is slower than
the primary storage devices. CPU directly does not access these devices. The data of secondary
devices are first transferred to the primary storage device i.e RAM, and then the CPU can access
it. For example, Floppy Disk, Hard Disk, CD and DVD, SD card and USB flash disk.
Floppy Disk – A floppy disk refers to a magnetic disk in a square plastic container and round
film inside the plastic shell is flexible. It is primarily used to store information and then transfer
it from one device to another. The data on a floppy disk is recorded as magnetic spots. The disk
is made of a special plastic coated with ferrous oxide which can be easily magnetized. There are
two sizes of floppy discs (a) Size: 3.5 inches, 1.44 MB storage capacity, double density and high
density (b) Size: 5.25 inches and 1.2 MB storage capacity, Single density. Density means the
number of bits per inch (bpi) of data that can be written onto the surface of a disk. The data is
stored on circular tracks and the magnetic head moves radially to read or write each track. Each
track is divided into sectors.
Hard Disk :- Hard Disk, also called Hard Disk Drive (HDD), it is secondary storage device,
permanent and non-volatile disk, means the data is stored in hard disk will never be lost even the
power is disconnected. Huge amount of data can be stored in disk. All type of data like
documents, videos, audios and images are stored and retrieve when it is required by the user. it
is connected to the computer motherboard using data cables (PATA, SCSI, SATA). Hard Disk
uses magnetic storage to store and retrieve data.
Hard drives need a read only memory (ROM) controller board to instruct the read/write heads
how, when and where to move across the platters. Hard drives have disks called platters stacked
together coated with magnetic material and further divided into sectors and tracks on which data
is stored magnetically in the form of 0s and 1s and accessed the stored data randomly by the
users, all tracks are the same distance from the center of the disk, they comprise one cylinder, the
data is addressed by surface number, sector number and track number, two or more sectors are
used together to store data is called cluster. Platters are connected to a central spindle or shaft
which spin with the help of motor. The disks rotate 7200 RPM and all disks rotate in same time
but only one disk is being read or written at a time. The read/write heads are controlled by an
actuator, which magnetically reads from and writes to the surface of the platters. Both sides of
the platters are used to store data each platter has two heads. Data is written to a disk starting at
the outermost track. The read/write heads move inward to the next cylinder once the first
cylinder is filled. A hard drive is divided into one of more partitions, which can be further
divided into logical drives or volumes. Usually a master boot record (MBR) is found at the
beginning of the hard drive and contains a table of partition information. Each logical drive
contains a boot record, a file allocation table (FAT) and a root directory for the FAT file system.
Solid State Drive:- An SSD, or solid-state drive, is a type of storage device used in computers.
This non-volatile storage media stores data on solid-state flash memory. SSDs replace traditional
hard disk drives (HDDs) in computers and perform the same basic functions as a hard drive. But
SSDs are significantly faster in comparison. With an SSD, the device's operating system will
boot up more rapidly, programs will load quicker and files can be saved faster and reduces power
consumption.
Data is stored in memory cells within NAND flash chips, each NAND flash memory chip
consists of an array of blocks, also known as a grid, and within each block, there is an array of
memory cells, known as pages or sectors. The number of bits stored in each cell. The SSD
controller manages read/write operations and data distribution. When your computer needs to
access data, the controller quickly retrieves it from the appropriate cells. For writing data, the
controller finds available cells and stores the information electronically.
Note:- There are two types of flash memory, NOR and NAND. Both contain cells — transistors
— in a grid, but the wiring between the cells differs. In NOR flash, the cells are wired in
parallel. In NAND flash, the cells are wired in a series. Because NOR cells contain more wires,
they're bigger and more complex. NAND cells require fewer wires and can be packed on a chip
in greater density.
they are typically categorized as in two flavors based on how many 1s and 0s can be stored in
each cell. Single-level cell (SLC) NAND stores one bit — either a 1 or a 0 — per cell. Multi-
level cell (MLC) NAND stores two bits per cell. MLC flash delivers higher storage capacity.
SSDs read and write data to an underlying set of interconnected flash memory chips. These chips
use floating gate transistors (FGTs) to hold an electrical charge, which enables the SSD to store
data even when it is not connected to a power source. Each FGT contains a single bit of data,
designated either as a 1 for a charged cell or a 0 if the cell has no electrical charge.
USB/ Flash Drive:-A USB/ flash drive / pen drive is available in a variety of storage capacities,
including 1, 2, 4, 8, 16, 32, 64 GB, and 1 TB. It is a portable data storage media. Data is
transferred from one device to other device and data can be stored in it. To use a flash drive, it
must be plugged into a computer’s USB port. A flash drive is quite popular nowadays because it
is simple to use and small in size.
SD Card:-A Secure Digital Card (SD Card) is commonly used to store data in portable devices
such as cell phones and cameras. It comes in a variety of capacities, including 1, 2, 4, 8, 16, 32,
and 64 GB. You can access the data present in the SD card by removing it from the device and
inserting it into a computer using a card reader. The data in the SD card is stored in memory
chips (which are included in the SD card), and there are no moving elements like there are on a
hard disc.
Magnetic Tape:- Magnetic Tape is a type of data storage used to store and access digital
information. It is a sequential access storage medium, meaning data is read or written
sequentially. The tape consists of a thin, plastic strip coated with a magnetic material, iron oxide.
Data is stored on the tape in the form of magnetic fields created by the particles of the magnetic
material in a specific pattern. These fields can be read and written by a magnetic tape drive,
which uses a magnetic read/write head to detect and alter the magnetic fields on the tape.
CD (Compact Disk):- A Compact Disc or the CD is a type of secondary storage media that is
widely utilized. It is used to hold text, graphics, sound and videos. The stored data cannot be
altered or erased by the user. Its surface is covered in tracks and sectors. It is composed of
polycarbonate plastic and has a round form. CDs have a data storage capacity of up to 700 MB.
A CD is also known as a CD-ROM (Compact Disc Read-Only Memory) because computers can
read the data on it but not write new data onto it. A laser beam is used to read the data. To store
data on a CD, they need to be burned.
Types of Compact Disks
There are three types of CDs available:
CD-R: CD-R full form is Compact Disc – Recordable. This type of compact disc can be written
only once and can not erased.
CD-ROM: CD-ROM stands for Compact Disk-Read Only Memory. This disks are read once,
after read it is use as a ROM, that is cannot be updated later.
CD-RW: CD-RW full form is Compact Disc-Re-Writable. This type of compact disc can be
written multiple times and can be erased also, like Pendrive.
DVD(Digital Versatile Disk):- DVD stands for Digital Versatile Disk. It resembles a CD, but it
has a larger storage capacity; up to 4.7 GB of data can be stored. To use a DVD on a computer, a
DVD-ROM drive is required. Video files, such as movies or video recordings, are commonly
saved on DVDs, which may be played with a DVD player. There are three different kinds of
DVDs available:
Q32. Define Software? Explain its different types. OR Define different types of system
software?
Software:-A set of instructions is called program and a set of programs is called software.
Software runs on the computer, which tells the computer what to do, in short, it is used by
computers to perform any given tasks by the computer. Software makes the computer usable
without software computer cannot do anything. The entire computer’s hardware is controlled by
software. Viruses can affect the software. There are two main types of software, System
Software and Application Software.
Example: Windows, Visual Basic, Microsoft word, Microsoft Excel, Adobe etc. are the
examples of Software. There are two main types of software, System Software and Application
Software
System Software: System software is a set of programs that coordinate and manage the
activities and functions of a computer. It controls all the operations of the computer hardware and
software. It also provides a platform for running application software, and system software is
typically bundled with a computer's operating system. A computer cannot perform its functions
without system software. System software provide interface between the computer’s user and
computer hardware. System software makes the operation of a computer more fast, effective, and
secure. Example: Operating system, device drivers, utility programs and language translators.
Operating System: Operating system is system software, it is a set of programs that control and
coordinate/ supervises all the computer hardware and application software. It provides the
interface between user and machine. Without operating system a computer cannot do anything
and all the components of a computer cannot do any work. A user cannot communicate directly
with the computer hardware so the operating system acts as an intermediary between user and
computer hardware. Operating system manages all the activity of a computer, like CPU
management, Memory management, file management and input, output and process
management. It also provides computer security and data communication facilities like data can
be transferred or shared from one computer to another. The example of operating systems is
Does, Windows, Unix, Linux
Device Drivers: Device drivers are computer programs that control a particular device when it is
connected to a computer. Any hardware that we have in our computer must have a device driver
to communicate with operating system. A device driver is a translator between the operating
system and the hardware device. For many devices, operating system has drivers preinstalled in
them. This gave rise to the concept of Plug and Play, where the device would be attached to the
computer and the operating system will instantly recognize it. A non-plug-and-play device would
require to go through several steps of installing drivers and setting up the device before it would
work.
Utility Programs: Utility means being useful. Utility programs are useful computer programs
that help to manage, maintain and control computer resources. Operating systems usually have
pre-installed programs that can serve the purpose, but utility software provides further
functionality. One example of utility program is an antivirus software. This computer program
helps to protect a computer from viruses and other harmful files. Hard Disk tools are also part of
utility programs. They manage hard disk drives and other storage devices. This includes utilities
to scan the hard disks for any potential problems. Disk cleaner utility is used to remove any
unnecessary files while disk defragmenter is used to reorganize file on a hard disk drive to
increase performance of disk.
Language Translators: Language Translators are used to translate human readable instructions
into machine language. Computer can only understand machine language which is composed of
0's and 1's. The computer languages are used to make computer programs (software). Generally,
software is written in high-level languages, using natural language words.
Language translator are of three types, Assembler, Compiler and Interpreter.
(i) Assembler: The assembler translates the program written in assembly language into machine
language instructions for execution.
(ii) Compiler: It translates the entire high-level language program at once into machine language
before it is executed.
(iii) Interpreter: It translates the high-level language
Application Software: Application software (App) is a kind of software that performs specific
functions for the end user by interacting directly with it. The sole purpose of application
Software is used to complete specific tasks, such as creating documents, databases, spreadsheets
and presentations, computer games, media players and web browsers are also the examples of
application software. User needs to install application software to accomplish specific tasks.
Application software are not pre-installed on operating system. They are installed separately.For
example, making spreadsheet is not possible with Windows. For that application software such
as MS Excel is used. There are different types of application software, Productivity Software,
Business Software, Entertainment Software, Educational Software
Productivity Software: a. This kind of application software is used to produce things such as
documents, spreadsheets, databases and presentations.
b. Many of the productivity software are intended to be used in businesses and offices.
c. MS Office for Windows is an example of productivity software.
Business Software: a. Business Software are used to manage business activities efficiently.
b. It is used to provide many business functions such as billing, database management and
inventory management.
Entertainment Software: a. This type of software provides amusement and fulfills a user's
hobby.
b. The most common entertainment software are video games.
Educational Software: a. Educational software is used for teaching and learning.
b. This kind of software is used in many schools to enhance knowledge of students in learning
different subjects.
Q33. Differentiate between system software and application software.
System Software Application Software
The system software is designed to control, integrate, Application software is the set of computer
and manage the individual hardware components and programs installed in the user's system and
application software of a computer system. designed to perform a specific task.
It provides an interface between the Application It acts as an interface between the end-user and
Software and Computer hardware. System Software.
This software runs independently and provide a This software is not capable of running
platform to application software. independently, which means they need system
software to work on.
These are usually written in low-level languages such These are usually written in a high-level
as Assembly language. language such as C, C++, Java, etc.
System software work on the background, hence user Application software work on user-interface,
don't directly interact with them. hence user directly interact with them.
A system software starts running as we turn on our Application software runs as per user request. It
computer system and stops when the system is turned means when we launch them, then only they
off. start and stop when we close them.
A computer system or hardware can't run without A computer system or hardware can always run
system software. without application software.
Examples of System Software are Operating systems, Examples of Application Software are Web
Compiler, Assembler, Device drivers, etc. browsers, MS office, Graphic design software
System software is installed into the computer when Application software is installed only when a
the operating system is being installed. user needs them.
Q34. What is operating system? Describe the important features and function of an
operating system.
Ans. Operating system is system software, it is a set of programs that control and coordinate/
supervises all the computer hardware and application software. It provides the interface between
user and machine. Without operating system a computer cannot do anything and all the
components of a computer cannot do any work. A user cannot communicate directly with the
computer hardware so the operating system acts as an intermediary between user and computer
hardware. Operating system manages all the activity of a computer, like CPU management,
Memory management, file management and input, output and process management. It also
provides computer security and data communication facilities like data can be transferred or
shared from one computer to another. The example of operating systems is Does, Windows,
Unix, Linux
Some important tasks of an operating system are
Control basic input output devices
Managing the resources of the computer such as central processing unit (CPU)
Memory management
Disk drives Management
Printer and running user programs.
Maintain security
Support Application software
Features of Operating Systems
1. Here is a list of some important features of operating systems:
2. Provides a platform for running applications
3. Handles memory management and CPU scheduling
4. Provides file system abstraction
5. Provides networking support
6. Provides security features
7. Provides user interface
8. Provides utilities and system services
9. Supports application development
Functions of Operating System
Processor Management: Process management is a key feature of an operating system that
handles the creation, planning, execution, and termination of processes or tasks within a
computer system.
Memory Management: Memory management plays a vital role in any operating system. It
encompasses the allocation, tracking, and deallocation of computer memory resources. Its main
objective is to effectively use currently available memory to facilitate the execution of processes
and applications.
Device Management: Device Management is an essential task for an operating system. It
involves regulating and coordinating the communication between the computer system and its
input/output (I/O) devices. Here is an explanation of Device Management.
Device Drivers: Device drivers, which are software components that permit communication
between the operating system and particular hardware devices, are made available by the
operating system
File Management: An operating system keeps track of information regarding the creation,
deletion, transfer, copy, and storage of files in an organized way. It also maintains the integrity of
the data stored in these files, including the file directory structure, by protecting against
unauthorized access.
Provide Interfaces:-
i. Graphical User Interface (GUI): GUIs display system functions through icons,
menus, buttons, and windows, allowing users to interact with the system by clicking.
ii. Command-Line Interface (CLI): CLI is a text-based system where users input
commands through a keyboard.
Security: The operating system provides various techniques which assure the integrity and
confidentiality of user data. Following security measures are used to protect user data:
Protection against unauthorized access through login.
Protection against intrusion by keeping Firefall active.
Protecting the system memory against malicious access.
Displaying messages related to system vulnerabilities.
Error Detection: From time to time, the operating system checks the system for any external
threat or malicious software activity. It also checks the hardware for any type of damage. This
process displays several alerts to the user so that the appropriate action can be taken against any
damage caused to the system.
Job Scheduling: In a multitasking OS where multiple programs run simultaneously, the
operating system determines which applications should run in which order and how time should
be allocated to each application.
Q37. Write down the differences between interpreter, compiler and assembler?
COMPILER INTERPRETER ASSEMBLER
It scans the entire program It translates the program It converts the source code into
before converting it into line by line to the the object code then converts it
binary code. equivalent machine code. into the machine code.
Q39: Write down the differences between low-level and high-level languages.
Low Level Language High Level Language
In low level language machine codes (0 and 1) are In high level language English like words are used as
used as an instruction to the computer. an instruction to the computer.
The execution of programs is quite fast. The execution of programs is not very fast.
Instructions are directly understood by the CPU and Instruction are not directly understood by the CPU
direct access to memory and less memory efficient.
No need to translate program. In case of assembly Translation of program is required, compiler or
language assembler is required. interpreter.
One type of machine code cannot run on all The high level code can be translated to required
machines so it is not portable language machine code so it is portable language
Coding and maintenance are not easy Coding and maintenance are easy
The programs written in low level languages are The programs written in high level languages are
machine dependent and are difficult to modify. machine independent and are easy to modify.
The examples of low-level languages are:
The examples of high-level languages are: BASIC,
Machine language
FORTRAN, COBOL, PASCAL, C languages etc.
Assembly language