Class-11_CS_Chapter-1
Class-11_CS_Chapter-1
1. Computer System
Computer:
A Computer is an electronic device that takes raw data as input, and after processing converts them to
meaningful output. The computer is programmed to accept data, do some processing on it and
generates result.
Data:
Raw facts are figures are referred to as data.
Computer System:
The computer system primarily comprised of a central processing unit (CPU), memory, input/output
devices and storage devices.
Input Device
The devices through which control signals are sent to a computer are termed as input devices. It
translates data from form that humans understand to one that the computer can work with. Example of
Input Devices are Keyboard, Mouse, Microphone, Scanner, Webcam etc.
Output Device
The device that receives data from a computer system for display, physical production, etc., is called
output device. It converts the electronically generated information into human-readable form.
Example of Ouput Devices are Monitor, LCD, Speakers, Projectors, Printers etc.
From the simple calculator to a modern-day powerful data processor, computing devices have evolved
in a relatively short span of time. The electronic computer has been around for over a half-century, but
its ancestor abacus has been around for 2000 years. The computer evolution can be seen from the
first wooden abacus to the latest high-speed microprocessor, the computer has changed nearly every
aspect of people’s lives for the better.
1. Abacus
The abacus is one of the earliest known computation devices. It is a tool that helps in calculating
answers of arithmetic problems. It is simply a wooden rack holding parallel wires on which beads
are strung. Calculations are done by manipulating the beads. The abacus was developed in China
about 5000 years ago. The abacus was so successful that its use spread from China to many other
countries.
2. Pascal Calculator
The first real mechanical calculator was invented by a French scientist and mathematician Blaise
Pascal, around 1645. The device was constructed by Interlocking gears representing the numbers 0
to 9. It was only able to do addition and subtraction, so it is called adding machine.
3. Analytical Engine
In 1801, Joseph Marie Jacquard perfected the idea of the automated weaving loom. Using holes
punched into a series of connected cards, Jacquard was able to control the weaving of fabrics. The
Jacquard loom not only cut back on the amount of human labor but also allowed for patterns to be
stored now on cards and to be utilized over and over again to achieve the same product.
2
Class - 11 Computer Science Aspire Vidyalaya
In 1820 Charles Babbage, a British mathematician and inventor, designed and built the
mechanical calculator and the Difference Engine on principles that anticipated the modern
electronic computer. The concept Babbage put forward was eventually used by engineers in the
development of the first computer prototype. For this reason, Charles Babbage is known as the
father of computing. Despite ten years of work, Babbage failed to build a fully operational model
of Difference or Analytical Engine.
In 1842 Lady Lovelace wrote a demonstration program and her contribution to binary arithmetic
was later used by John Von Neumann in developing the modern computer. So she is often
regarded as the “first computer programmer”.
4. Tabulating Machine
In 1890 the United States Census Bureau asked Herman Hollerith to find a way to speed up the
processing of census data. Herman Hollerith created punched cards that resemble today’s
computer cards. He also invented the Hollerith 80-column code and tabulating machine.
5. Turing Machine
(1937) The Turing machine concept was a general purpose programmable machine that was
capable of solving any problem by executing the program stored on the punched cards.
6. EDVAC/ENIAC
(Electronic Discrete Variable Automatic Computer/Electronic Numerical Integrator And
Computer)
(1945) John Von Neumann introduced the concept of stored program computer which was
capable of storing data as well as program in the memory. The EDVAC and then the ENIAC
computers were developed based on this concept.
7. Transistor
(1947) Vacuum tubes were replaced by transistors developed at Bell Labs, using semiconductor
materials.
8. Integrated Circuit
(1970) An Integrated Circuit (IC) is a silicon chip which contains entire electronic circuit on a
very small area. The size of computer drastically reduced because of ICs.
A computer system needs memory to store the data and instructions for processing. Whenever we talk
about the ‘memory’ of a computer system, we usually talk about the main or primary memory. The
secondary memory (also called storage device) is used to store data, instructions and results
permanently for future use. There are two types of Memory.
1. Primary Memory: It is also called Main Memory. Program and data are loaded into the primary
memory before processing. It is of two types.
(i). Random Access Memory (RAM)
(ii). Read Only Memory (ROM)
RAM ROM
It stands for Random Access Memory It stands for Read Only Memory
It is temporary Memory It is permanent Memory
Data will be wiped out as the power supply Its contents are not lost even when the
is turned off. power is turned off.
2. Secondary Memory: This memory is used to store the data or instructions for future use. The
secondary memory is non-volatile and has larger storage capacity than primary memory. It is
slower and cheaper than the main memory.
3
Class - 11 Computer Science Aspire Vidyalaya
Examples of secondary devices include Hard Disk Drive (HDD), CD/DVD, Memory Card, etc.
Cache Memory:
RAM is faster than secondary storage, but not as fast as a computer processor. So, because of RAM, a
CPU may have to slow down. To speed up the operations of the CPU, a very high speed memory is
placed between the CPU and the primary memory known as cache. It stores the copies of the data
from frequently accessed primary memory locations, thus, reducing the average
time required to access data from primary memory. When the CPU needs some data, it first examines
the cache. In case the requirement is met, it is read from the cache, otherwise the primary memory is
accessed.
Units of Memory:
A Computer System uses binary numbers to store and process data. The binary digits 0 and 1, which
are the basic units of memory, are called bits. A 4-bit word is called a Nibble. Examples of nibble are
1001,1010. A two-nibble word, i.e., 8-bit word is called a byte, for example, 01000110, 01111100,
10000001, etc.
Data are transferred between different components of a computer system using physical wires called
bus. Bus is of three types – (i) Data bus to transfer data between different components, (ii) Address
bus to transfer addresses between CPU and main memory. (iii) Control bus to communicate control
signals between different components of a computer. As the CPU may require to read data from main
memory or write data to main memory, a data bus is bidirectional. But the control bus and address
bus are unidirectional.
4
Class - 11 Computer Science Aspire Vidyalaya
1.5 Microprocessors:
Microprocessor Specifications:
Microprocessors are classified on the basis of different features which include chip type, word size,
memory size, clock speed, etc. These features are briefly explained below:
(D) Cores
Core is a basic computation unit of the CPU. Earlier processors had only one computation unit,
thereby capable of performing only one task at a time. With the advent of multicore processor, it has
become possible for the computer to execute multiple tasks, thereby increasing the system’s
performance. CPU with two, four, and eight cores is called dual-core, quad-core and octa-core
processor, respectively.
5
Class - 11 Computer Science Aspire Vidyalaya
Microcontrollers
The microcontroller is a small computing device which has a CPU, a fixed amount of RAM, ROM
and other peripherals all embedded on a single chip as compared to microprocessor that has only a
CPU on the chip. washing machine, digital camera, pendrive, remote controller, microwave are few
examples of Microcontrollers. The simple use of microcontroller has permitted repetitive execution of
tedious tasks automatically without any human intervention, thereby saving precious time.
Raw fact and figures is called data. Processed data is called information. So, we can say that Data are
raw and unorganized facts that are processed to get meaningful information.
(A) Structured Data: Data which is stored in pre specified tabular format and easy to understand is
called structured data. Structured data may be arranged in ascending or descending order, for example
the following table shows marks of students in Term1 and Term2
(B) Unstructured Data: Data which are not organized in a pre-defined format is called unstructured
data. Examples graphics, text documents, social media posts, satellite images, etc.
6
Class - 11 Computer Science Aspire Vidyalaya
(C) Semi-structured Data: Data which have no well-defined structure but maintains internal tags or
markings to separate data elements are called semi-structured data. Examples include email
document, HTML page, comma separated values (csv file), etc.
(A) Data Capturing: It involves the process of gathering data from different sources in the digital
form. This capturing may be done from keyboard, barcode readers etc.
(B) Data Storage: It is the process of storing the captured data for processing later. Data keeps on
increasing with time. In large organizations, computers with larger and faster storage called data
servers are deployed to store vast amount of data.
(C) Data Retrieval: It involves fetching data from the storage devices, for its processing as per the
user requirement. Minimizing data access time is crucial for faster data processing.
One of the biggest threats associated with digital data is its deletion. The storage devices can
malfunction or crash down resulting in the deletion of data stored. Deleting digitally stored data
means changing the details of data at bit level.
Data recovery is a process of retrieving deleted, corrupted and lost data from secondary storage
devices.
1.7 Software
The software comprises a set of instructions which on execution deliver the desired outcome. It is that
component of a computer system, which we cannot touch or view physically. The software can be
broadly classified into three categories viz. (i) System software, (ii) Programming tools and (iii)
Application software.
(i) System Software: The software that provides the basic functionality to operate a computer by
interacting directly with its constituent hardware is termed as system software. Examples of system
software are operating systems, system utilities, device drivers, etc.
(A) Operating System: As the name implies, the operating system is a system software that operates
7
Class - 11 Computer Science Aspire Vidyalaya
the computer. An operating system is the most basic system software. It is an interface between the
user and hardware. Some of the popular operating systems are Windows, Linux, Macintosh, Ubuntu
etc.
(B) System Utilities: Software used for maintenance and configuration of the computer system is
called system utility. Some system utilities are with the operating system for example disk
defragmentation tool, formatting utility, system restore utility.
(C) Device Drivers: As the name signifies, the purpose of a device driver is to ensure proper
functioning of a particular device. The device driver acts as an interface between the device and the
operating system. Just like a language translator, a device driver acts as a mediator between the
operating system and the attached device.
(ii) Programming Tools: In order to get some work done by the computer, we need to give
instructions. Computer languages are developed for writing these instructions. Humans are able to
write programs in high-level language while computers understand machine language. There is a
continuous need for conversion from high level to machine level language, for which translators are
needed.
(A) Classification of Programming Languages: It is very difficult for a human being to write
instructions in the form of 1s and 0s. So different types of computer programming languages are
developed to simplify the coding. Two major categories of computer programming languages are
low-level languages and high-level languages.
(B) Language Translators: As the computer can understand only machine language, a translator is
needed to convert program written in assembly or high level language to machine language. The
program code written in assembly or high-level language is called source code. The source code is
converted by a translator into the machine understandable form called object (machine) code. The
three types of translators used in computing systems are assembler, compiler and interpreter.
Assembler: The translator used to convert the code written in assembly language to machine
language is called assembler.
Compiler: It converts the high-level language to low level language (machine language) in one go.
Interpreter: It converts the high-level language to low level language (machine language) line by
line.
(C) Program Development Tools: Whenever we decide to write a program, we need a text editor
where we type instructions and store the file as the source code. Then an appropriate translator is
8
Class - 11 Computer Science Aspire Vidyalaya
used to get the object code for execution. There is software called Integrated Development
Environment (IDE) consisting of text editor, building tools and debugger. Python IDLE, NetBeans,
Eclipse, Atom, Lazarus are few other examples of IDEs.
Application Software:
Those software which are designed to perform specific task for the end users are called application
software like Microsoft word, Microsoft excel etc. There are again two broad categories of
application software, general purpose and customized application software.
(A) General Purpose Software: The application software developed for generic applications, to
cater to a bigger audience in general are called general purpose software. Adobe Photoshop, GIMP,
Mozilla web browser, iTunes, etc.
(B) Customized Software: These are custom or tailor-made application software, that are developed
to meet the requirements of a specific organization or an individual. They are designed as per user
requirements. For example, school management software, accounting software etc.
Those software whose source code is available with an aim to develop and improve further with each
other's help. Such software is known as Free and Open-Source Software (FOSS). examples of FOSS
include Python, LibreOffice, Open office, Mozilla Firefox. Sometimes, software is freely available
for use but source code may not be available. Such software is called freeware. Examples of freeware
are Skype, Adobe Reader.
When the software to be used has to be purchased from the vendor who has the copyright of the
software, then it is called proprietary software. Examples of proprietary software include Microsoft
Windows, Tally, Quick heal, etc.
An operating system (OS) can be considered to be a resource manager which manages all the
resources of a computer, i.e., its hardware including CPU, RAM, Disk, Network.
OS User Interface:
There are different types of user interfaces each of which provides a different functionality. Some
commonly used interfaces are:
(A) Command-based Interface: Command-based interface requires a user to enter the commands to
perform different tasks like creating, opening, editing or deleting a file, etc. Examples of operating
systems with command-based interface are MS-DOS and Unix.
(B) Graphical User Interface: Graphical User Interface (GUI) lets users run programs or give
instructions to the computer in the form of icons, menus and other visual options. GUI interfaces
include Microsoft Windows, Ubuntu, Fedora and Macintosh etc.
(C) Touch-based Interface: Using the touchscreen, a user provides inputs to the operating system,
which are interpreted by the OS as commands like opening an app, closing an app, dialing a number,
9
Class - 11 Computer Science Aspire Vidyalaya
scrolling across apps, etc. Examples of popular operating systems with touch based interfaces are
Android and iOS.
(D) Voice-based Interface: Now a days user can use voice-based commands to make a computer
work in the desired way. Some operating systems which provide voice-based control to users include
iOS (Siri), Android (Google Now or “OK Google”), Microsoft Windows 10 (Cortana).
(E) Gesture-based Interface: Some smartphones based on Android and iOS as well as laptops let
users interact with the devices using gestures like waving, tilting, eye motion and shaking.
Now let us explore the important services and tasks that an operating system provides for managing
the computer system.
(A) Process Management: While a computer system is operational, different tasks are running
simultaneously. A program is intended to carry out various tasks. A task in execution is known as
process. We can activate a system monitor program that provides information about the processes
being executed on a computer. In some systems it can be activated using Ctrl+Alt+Delete. It is the
responsibility of operating system to manage these processes and get multiple tasks completed in
minimum time. As CPU is the main resource of computer system, its allocation among processes is
the most important service of the operating system. Hence process management concerns the
management of multiple processes, allocation of required resources, and exchange of information
among processes.
(B) Memory Management: Primary or main memory of a computer system is usually limited. The
main task of memory management is to give (allocate) and take (free) memory from running
processes. Since there are multiple processes running at a time, there arises a need to dynamically
(On-the-go) allocate and free memory to the processes. Operating system should do it without
affecting other processes that are already residing in the memory and once the process is finished, it is
again the responsibility of the operating system to take the memory space back for reutilization.
Hence, memory management concerns with management of main memory so that maximum memory
is occupied or utilized by large number of processes while keeping track of each and every location
within the memory as free or occupied.
(C) File Management: Data and programs are stored as files in the secondary storage of a computer
system. File management involves the creation, updation, deletion and protection of these files in the
secondary memory. Protection is a crucial function of an operating system, as multiple users can
access and use a computer system. There must be a mechanism in place that will stop users from
accessing files that belong to some other user and have not been shared with them. File management
system manages secondary memory, while memory management system handles the main memory of
a computer system.
(D) Device Management: A computer system has many I/O devices and hardware connected to it.
Operating system manages these heterogeneous devices that are interdependent. The operating system
interacts with the device driver and the related software for a particular device. The operating system
must also provide the options for configuring a particular device, so that it may be used by an end
user or some other device. Just like files, devices also need security measures and their access to
different devices must be restricted by the operating system to the authorized users, software and
other hardware only.
10
Class - 11 Computer Science Aspire Vidyalaya
MCQs
5. ……………… Output device is used for printing building plan, flex board, etc.
(a) Thermal printer
(b) Plotter
(c) Dot matrix
(d) inkjet printer
Answer: (b) Plotter
11
Class - 11 Computer Science Aspire Vidyalaya
1. What is a computer?
Computer is an Electronic Machine, capable of performing basic operations like addition,
multiplication, division etc. Computer accepts data as input, process it, produce output and stores it
for future.
12
Class - 11 Computer Science Aspire Vidyalaya
13
Class - 11 Computer Science Aspire Vidyalaya
14
Class - 11 Computer Science Aspire Vidyalaya
The Basic components are I/O Unit, CPU, ALU, Control Unit, Storage Unit.
Input unit: Input unit is used to feed any form of data to the computer. It can be stored in the
memory unit for further processing. Ex. Keyboard, Mouse, Scanner, Retinal scanner, Track ball.
Central processing unit: CPU is the major component and it controls the operation of all other
components such as memory, input and output units. The CPU has three components namely
control unit, Arithmetic and logic unit (ALU) and memory unit. Arithmetic and logic unit: The
ALU is a part of the CPU where arithmetic operations like addition, subtraction, multiplication,
divisions and logical operations will take place. Control unit: The control unit controls the flow of
data between the CPU, memory and I/O devices. It also f controls the entire operation of a
computer.
Output unit: An output device is a hardware component that conveys information to the user in an
understandable form. Example: Monitor, printer, plotter
Memory unit: The memory stores everything that computer works with. The memory unit is of
two types namely primary memory and secondary memory. The primary memory stores the data
and instructions temporarily. Whereas the secondary memory stores the data permanently. The
primary memory is volatile and secondary memory is non – volatile.
15
Class - 11 Computer Science Aspire Vidyalaya
16
Class - 11 Computer Science Aspire Vidyalaya
17
Class - 11 Computer Science Aspire Vidyalaya
(c) Third
(d) Fourth
Answer: (b) Second
33. CD – ROM, DVD – ROM, DVD – ROM are examples of which of the following memory.
(a) read / write
(b) volatile
20
Class - 11 Computer Science Aspire Vidyalaya
(c) primary
(d) non – volatile
Answer: (d) non – volatile
34. Hard disk. CD – ROM, DVD – ROM are examples of which of the following memory.
(a) read only
(b) primary
(c) secondary
(d) volatile
Answer: (c) secondary
37. Mechanical, optical and laser are types of which input device.
(a) Keyboard
(b) Mouse
(c) Scanner
(d) Printer
Answer: (b) Mouse
39. Which one of the following mouse type has more than 3 bottons and can be programmed?
(a) Mechanical
(b) Optical
(c) Laser
(d) 3D
Answer: (c) Laser
40. The non – impact printer using similar technology used by photo copier is ………………
printer.
(a) Inkjet
(b) dot matrix
(c) laser
(d) line matrix
21
Class - 11 Computer Science Aspire Vidyalaya
41. The device that reads the information directly into the computer’s memory and works like
a Xerox machine is ………………
(a) plotter
(b) scanner
(c) touch screen
(d) track ball
Answer: (b) scanner
42. The input device used to display computer output on big screen is ………………
(a) line matrix printer
(b) dot matrix printer
(c) multimedia projector
(d) monitor
Answer: (c) multimedia projector
45. Which of the following uses biometrics and unique pattern of retinal blood vessels?
(a) Retinal track
(b) Finger print scanner
(c) Optical scanner
(d) Retinal scanner
Answer: (d) Retinal scanner
47. The input device that detects characters printed or written on paper is ………………
(a) Voice input system
(b) Track ball
(c) Optical character reader
(d) 3D mouse
Answer: (c) Optical character reader
22
Class - 11 Computer Science Aspire Vidyalaya
50. The input device in which 4 to 50 keys are arranged in the cluster.
(a) Keyboard
(b) Mouse keys
(c) Keyer
(d) Scanner
Answer: (c) Keyer
53. The ……………… printer use the same technology used by photo copier.
(a) Inkjet
(b) dot matrix
(c) line
(d) laser
Answer: (d) laser
(c) 4
(d) 5
Answer: (a) 2
(c) Fifth
(d) Sixth
Answer: (d) Sixth
81. Which of the following input devices are classified as tactile, ergonomic, gaming?
(a) Keyboard
(b) Printer
(c) Monitor
(d) Mouse
Answer: (d) Mouse
85. Which of the following device converts photographs into digital format?
(a) Digital camera
(b) Mouse
(c) Scanner
(d) Light pen
Answer: (c) Scanner
87. Line printers can print how many lines per minute?
(a) 1500
(b) 1520
(c) 1000
(d) 1020
Answer: (c) 1000
88. Which one of the following is the main characteristics of laser printer?
(a) Speed
(b) Resolution
(c) Reliability
(d) Durability
Answer: (b) Resolution
89. Each dot in dot matrix printers produced by a tiny metal rod is called ……………….
(a) binary
(b) pixel
(c) resolution
(d) wire or pin
Answer: (d) wire or pin
4. What is CCD?
CCD is charge coupled device. Digital camera uses CCD electric chip. When light falls on the chip
through the lens, it converts light rays into digital format.
7. What is NLP?
NLP stands for Natural Language Processing which is a component of Artificial Intelligence (AI). It
provides the ability to develop the computer program to understand human language.
3. Define Keyer?
A Keyer is a device for signaling by hand, by way of pressing one or more switches. Modem keyers
have a large number of switches but not as many as a full-size keyboard. Typically, this number is
29
Class - 11 Computer Science Aspire Vidyalaya
between 4 and 50. A keyer differs from a keyboard, which has “no board”, but the keys are arranged
in a cluster.
30
Class - 11 Computer Science Aspire Vidyalaya
Keyboard:
Keyboard (wired / wireless, virtual) is the most common input device used today. The individual
keys for letters, numbers and special characters are collectively known as character keys. This
keyboard layout is derived from the keyboard of original typewriter.
Mouse:
Mouse (wired/wireless) is a pointing device used to control the movement of the cursor on the
display screen.
31
Class - 11 Computer Science Aspire Vidyalaya
Types of Mouses:
1. Mechanical Mouse
2. Optical Mouse.
3. Laser Mouse
Scanner:
Scanners are used to enter the information directly into the computer’s memory. This device works
like a Xerox machine. The scanner converts any type of printed or written information including
photographs into a digital format, which can be manipulated by the computer.
Track Ball: Track ball is similar to the upside – down design of the mouse. The user moves the ball
directly, while the device itself remains stationary. The user spins the ball in various directions to
navigate the screen movements.
Retinal Scanner: This performs a retinal scan which is a biometric technique that uses unique
patterns on a person’s retinal blood vessels.
Light Pen: A light pen is a pointing device shaped like a pen and is connected to a monitor. The tip
of the light pen contains a light-sensitive element which detects the light from the screen enabling the
computer to identify the location of the pen on the screen. Light pens have the advantage of
‘drawing’ directly onto the screen, but this becomes hard to use, and is also not accurate.
Optical Character Reader: It is a device which detects characters printed or written on a paper with
OCR, a user can scan a page from a book. The computer will recognize the characters in the page as
letters and punctuation marks and stores. The Scanned document can be edited using a word
processor.
Bar Code / QR Code Reader: A Bar code is a pattern printed in lines of different thickness. The
Bar code reader scans the information on the bar codes transmits to the computer for further
processing. The system gives fast and error free entry of information into the computer.
QR (Quick response) Code: The QR code is the two dimension bar code which can be read by a
camera and processed to interpret the image.
Voice Input Systems: Microphone serves as a voice Input device. It captures the voice data and
send it to the computer. Using the microphone along with speech recognition software can offer a
completely new approach to input information into the computer.
Digital Camera: It captures images / videos directly in the digital form. It uses a CCD (Charge
Coupled Device) electronic chip. When light falls on the chip through the lens, it converts light rays
into digital format.
Touch Screen: A touch screen is a display device that allows the user to interact with a computer by
using the finger. It can be quite useful as an alternative to a mouse or keyboard for navigating a
Graphical User Interface (GUI). Touch screens are used on a wide variety of devices such as
computers, laptops, monitors, smart phones, tablets, cash registers and information kiosks. Some
touch screens use a grid of infrared beams to sense the presence of a finger instead of utilizing touch
– sensitive input.
Keyer: A Keyer is a device for signaling by hand, by way of pressing one or more switches. Modem
keyers have a large number of switches but not as many as a full size keyboard. Typically, this
number is between 4 and 50.
32