CS601 – Data Communication: Midterm Important Subjective (56 Solved Q&As)
Computer Science • Read every solved subjective question with its model answer directly on this page. Free, no login required.
All 664 Midterm Packs · CS601 Course Page · CS601 MCQ Pack (271 MCQs)
-
How many types of Bipolar encoding scheme exist?
Topic: Core Subjective Topics
Bipolar uses three voltage levels. There are three types of bipolar encoding: 1. AMI (Alternate Mark Inversion) 2. B8ZS 3. HDB3
-
Give methods of Analog to Analog conversion.
Topic: Core Subjective Topics
Analog-to-analog conversion is the representation of analog information by an analog signal. It is needed when the available channel is a band-pass channel. It is done by three methods: Amplitude Modulation (AM), Frequency Modulation (FM) and Phase Modulation (PM).
-
What is frequency spectrum?
Topic: Core Subjective Topics
Frequency spectrum is the collection of all the component frequencies it contains.
-
What do you understand by the term DCE? Explain DCE.
Topic: Core Subjective Topics
Any device that transmits or receives signal through network is DCE. It is any functional unit that transmits or receives data in the form of an analog or digital signal through a network. At the physical layer DCE takes data generated by DTE, converts it to the signal.
-
Describe different types of NRZ encoding scheme?
Topic: Core Subjective Topics
In NRZ encoding the level of signal is either positive or negative. NRZ is classified into 2 types: NRZ-L NRZ-I NRZ-L: Level of the signal depends on the type of bit it represents. Positive voltage usually means the bit is a 1 and a negative voltage usually means the bit is a 0. NRZ-I: The inversion of the level represents a 1 bit. A bit 0 is represented by no change. NRZ-I is superior to NRZ-L.
-
Define Sampling Rate.
Topic: Core Subjective Topics
The sampling rate (sampling frequency) is the number of samples taken per second from a continuous analog signal to convert it into a digital signal. According to the Nyquist theorem, the sampling rate must be at least twice the highest frequency contained in the signal.
-
Write down the types of digital to analog modulation.
Topic: Core Subjective Topics
Types of digital to analog modulation ASK FSK PSK QAM
-
What is periodic signal?
Topic: Core Subjective Topics
A signal is called Periodic if it completes a pattern within a measurable time frame called a Period and then repeats that pattern over identical subsequent Periods
-
Briefly describe Return to Zero (RZ) encoding scheme?
Topic: Core Subjective Topics
- Any time, data contains long strings of 1's or 0's, Rx can loose its timing - In unipolar, we have seen a good solution is to send a separate timing signal but this solution is both expensive and full of error - A better solution is to somehow include synch in encoded signal somewhat similar to what we did in NRZ-I but it should work for both strings of 0 & 1 - One solution is RZ encoding which uses 3 values : Positive, Negative and Zero - Signal changes not b/w bits but during each bit - Like NRZ-L , +ve voltage means 1 and a –ve voltage means 0, but unlike NRZ- L, half way through each bit interval, the signal returns to zero - A 1 bit is represented by positive to zero and a 0 is represented by negative to zero transition - The only problem with RZ encoding is that it requires two signal changes to encode one bit and therefore occupies more BANDWIDTH - But of the 3 alternatives we have discussed, it is most effective value.
-
Compare Phase Modulation (PM) with Frequency Modulation (FM)?
Topic: Core Subjective Topics
Phase modulation (PM) - Simpler hardware requirements - Phase is modulated with the amplitude - Amplitude & Frequency of the carrier signal remain constant Frequency Modulation (FM) - Frequency of carrier signal is changed according to the amplitude of modulating signal - Amplitude and Phase of the carrier signal remain constant FM Bandwidth Bandwidth of FM signal (modulated signal) = 10 * bandwidth of modulating signal Significant spectrum of FM audio = 15 KHz Minimum 150 KHz bandwidth
-
Write down three characteristics of Sine Wave.
Topic: Core Subjective Topics
Amplitude; Period/Frequency; Phase
-
A Sine wave has a frequency of 6 Hz. What is its period?
Topic: Core Subjective Topics
F= 6 , t= ? T = 1/f = 1/6 = 0.17 sec
-
Give similarities between 4 QAM & 8 QAM.
Topic: Core Subjective Topics
In both case no. of amplitude shifts is more than the no. of phase shifts Because amplitude changes are susceptible to Noise , number of phase shifts used by QAM is always larger than the amplitude shifts
-
What is digital signal? Give an example
Topic: Core Subjective Topics
A digital signal is discrete. It can have only a limited number of defined values, often as simple as 1s and 0s The transition of a digital signal from value to value is instantaneous like a light being switched ON and OFF.
-
How does noise affect FSK?
Topic: Core Subjective Topics
The duration of the noise is normally longer than the duration of a bit which means that when noise affects data, it affects a set of bits.
-
Define Bit interval and Bit rate.
Topic: Core Subjective Topics
Bit Interval and Bit Rate Most digital signals are aperiodic and thus Period and Frequency are not the appropriate terms to describe them Bit Interval (seconds) Time required to send one single bit Bit Rate (bps) Number of bits sent per second
-
Write down the names of layers present in TCP/IP Protocol Suite?
Topic: Core Subjective Topics
Physical (physical standards) Data Link (N/w Interface) Network (Interconnectivity) Transport (Transport Functions) Application (Session, Pres, app of OSI)
-
What is simplex mode of transmission?
Topic: Core Subjective Topics
Communication is Unidirectional Only one of the two stations can transmit Other can only receive
-
What is HDB3.
Topic: Core Subjective Topics
Alteration of AMI adopted in Europe and Japan Introduces changes into AMI, every time four consecutive zeros are encountered instead of waiting for eight zeros as in the case of B8ZS.
-
Write a note on Full duplex mode of transmission.
Topic: Core Subjective Topics
Both stations can transmit and receive simultaneously Two way street with traffic flowing in both directions at the same time Signals traveling in either direction share the capacity of the link The sharing can take place in two ways: Either the link must contain two physically separate transmission paths: v One for sending and v One for receiving
-
What is purpose of distributed processing?
Topic: Core Subjective Topics
Multiple computers working on a problem can solve a problem faster than a computer working alone.
-
Differentiate between the following terms. (a) Syntax and Semantics of protocol.
Topic: Core Subjective Topics
Syntax: Communication between peer entities Semantics: Client/server (b) Network management and exchange management. Answer: Exchange Management Error Detection and Correction Network management Security (c) Monolithic and structured. Answer: Monolithic Communications is a complex task To complex for single unit Structured Structured design breaks down problem into smaller units Layered structure
-
Differentiate between the following terms. a) Frequency spectrum and bandwidth.
Topic: Core Subjective Topics
Frequency Spectrum / Bandwidth Frequency Spectrum: of a signal is the collection of all the component frequencies it contains It is shown using a Frequency domain graph Bandwidth: of a signal is the width of the frequency spectrum In other words, Bandwidth refers to the range of the component frequencies and Frequency Spectrum refers to the elements within that range (b) Bandwidth and throughput. Answer: Measurement of how fast data can pass through a point o In other words, if we consider any point in the TX Medium as a wall through which bits pass, then throughput is the number of bits that can pass this wall in second
-
What is the main problem with ASK (amplitude Shift Keying)?
Topic: Core Subjective Topics
The main problem with ASK is the noise. Noise usually affected the amplitude so it is most affected by Noise.
-
What are the basic components of a data communication system ?
Topic: Core Subjective Topics
There are five basic components of a data communication. These are as follows:- 1) message 2) sender 3) receiver 4) medium 5) protocol
-
What is attenuation?
Topic: Core Subjective Topics
Attenuation is signal loss due to the diminishing availability of signal energy, or signal power. As a analog or digital signal traverses across a medium, it fades. High attenuation may lead to the inability to recover the signal on the far end. Signal repeaters may be used on the transmission path to periodically boost the signal strength. Baseband transmission is extremely limited to attenuation. Broad-band much less so, In addition, wireless communications is much less susceptible to attenuation that is wire-line communications such as x-DSL or cable modems.
-
What is difference between logical address and physical address?
Topic: Core Subjective Topics
The OSI model is a good place to start to learn more about the differences between physical and logical addressing. Think of the physical address as the 48-bit MAC address that manufacturers encode in their network interface cards (NICs). This type of address is unique, referred to as the Ethernet or hardware address, and cannot be changed. The MAC or Ethernet address is associated with Layer 2 (data Link) of the OSI Model. The logical address is a 32-bit IP address that is not embedded in the network card but it is assigned to it for the purpose of routing between networks. This type of address operates at Layer 3 (network) of the OSI Model.
-
What is the differences between OSI and TCP/IP Model?
Topic: Core Subjective Topics
The ISO/OSI protocol is a 7 layer reference model that was designed after TCP/IP model, which only has 4 layers. That said, the differences between the two are only minor. The 7 layers of the OSI Protocol Stack are as follows: 7. Application: end user services such as email 6. Presentation: data problems and data compression 5. Session: authentication and authorization 4. Transport: guarantee end-to-end delivery of packets 3. Network: packet routing 2. Data Link: transmit and receive packets 1. Physical: The physical connection or cable itself. Of these 7 layers, the 4 layers the TCP/IP Protocol Stack use are as follows: 5. Application: authentication, compression, and end user services 4. Transport: handles the flow of data between systems and provides access to the network for applications via the BSD socket library 3. Network: packet routing 2. Link: Kernel OS/device driver interface to the network interface on the computer. The main differences between OSI and TCP/IP are: The application layer in TCP/IP handles the responsibilities of layers 5,6, and 7 in the OSI model. The transport layer in TCP/IP does not always guarantee reliable delivery of packets as the transport layer in the OSI model does. So as you can see there is not too much difference between the models. In terms of software implementation TCP/IP looks like this: Application Layer: some of the applications covered are SMTP (mail), Telnet, FTP, Rlogin, NFS, NIS, and LPD. Transport Layer: the transport uses two protocols, UDP (User Datagram Protocol) and TCP, which does not guarantee packet delivery and applications which use this must provide their own means of verifying delivery. TCP guarantees delivery of packets to the applications that use it. Network Layer: the network layer is concerned with packet routing and used low level protocols such as ICMP, IP, and IGMP. Link Layer: the link layer is concerned with the actual transmittal of packets as well as IP to Ethernet address translation. This layer is concerned with Arp, the device driver and Rarp.
-
What do we mean by capacity of the channel?
Topic: Core Subjective Topics
Channel capacity: The maximum possible information transfer rate through a channel, subject to specified constraints.
-
Define Protocols
Topic: Core Subjective Topics
Protocol is an agreed-upon format for transmitting data between two devices. The protocol determines the following: 1) The type of error checking to be used. 2) Data compression method, if any. 3) How the sending device will indicate that it has finished sending a message? 4) How the receiving device will indicate that it has received a message?
-
What is a sample?
Topic: Core Subjective Topics
Sample is the amplitude of an analog signal at some specific interval. It is achieved in pulse amplitude modulation, which is the first step towards analog to digital conversion.
-
What Is Line Discipline?
Topic: Core Subjective Topics
Whatever the system, no device in it should be allowed to transmit until that device has evidence that the intended receiver is able to receive and is prepared to accept the transmission. What if the receiver does not expect a transmission, is busy, or is out of commission? With no way to determine the status of intended receiver, the transmitting device may waste its time sending data to a nonfunctioning receiver or may interfere with signals already on the link. The line discipline function of the data link layer oversees the establishment of links and the right of a particular device to transmit at a given time. Line discipline answers the question. Who should send now?
-
What does the terms transit and response time mean? Also tell me about the topic peak load periods.
Topic: Core Subjective Topics
Transit time is the time taken by the message to travel from source to destination. Response time is the time of response (acknowledgement) from destination to source. Peak load periods are those periods of time in which number of users on a network are more than normal time.
-
What are the advantages of networking?
Topic: Core Subjective Topics
• Files can be stored on a central computer (the file server) allowing data to be shared throughout an organization. • Files can be backed up more easily when they are all on a central fileserver rather than when they are scattered across a number of independent workstations. • Networks also allow security to be established, ensuring that the network users may only have access to certain files and applications. • Software and resources can be centrally managed. • Network versions of software often allow for their speedy installation on workstations from the file server. • Expensive devices such as laser printers or scanners can be shared. • Users can access their files from any workstation
-
What are different factors to choose a network topology?
Topic: Core Subjective Topics
Working conditions of network, working scenarios, arrangement of links and devices. Depending upon our network what actually we are dealing with and in which geographical area our devices are present, small area available or have large area. All these factors are considered when choosing a Topology.
-
What is the difference between radio and microwave?
Topic: Core Subjective Topics
Although there is no clear-cut demarcation between radio and microwave, electromagnetic waves ranging in frequencies between 3 KHz and 1 GHz are normally called radio waves; waves ranging in frequencies between 1 GHz and 300 GHz are called microwaves. Radio waves are used for multicast communications, such as radio and television systems.
-
What is the difference between hub and switch?
Topic: Core Subjective Topics
On the outside, hubs and switches appear very similar in that they both have a number of RJ-45 jacks for connecting devices. Inside, however, they work very differently. To understand why switches provide so much more functionality than hubs, you must understand a fundamental limitation of (non-switched) Ethernet: there can only be one device transmitting on a segment at any given time. If two or more devices attempt to transmit at the same time, a collision occurs. (In fact, an Ethernet segment where only one conversation can occur is called a collision domain.) After a collision, all devices must retransmit. As you can imagine, as the number of devices on an Ethernet segment increases, the probability for collisions increase. Because devices must spend more time retransmitting data, the network is perceived to be slow. Before the advent of switches, a network could be divided into segments with a device called a bridge. Bridges have two Ethernet ports. As traffic flows through a network, a bridge learns which devices (identified by the MAC or "hardware" address) are on each side. The bridge then makes decisions to forward or not forward each packet to the other side based on where the destination device is located. A bridge thus divides a network into two collision domains, allowing two independent "conversations" to occur. If a bridge is placed intelligently (e.g., separating two departments and their respective file servers), they can improve network efficiency. Hubs do no processing on network traffic--they simply repeat the incoming signal to all available ports. On a switch, every port acts as a bridge. If each switch port is connected to a single device, each device can, in principle, act independently of every other device. For example, consider a switch with the following devices attached: computer 1 computer 2 computer 3 printer file server uplink to the Internet In this case, computer 1 could be printing a document, while computer 2 connects to a files server, while computer 3 accesses the Internet. Because the switch intelligently forwards traffic only to the devices involved, there can be multiple independent simultaneous conversations.
-
What is CSMA/CA?
Topic: Core Subjective Topics
To minimize the chance of collision and, therefore, increase the performance, CSMA was developed. CSMA/CA was invented for Wireless Networks
-
Primary station and secondary station/Polling:
Topic: Core Subjective Topics
Polling works with topologies in which one device is designated as a primary station and the other devices are secondary stations. All data exchanges must be made through primary device even when the ultimate destination is a secondary device
-
In which layer switch and hub are works?
Topic: Core Subjective Topics
A link-layer switch (or switch) operates in both the physical and the data-link layers Hub is a device that operates only in the physical layer
-
How many types of HDLC frames?
Topic: Core Subjective Topics
HDLC defines three types of frames: 1) information frames (I-frames), 2) Supervisory frames (S- frames), 3) Unnumbered frames (U-frames)
-
Write the difference between error correction and error detection?
Topic: Core Subjective Topics
In error detection, we are only looking to see if any error has occurred (Yes or No). We are not interested in the number of corrupted bits in Detection. Single-bit error is same as a Burst error. In Error Correction, we need to know the exact number of bits that are corrupted and, their location in the message
-
Write three controlled-access methods?
Topic: Core Subjective Topics
Three controlled-access methods: 1) Reservation, 2) Polling, 3) Token Passing
-
What is Attenuation? Write name of Attenuation characteristics and its Unit?
Topic: Core Subjective Topics
Attenuation means a loss of energy. When a signal, simple or composite, travels through a medium, it loses some of its energy in overcoming the resistance of the medium. Unit of Attenuation is Decibel or dB and this is Characteristics of a Wireless LAN
-
Identify that which belong to random-access protocol/controlled access?
Topic: Core Subjective Topics
ALOHA RANDOM ACCESS POLLING CONTROLLED ACCESS RESERVATION CONTROLLED ACCESS CSMA/CD RANDOM ACCESS CSMA/CA RANDOM ACCESS
-
Formula of calculating standard Ethernet efficiency?
Topic: Core Subjective Topics
The practical efficiency of standard Ethernet has been measured to be Efficiency = 1/ (1+6.4 x a) where a = number of frames that can fit on a medium
-
What is Parity-Check Code?
Topic: Core Subjective Topics
Most common error detecting Code, Linear block code (n=k+1), the extra parity bit is selected to make total number of 1s in code word even
-
What is Variable – Sized Framing write its two types?
Topic: Core Subjective Topics
Here, the size of each frame to be transmitted may be different. So additional mechanisms are kept to mark the end of one frame and the beginning of the next frame. It is used in local area networks. Variable – Sized Framing two types:
-
Name of device which use to regenerate the signals in data communication?
Topic: Core Subjective Topics
A repeater is a network device used to regenerate a signal. Repeaters regenerate analog or digital signals that are distorted by transmission loss due to attenuation.
-
Write sublayer of data link layer?
Topic: Core Subjective Topics
We can divide the datalink layer into two sublayers: 1) Data Link Control (DLC), 2) Media Access Control (MAC)
-
Propagation delay time formula?
Topic: Core Subjective Topics
Propagation delay is equal to d / s where d is the distance and s is the wave propagation speed. In wireless communication, s=c, i.e. the speed of light.
-
Data Representation in CDMA?
Topic: Core Subjective Topics
Data bit 0 -1 Data bit 1 +1 Silence 0
-
1-Persistent Method?
Topic: Core Subjective Topics
The standard Ethernet chose CSMA/CD with 1-Persistent Method
-
What is unnumbered frame (U-frame)?
Topic: Core Subjective Topics
U-frame stands for unnumbered frames. These frames are also required in various functions like link setup and disconnections. These frames basically support control purposes and are not sequenced.
-
How many types of multiple access protocols?
Topic: Core Subjective Topics
There are three types of multiple access protocols: (1) Random Access protocols, such as ALOHA, CSMA, CSMA/CD and CSMA/CA; (2) Controlled Access protocols, such as Reservation, Polling and Token Passing; and (3) Channelization protocols, such as FDMA, TDMA and CDMA.
-
What is Data-Link layer (DLL)?
Topic: Core Subjective Topics
Data-Link layer provides services to Network Layer and receives services from Physical layer