Data Science - i
Data Science - i
Data and information are similar concepts, but they are not the same thing.
The main difference between data and information is that data is a raw item
and information is the processed one.
Data
The term data is simply defined as “facts and figures”. Each piece of data is a
little fact that doesn’t mean much on its own. The word data can be used for a
singular fact or a collection of facts. It comes from the Latin word datum,
meaning “something given”.
The word datum is still the technically correct singular form of data, but is
rarely used in common language.
Information
Information is defined simply as “news or knowledge received or given”. It is
the result when you have processed, interpreted, and organized facts. The
word comes from the Latin word īnfōrmātiō. It’s meaning is “formation or
conception.”
Data Science:
Data science is an interdisciplinary field/Multidiciplinary field that uses
scientific methods, processes, algorithms and systems to
extract knowledge and insights from noisy, structured and unstructured data.
Data science is related to data mining, machine learning and big data.
Types of Data
The flexibility of IT is that it is able to process a variety of data types. The
different data types are shown in below figure:
DATA
NUMBER
TEXT IMAGES AUDIO VEDIO
S
Get ready with the data to be entered into the computer and order the
computer to execute the program.
Now, while executing the program, the computer asks for the data to be
processed. Once data is provided, we get the information/ results from
the computer in the form of output.
Method
Read the text character by character. If the character is a vowel, that is,
it is ‘a’, ‘e’, ‘i’, ‘o’, ‘u’ or ‘A’, ‘E’, ‘I’, ‘O’, ‘U’ count it as a vowel. When the
end of the text is reached, output count as the number of vowels.
Algorithm
3. Read a character from the string of characters (or text) waiting at the
input unit. Store it in a location in memory labeled input-character.
7. Stop
The above algorithm works for the text of any length. For easy understanding
the algorithms are expressed in the form of flowcharts. Beginners can easily
understand the Flow charts. The symbols used in the flow charts are defined
by the International standards organization.
Flow chart for counting of vowels in the given text
ALGORITHM:
Advantages of algorithm
FLOWCHART:
The first design of flowchart goes back to 1945 which was designed by
John Von Neumann. Unlike an algorithm, Flowchart uses different symbols
to design a solution to a problem. It is another commonly used
programming tool. By looking at a Flowchart one can understand the
operations and sequence of operations performed in a system. Flowchart
is often considered as a blueprint of a design used for solving a specific
problem.
Advantages of flowchart:
Used to represent
start and end of
Oval
flowchart
Decision making.
Used to represent
Diamond
the operation in
which there are
two/three
alternatives, true
and false etc
Desktop Computer
The tower or case of a desktop computer is the cabinet that houses the
computer itself. Sometimes computer cases are horizontal to enable the user to
fit them on a shelf more easily. However, vertical towers are the typical
configuration for most desktops. Tower cases are usually made out of metal and
plastic. Some people keep the tower on an actual desktop, but it can also sit on
a bookshelf or even on the floor.
Motherboard
The motherboard might also be called the main board. The motherboard is the
primary circuit board of a computer. The motherboard supplies power to the
central processing unit and every other hardware component installed on a
computer. Through the motherboard, these components work together to
perform processes.
Processor
The processor of a computer is often called the CPU, or the central processing
unit. Think of the processor as the brains of the unit. This is the internal part of
the computer responsible for computing and calculating information. The
processor may be an integral part of the computer, but it is quite small in size.
The CPU fits snugly into its corresponding socket on the motherboard.
Memory (RAM)
RAM is an acronym that stands for “random access memory.” RAM may also be
called short-term memory. RAM enables a computer to execute processes.
Therefore, the more RAM a computer has, the more processes it can complete
at one time and the faster it can complete them. Any information contained in
the RAM disappears when the computer is turned off.
Hard Drive
The hard drive of a computer is the place where the system stores all programs
installed on the computer and all data entered into it. To use software, you must
install it on the computer’s hard drive. Once it’s there, the hard drive will
retrieve all information needed to run the program. Hard drives vary in capacity
and the speed at which they retrieve information.
Video Card
A video card might also be called a graphics card. The video card on a computer
makes it possible for images to display on the screen. The video card plugs into
the motherboard. Once installed, it generates images for display. Video cards
come with different specifications and capabilities. An inexpensive video card
may not produce high-quality graphics on a computer, while a more expensive
video card should make it possible to view images at a higher level. Anyone who
uses a computer to work with photographs or for gaming will need a high-
quality video card.
Optical Drive
Most desktop computers come equipped with at least one optical drive. The
optical drive of a computer is responsible for reading the contents on DVDs and
CDs. Optical drives perform this function with a special device that spins very
fast. Some optical drives spin faster than others: Slower-speed optical drives are
less expensive than higher-speed drives, though they do not work as well.
Monitor
The monitor consists of a screen that makes it possible to see data or programs
being executed on a computer. The resolution of a monitor refers to the clarity
and sharpness of the images it displays. Monitors of larger size and higher
resolution have higher prices. Some of the newer monitors even have touch-
screen technology, enabling the user to touch the screen to make selections.
Mouse
A mouse is a hand-held device that enables the user to move the cursor around
the computer screen. By moving the mouse on a flat surface, the pointer on the
screen can be moved. A mouse may have two or more buttons, which you use
to select and activate options on the computer screen. A single click of the left
button selects an item, while a double-click can open a file or a program.
Pressing and holding the left button enables you to select and move items on
the computer screen.
Keyboard
The keyboard plugs into the desktop computer. Entering text into the computer
is primarily achieved with the keyboard.
The keys on your keyboard can be divided into several groups based on
function:
Control keys. These keys are used alone or in combination with other
keys to perform certain actions. The most frequently used control keys
are Ctrl, Alt, the Windows logo key , and Esc.
Function keys. The function keys are used to perform specific tasks.
They are labelled as F1, F2, F3, and so on, up to F12. The functionality of
these keys differs from program to program.
Navigation keys. These keys are used for moving around in documents
or webpages and editing text. They include the arrow keys, Home, End,
Page Up, Page Down, Delete, and Insert.
Numeric keypad. The numeric keypad is handy for entering numbers quickly.
The keys are grouped together in a block like a conventional calculator or
adding machine.
Data representation refers to the form in which data is stored, processed and
transmitted. Digital devices store data using the binary number system.
The numbering system we use is called the decimal system because the prefix
‘deci’ means 10, and there are 10 numbers in the decimal system: 0, 1, 2, 3, 4,
5, 6, 7, 8 and 9.
The prefix bi- means two (as in bicycle, biplane, or bilingual), so the binary
numbering system is a numbering system in which there are only two unique
values: 0 and 1.
152/2 76 0 (LSB)
76/2 38 0
38/2 19 0
19/2 9 1
9/2 4 1
4/2 2 0
2/2 1 0
1/2 0 1(MSB)
(152)10=(10011000)2
Step 2:
Representation of Characters in
Computer:
Decimal BCD
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
Using this conversion, the number 25, for example, would have a BCD number
of 0010 0101 or 00100101. However, in binary, 25 is represented as 11001.
BCD was used in some of the early digital computers, and the IBM System/360
series systems.
An “ASCII file” is a data or text file that contains only characters coded from the
standard ASCII character set. Characters 0 through 127 comprise the Standard
ASCII Set and characters 128 to 255 are considered to be in the Extended ASCII
Set. These codes, however, may not be the same in all computers.
Step 1: Notice that the first letter is upper case and there is an
exclamation mark.
In the ASCII table, the capital letter W is assigned to the decimal
number 87,
o is assigned to 111,
w to 119 and the exclamation mark is to 33.
Step 2: Convert the decimal numbers 87, 11, 77 and 33 to binary.
For W:
87 = 64 + 16 + 4 + 2 + 1
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
0 1 0 1 0 1 1 1
For o:
111 = 64 + 32 + 8 + 4 + 2 +1
128 64 32 16 8 4 2 1
0 1 1 0 1 1 1 1
For w:
119 = 64 + 32 + 16 + 4 + 2 + 1
128 64 32 16 8 4 2 1
0 1 1 1 0 1 1 1
For !:
33 = 32 + 1
128 64 32 16 8 4 2 1
0 0 1 0 0 0 0 1
Unicode
It is a 16 bit code, proposed by international committee. With this code all the
symbols of all languages are represented. We can represent 65536 symbols
with Unicode. So far 58000+ symbols are indentified in the world
We know that the bits 0 and 1 corresponding to two different range of analog
voltages. So, during transmission of binary data from one system to the other,
the noise may also be added. Due to this, there may be errors in the received
data at other system.
That means a bit 0 may change to 1 or a bit 1 may change to 0. We can’t avoid
the interference of noise. But, we can get back the original data first by
detecting whether any errors is present and then correcting those errors. For
this purpose, we can use Error detection codes
Error detection codes − are used to detect the errors present in the received
data bitstream. These codes contain some bits, which are included/appended to
the original bit stream. These codes detect the error, if it is occurred during
transmission of the original data bitstream
Parity Code
It is easy to include append one parity bit either to the left of MSB or to the right
of LSB of original bit stream. There are two types of parity codes, namely even
parity code and odd parity code based on the type of parity being chosen.
The value of even parity bit should be zero, if even number of ones present in
the binary code. Otherwise, it should be one. So that, even number of ones
present in even parity code. Even parity code contains the data bits and even
parity bit.
The following table shows the even parity codes corresponding to each 3-bit
binary code. Here, the even parity bit is included to the right of LSB of binary
code.
000 0 0000
001 1 0011
010 1 0101
011 0 0110
100 1 1001
101 0 1010
110 0 1100
111 1 1111
Here, the number of bits present in the even parity codes is 4. So, the possible
even number of ones in these even parity codes are 0, 2 & 4.
If the other system receives one of these even parity codes, then there is no
error in the received data. The bits other than even parity bit are same as that
of binary code.
If the other system receives other than even parity codes, then there will be an
errors in the received data. In this case, we can’t predict the original binary
code because we don’t know the bit positions of error.
Therefore, even parity bit is useful only for detection of error in the received
parity code. But, it is not sufficient to correct the error.
The value of odd parity bit should be zero, if odd number of ones present in the
binary code. Otherwise, it should be one. So that, odd number of ones present
in odd parity code. Odd parity code contains the data bits and odd parity bit.
The following table shows the odd parity codes corresponding to each 3-bit
binary code. Here, the odd parity bit is included to the right of LSB of binary
code.
000 1 0001
001 0 0010
010 0 0100
011 1 0111
100 0 1000
101 1 1011
110 1 1101
111 0 1110
Here, the number of bits present in the odd parity codes is 4. So, the possible
odd number of ones in these odd parity codes are 1 & 3.
If the other system receives one of these odd parity codes, then there is no
error in the received data. The bits other than odd parity bit are same as that of
binary code.
If the other system receives other than odd parity codes, then there is an
errors in the received data. In this case, we can’t predict the original binary
code because we don’t know the bit positions of error.
Therefore, odd parity bit is useful only for detection of error in the received
parity code. But, it is not sufficient to correct the error.
Input Units:
Following are some of the important input devices which are used in a
computer −
Keyboard
Mouse
Joy Stick
Light pen
Track Ball
Scanner
Graphic Tablet
Microphone
Magnetic Ink Card Reader(MICR)
Optical Character Reader(OCR)
Bar Code Reader
Optical Mark Reader(OMR)
Keyboard
Keyboard is the most common and very popular input device which helps to
input data to the computer. The layout of the keyboard is like that of traditional
typewriter, although there are some additional keys provided for performing
additional functions.
Keyboards are of two sizes 84 keys or 101/102 keys, but now keyboards with
104 keys or 108 keys are also available for Windows and Internet.
Typing Keys
1
These keys include the letter keys (A-Z) and digit keys (0-9) which
generally give the same layout as that of typewriters.
Numeric Keypad
2 It is used to enter the numeric data or cursor movement. Generally, it
consists of a set of 17 keys that are laid out in the same configuration
used by most adding machines and calculators.
3 Function Keys
The twelve function keys are present on the keyboard which are
arranged in a row at the top of the keyboard. Each function key has a
unique meaning and is used for some specific purpose.
Control keys
4 These keys provide cursor and screen control. It includes four
directional arrow keys. Control keys also include Home, End, Insert,
Delete, Page Up, Page Down, Control(Ctrl), Alternate(Alt), Escape(Esc).
Mouse
Mouse is the most popular pointing device. It is a very famous cursor-control
device having a small palm size box with a round ball at its base, which senses
the movement of the mouse and sends corresponding signals to the CPU when
the mouse buttons are pressed.
Generally, it has two buttons called the left and the right button and a wheel is
present between the buttons. A mouse can be used to control the position of
the cursor on the screen, but it cannot be used to enter text into the computer.
Advantages
Easy to use
Not very expensive
Moves the cursor faster than the arrow keys of the keyboard.
Joystick
Joystick is also a pointing device, which is used to move the cursor position on
a monitor screen. It is a stick having a spherical ball at its both lower and upper
ends. The lower spherical ball moves in a socket. The joystick can be moved in
all four directions.
The function of the joystick is similar to that of a mouse. It is mainly used in
Computer Aided Designing (CAD) and playing computer games.
Light Pen
Light pen is a pointing device similar to a pen. It is used to select a displayed
menu item or draw pictures on the monitor screen. It consists of a photocell
and an optical system placed in a small tube.
When the tip of a light pen is moved over the monitor screen and the pen
button is pressed, its photocell sensing element detects the screen location
and sends the corresponding signal to the CPU.
Track Ball
Track ball is an input device that is mostly used in notebook or laptop
computer, instead of a mouse. This is a ball which is half inserted and by
moving fingers on the ball, the pointer can be moved.
Since the whole device is not moved, a track ball requires less space than a
mouse. A track ball comes in various shapes like a ball, a button, or a square.
Scanner
Scanner is an input device, which works more like a photocopy machine. It is
used when some information is available on paper and it is to be transferred to
the hard disk of the computer for further manipulation.
Scanner captures images from the source which are then converted into a
digital form that can be stored on the disk. These images can be edited before
they are printed.
Digitizer
Digitizer is an input device which converts analog information into digital form.
Digitizer can convert a signal from the television or camera into a series of
numbers that could be stored in a computer. They can be used by the
computer to create a picture of whatever the camera had been pointed at.
Digitizer is also known as Tablet or Graphics Tablet as it converts graphics and
pictorial data into binary inputs. A graphic tablet as digitizer is used for fine
works of drawing and image manipulation applications.
Microphone
Microphone is an input device to input sound that is then stored in a digital
form.
The microphone is used for various applications such as adding sound to a
multimedia presentation or for mixing music.
Storage Devices
Types of Storage
• Primary Storage
• Secondary Storage
• Tertiary Storage
• Off-line Storage
Primary Storage
It is known as main memory.
Main memory is directly or indirectly connected to the central processing
unit via a memory bus.
The CPU continuously reads instructions stored there and executes them
as required.
• Example: – RAM – ROM – Cache
RAM
It is called Random Access Memory because any of the data in RAM can
be accessed just as fast as any of the other data.
There are two types of RAM
DRAM (Dynamic Random Access Memory)
SRAM (Static Random Access Memory)
Static RAM:
Faster
More expensive
More power consumption
does not need to be refreshed.
Dynamic RAM:
Slower
Less expensive
Less power consumption
needs to be refreshed thousands of times per second
ROM
This memory is used as the computer begins to boot up. Small programs
called firmware are often stored in ROM chips on hardware devices (like a
BIOS chip), and they contain instructions the computer can use in
performing some of the most basic operations required to operate
hardware devices. ROM memory cannot be easily or quickly overwritten
or modified
Cache
Cache is a high-speed access area that can be either a reserved section
of main memory or a storage device. Most computers today come with L3
cache or L2 cache, while older computers included only L1 cache.
Secondary Storage
It is not directly accessible by the CPU. • Computer usually uses its
input/output channels to access secondary storage and transfers the
desired data using intermediate area in primary storage.
Example:Hard disk
Hard Disk
The hard disk drive is the main, and usually largest, data storage device
in a computer. It can store anywhere from 160 gigabytes to 2 terabytes.
Hard disk speed is the speed at which content can be read and written on
a hard disk. A hard disk unit comes with a set rotation speed varying from
4500 to 7200 rpm. Disk access time is measured in milliseconds.
Tertiary Storage
Typically it involves a robotic mechanism which will mount (insert) and
dismount removable mass storage media into a storage device. It is a
comprehensive computer storage system that is usually very slow, so it is
usually used to archive data that is not accessed frequently. •This is
primarily useful for extraordinarily large data stores, accessed without
human operators.
Examples: – Magnetic Tape – Optical Disc
Magnetic Tape
A magnetically coated strip of plastic on which data can be encoded.
Tapes for computers are similar to tapes used to store music. Tape is
much less expensive than other storage mediums but commonly a much
slower solution that is commonly used for backup.
Optical Disc
Optical disc is any storage media that holds content in digital format and
is read using a laser assembly is considered optical media. The most
common types of optical media are –
Blu-ray (BD)
Compact Disc (CD)
Digital Versatile Disc (DVD)
Off-line Storage
Also known as disconnected storage. It is a computer data storage on a
medium or a device that is not under the control of a processing unit. It
must be inserted or connected by a human operator before a computer
can access it again.
Examples: – Floppy Disk – Zip diskette – USB Flash drive – Memory card
Storage Cell:
The Storage cell is the fundamental building block of computer memory. The
memory cell is an electronic circuit that stores one bit of binary information and
it must be set to store a logic 1 (high voltage level) and reset to store a logic 0
(low voltage level).
Properties of Ideal Storage Cell:
What are computer storage devices (MAGNETIC & OPTICAL STORAGE DEVICES)
The storage devices are useful to save or archive digital information according
to the user’s requirements. This data and files are stored in an organized way to
access it more easily. The information or data can be text files, videos,
programs, documents, images, and applications.
Characteristics of Secondary Storage Devices:
The secondary memory is also called external or permanent memory.
It is non-volatile memory but also a backup memory for the computer.
Secondary memory is made up of magnetic and optical devices.
Secondary memory stores the data permanently. Even if you have
switched off the power, it doesn’t lose the data.
The processing speed is slower than the primary memory.
A computer can work without a secondary memory but not without a
primary one.
1. USB Drive
A USB drive is a small, light, ultra-portable storage device compatible with
Windows, Mac, and Linux.
The pen drive, also known as a USB memory device, memory stick, USB flash drive, memory
unit, data stick, kitchen drive, thumb drive, USB keychain, USB stick, or a portable data storage
unit.
The pen drive replaced floppy drives and became one of the most popular
portable data storage devices on the market. It is small, lightweight, practical,
and can be easily carried anywhere instead of an optical drive or a
traditional hard disk drive.
These types of computer storage devices are used to store documents, photos,
music files, and videos. Its range is from 2 GB to 1 TB.
2.Hard Disk Drive
The short form of the hard disk drive is HDD. A hard drive is a computer-
accessible storage device based on the made of magnetic recording
technology. They are used in the vast majority to store all types of small
or big files or data of computers, storing backup copies of data, like file
storage, etc., on our digital computer or Laptop.
A round-shaped disk consists inside the hard disk; the disk rotates inside
the hard disk. The faster the speed of turns, the faster it can store or read
data.
The speed of the hard disk is measured in terms of RPM, i.e.,
Revolution Per Minute. Most hard disks are of 5400 RPM or 7200 RPM;
obviously, the hard disk of 7200 RPM is much faster than the 5400 RPM.
There are four types of Hard Disk drives.
1. PATA (Parallel Advanced Technology Attachment)
2. SATA (Serial Advanced Technology Attachment)
3. SCSI (Small Computer System Interface)
3. Solid State Drive
SSD stands for “Solid State Drive,” which is a computer storage devices
bit similar to a hard disk drive., but it has storage capacity more than a
hard disk and a more sophisticated device.
It neither has a motor nor a spinning disk as a hard disk has. It uses the
integrated circuit memory made of semiconductor technology like
RAM, but it is used to store data permanently.
Hard Disk read/ write the data with the help of a mechanical arm. In
contrast, an SSD does not have a mechanical arm, so an
embedded processor, also known as a Controller, is used to read and write
data. This difference makes SSD faster than HDD.
The better quality of the controller will be of a good SSD for the
computers. Like flash and USB drives, and memory cards store the data,
SSD stores the data in the same way.
4. Memory Card
A memory card is also known as a flash memory card or SD
Card (Secure Digital Card), is an external storage medium that allows us
to save and delete information. We use memory cards as secondary
storage for our devices to store data such as photos, videos, files, etc.
A memory card is considered a small storage medium that is commonly
used for temporary storage. A memory card is a type of storage media
often used to store photos, videos, or other data in electronic devices.
Devices that typically use memory cards include DSLR cameras,
smartphones, MP3 players, and printers. It is also used for small, portable,
and remote computer storage devices.
The amount of storage capacity can vary depending on the type of
memory card. However, in general, most memory cards today range in
size from 4 GB (gigabytes) to 256 GB. These numbers will increase in
the future.
5. Optical Devices
Optical devices are nothing but CD and DVD we were used to watching
videos and many more. Both are storage devices of computer are still
used to store data.
A. CD
A ‘Compact Disc‘ is an abbreviated form of a CD. It is a flat, round,
optical storage medium used to store data like audio.
They are made to replace the floppy disks used to store files and
programs from the computer. CDs eventually made floppy disks
obsolete.
There are two sides of Compact Disc; one side contains the data, while on
the other side, there is a label made for reading data is in the disc. It is an
optical medium that saves our digital data.
Discs can store up to 700 MB of data, which equates to approximately
80 minutes of audio.
Mini-discs have also been recorded that can keep about 24 minutes of
audio or software drivers. Initially, CDs offered more data than a
computer’s hard drive, although, in modern technology, hard drives
outperform CDs by a mile.
B. DVD
A complete form of DVD is “Digital Video Disc” or can “Digital Versatile
Disc.”
DVDs are similar to CDs and are also optical storage devices. Before this,
videos and films were recorded on a Video CD (VCD), while some DVDs
are used to store software and computer files.
Also, DVDs can be double-layer and double-sided, which significantly
increases the size of the drive. This allowed users to store data up
to 17.08 GB on a dual-layer, double-sided disc. A single-layer, the single-
sided disc contains approximately 4.7 GB of data.
DVDs are in greater demand than CDs; they are used to record and store
all data formats (audio, video, images, and photos), images (img, iso).
However, after the DVD’s arrival, the market saw a massive reduction in
CDs’ demand.
6. Floppy Disk
Floppy Disk is another storage device of a computer. The first floppy was
first created in 1969, this the same year that the Internet was launched.
These magnetic disks are fragile and flexible enclosed in a square or
rectangular plastic casing. That’s why they are called floppy disks as well
as diskettes.
The floppy disk stores a small amount of data. Earlier it used to be more
on the computer due to its low storage capacity they have been replaced
by CDs and flash memories that are small, portable.
In the 70-90s, floppy disks played a much more critical role in computers,
but they lost the competition to CDs because the information capacity and
lifespan of optical discs were higher.
The floppy disk was the primary portable storage medium for data and
programs before the CDs’ rise in popularity.
7. Magnetic Tape
Magnetic tape is also a storage device similar to audio cassettes. It is like
the old-time audio case Magnetic Tape was primarily used to store a
large amount of audio data. They were cheap. Even today, it is used to
create a data backup.
Magnetic tape has been an effective medium to store audio and binary
data storage for many years and is still part of some systems’ storage
devices.
Magnetic tape is made of a thin and long plastic strip. A magnetic layer is
applied to it, and the data is saved to the layer which is needed to send
the tape to a coil to read, which by a process decodes the data present on
that tape.
This tape was also used to store computer data. But these devices decline
in popularity after the arrival of hard disk drives in the market.
Network Topology
Topology defines the structure of the network of how all the components are
interconnected to each other. There are two types of topology: physical and
logical topology.
CSMA: It is a media access control used to control the data flow so that data
integrity is maintained, i.e., the packets do not get lost. There are two
alternative ways of handling the problems that occur when two nodes send the
messages simultaneously.
Ring Topology
o Ring topology is like a bus topology, but with connected ends.
o The node that receives the message from the previous computer will
retransmit to the next node.
o The data flows in one direction, i.e., it is unidirectional.
o The data flows in a single loop continuously known as an endless loop.
o It has no terminated ends, i.e., each node is connected to other node and
having no termination point.
o The data in a ring topology flow in a clockwise direction.
o The most common access method of the ring topology is token passing.
o Token passing: It is a network access method in which token is
passed from one node to another node.
o Token: It is a frame that circulates around the network.
Tree topology
o Tree topology combines the characteristics of bus topology and star
topology.
o A tree topology is a type of structure in which all the computers are
connected with each other in hierarchical fashion.
o The top-most node in tree topology is known as a root node, and all other
nodes are the descendants of the root node.
o There is only one path exists between two nodes for the data
transmission. Thus, it forms a parent-child hierarchy.
Mesh topology
Hybrid Topology
o The combination of various different topologies is known as Hybrid
topology.
o A Hybrid topology is a connection between different links and nodes to
transfer the data.
o When two or more different topologies are combined together is termed
as Hybrid topology and if similar topologies are connected with each other
will not result in Hybrid topology. For example, if there exist a ring
topology in one branch of ICICI bank and bus topology in another branch
of ICICI bank, connecting these two topologies will result in Hybrid
topology.
Transmission modes
o The way in which data is transmitted from one device to another device is
known as transmission mode.
o The transmission mode is also known as the communication mode.
o Each communication channel has a direction associated with it, and
transmission media provide the direction. Therefore, the transmission
mode is also known as a directional mode.
o The transmission mode is defined in the physical layer.
o Simplex mode
o Half-duplex mode
o Full-duplex mode
Simplex mode
o In Simplex mode, the communication is unidirectional, i.e., the data flow
in one direction.
o A device can only send the data but cannot receive it or it can receive the
data but cannot send the data.
o This transmission mode is not very popular as mainly communications
require the two-way exchange of data. The simplex mode is used in the
business field as in sales that do not require any corresponding reply.
o The radio station is a simplex channel as it transmits the signal to the
listeners but never allows them to transmit back.
o Keyboard and Monitor are the examples of the simplex mode as a
keyboard can only accept the data from the user and monitor can only be
used to display the data on the screen.
o The main advantage of the simplex mode is that the full capacity of the
communication channel can be utilized during transmission.
Half-Duplex mode
o an a Half-duplex channel, direction can be reversed, i.e., the station can
transmit and receive the data as well.
o Messages flow in both the directions, but not at the same time.
o The entire bandwidth of the communication channel is utilized in one
direction at a time.
o In half-duplex mode, it is possible to perform the error detection, and if
any error occurs, then the receiver requests the sender to retransmit the
data.
o A Walkie-talkie is an example of the Half-duplex mode. In Walkie-talkie,
one party speaks, and another party listens. After a pause, the other
speaks and first party listens. Speaking simultaneously will create the
distorted sound which cannot be understood.
Advantage of Half-duplex mode:
o In half-duplex mode, both the devices can send and receive the data and
also can utilize the entire bandwidth of the communication channel during
the transmission of data.
Full-duplex mode
Internet
Internet is defined as an Information super Highway, to access information over
the web. However, It can be defined in many ways as follows:
Internet is a world-wide global system of interconnected computer
networks.
Internet uses the standard Internet Protocol (TCP/IP).
Every computer in internet is identified by a unique IP address.
IP Address is a unique set of numbers (such as 110.22.33.114) which
identifies a computer location.
A special computer DNS (Domain Name Server) is used to give name to
the IP Address so that user can locate a computer by a name.
For example, a DNS server will resolve a
name http://www.amazon.in to a particular IP address to uniquely
identify the computer on which this website is hosted.
Internet is accessible to every user all over the world.
Evolution
The concept of Internet was originated in 1969 and has undergone several
technological & Infrastructural changes as discussed below:
The origin of Internet devised from the concept of Advanced Research
Project Agency Network (ARPANET).
ARPANET was developed by United States Department of Defense.
Basic purpose of ARPANET was to provide communication among the
various bodies of government.
Initially, there were only four nodes, formally called Hosts.
In 1972, the ARPANET spread over the globe with 23 nodes located at
different countries and thus became known as Internet.
By the time, with invention of new technologies such as TCP/IP protocols,
DNS, WWW, browsers, scripting languages etc.,Internet provided a
medium to publish and access information over the web.
Advantages
Internet covers almost every aspect of life, one can think of. Here, we will
discuss some of the advantages of Internet:
Disadvantages
However, Internet has proved to be a powerful source of information in almost
every field, yet there exists many disadvantages discussed below:
What is an IP?
IP addresses are not random. They are mathematically produced and allocated
by the Internet Assigned Numbers Authority (IANA), a division of the Internet
Corporation for Assigned Names and Numbers (ICANN). ICANN is a non-profit
organization that was established in the United States in 1998 to help maintain
the security of the internet and allow it to be usable by all. Each time anyone
registers a domain on the internet, they go through a domain name registrar,
who pays a small fee to ICANN to register the domain.
Packet Switching
o The packet switching is a switching technique in which the message is
sent in one go, but it is divided into smaller pieces, and they are sent
individually.
o The message splits into smaller pieces known as packets and packets are
given a unique number to identify their order at the receiving end.
o Every packet contains some information in its headers such as source
address, destination address and sequence number.
o Packets will travel across the network, taking the shortest path as
possible.
o All the packets are reassembled at the receiving end in correct order.
o If any packet is missing or corrupted, then the message will be sent to
resend the message.
o If the correct order of the packets is reached, then the acknowledgment
message will be sent.
Node takes routing Node does not take any routing decision.
decisions to forward the
packets.
Congestion cannot occur Congestion can occur when the node is busy,
as all the packets travel and it does not allow other packets to pass
in different directions. through.
DNS
DNS is a TCP/IP protocol used on different platforms. The domain name space is
divided into three different sections: generic domains, country domains, and
inverse domain.
Generic Domains
o It defines the registered hosts according to their generic behavior.
o Each node in a tree defines the domain name, which is an index to the
DNS database.
o It uses three-character labels, and these labels describe the organization
type.
Label Description
Country Domain
The format of country domain is same as a generic domain, but it uses two-
character country abbreviations (e.g., us for the United States) in place of three
character organizational abbreviations.
Future of Internet technology