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:

22 thoughts on “MCQ for Computer Networks programming

  1. Nice post. I learn something totally new and challenging on blogs I stumbleupon everyday.

    It’s always exciting to read articles from other authors and
    use something from other sites.

  2. Woah! I’m really enjoying the template/theme of this blog.

    It’s simple, yet effective. A lot of times it’s
    tough to get that “perfect balance” between superb usability and visual appeal.
    I must say that you’ve done a excellent job with this.
    In addition, the blog loads super fast for me on Opera.
    Superb Blog!

  3. We stumbled over here different page and thought I
    might check things out. I like what I see so i am just following you.

    Look forward to checking out your web page again.

  4. Greetings from California! I’m bored to tears at work so I decided to browse your blog on my iphone during lunch break.
    I love the knowledge you present here and can’t wait
    to take a look when I get home. I’m amazed at how fast your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyways, fantastic site!

  5. Simply desire to say your article is as astonishing.
    The clearness in your publish is just great and i
    can assume you’re an expert on this subject. Fine together with your permission allow me to take hold of your
    RSS feed to stay up to date with forthcoming post. Thanks a million and please keep up
    the rewarding work.

  6. all the time i used to read smaller articles or reviews
    which as well clear their motive, and that is also happening with this post which I am reading now.

  7. I like the helpful information you provide in your articles.
    I’ll bookmark your weblog and check once more right here frequently.
    I am rather sure I will learn a lot of new stuff right here!
    Best of luck for the next!

Leave a Reply

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