0% found this document useful (0 votes)
34 views9 pages

Assignment - PT-1 Question Bank 2023-24 DCC

Uploaded by

survasesuraj04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views9 pages

Assignment - PT-1 Question Bank 2023-24 DCC

Uploaded by

survasesuraj04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

DEPARTMENT OF COMPUTER ENGINEERING

Academic Year 2023-2024


SUBJECT:- Data Communication and Computer Network (22414) Course Code/Sem: - CO4I (A+B+C)
❖ Questions for TWO marks.
SN Question CO L
1 Define computer Network. a R
A computer network is interconnection of two or more computers connected to each other
so that they can exchange information such as e-mail , messages or documents, or share
resources such as disk storage or printer
2 List different characteristics of data communication system. a R
1. Delivery
2. Accuracy

e
3. Timeliness
4. Jitter

dg
3 List classes of IP addressing with their IP address range. e R
An IP address is an address used to uniquely identify a device on an IP network.
Classes and range:
Class A- 1.0.0.0 to 127.255.255.255
Class B - 128.0.0.0 to 191.255.255.255

4 Define bit rate and baud rate.


an
Class C - 192.0.0.0 to 223.255.255.255
Class D - 224.0.0.0 to 239.255.255.255
Class E - 240.0.0.0 to 254.255.255.255

Bit Rate: Bit rate is simply the number of bits (i.e., 0's and 1's) transmitted per unit time.
a R

Baud Rate: Baud rate is the number of signal units transmitted per unit time that is needed
D
to represent those bits.
5 List advantages of Computer Network ( any two) a R
1. Convenient resource sharing
2. Connectivity
3. Security
a

4. Easy File/Data Sharing


5. Highly Flexible
it

6. Reduced cost
7. Great storage capacity
6 List functions of Network layer. e R
Logical addressing
m

Routing
7 List the names of two sublayers of data link layer. e R
Logic Link Control Sublayer
Media Access Control Sublayer
S

8 Choose the name of the layers that performs the following function in OSI. e A
a)Data Encryption b) Error Detection c) File Transfer d) Data Encoding e)framing
f)Routing g)Data encapsulation
a) Data Encryption: Presentation layer
b) Error Detection : Data link layer & Transport layer
c) File Transfer: Application layer
d) Data Encoding: Presentation layer
e) Framing: Data link layer
f) Routing: Network layer
g) Data Encapsulation- Transport Layer, Data Link Layer.
9 For following situations, select appropriate network architecture. e R
a. Number of users 50.
b. Data & resources need to be restricted.
c. No network administrator required.
d. All users with equal priority.
a. Number of users 50 – Client Server architecture.
b. Data & resources need to be restricted - Client Server architecture.
c. No network administrator required- Peer-to-peer architecture.
d. All users with equal priority - Peer-to-peer architecture.

10 Draw neat labeled diagram of Data Encapsulation e R

e
dg
11
an
Compare computer Network and human Network. a U
D
Computer Network Human Network
A computer network is interconnection Human network is generally regarded as
of two or more computers connected to a social structure composed of
each other so that they can exchange individuals, business partners, friends
information such as e-mail , messages or or other organizations etc. connected
a

documents, or share resources such as through technology, using devices such


disk storage or printer as PCs, cell phones etc.
it

It consist of computers & connecting It consist of individuals , organizations,


devices like as Hub or printer etc. schools, hospitals, work places etc.
m

Example : Internet Example: Family network, Peer


Network, Restaurant Network.
S
12 Compare OSI and TCP/IP (any two points). e U

TCP/IP (Transmission Control Protocol / OSI (Open System Interconnection.)


Internet Protocol)
1 It has four layers. 1 It has Seven layers.
2 It is predated to OSI (1970). 2 It is postdate to TCP/IP (1983).
3 Session layer & presentation layers are 3 Session & presentation layers are
absent. present.
4 The protocols were created first and then 4 The OSI model was developed first,
built the TCP/IP model. and then protocols were created to fit
the network architecture’s needs.
5 it uses a horizontal approach. 5 It uses a vertical approach.
6 Transport layer is both connection less & 6 Transport layer is connection

e
connection oriented. oriented

dg
13 List layers of OSI reference model. e R
OSI reference model layers:
1. Application Layer
2. Presentation Layer
3. Session layer
4. Transport layer
5. Network layer
6. Data link layer
7. Physical Layer
an
14 List any four protocol associated with application layer of OSI model. e R
D
Protocols associated with Application layer of OSI Reference model are:
1. Virtual Terminal (TELNET)
2. File transfer Protocol (FTP)
3. Simple Mail Transfer Protocol (SMTP)
4. Hypertext Transport Protocol (HTTP)
a

5. Domain Name System (DNS)


it

❖ Questions for FOUR marks


Sr. Question CO L
m

No
1 Explain modes of communication with the help of diagram. a U
The way in which data is transmitted from one device to another device is known as
transmission mode.
S

The transmission mode is also known as the communication mode.


The Transmission mode is divided into three categories:
o Simplex mode
o Half-duplex mode
o Full-duplex mode
a. In Simplex mode, the communication is unidirectional, as on a one-way street.
Only one of the two devices on a link can transmit; the other can only receive.
The simplex mode can use the entire capacity of the channel to send data in one
direction.
-Keyboards, traditional monitors and printers are examples of simplex devices.

b. In half-duplex mode, each station can both transmit and receive, but not at the
same time. When one device is sending, the other can only receive, and vice
versa.. The half-duplex mode is used in cases where there is no need for
communication in both directions at the same time. The entire capacity of the

e
channel can be utilized for each direction
-Walkie-talkies are half-duplex systems.

dg
an
c. In full-duplex mode both stations can transmit and receive simultaneously. The
transmission medium sharing can occur in two ways, namely, either the link
must contain two physically separate transmission paths or the capacity of the
channel is divided between signals traveling in both directions.
D
-One common example of full-duplex communication is the telephone network.
When two people are communicating by a telephone line, both can talk and
listen at the same time.
a
it

2 Draw and explain block diagram of communication system. a U


m
S

Considering the communication between two computers, the communication system is


as shown in above diagram
It has following five components:
1. Message
2. Sender
3. Medium
4. Receiver
5. Protocol
Message:
Message is the information or data which is to be sent from sender to the receiver
A message can be in the form of sound, text, picture, video or combination of them
(multimedia)
Sender: Sender is device such as host, camera, workstation, telephone etc. , which
sends the message over medium
Medium: The message originated from sender needs a path over which it can travel to
the receiver. Such path is called as medium or channel
Receiver: It is the device which receives the message and reproduces it. A receiver can
be host, camera, workstation, telephone etc.

e
Protocol: A protocol is defined as set of rules agreed by sender and receiver. Protocol
governs the exchange of data in true sense.
3 For Network having 10 user, data and resource need to be restricted, network a A

dg
administrator is required .Identify which network architecture you will prefer in
this situation. Justify your answer.
Type of Network architecture - Client-Server Network.
Justification- For the mention situation client Server network is preferred because
centralized database can be maintained at server. All the files are stored at the same

an
place. Also it becomes easier to find files. In a server-based network, users have one
user account and password to log on to the server and to access shared resources.
Server operating systems are designed to handle the load when multiple client
computers access server-based resources.
D
4 Explain wide Area Networks along with any two advantages and Disadvantages. a U
● WANs have a large capacity, connecting a large number of computers over a large
area, and are inherently scalable.
● They facilitate the sharing of regional resources.
● They provide uplinks for connecting LANs and MANs to the Internet.
● Communication links are provided by public carriers like telephone networks,
a

network providers, cable systems, satellites etc.


● Typically, they have low data transfer rate and high propagation delay, i.e. they have
it

low communication speed.


Examples of WAN:
● The Internet
m

● 4G Mobile Broadband Systems


● A network of bank cash dispensers.
S

Advantages of WAN:
● Large area coverage: WAN covers a large geographical area (1000 km or more
than).
● Higher bandwidth: WAN networks usually cover large geographical areas.
● Centralized data: Using the WAN network you can share the data connected to all
the devices in the respective network.
Disadvantages of WAN
● Security issue: WAN faces more security problems than LAN and MAN networks
since many technologies are merged in WAN networks. It can open a security gap,
which paves the way of occurring malicious attacks and identity intruders.
● Installation cost: WANs are default complex and complicated because of large
geographical area coverage. Hence there is a setup cost in expensive WAN that also
needs routers, switches, and other security solutions.
● Troubleshooting issues: Troubleshoot the big challenge on the WAN network and

e
it requires more time. If any issue occurs in the computer network then it is the
most difficult part to find out the proper cause due to their broad coverage area.
5 Explain the functions of physical and data link layer of OSI model.

dg
The functions of Physical layer are:
1. Physical characteristics of interfaces and medium.
The physical layer in a network model defines the characteristics of the
interface between the devices and the transmission medium. It also defines the
type of transmission medium.
2. Representation of bits.
an
The physical layer data consists of a stream of bits (sequence of Os or Is)
with no interpretation. To be transmitted, bits must be encoded into signals —
electrical or optical. The physical layer in a network model defines the type of
encoding (how 0's and 1's are changed to signals).
D
3. Data rate.
The transmission rate — the number of bits sent each second — is also
defined by the physical layer in a network model. In other words, the physical
layer in a network model defines the duration of a bit, which is how long it lasts.
4. Synchronization of bits.
a

The sender and receiver not only must use the same bit rate but also must
be synchronized at the bit level. In other words, the sender and the receiver
clocks must be synchronized.
it

5. Line configuration.
The physical layer in a network model is concerned with the connection of
devices to the media. In a point-to-point configuration, two devices are
m

connected through a dedicated link. In a multipoint configuration, a link is


shared among several devices.
6. Physical topology.
The physical topology defines how devices are connected to make a network
S

model. Devices can be connected by using a mesh topology (every device is


connected to every other device), a star topology (devices are connected
through a central device), a ring topology (each device is connected to the next,
forming a ring), a bus topology (every device is on a common link), or a hybrid
topology (this is a combination of two or more topologies).
7. Transmission mode.
The physical layer in a network model also defines the direction of
transmission between two devices: simplex, half-duplex, or full-duplex. In
simplex mode, only one device can send; the other can only receive. The simplex
mode is a one-way communication. In the half-duplex mode, two devices can
send and receive, but not at the same time. In a full-duplex (or simply duplex)
mode, two devices can send and receive at the same time.
The functions of Data Link layer are:
1. Framing.
The data link layer in a network model divides the stream of bits received
from the network layer into manageable data units called frames.
2. Physical addressing.
If frames are to be distributed to different systems on the network model,
the data link layer in network model adds a header to the frame to define the
sender and/or receiver of the frame. If the frame is intended for a system
outside the sender's network, the receiver address is the address of the device
that connects the network to the next one.
3. Flow control.
If the rate at which the data are absorbed by the receiver is less than the rate
at which data are produced in the sender, the data link layer in network model
imposes a flow control mechanism to avoid overwhelming the receiver.
4. Error control.

e
The data link in network model layer adds reliability to the physical layer by
adding mechanisms to detect and retransmit damaged or lost frames. It also

dg
uses a mechanism to recognize duplicate frames. Error control is normally
achieved through a trailer added to the end of the frame.
5. Access Control.
When two or more devices are connected to the same link, data link layer protocols in
network model are necessary to determine which device has control over the link at
any given time.
6 an
Explain in brief various component of computer network?
A computer network is built from the following basic building blocks:-
1. Client computers: - The computers that end users use to access the resources
of the network.
a U

They usually run a desktop version of windows such as windows XP


D
Professional along with application software such as Microsoft Office.
2. Server computers:-Computer that provide shared resources such as disk
storage & printer as well as network services such as e-mail & internet access.
Server computers typically run a specialized network operating system
such as windows 2000 server.
a

3. Cables: - Computer in a network are usually physically connected to each


other using cables (coaxial, twisted pair or fiber optic).
4. A network interfacing card (NIC):-a card installed in a computer that enables
it

the computer to communicate over a network.


Every client & server computer must have a network interface card (or
build in network port) in order to be a part of a network.
m

5. Hubs & Switches: - Network cable usually doesn’t connect computers directly
to each other. Instead, each computer connected by cable to a device known as
a hub or switch.
6. Wireless networks: - In this network, computer communicate via radio
S

signals. In wireless network, radio transmitters & receivers take the place of
cables.
7. Network Software : - although network hardware is essential, what really
makes a network work is software .server computer use special network
operating systems in order to function efficiently & client computers need to
have their network settings configured properly in order to access to access
the network.
7 What is ARP? Explain function of ARP. e U
ARP works at Data link layer in the OSI model. It is responsible to find the hardware
address of a host from a known IP address. The ARP’s main task is to convert the 32-bit
IP address (for IPv4) to a 48- bit MAC address.

8 Classify the following protocols into connection oriented and connectionless protocols
and justify your answer.
a) TCP b) IP c) UDP d) SLIP

Connection-oriented protocol:
It means that when devices communication they perform hand sharing to set up on end
to end connection. Usually one device begins by sending a request to open a
connection, and the other responds.
TCP: Connection oriented protocol
- It is a transport layer protocol & it establishes a connection between devices.
SLIP: Connection oriented protocol.
- It is serial line internet protocol

e
- It is connection oriented protocol, because it established a connection between e U
Functions: devices.

dg
● Local host
Connection maintains
less protocol:the ARP Table. ARP maps the Internet Protocol address (IP)to
aThese
physical machinedoaddress.
protocols not establish a connection between devices. It is manually

achieved by transmitting interface
It provides the informationbetween
in onethedirection,
IP addressing
from system
source toused by IP
destination
and theto
without checking Hardware
see if theaddresses
destinationused bythere
is still the data
or iflink
it is layer protocol.
prepared to receive the
● ARP broadcasts an IP address in an effort to discover its equivalent
information.
IP: Connectionless protocol
hardware address.
- IP●works

-It
ARPin
of reliability.
has
data link
UDP:● Connection
n/w

Responsible
● isMaintains
layer.
been
It does
lessfor
a user dataARP
an
It is connectionless
implemented
layernottechnologies.
protocol
with many protocol because there
combinations
established connection between devices.
ARP query and ARP response datagram.
gramcache
protocol. It isifconnectionless
so that the same query protocol
has been
is no guarantee
of network

because
and

there is no
processed
guarantee of new
earlier, reliability.
broadcast message is not created but, it checks in the ARP
D
9 Draw and explain cache.TCP/IP model e U
TCP/IP that is Transmission Control Protocol and Internet Protocol has
following features
●Support for a flexible architecture. Adding more machines to a network was easy.
●The network is robust, and connections remained intact until the source and
destination machines were functioning. The main idea was to allow one application
a

on one computer to talk to (send data packets) another application running on


different computer.
it

Different Layers of TCP/IP Reference Model Below:


m
S

Layer 1: Host-to-network Layer


1. Lowest layer of the all.
2. Protocol is used to connect to the host, so that the packets can be sent over it.
3. Varies from host to host and network to network.
Layer 2: Internet layer
1. Selection of a packet switching network which is based on a connectionless
internetwork layer is called an internet layer.
2. It is the layer which holds the whole architecture together.
3. It helps the packet to travel independently to the destination.
4. Order in which packets are received is different from the way they are sent.
5. IP (Internet Protocol) is used in this layer.
6. The various functions performed by the Internet Layer are:
● Delivering IP packets
● Performing routing
● Avoiding congestion
Layer 3: Transport Layer
1. It decides if data transmission should be on parallel path or single path.
2. Functions such as multiplexing, segmenting or splitting on the data is done by

e
transport layer.
3. The applications can read and write to the transport layer.
4. Transport layer adds header information to the data.

dg
5. Transport layer breaks the message (data) into small units so that they are handled
more efficiently by the network layer.
6.Transport layer also arrange the packets to be sent, in sequence
Layer 4: Application Layer
The TCP/IP specifications described a lot of applications that were at the top of the

an
protocol stack. Some of them were TELNET, FTP, SMTP, DNS etc.
1. Telnets a two-way communication protocol which allows connecting to a remote
machine and run applications on it.
2. FTP (File Transfer Protocol) is protocol that allows File transfer amongst computer
users connected over a network. It is reliable, simple and efficient.
D
3. SMTP (Simple Mail Transport Protocol) is a protocol, which is used to transport
electronic mail between a source and destination, directed via a route.
4. DNS (Domain Name Server) resolves an IP address into a textual address for
Hosts connected over a network.
5. It allows peer entities to carry conversation.6.It defines two end-to-end protocols:
TCP and UDP.
a
it
m
S

You might also like