Computer Networks
When collection of various computers seems a single coherent system to its client, then it is called _________

A. Computer network
B. Distributed system
C. Networking system
D. Mail system

Explanation: A Computer network is defined as a collection of interconnected computers which uses a single technology for connection. A distributed system is also the same as computer network but the main difference is that the whole collection of computers appears to its users as a single coherent system. Example:- World wide web

Both HDLC and PPP are Data link layer protocols.

A. True
B. False
C.
D.

Explanation: Both HDLC and PPP both are Data link layer protocol. HDLC stands for High level Data Link Control and PPP stands for Point to Point Protocol.

What is the suffix length for group 1?

A. 8
B. 16
C. 24
D. None of the mentioned

Explanation: 64 customers, each needs 256 addresses Suffix length = 8 (28=256)

Which statement is true regarding classless routing protocols?

A. The use of discontinuous networks is not allowed
B. The use of variable length subnet masks is permitted
C. Ripv1 is a claSSLess routing protocol
D. Ripv2 supports claSSLess routing

Explanation: Classful routing means that all hosts in the internetwork use the same mask. Classless routing means that you can use Variable Length Subnet Masks (VLSMs) and can also support discontinuous networking.

Which methods are commonly used in Server Socket class?

A. Public output stream get output stream ()
B. Public socket accept ()
C. Public synchronized void close ()
D. Public void connect ()

Explanation: The Public socket accept () method is used by the ServerSocket class to accept the connection request of exactly one client at a time. The client requests by initializing the socket object with the servers IP address.