|Data Communication and Computer Networks PYQs

UGC NET Computer Science Data Communication and Computer Networks Previous Year Questions (PYQs)

Practise 45 Data Communication and Computer Networks questions asked in UGC NET Computer Science from 2020–2025. Questions cover Transmission media, Error detection and correction, OSI reference model and the TCP/IP protocol suite, Data link layer, Medium access control and Network layer. Every question is shown with its options and the correct answer, free to read.

45 PYQs2020–2025Answers includedFree

Practise Data Communication and Computer Networks as timed sets

Focused 10-question sets with instant scoring, explanations, and weak-area analysis.

Start practice

All 45 Data Communication and Computer Networks PYQs

Ordered newest exam first. Each question links back to the full paper it came from.

  1. The primary function of a firewall in network security is

    1. Ato monitor network traffic and detect anomalies
    2. Bto create virtual private networks for secure communication
    3. Cto filter incoming and outgoing network traffic based on security rules
    4. Dto encrypt data before transmission

    Answer: (C) to filter incoming and outgoing network traffic based on security rules

    Explanation

    Sign in to read the full explanation
  2. The Hamming distance between 10101 and 11110 is

    1. A2
    2. B3
    3. C4
    4. D5

    Answer: (B) 3

    Explanation

    Sign in to read the full explanation
  3. Match List-I with List-II.

    List-IList-II
    A. Service-level agreement
    B. Virtualisation
    C. Internet of Things
    D. Platform as a service
    I. Connecting physical devices over the Internet
    II. Development environment over the Internet
    III. Contracts specifying performance and availability
    IV. Multiple operating systems on one physical server
    1. AA-III, B-II, C-I, D-IV
    2. BA-III, B-IV, C-I, D-II
    3. CA-III, B-I, C-IV, D-I
    4. DA-I, B-IV, C-III, D-II

    Answer: (B) A-III, B-IV, C-I, D-II

    Explanation

    Sign in to read the full explanation
  4. Choose the correct statements.

    A. In connection-oriented service, the destination address is specified only during connection setup.
    B. Packet sequencing is not guaranteed in connection-oriented service.
    C. Flooding sends an incoming packet on every outgoing line except the arrival line.
    D. The presentation layer performs error detection and recovery.

    1. AA, B and C only
    2. BB, C and D only
    3. CA and C only
    4. DA, C and D only

    Answer: (C) A and C only

    Explanation

    Sign in to read the full explanation
  5. Arrange the DHCP process in the correct sequence:

    A. DHCP ACK
    B. DHCP DISCOVER
    C. DHCP OFFER
    D. DHCP REQUEST
    E. Client receives IP configuration

    1. AA, B, C, D, E
    2. BB, C, D, A, E
    3. CC, B, A, E, D
    4. DD, A, E, C, B

    Answer: (B) B, C, D, A, E

    Explanation

    Sign in to read the full explanation
  6. Identify the correct statements about multiple access techniques.

    A. ALOHA is used for multiple access on a shared medium.
    B. TDMA uses Walsh tables for time-slot allocation.
    C. CSMA/CD was invented for wireless networks.
    D. CDMA codes are sequences generated by orthogonal codes.

    1. AA and B only
    2. BB and C only
    3. CC and D only
    4. DA and D only

    Answer: (D) A and D only

    Explanation

    Sign in to read the full explanation
  7. Match List-I with List-II.

    List-I: processList-II: function
    A. IMAP
    B. ARP
    C. POP
    D. TELNET
    I. Retrieves email from a mail server
    II. Remote login over a network
    III. Maps IP addresses to MAC addresses on a LAN
    IV. Accesses email on the server without downloading
    1. AA-II, B-I, C-III, D-IV
    2. BA-III, B-IV, C-I, D-II
    3. CA-IV, B-III, C-I, D-II
    4. DA-IV, B-III, C-II, D-I

    Answer: (C) A-IV, B-III, C-I, D-II

    Explanation

    Sign in to read the full explanation
  8. Sequence the following stages of the sliding-window protocol for flow control.

    A. Sender moves the window to the next set of frames.
    B. Sender sends a window of frames.
    C. Receiver acknowledges the received frames.
    D. If acknowledgement is not received, sender retransmits the frame.

    1. AB, A, C, D
    2. BB, C, D, A
    3. CB, D, C, A
    4. DB, C, A, D

    Answer: (D) B, C, A, D

    Explanation

    Sign in to read the full explanation
  9. Consider a noiseless channel with bandwidth 5000 Hz transmitting a signal with two signal levels. The maximum bit rate is

    1. A2500 bps
    2. B10000 bps
    3. C5000 bps
    4. D20000 bps

    Answer: (B) 10000 bps

    Explanation

    Sign in to read the full explanation
  10. A CSMA/CD network has bandwidth 20 Mbps. If maximum propagation time is 25 μs, what is the minimum frame size?

    1. A500 bits
    2. B1000 bits
    3. C1500 bits
    4. D2000 bits

    Answer: (B) 1000 bits

    Explanation

    Sign in to read the full explanation
  11. Which of the following are key features of Mobile Ad hoc Networks (MANETs)?

    A. Self-organizing and decentralized
    B. High mobility of nodes
    C. Requires fixed infrastructure for operation
    D. Network topology is dynamic and constantly changing
    E. Requires a central controller to manage network traffic

    1. AA, B and E only
    2. BB, C, D and E only
    3. CA, B and D only
    4. DA, B and C only

    Answer: (C) A, B and D only

    Explanation

    Sign in to read the full explanation
  12. In a token ring network the transmission speed is 10⁷ bps and the propagation speed is 200 m/μs. The 1-bit delay in this network is equivalent to ________________

    1. A20 m
    2. B30 m
    3. C50 m
    4. D40 m

    Answer: (A) 20 m

    Explanation

    Sign in to read the full explanation
  13. Consider a CSMA/CD network that transmits
    data at the rate of 100 Mbps over a 1 Kilometre
    cable with no repeater. If the minimum frame size
    required for this network is 1250 bytes, what is
    the signal speed (km/sec) in the cable.

    1. A8000
    2. B16000
    3. C12000
    4. D20000

    Answer: (D) 20000

    Explanation

    Sign in to read the full explanation
  14. Host A (on TCP/IPv4 Networks) send an IP
    Datagram D to host B (also on TCP/IPv4 network).
    Assume that no error occurred during
    transmission of D, when D reaches B. Which of
    following header field may differ from that of
    original datagram D ?
    A. TTL
    B. Checksum
    C. Fragment offset
    D. Source IP
    E. Destination IP

    1. A(A) and (B) Only
    2. B(A), (B) and (C) Only
    3. C(A), (B), (C) and (D) Only
    4. D(A), (B), (C) and (E) Only

    Answer: (B) (A), (B) and (C) Only

    Explanation

    Sign in to read the full explanation
  15. Arrange the following steps in a proper sequence
    for the typical process of a DNS query :
    A. Query authoritative DNS Server
    B. Query local DNS Server
    C. Local DNS Server Check Cache
    D. Query root DNS Server
    E. Query TLD DNS Server

    1. A(A), (C), (E), (B), (D)
    2. B(E), (A), (C), (B), (D)
    3. C(A), (B), (C), (D), (E)
    4. D(B), (C), (D), (E), (A)

    Answer: (D) (B), (C), (D), (E), (A)

    Explanation

    Sign in to read the full explanation
  16. A class B network on the Internet has a subnet
    mask of 255.255.248.0, what is the maximum
    number of hosts per subnet?

    1. A1022
    2. B1023
    3. C2046
    4. D2047

    Answer: (C) 2046

    Explanation

    Sign in to read the full explanation
  17. Consider the three way hand shaking process
    followed during TCP connection establishment
    between two hosts A and B . Let S and R be two
    random 32 -bit starting sequence numbers
    chosen by A and B, respectively. Suppose A
    sends a TCP segment having SYN bit =1, SEQ
    number = S and ACK bit =0 and B accepts the
    connection request.
    Which one of the following choices represents
    the information present in the TCP segment
    header that is sent by B to A ?

    1. ASYN bit =1, SEQ number =S+1, ACK bit =0, ACK number =R, FiN bit =0
    2. BSYN bit =0, SEQ number =R, ACK bit =1, ACK number =S+1, FiN bit =0
    3. CSYN bit =1, SEQ number =R, ACK bit =1, ACK number =S+1, FiN bit =0
    4. DSYN bit =1, SEQ number = R, ACK bit =1, ACK number =S, FiN bit =0

    Answer: (C) SYN bit =1, SEQ number =R, ACK bit =1, ACK number =S+1, FiN bit =0

    Explanation

    Sign in to read the full explanation
  18. Two computers A and B are configured as follows
    : A has IP address 203.197.2.53 and subnet mask
    255.255.128.0, B has IP address 203.197.75.201
    and subnet mask 255.255.192.0. What one of the
    following statement is true?

    1. AA and B both assume they are on the same network
    2. BB assumes, A is on same network, A assumes B is on different network
    3. CA assumes, B is on same network, but B assumes, A is on a different network
    4. DA and B both assume they are on different network

    Answer: (C) A assumes, B is on same network, but B assumes, A is on a different network

    Explanation

    Sign in to read the full explanation
  19. A. In IPv4 addressing, a block of address can be
    define as x.y.z.t/ n in which x.y.z.t define one of
    the address and / n define the mask
    B. The first address in the block can be found by
    setting the rightmost 32-n bits to 0s
    C. Address of class C is used for multicast
    communication
    D. There are five classes in IPv4 address
    E. Supernetting combine several networks into
    one large network

    1. A(A), (B) and (C) Only
    2. B(A), (B), (D) and (E) Only
    3. C(A), (C), (D) and (E) Only
    4. D(C), (D) and (E) Only

    Answer: (B) (A), (B), (D) and (E) Only

    Explanation

    Sign in to read the full explanation
  20. Has functions are used to produce the message digests which are then encrypted with a private key to get:

    1. APublic key
    2. BDigital signature
    3. CCipher text
    4. DData Encryption Standard

    Answer: (B) Digital signature

    Explanation

    Sign in to read the full explanation
  21. A multiplexes combines for 100 Kbps channels using a time slot of 2 bits. What is the bit rate ?

    1. A100 Kbps
    2. B200 Kbps
    3. C40 Kbps
    4. D1000 Kbps

    Answer: (C) 40 Kbps

    Explanation

    Sign in to read the full explanation
  22. Which of the following is not a field in TCP header ?

    1. ASequence Number
    2. BChecksum
    3. CFregmentation offset
    4. DWindow size

    Answer: (C) Fregmentation offset

    Explanation

    Sign in to read the full explanation
  23. In "bit stuffing", each frame begins and ends with a bit pattern in hexadecimal ?

    1. AOx8c
    2. BOx6F
    3. COxEF
    4. DOx7E

    Answer: (D) Ox7E

    Explanation

    Sign in to read the full explanation
  24. Which of the following are example of CSMA channel sensing methods ?
    A. 1-persistent
    B. 2-persistent
    C. p-persistent
    D. o-persistent Choose the correct answer from the options given below :

    1. A(A), (B) and (D) Only
    2. B(A), © and (D) Only
    3. C(B), (C) and (D) Only
    4. D(A), (B) and (©) Only

    Answer: (B) (A), © and (D) Only

    Explanation

    Sign in to read the full explanation
  25. The work done by UDP is/are :
    A. Congestion control
    B. Flow control
    C. Retransmission
    D. Segments transmission Choose the correct answer from the options given below : (Q)
    A. and
    D. Only

    1. AA and D only
    2. BC only
    3. CD only
    4. DB and C only

    Answer: (C) D only

    Explanation

    Sign in to read the full explanation
  26. Practise Data Communication and Computer Networks in a timed set
  27. Which of the following statement/s is/are NOT CORRECT ?
    A. OSPF is based on distance-vector routing protocol.
    B. Both link-state and distance-vector routing are based on the least cost goal.
    C. BGP4 is based on the path-vector algorithm.
    D. The three-node instability can be avoided using split horizon combined with poison reverse.
    E. _ RIP is based on link state algorithm. Choose the correct answer from the options given below :

    1. A(A), (D) and &) Only
    2. B(A) and (B) Only
    3. C(B) and (C) Only
    4. D(8), ©) and (E) Only

    Answer: (A) (A), (D) and &) Only

    Explanation

    Sign in to read the full explanation
  28. Which of the following statement/s are CORRECT ?
    A. NRZ is a bipolar scheme in which the positive voltage define bit is 0 (zero).
    B. NRZ-L and NRZ-I both have an average signal rate of N/2.
    C. The idea of RZ and NRZ-L are combined into Manchester scheme.
    D. NRZ-L and NRZ-I both have DC component problems.
    E. The minimum bandwidth of Manchester and differential Manchester is 3 times that of NRZ. Choose the correct answer from the options given below :

    1. A(A), @) and (©) Only
    2. B(A), (©), (©) and (&) Only
    3. C(B), (©) and (D) Only
    4. D(A), (B), (© and (E) Only

    Answer: (C) (B), (©) and (D) Only

    Explanation

    Sign in to read the full explanation
  29. Which of the following are commonly used parsing techniques in NLP (Natural Language Processing) for syntatic analysis.
    A. Top down parsing
    B. Bottom Up parsing
    C. Dependency parsing
    D. _ Statistical machine translation
    E. Earley parsing Choose the correct answer from the options given below :

    1. A(A), ©, (D), (E) Only
    2. B(B), (©), (P), (E) Only
    3. C(A), (B), (©), (E) Only
    4. D(A) and (B) Only

    Answer: (C) (A), (B), (©), (E) Only

    Explanation

    Sign in to read the full explanation
  30. Evaluate these statements: Statement I: If H is non empty finite subset of a group G and abeH V a, beH, then H is also a group. Statement II: There is no homomorphism exist from (Z, +) to (Q, +); where Z is set of integers and Q is set of rational number. In the light of the above statements, choose the most appropriate answer from the options given below :

    1. ABoth Statement I and Statement II are correct
    2. BBoth Statement I and Statement II are incorrect
    3. CStatement I is correct but Statement II is incorrect
    4. DStatement I is incorrect but Statement II is correct

    Answer: (C) Statement I is correct but Statement II is incorrect

    Explanation

    Sign in to read the full explanation
  31. Evaluate these statements: Statement I: A thread is a dispatchable unit of work that does not executes sequentially and is not interruptible Statement II: It is not possible to alter the behaviour of a thread by altering its context when thread is suspended. In the light of the above statements, choose the most appropriate answer from the options given below :

    1. ABoth Statement I and Statement II are correct
    2. BBoth Statement I and Statement II are incorrect
    3. CStatement I is correct but Statement II is incorrect
    4. DStatement I is incorrect but Statement II is correct

    Answer: (B) Both Statement I and Statement II are incorrect

    Explanation

    Sign in to read the full explanation
  32. Evaluate these statements: Statement I: In Reuse Oriented Model, Modification of the old system parts appropriate to the new requirements. Statement II: In Reuse Oriented Model, Integration of the modified parts are not possible into the new systems. In the light of the above statements, choose the most appropriate answer from the options given below :

    1. ABoth Statement I and Statement II are correct
    2. BBoth Statement I and Statement II are incorrect
    3. CStatement I is correct but Statement II is incorrect
    4. DStatement I is incorrect but Statement II is correct

    Answer: (C) Statement I is correct but Statement II is incorrect

    Explanation

    Sign in to read the full explanation
  33. Evaluate these statements: Statement I: In datagram networks - routers hold state information about connections Statement II: In virtual circuit network- each virtual circuit requires router table space per connection In the light of the above statements, choose the most appropriate answer from the options given below :

    1. ABoth Statement I and Statement II are correct
    2. BBoth Statement I and Statement II are incorrect
    3. CStatement I is correct but Statement II is incorrect
    4. DStatement I is incorrect but Statement II is correct

    Answer: (D) Statement I is incorrect but Statement II is correct

    Explanation

    Sign in to read the full explanation
  34. The cost funtion of total food is :

    Food X contains 6 units of Vitamin D per gram and 7 units of Vitamin E per gram and costs Rs. 12 per gram. Food Y contains 8 units of Vitamin D per gram and 12 units of Vitamin E per gram and costs Rs. 20 per gram. The daily minimum requirements of vitamin D and vitamin E are 100 units and 120 units respectively. Let x and y be the quantities in grams of Food X and Food Y.

    1. AZ=6x+7y
    2. BZ=8x+12y
    3. CZ=12x +20y
    4. DZ=20x+12y

    Answer: (C) Z=12x +20y

    Explanation

    Sign in to read the full explanation
  35. Number of tuples by applying right outer join on relation X and Y is/are :

    X (S, Si, C)Y (S, P, D)

    (J, 1, M)

    (B, 2, N)

    (R, 3, H)

    (T, 4, G)

    (J, S₁, CA)

    (B, P₁, AB)

    (R, D₁, DC)

    (A, H₁, MD)

    1. A16
    2. B5
    3. C3
    4. D4

    Answer: (D) 4

    Explanation

    Sign in to read the full explanation
  36. The data node and name node in Hadoop are

    1. AWorker node and master node respectively
    2. BMaster node and worker node respectively
    3. CBoth worker nodes
    4. DBoth master nodes

    Answer: (A) Worker node and master node respectively

    Explanation

    Sign in to read the full explanation
  37. A code has valid words 0000000000, 0000011111, 1111100000, and 1111111111. If the received word is 0000000111, which word was sent?

    1. A0000011111
    2. B0000000000
    3. C1111100000
    4. D1111111111

    Answer: (A) 0000011111

    Explanation

    Sign in to read the full explanation
  38. Using RSA with p = 3, q = 11, and d = 7, find e and encrypt 19.

    1. A20, 19
    2. B33, 11
    3. C3, 28
    4. D77, 28

    Answer: (C) 3, 28

    Explanation

    Sign in to read the full explanation
  39. Protocols in which the sender sends one frame and waits for an acknowledgement before sending the next frame are called

    1. ASimplex protocols
    2. BUnrestricted simplex protocols
    3. CSimplex stop-and-wait protocols
    4. DRestricted simplex protocols

    Answer: (C) Simplex stop-and-wait protocols

    Explanation

    Sign in to read the full explanation
  40. The period of a signal is 100 ms. What is its frequency in kilohertz?

    1. A10
    2. B10⁷
    3. C10⁻⁷
    4. D10⁻²

    Answer: (D) 10⁻²

    Explanation

    Sign in to read the full explanation
  41. Which statements about hash functions are true?
    A. A hash function maps an arbitrary-length message to a fixed-length code.
    B. It maps a fixed-length message to a variable-length code.
    C. Distinct messages can have the same hash value.

    1. A(A) only
    2. B(B) and (C) only
    3. C(A) and (C) only
    4. D(B) only

    Answer: (C) (A) and (C) only

    Explanation

    Sign in to read the full explanation
  42. For Post Office Protocol (POP), which statements are true?
    A. POP has delete and keep modes.
    B. In delete mode, mail is deleted from the mailbox after retrieval.
    C. In delete mode, mail is deleted before retrieval.
    D. In keep mode, mail is deleted before retrieval.
    E. In keep mode, mail remains in the mailbox after retrieval.

    1. A(A) and (B) only
    2. B(A), (D), and (E) only
    3. C(A), (B), (C), and (D) only
    4. D(A), (B), and (E) only

    Answer: (D) (A), (B), and (E) only

    Explanation

    Sign in to read the full explanation
  43. A firewall can filter packets using which fields?
    A. Source IP address
    B. Destination IP address
    C. TCP source port
    D. UDP source port
    E. TCP destination port

    1. A(A), (B), and (C) only
    2. B(B) and (E) only
    3. C(A), (C), and (D) only
    4. D(A), (B), (C), (D), and (E)

    Answer: (D) (A), (B), (C), (D), and (E)

    Explanation

    Sign in to read the full explanation
  44. Match List I with List II
    List I List II
    A. Serial Line IP (SLIP) (Application layer
    B. Border Gateway Protocol (BGP) (I Transport layer
    C. User Data Protocol (UDP) (I) Data Link layer
    D. Simple Network Management (IV) Network layer
    Protocol

    List IList II
    Items are listed in the question stem.Match each item to its stated description or complexity.
    1. AOCR review required
    2. BOCR review required
    3. CA-II, B-ITT, C-IV, D-I (4) A-III. B-I, C-IV, D-II
    4. DOCR review required

    Answer: (B) OCR review required

    Explanation

    Sign in to read the full explanation
  45. Given below are two statements:

    Statement I:

    Statement II:

    The laws of nature put two fundamental limits on data rate of a channel. The
    H.Nyquist limit restricts the number of independent samples per second to
    twice the band-width in a Noiseless channel.

    Shannon's major result about noised channel is that maximum data rate of a
    channel whose band width is H Hz, and whose signal-to-noise ratio is S/N is
    given by:

    Maximum number of bits/sec = H log2(1 + =)

    In the light of the above statements. choose the correct answer from the options given below

    1. ABoth Statement I and Statement II are true
    2. BBoth Statement I and Statement II are false
    3. CStatement I is correct but Statement II is false
    4. DStatement I is incorrect but Statement II is true.

    Answer: (A) Both Statement I and Statement II are true

    Explanation

    Sign in to read the full explanation
  46. Given below are two statements:
    Statement I: In Ceasar Cipher each letter of Plain text is replaced by another letter for
    encryption.
    Statement II: Diffie-Hellman algorithm is used for exchange of secret key.
    In the light of the above statements, choose the correct answer from the options given below
    (dd) Both Statement I and Statement II are true

    1. AOCR review required
    2. BBoth Statement I and Statement II are false
    3. CStatement I is correct but Statement IT is false
    4. DStatement I is incorrect but Statement II is true

    Answer: (A) OCR review required

    Explanation

    Sign in to read the full explanation

Frequently asked questions

How many Data Communication and Computer Networks questions have been asked in UGC NET Computer Science?

45 Data Communication and Computer Networks questions appear in the UGC NET Computer Science papers held between 2020–2025, and all of them are on this page with their answer key.

Are the answers on this page free?

Yes. Every question, its options, and the correct answer are free to read with no account. Signing in additionally unlocks the detailed explanation under each question.

Is Data Communication and Computer Networks an important topic for UGC NET Computer Science?

Data Communication and Computer Networks appears in every recent UGC NET Computer Science paper, across all 4 sittings covered here. Its share of the paper makes it worth revising thoroughly rather than sampling.

How should I practise Data Communication and Computer Networks after reading these questions?

Attempt the Data Communication and Computer Networks topic-wise sets, which put the same questions into a timed interface with instant scoring and weak-area analysis afterwards.

More Computer Science PYQs by topic

More Computer Science practice

Ready for a full paper?

Attempt Paper 1 + Paper 2 (Computer Science) together in a single timed session.

Full Mock Tests →