01 - IBES Computer Notes
01 - IBES Computer Notes
Computer
History of Computer
(i) Abacus
Abacus was the first computing device. It was developed 5000 years ago. It was used
to perform simple addition and subtraction.
A French scientist Charles Xavier developed a machine that could perform addition,
subtraction, multiplication and division.
A French engineer Joseph developed the punchboard system for power looms. It was
used to create specific weaving patterns on cloths. Later on, the system was used in
computing devices.
2
(vii) Charles Babbage (1791–1871)
In 1889, Herman applied the idea of punchboards in computers. He used punch cards
in computers for input and output.
(ix) Atanasoff
George Boole simplified binary system of algebra. His rule states that any
mathematical equation can be stated simply as either true or false.
Generation of Computers
3
(i) First Generation Computers
Duration: 1946–1959
Period: 1959–65
Technology: Transistors
Period: 1965–1971
Period: 1971–1980
Technology: Microprocessor
Period: 1980–Present
Technology: Artificial Intelligence
Analog Computer
Digital Computer
Hybrid Computer
Digital Computer
Digital Computer use (on) and (off) and (on) means (1) and (off) mean 0.
Hybrid Computer
Combination of both analog and Digital Computer these computers are used in
Robotics and Laborites.
Classification of Computers
(iii). Minicomputer
Super Computer
5
• Used for Tanks, Weather forecasting and Atomic research.
Examples:
Mainframe Computer
→ Used in institutions, Ranks and Research institutions. Air companies control ticket
system by the help of mainframe computers.
Example:
Minicomputer
Example:
HP 3000
Types
Programming Languages
A type of language that is close to human language and far from computer is called
high level language.
Example:
FORTRAN
BASIC
COBOL
JAVA
JAVA was created at Sun Microsystems in 1995. JAVA Founder is James Gosling.
C/C++
C++
7
C++ invented by Bjarne Stroustrup in 1880s.
Python
Visual Basic
Designed by Microsoft.
Types
Language Translators
Language translator is a type of system software that are used to convert high level
language into low level language or assembly programs into machine code.
(i) Assembler
(ii) Compiler
(iii) Interpreter
Assembler
Compiler
Compiler is a program that is used to convert high level program into machine
language as a whole.
8
Interpreter
Keyboard
Input Device–QWERTY
101–105 Keys
Function Keys
F1–F12
ESC Key
Tab Key
Backspace Key
Backspace key is used to delete single character on the left of the cursor.
Enter Key
Enter Key is used to move the cursor to the beginning of the next line.
Numeric Keys
Numeric keys are located on the right side of most keyboards. If Num Lock is on the
Keys are used to enter numeric data (+,-,*,/) if Num Lock key is off, the numeric key perform
such operations:
End
Page Down
↓(Down Arrow)
← (Left Arrow)
→ (Right Arrow)
Home
↑(Up Arrow)
Page Up
It is used to switch between Insert Mode and Overtype Mode. It is a toggle Key.
10
Del
Pointing Devices
Mouse
Scanning Devices
Barcode Reader
MICR
OCR
OCR Stands for Optical Character Recognition. Used to scan documents or images.
OMR
•Monitors • Printers
•Plotters • Speakers
Input Devices
•Keyboard • Mouse
•Scanner • Microphones
A display screen must have a video display adapter attached with the computer to
display graphics. It is also called video graphics card.
(i) VGA
VGA Stands for video Graphics Array. It Supports 16 to 256 colors. 4 bit
(ii) SVGA
(iii) XGA
12
What is Printer?
A printer is an output device that prints characters, Symbols and Graphics on paper.
Types of Printers
Impact Printer
An impact printer works like a typewriter. Different types of impact printer. DDL
Non-Impact Printer
An non-impact printer prints characters and graphics on paper without striking paper
different types of non-impact. LTI
Laser Printer
Inkjet Printer
Thermal Printer
What is Plotter?
A plotter is an output device that is used to produce high quality graphics in a variety
of colors. Plotters are used to create maps, architectural drawings, graphs and charts.
Types of Plotters
Flatbed Plotter
Drum Plotter
(i) Bit
Computer works with Binary Digits. These digits are in the form of 0 and 1. A binary
digit is called bit. One bit takes one storage location in memory. It is the smallest unit
for data storage.
(ii) Byte
A collection of 8 bits is called byte. It is used to store single character. The capacity of
the memory or the storage is expressed in terms of bytes.
(v) Gigabyte
14
SDLC
STORAGE DEVICES
Floppy Disk
Floppy disk is also called diskette. It consists of a thin plastic disk coated with
magnetic material. It was introduced by IBM in early 1970s. The standard size of floppy
disk is 3 ½ inch. Capacity 1.44 MB.
Hard Disk
Hard disk is a type of magnetic disk. A hard disk consists of several circular disks
called platters. The platters are used to store data. A platter in a hard disk is coated with a
magnetic material. Hard disk provides large storage capacity. 1500 GB or more. It is much
faster than floppy disk.
CD–ROM
CD–ROM Stands for Compact disk-Read-only Memory. It can store about 700MB of
Data.
Network Topology
Different Topologies
Routers
A router is a device that connects multiple networks that use similar or different
protocols. It manages the bet rout between any two communication networks. It consists of
hardware and software. The hardware can be a network server or a separate computer. The
software includes operating system and routing protocol.
Routers are used when several networks are connected together. They can connect
networks of different countries. They transfer data in less time.
Gateway
Gateway is a device that connects two or more networks with different types of
protocols. Two different types of networks require a gateway to communicate with each
16
other. It receives data from one network and converts it according to the protocol of other
network.
Bridges
Bridge is a device that connects two network segments. It is used to connect similar
types of networks.
LAN
LAN Stands for Local Area Network. It is the most common type of network. It
covers a small area.
WAN
WAN Stands for Wide Area Network. This type of network covers a large area.
MAN
MAN Stands for Metropolitan Area Network. This type of network covers an area of
a city. MAN is larger than LAN but smaller than WAN.
NIC
NIC Stands for Network Interface Card. It is also known as LAN adapter. It is used to
connect computer to a network.
Ethernet
Ethernet is the most commonly used LAN protocol. It use a high speed network cable
and bus topology.
Token Rings
Token Ring is also a LAN technology. It allows network devices to access the
network by passing a special signal called token. Token is a like a ticket.
ARC net
17
TCP/IP
Internet
The work on the internet was started in the 1960s during the cold war of Russia and
America. DARPA= Defense Advanced Research Project Agency. In 1989, all previous
networks were replaced by NSFNET of National Science Foundation.
Email stands for Electronic Mail. First Email sent in 1971. Ray Tomlinson is the
founder of Email. Invent in 1965.
Shiva Ayyadurai is also called the founder of Email, Yahoo, Hotmail and Gmail are
emails.
FTP
Intranet
18
Extranet
HTTP
HTTP stands for Hyper Text Transfer Protocol. It is a communication protocol used
to connect to servers on the World Wide Web.
OSI Model
OSI Stands for Open System Interconnection. OSI Model was developed by
International Standards Organization (ISO) in 1983.
19
CIM → Computer Integrated Manufacturing
Application Software
Writing Letters
Making Presentations
Managing Finances
Managing Business Inventory
Preparing Tax Returns
Designing and Editing Images
Accessing the Web Based Resources
Playing Games
Packaged Software
Custom Software
Shareware
Freeware
Public Domain Software
Web Applications
Productivity Software
Productivity Software help the user to work more effectively and efficiently to
perform various tasks at home, school and business etc. productivity software include word
processors, spreadsheets, databases, project management and personal information
management etc.
20
Word Productivity Software
Word Productivity Software is the most widely used type of application software. It is
also called word processor.
Examples
Microsoft Word
I Work Pages
Libre Office Writer
Spreadsheet Software
Examples
Microsoft Excel
I Work Numbers
Google Docs spreadsheets
Libre Office Cale
Presentation Software
Examples
MS PowerPoint
I work keynote
Google Docs Presentation
Libre Office Impress
Database Software
21
Examples
MS Access
File Maker Pro
Libre Office Base
Oracle
My SQL
Project Management Software is used for planning large projects, scheduling project
tasks and tracking project costs.
Examples:
MS Project
Basecamp
Software Suite
Google Docs
i work
Libre Office
MS Office
MS Office 365
Zoho Office Suite
Accounting Software
22
Examples:
Quick Books
Sage Peachtree
Graphics Software is used to create, manipulate and print graphics. It is also known as
digital imaging software.
Example
CAD
Paint Software
Examples
MS Paint
Illustrator
Examples
Adobe Photoshop
Apple iphoto
MS Office Picture Manager
23
Drawing Software
Drawing software provides a set of lines, shapes and colors to create diagrams and
logos etc.
Examples
Coral Draw
Adobe Illustrator
Auto Desk
Sketch Book
Examples
Premiere Pro
Audition
Sound booth
Educational Software
Email stands for electronic mail first email was send in 1971. Ray Tomlinson.
Gmail
Gmail stands for Google web email service. Gmail was launched in the year 2004.
Paul BGuchheit is the founder of Gmail.
24
FTP
FTP stands for File Transfer Protocol. It is used on internet for sending files from one
place to another.
Example:
Cute FTP
WS-FTP
System Unit
CPU→ Central Processing Unit located on the motherboard. CPU consists of two main units
arithonic 8 logical unit and control unit.
Logic Unit perform logical operations like comparing two data items to find which
data item is greater than, equal to or less than the other.
Machine Cycle
CPU uses the machine cycle to process each instruction. Their Four:
25
System Clock
Types of processors
Registers
A register is a small high speed memory inside CPU. The CPU contains a number of
registers. Registers are used to store information being processed. These are temporary
storage areas from instructions or data. The temporary results during processing are also
stored in registers. Each register has a predefined function. The size of registers is in bytes.
Each byte can store one character of data. A register can be 1, 24 or 8 bytes.
Different Registers:
Parallel Processing
iii. ASCII
ASCII stands for American standard code for information interchange. It is published
in 1968 by ANSI.
iv. Unicode
Memory
Types of Memory
1) Volatile Memory
Volatile memory loses its contents when the computer is turned off. RAM is the most
common type of volatile memory.
2) Non-Volatile Memory
It does not lose its contents when the computer is turned off. ROM, Flash memory
and CMOS are examples of non-volatile memory.
27
RAM
RAM stands for Random Access Memory. It is also called direct access memory.
Random Access means that each individual byte in entire memory can be accessed directly.
RAM is a volatile memory. RAM is also called main memory or primary storage.
ROM
→ BIOS→ Basic Input / Output System. ROM contains a small set of instructions
called ROM BIOS.
Cache Memory
A cache is a small and very fast memory. It is designed to speed up the transfer of
data and instructions. It is located close to the CPU Chip. It is faster than RAM. The data and
instructions that are most recently and most frequently used by CPU are stored in cache.
Flash Memory
Flash Memory consists of non-volatile memory chips. Most computer use it to store
startup instructions as it allows computer to update its constants easily. BIOS are stored in
flash memory.
CMOS
The amount of time required by processor to read data, instructions and information
from memory is called access time.
Port
Types of ports
1) Serial Ports
A type of interface that transmits one bit at a time called serial port.
2) Parallel Ports
A type of interface that transmits many bits at a time called parallel port.
3) USB Ports
USB stands for Universal Serial Bus. USB is the most common type of port to
connect devices to a computer.
4) HDMI Ports
Other Parts
Bus
The devices are connected together by a communications channel called bus. A bus
consists of a set of communication lines to move a large amount of bits in the form of
electrical pulses from one unit to another.
Input Devices
(1). Keyboard
i. Numeric Keypad
Numeric Keypad is located on the right hand side of most keyboards. It has arithmetic
operators keys +,-,÷,*,/ and digits from 0-9 it also has Num Lock.
30
iv. Tab Key
Tab Key is used to move the cursor to the next tab stop.
v. Modifier Keys
→ Ctrl Key
→ ALT Key
→ Shift Key
(i) Home
(ii) End
(iii)Arrows
(iv) Page Up
(v) Page Down
(i) Esc
(ii) Delete
(iii)Insert
(iv) Print
(v) Scroll Lock
31
(7). Digital Camera
Output
The data has been processed into useful information is called output. The output can
be in two forms:
Output Devices
(1). Monitor
32
OLED → Organic Light Emitting Diode
(2). Printer
Impact Printer
Non-Impact Printer
(3). Plotter
(4). Speakers
Storage Devices
Storage:
Storage is used to store data, information and programs permanently. It is also known
as secondary storage auxiliary storage or mass storage.
The main memory is a temporary memory. The storage is required to store data and
program permanently.
The capacity of main memory is limited. The storage is required to store a large
amount of data and programs.
33
Basic Units of Data Storage
i. Bit
Computer works with binary digits. These digits are in the form of 0 and 1. It is the
smallest unit of data storage.
ii. Byte
iii. Kilobyte
iv. Megabyte
v. Gigabyte
vi. Terabyte
vii. Petabyte
viii. Exabyte
ix. Zettabyte
x. Yottabyte
34
Magnetic Disk
Magnetic disk use magnetic material to store data, instructions and information on
disk surface. The data on magnetic disks is stored in tracks and sectors. Tracks form circles
on the surface of a magnetic disk. Each track on a disk is divided into sectors. Each sector
typically stores up to 512 bytes of data. Hard Disk is the most widely used magnetic disk.
Hard Disk
Hard disk is the primary storage device in a computer to store the programs and data
permanently. It is also known as hard disk drive (HDD) or hard drive (HD).
Optical Disk
CD
Types of CDs:
i. CD–ROM
CD-ROM stands for Compact Disk read only memory. The data on CD-ROM can be
read. It cannot be deleted or charged. It can store up to 700 MB of data.
ii. CD–R
iii. CD–RW
DVD
35
i. DVD-ROM
ii. DVD-R
iii. DVD-RW
Blue-Ray Disc
Blue Ray Disk is new and more expensive DVD format it can store up to 100GB of
data.
Memory Cards
Types:
Cloud Storage
Cloud storage is a service to the computer and mobile device users to store data
online.
Enterprise Storage
Enterprise storage is the centralized data storage that is designed for the needs of large
organization.
36
Techniques:
Disk Controllers
Types:
File System
A file system is the underlying structure used by the computer to organize data on a
hard disk or partition.
OPERATING SYSTEM
Software
37
Types of Software
System Software
Application Software
System Software
System software is a set of programs to control and manage the actual operations of a
computer hardware.
An operating system is a set of programs that manages all computer components and
operations.
MS Windows
Linux
A Utility program is a type of system software that is used for effective management
of computer system.
Antivirus Software
File Compression
Application Software
38
Examples:
MS Word
MS Excel
MS Access and Oracle
Graphics Software Such as Corel Draw and Adobe Photoshop.
Operating System
Windows
Linus
UNIX
Sun Solaris
Mac OS
A multiuser operating system allows multiple users to use same computer at same
time.
Example:
Linux
UNIX
Windows Server 2008
An operating system that supports two or more processors that running programs at
the same time is called multiprocessor operating system.
Example:
Linux
UNIX
Windows Server 2008
39
Multitasking Operating System
An operating system that can execute more that one programs at the same time is
called multitasking operating system.
Example:
UNIX
Windows Server 2008
Example:
Linux
UNIX
Windows
Time sharing system allows many users to share the computer simultaneously.
(1). Booting
Booting is a process of starting or restarting the computer operating system sports the
computer to work.
40
2). Warm Boot
41
Examples:
(1). DOS
DOS stands for Disk Operating System. It was developed by Microsoft in early
1980s for personal computers. It is a single-user operating system. A type of operating
system in which only one user can work at a time is called single user operating system.
(2). Windows
Windows is the most widely used operating system developed by Microsoft. It uses
graphical user interface (GUI). Some important versions of window:
• Windows 8 • Windows 7
(3). Mac OS
42
Examples:
(4). UNIX
(5). Linux
Versions:
(6). Chrome OS
Examples:
43
Mobile Operating System
An operating system used in handhold computers and mobile devise is called mobile
operating system.
Examples:
Android
IOS
Windows Phone
Black Berry
Firefox OS
Utility Programs
A utility program is a type of system software that is used for effective management
of computer system. The user can use utility programs to perform maintenance tasks related
to different devices and programs. The utility programs keep the computer system running
smoothly. Most operating systems include different built-in-utility programs. The user can
also buy stand-alone utility programs.
1) File Manager
2) Image Viewer
3) Search Utility
4) Drive Imaging
5) Disk Burning
6) File Compressor
7) Diagnostic Utility
44
8) Personal Computer Maintenance Utility
9) Disk Scanner
10) Antivirus
11) Disk Defragmenter
12) Backup & Restore Utility
13) Task Manager Utility
14) Disk Cleanup
15) Uninstaller
16) Task Scheduler Utility
17) Personal Firewall
18) Spyware Remover
19) Adware Remover
20) File Conversion Utility
45
Data Communication and Networks
Data Communication
1) Sending Device
2) Receiving Device
3) Communication Devices
4) Transmission Medium
They way in which data is transmitted from one place to another is called data
transmission modes.
1) Simplex Mode
A B
2) Half-Duplex Mode
A B
3) Full-Duplex Mode
A B
ON and OFF
1 and 0
High and Low
ii. Analogy Data Transmission
i. Asynchronous Transmission
Send Receive
Data
Sender Receiving
GPS → Global Positioning System
Computer Network
Computer network consists of two or more computers that are connected together to
share information and resources.
LAN
LAN stands for Local Area Network. It is the most type of network. It covers a small
area. It usually connects the computers and other devices within one office or a building or
group of buildings. Speed 10 Mbps to 100 Mbps.
WAN
WAN stands for Wide Area Network. This type of network covers a large area. It
connects computers and other devices in different cities and countries. WAN usually consists
of several LANs connected together speed 56 Kbps to 50 Mbps.
MAN
MAN stands for Metropolitan Area Network. This type of network covers an area of a
city. MAN is larger than LAN but smaller then WAN. It is usually used to connect two or
more LANs in a city or town.
PAN
PAN stands for personal Area Network. It is a network that connects personal devices
using wired and wireless technology. Range about 30 Feet.
Network Architecture
Network architecture is the design of computers and other devices in a networks and
how they communicate.
i. Peer-to-Peer Network
Network Topologies
48
TCP/IP
WIFI
UWB
RFID
NFC
WiMAX
WAP
Switched Networks
Circuit Switching
Circuit Switching creates a dedicated path between two nodes. The entire circuit must
be available to transfer data. Data is sent on circuit switching in three phases.
49
Packet Switching
Packet Switching network divides messages into a fixed or variable sized packets and
sent them to the destination.
Twisted Pair
Twisted Pair is the most commonly used physical transmission medium. It is used in
local area network to connect computers and other devices.
Twisted Pair Consists of a pair of copper wires. The pair of wires is covered by a plastic
insulation and it is twisted together.
Coaxial Cable
Fiber Optics
Fiber optic cable consists of thin strands of glass or plastic called core. The strands are
thin like human hair. The core is the center of the fiber optic that uses light to transmit data.
Most telephone companies. ISPs and cable TV operators are using it.
i. MU → Mobile Unit
ii. RBS → Radio Base Station
iii. PSTN → Public Switched Telephone Network
iv. MTSO → Mobile Telephone Switching Office
50
OSI Model
Layers of OSI
7– Application Layer
6– Presentation Layer
5– Session Layer
4– Transport Layer
3– Network Layer
1– Physical Layer
Consist of 32 bits.
IPv6 Addressing
Firewalls
Firewalls is a set of components used to restrict the access to data and information on
a network. It may consists of hardware and software. Firewalls are used to restrict the
unauthorized users from accessing the resources of an organization.
Programing Languages
Program
Algorithm
Flowchart
Programming Languages
i. Machine Language
ii. Assembly Language
i. Procedural languages
ii. Object Oriented Language
iii. Non-Procedural Languages
Procedural languages are also known as 3 rd GL. Procedural language tells the
computer what to do and how to do.
Types:
1. FORTRAN
2. BASIC
3. COBOL
4. PASCAL
5. C
Macros
Macro is a set of statements that tells the application how to complete a task.
53
Web Page Program Development
A collection of connected documents on the internet is called World Wide Web. Each
document is called a webpage. It may consist of text, graphics, audio or video etc. the
developer of the webpages is called webpage author. The techniques are used to develop web
pages.
i. HTML
HTML stands for Hyper Text markup Languages. HTML is not a programming
language.
ii. Scripts
iii. Applet
A small save program that can be embedded in HTML page is called an applet.
iv. Servlet
Scripting languages
1. JAVA
2. Java Script
3. VB Script
4. PERL → Practical Extraction and Report Language.
5. DHTML → Dynamic Hyper Text Markup Language.
6. XML → Extensible Markup Language
7. XTHML → Extensible Hyper Text Markup Language.
54
Data Processing & Database management System
Data
Example:
Students fill an admission form when they get admission in college. The form consists
of raw facts about the students. These raw facts are student’s name, father’s name,
address etc. the purpose of collecting this data is maintain the records of the students
during their study period in the college.
Information
Information is the processed form of data. It is more meaningful than data and it is
used for making decision.
Example:
In college and universities the raw facts about students are stored on admission forms.
If we want to find out a list of all students who live in Faisalabad, we will apply some
processing on this data. This processing will give us the desired list. This list is a form of
processed data and will be called information.
Types of Data:
1. Numeric Data (0 to 9)
2. Alphabetic Data (A to Z)
3. Alphanumeric Data (0 to 9, A–Z)
4. Image Data
5. Audio Data
6. Video Data
Data Processing
Metadata
Database
Database is an organized collection of related data. The word organized means that
data is stored in such a way that the user can store manipulate and retrieve data easily. The
word related means that the database is normally created to store data about a particular topic.
Field
A combination of one or more characters is called field. It is the smallest unit of data
that can be accessed by the user.
Record
File
Keys
Primary Key
56
Candidate Key
The attribute or set of attributes that can be used as primary key is called candidate
key.
Alternate Key
The candidate keys that are not selected as primary key are known as alternate keys.
Composite Key
A primary key that consists of two or more attributes is known as composite key.
Foreign Key
Relationship
System
A system is a set of elements or components that interact with one another ot achieve
a common goal.
Elements of System:
Internet
Network of networks.
58
History of Internet
The work on internet was started in 1960s during the cold war of Russia and America.
America wanted to communicate with its armed forces. A network of four computers was
developed in the beginning for this purpose.
ARPANET
Paul Baran
NCP Protocol
DARPA
TCP/IP
59
Email
Junk Email
Email Address
Every email account has a unique address. An email address usually has two parts:
User ID
Identity of email service
Mailing List
IM → Instant Messaging
Mozilla Firefox
Released → 2004
60
Internet Explorer
Safari
2003 by Apple
Google Chrome
2008 (Released)
1. Inbox
2. Junk Folder
3. Deleted or Trash
4. Sent
Sent is a folder that contains all email messages that have been sent.
i. TO
It is used to enter the email address of the person who will receive the email.
ii. CC
It stands for Carbon Copy. It is used to enter the email address of another person. A
copy of email is sent to this email address.
61
iii. BCC
Blind Carbon Copy. It works similar to CC. The difference is that the recipient cannot
see the email addresses typed in this box.
iv. Subject
v. Message
vii. Inbox
viii. Sent
ix. Deleted
Address Book
Computer Crime
A type of crime in which a computer is the target or tool for an illegal activity is
called computer crime.
Security
Data Security
62
Firewall
Backup
Encryption
Worms
A worm is a program that copies itself repeatedly in memory or in disk until there left
no space. The computer may stop working in this situation. Worm spreads from one
computer to another through networks. Some examples of worm are SQL Slammer, the
Blaster worm, Sasser, I LOVE YOU and Melissa
Hacking
Antivirus
Antivirus software is used to detect and remove viruses, worms and adware etc.
Examples:
63
(iv). Kaspersky (v). Bit Defender (vi). NOD32
Internet
Father of internet is Vinton Gray Cerf (American) in 1960s.
Search Engines
Yahoo
Headquarter: California
Sundar Pichai.
Microsoft
64
Headquarter : Washington D.C
Apple
Headquarter : California
Amazon
Ali Baba
Founder : Jack Ma
Headquarter : California
65
YouTube
Headquarter : California
Headquarter : California
Headquarter : California
Hewlett-Packard (HP)
Headquarter : California
Samsung
66
Headquarter : South Korea
Wikipedia
Dell
Formed in : 1968
67