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 on Computer Network 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: a

Explanations: Out-of-band data is nothing but it is called urgent data.  Since   UDP provides a datagram service, this concept is not applicable.

2. The maximum size of an IP datagram is ……….
  1. 65,537
  2. 65,536
  3. 65,538
  4. None of the above

Answer: b

Explanation: If datagram size exceeds MTU, then fragmentation occurs.  The minimum datagram size is 576 bytes.

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: c

Explanation: There are four layers in Xerox Network System:

  1. DataLink Layer
  2. Network Layer
  3. Transport Layer
  4. Process Layer

5. What are the nodes of SNA?

  1. End-user
  2. Logical Unit
  3. Physical Unit and Datalink
  4. all of the above

Answer: d

Explanation: SNA has 4 NOdes. Lu types are 2,3,4&7,.Lu has to interact with Pu, and SNA nodes are non-programmable nodes.

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: a

7. GDS stands for ………….
  1. Generalized Data Stream
  2. Generalized Date Stream
  3. General Data Stream
  4. None of the above

Answer: 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: a

Explanation: This is used for copying a file between the different systems for e.g., UUCP main.c apple! UUCP

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: a

Explanation: This is used for copying a file between the different systems for e.g., UUCP main.c apple! UUCP

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: a

Explanation: A connection-oriented protocol gives you the equivalent of a telephone conversation; after establishing a connection, two applications can send data back and forth; the connection stays in place even when no one is talking.

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: 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: a

 14. For 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: a
Explanation: The Transmission rate = length / transmission rate = 32/10 = 3.2 microseconds.

Answer: b

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

  1. 5
  2. 6
  3. 3
  4. None of the above

Answer: c

Explanation: Three types of sockets are supported:

  1. The stream sockets allow processes to communicate using TCP. The socket type is SOCK_STREAM.
  2. A datagram of sockets allows processes to use UDP to communicate. The socket type is SOCK_DGRAM.
  3. Raw sockets provide access to ICMP. The socket type is SOCK_RAW.

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: 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: c
Explanation: In the client socket programming must know the IP address of the Server as it has to use that IP address to initialize the socket class constructor, i.e., .how the client requests a connection to the Server

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

a. True
b. False

Answer: a
Explanation: The
method of flush () Print Stream class flushes any uncleared buffers in memory.

19. What is the size of MAC Address?

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

Answer: C
20.Number of components in network communication is

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

Answer: a

50 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. Good post however I was wanting to know if you could write a
    litte more on this topic? I’d be very thankful if you
    could elaborate a little bit more. Bless you!

  8. I believe what you published made a bunch of sense.
    However, what about this? what if you were to write a
    killer headline? I am not suggesting your information is not good., however what if you added a title that makes people desire more?

    I mean MCQ For Computer Networks Programming | Technicalblog.in is kinda plain. You could look at Yahoo’s home
    page and note how they create news titles to grab viewers to click.
    You might add a video or a picture or two to get readers interested about what you’ve written. In my opinion, it could bring your posts a little livelier.

  9. Howdy! I simply want to offer you a big thumbs
    up for your excellent information you’ve got right here on this post.
    I’ll be coming back to your blog for more soon.

  10. I am really impressed with your writing skills and also with the
    layout on your blog. Is this a paid theme or did you
    modify it yourself? Either way keep up the excellent quality writing, it’s
    rare to see a great blog like this one nowadays.

  11. A person necessarily help to make significantly articles I might
    state. This is the first time I frequented
    your website page and up to now? I surprised with the analysis you made to create this actual publish extraordinary.

    Great process!

  12. Excellent blog right here! Also your web site rather a
    lot up fast! What web host are you the usage of? Can I get your affiliate hyperlink in your
    host? I desire my site loaded up as fast as yours lol

Leave a Reply

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