Unit#1 2 Intro To Comp CS 22-23
Unit#1 2 Intro To Comp CS 22-23
2022-23
Chapter :1
Basic Of Computer
Advantages: Smaller in size; more reliable and portable; low maintenance cost,
lesser power required.
Disadvantages: Required highly sophisticated technology for manufacturing ICs.
Integrated Circuits
Generations of Computer
•Fourth Generation Computers:
Introduced in 1970’s
Used VLSI (Very Large Scale Integrated) Circuits containing thousands of
transistors, diodes and registers.
Roughly more than 30,000 components could be accommodated on one
chip of the size of a postal stamp.
Concept of micro-processors evolved. It is a chip of silicon known as
microprocessor chip.
Could be easily placed on small table
Price reduced and affordable and became a common equipment in small
business establishments.
Advantages : Size reduced substantially; air conditioning not required;
operations much faster; more general purpose; cheapest amongst all
previous generations; desktops made available for business/personal use.
Generations of Computer
• Fifth Generation Computers:
Based on ULSI (Ultra large scale integration) technology.
Will have tremendous processing power and speed.
Support high degree of artificial intelligence (computers
will be able to think and learn and act on their own to
some extent)
Interact with humans in ordinary languages
Advantages : More user-friendly; reduced size; easy to
operate; economical and faster; programming much
easier and simpler; emphasis shifted to networks and
client server technology.
1.1.2 General and Special Purpose
Computer
• General purpose computers differ from special purpose computers in that they are designed to follow
instructions. Special purpose computers are created and assigned specific tasks.
• The best way to gain an understanding of general purpose computers is to look at the ENIAC computer which was
the first ever general purpose computer. It was built in 1946 for the US army to complete a variety of tasks. As it
could do so, it was nicknamed a 'Giant Brain'. It was able to be reprogrammed to perform a range of computing
problems.
• General purpose computers are designed so that they do not require any specific human instruction in order to
complete problems and tasks. They are programmed in their design to do so themselves. These computers are
common in day to day life and are often used to perform tasks including data processing and numerical problems.
Personal computers that are used at home or at work are general purpose computers.
• Special purpose computers are those designed to do a specific job. These again are used throughout daily life and
examples include:
• Home appliances
• Toys and games
• Cash machines
• Vehicle computers
• These computers are not designed to be versatile in their tasks and require human input to do them. Their
purpose is in built when the computer is being designed and cannot be reprogrammed. They can be designed to
perform for example only numerical or data processing tasks among others.
Types of Computer
• Computers can be divided into following three types:
Analog Computers
Digital Computers
Hybrid Computers
Types of Computer
• Analog Computer:
These computers accept data in continuous form and represent
Input
Devices
Mouse
Joystick
Examples of Input Devices
• Keyboard • OCR
• Mouse • MICR
• Tracker ball • OMR
• Touch sensitive pad • Punched Card
• Joystick • Kimball tag
• Light pen • Voice recognition
• Touch screen • Microphone
• Graphics tablets • EPOS
• Magnetic Strip Reader • EFTPOS
• Bar Code reader • Video digitiser
• Digital cameras • Scanner
• Web Cameras • Touch Phone Telephone
Input Device - Keyboard
• Keyboard is the primary text input device to enter textual data
into the computer.
• The layout of keyboard is just like the traditional typewriter
with extra command keys and function keys.
• There are different types of keyboards
• but the QWERTY keyboard is the most widely used.
Keyboard
• Microphone
• Digital Camera
• Voice Synthesizer:
• It is an electronic device that combines basic sounds to imitate
the speech of a person.
• An example of a voice synthesizer is what creates the voices on
many customer service voice mail systems.
Light Pen
• Is a pen shaped device, held in the hand which can detect the
presence or absence of light
• It is connected by the cable to a recording device or to a
computer or computer terminal.
• Electrical signals are sent along the cable indicating whether
33-4461420)
[email protected](03
or not light of sufficient intensity is being sensed.
Uses
• To detect bar codes
• To indicate a point on the screen
• It removes the need to type or write.
• It is faster than typing.
Disadvantage:
33-4461420)
[email protected](03
It can only record the presence or absence of light.
It only works with software written for it.
Touch Pad /Track Pad
• Is a small, flat surface over which the user moves his finger.
• The movement of the finger moves the cursor on the screen.
• A touch pad also has one or more buttons near it .
• These buttons like mouse buttons.
33-4461420)
[email protected](03
• Touch pads are commonly used with notebook computers
Touch screen
• Is a video display screen that receives input from the touch of
finger
• Examples
• ATM
33-4461420)
[email protected](03
• Petrol Pumps
Magnetic Strip
• Is a short length of magnetic tape stuck on the surface of a
tag, card or document.
• On plastic tags or cards the strip is sealed in.
• Tags with stripes identify the item they are attached to.
Examples:
33-4461420)
[email protected](03
• On credit card
• On bank cards
• A phone Card
• Cash issue Terminals
Advantages
• It is simple to produce.
• It is not easily damaged.
• It stores a large no of characters.
Disadvantages
33-4461420)
[email protected](03
• The data can be changed or erased by magnetic field.
Barcodes Readers
• Is set of parallel printed lines of differing thickness,
which represent a number.
• The number represented by the bars is also printed
above or below the bar code.
• When bar code are used on shop goods, the number
coded identifies the product and have following
33-4461420)
[email protected](03
information
1. Country of region
2. Manufacturer
3. An item number for the product.
Examples:
• Used in Barcodes
• Library System
• Warehouse stock
Advantages
• Printed easily
• The type of item or its price does not have to be repeatedly
written down or typed.
Disadvantages:
• bar codes cannot be changed and thus there are unsuitable
33-4461420)
[email protected](03
prices.
• Bar codes only be read by machine.
• Only numbers can be coded in this way.
Optical Character recognition (OCR)
• Is a technology that reads typewritten , computer printed or
handwritten documents.
• It translate the image into a form that can be recognized by
computer.
• OCR devices read printed characters using OCR font.
33-4461420)
[email protected](03
• An OCR device determines the shapes of characters by
detecting patterns of light and dark.
Uses
• In department stores
• To scan financial documents such as company
33-4461420)
[email protected](03
9.Optical Mark Reader (OMR)
• It is also called mark sensing device.
• It uses light to scan input data to convert it into
electrical/digital signal.
• The signals are then sent to the computer for further
processing.
33-4461420)
[email protected](03
• Examples
• Voting ballot
• Multiple choice answer sheet marking
• Enrollment forms
Mark sheet (OMR)
[email protected](03
33-4461420)
Advantages
• Reduces the cost of inputting large amount of data
• The method is useful when results of the test are needed very
quickly
• Disadvantages
• Readers are very expensive
33-4461420)
[email protected](03
• Only certain fonts are acceptable.
• There is high rejection rate
10.Magnetic ink character reader (MICR)
33-4461420)
[email protected](03
reader the ink is magnetized, so that
the character shapes can then be
recognized electrically.
Uses
• It is used by banks industry for check processing.
• Each check contains MICR characters at the lower left edge.
• These characters represent check number ,bank number and
account number
33-4461420)
[email protected](03
Cheque number Branch code Account number
Advantages
• Documents can still be read when folded, written on
Disadvantages
• Readers are very expansive
• Only certain fonts are acceptable.
33-4461420)
[email protected](03
13.Microphone
• Is used for input device for a speech recognition system.
• The voice pattern of user is then converted into instructions to
the operating system or application software or text.
• Uses as voice mail messages
33-4461420)
[email protected](03
14.Electronic point of sale Terminal
(EPOS)
• Are the cash registers which act as the terminals to a main
computer system
• Providing customers with itemised bills.
• Give useful management information
33-4461420)
[email protected](03
Digital Camera
• Is used to store, picture in digital form.
• Store images using different ways like floppy disk, memory
stick, mini CD ,PC Card and micro device.
• Can be connected to a computer easily through USB port.
33-4461420)
[email protected](03
• Image resolution for digital camera measured by megapixels.
• Higher resolution photo takes up more memory .
Advantages
• No film is needed
• No expensive developing costs
• Pictures are in digital form so it can easily sent over the
internet
33-4461420)
[email protected](03
• You can adjust the size of image
Web camera ( Web Cams)
• Is simply a digital camera that is
used to capture still images and
video images
• These images can then be
transmitted to a computer where
they are stored in graphics format
• Pictures can be used on the
websites
• Camera placed on top the screen
such a system allow video
conferencing
[email protected](0333-
4461420)
1.3.2 Sensors
• Sensors are devices which read or measures physical
properties.
• Temperature, pressure, acidity etc.
• Data in analogue form.
• ADC – Analogue to digital convertor
• DAC – Digital to analogue convertor
Temperature Sensors
• Control a central heating system
• Control/monitor a chemical process
• control/monitor the temperature in a greenhouse
Moisture/Humidity Sensors
• Control/monitor the moisture level in soil in greenhouse
• Control/monitor the humidity leven in the air in a greenhouse
• Monitor (dampness) unwanted moisture level in an industrial
application (e.g car spray booth)
Light Sensor
• Switch street lighting on at night and off during the day
• Monitor/Control light levels in a greenhouse
• Automatically switch on a cars headlights when it gets dark
Infra-red/Motion Sensor
• Turn on the windscreen wipes on a car automatically
• Detect intruders in a burglar alarm system
• Count people entering/leaving a building
Pressure Sensor
• Detect intruders in a burglar alarm system
• Weigh things (e.g. check the weight of a vehicle)
• Monitor/Control a process where gas pressure is important
Acoustic/sound Sensor
• Pick up noise level (e.g. footsteps) in a burglar alarm system
• Detect the noise of liquids dripping in a pipe
Gas Sensor
• Monitor pollution levels in a river or in the air
• Measure O2 or CO2 levels in a greenhouse
• Check for CO2 leaks in a power station
pH Sensor
• Monitor/control acidity/alkalinity levels in the soil in a
greenhouse
• Pollution/environmental monitoring in rivers
1.3.2 Sensors
1.3.3/1.3.4 Working of CPU
• What are computer components?
1. System Software
2. Application Software
System Software
• A program or set of programs that is especially designed to
control different operations of computer system is called
system software. It controls the working of different
components of the computer. The system also enables the
other application programs to execute properly.
• System software falls into following categories:
1. Operating System
2. Language Translators
• Operating system is the main and most popular type of system
software.
Chapter - 2
Basics of Operating System
2.1 Introduction of Operating System:
User’