MCQ for Computer Networks programming

Hey!! Friends welcome to our blog Technical blog. I hope this article is quite helpful for you. This is the set of MCQ for Computer Networks or MCQ with answers on computer networks. This article is based on the SNA and Protocols topic of Computer Networks Programming.

If you missed the previous article of Computer networks MCQ, then please click here

MCQ For Computer Networks programming:

  1. Out-of-band data is called ………………….
  1. The urgent data
  2. The lost dataP
  3. Internet data
  4. None of the above
Answer is a)
2. The maximum size of an IP datagram is ……….
  1. 65,537
  2. 65,536
  3. 65,538
  4. None of the above
Answer is b)
3. What is XNS?

Answer: Xerox Network System is called the Integrated System. It is especially used in offices.    It integrates different office tools like printer, fax, file sharing operations

4. How many layers in XNS?

  1. 5
  2. 6
  3. 4
  4. None of the above
Answer is c)

5. What are the nodes of SNA?

  1. End-user
  2. Logical Unit
  3. Physical Unit and Datalink
  4. all of the above
Answer is d)
6. SNA network is classified into two types.  They are………..
  1. Subarea Network and APPN(Advanced Peer-to-Peer Networking (APPN))
  2. Only Sub area Network
  3. Advanced Peer-to-Peer Networking (APPN)
  4. None of the above
Answer is a)
7. GDS stands for ………….
  1. Generalized Data Stream
  2. Generalized Date Stream
  3. General Data Stream
  4. None of the above
Answer is a)
8. What is use of UUCP?
  1. the used for copying a file between different system
  2. used for editing a file between different system
  3. used for only reading a file between different system
  4. None of the above
Answer is a)
9. The Unix system deals with two important API ………….
  1. BSD –Berkeley Software Distribution and Transport Layer Interface (TLI)
  2. only BSD –Berkeley Software Distribution
  3. only Transport Layer Interface
  4. None of the above
Answer is a)
10. What is a Socket?

Answer: Sockets are a low-level programming interface for networked communications. They send streams of data between applications that may or may not be on the same host. Sockets originated in BSD UNIX and are, in other languages, hairy and complicated things with lots of small parts that can break off and choke little children.

11. Java’s Socket class uses a ………………….

  1. connection-oriented protocol
  2. Object-oriented
  3. both a) and b)
  4. None of the above
Answer is a)

12. The connection-oriented and connectionless services are provided by which protocol?

  1. Linux protocol
  2. unix domain protocols
  3. both a) and b)
  4. None of the above
Answer is b)

13. Which method is often called a “reliable” network service?

  1. Connection-oriented
  2. object-oriented
  3. both a) and b)
  4. None of the above
Answer is a)

14. For a 10Mbps Ethernet link, if the length of the packet is 32bits, the transmission delay is ____________ (in microseconds)

a. 3.2
b. 32
c. 0.32
d. 320

Answer is a)

15. How many types of Socket present in Computer network programming?

  1. 5
  2. 6
  3. 3
  4. None of the above
Answer is c)

16. A conversation ID in APPN network is a.

a. 24-bit integer
b. 16-bit integer
c. 32-bit integer
d. 8-bit integer

Answer is b)

17. The client in socket programming must know information ………….
a. The IP address of Server
b. Port number
c. Both IP address of Server & Port number
d. Only its own IP address

Answer is c)
18. The flush () method of Print Stream class flushes any un-cleared buffers in the memory.

a. True
b. False

Answer is a)
19. What is the size of MAC Address?

a. 16-bits
b. 32-bits
C. 48-bits
d. 64-bits

Answer is c)
20.Number of components in network communication is

a. 5
b. 2
c. 4
d. 3

Answer is a)

Must read:

11 thoughts on “MCQ for Computer Networks programming

Leave a Reply

Your email address will not be published. Required fields are marked *