Working Basics Imp Questions
Working Basics Imp Questions
Pdf
Question: 1
What is a socket?
Sockets provide the communication mechanism between two computers using TCP.
A client program creates a socket on its end of the communication and attempts to connect that
socket to a server.
Question: 2
What is DHCP?
Dynamic Host Configuration Protocol, a piece of the TCP/IP protocol suite that handles the
automatic assignment of IP addresses to clients.
Question: 3
A TCP protocol establishes a two way connection between a pair of computers, while the UDP
protocol is a one way message sender.
The common analogy is that TCP is like making a phone call and carrying on a two way
communication while UDP is like mailing a letter.
Question: 4
What is SMTP?
Simple Mail Transmission Protocol, the TCP/IP Standard for Internet mails.
SMTP exchanges mail between servers; contract this with POP, which transmits mail between a
server and a client.
Question: 5
What are the seven layers of OSI model?
Application
Presentation
Session
Transport
Network
DataLink
Physical Layer
Question: 6
Question: 7
Question: 8
Question: 10
This is often required when clients have certain restrictions on which servers they can connect to.
And when several users are hitting a popular website, a proxy server can get the contents of the
web server’s popular pages once, saving expensive internetwork transfers while providing faster
access to those pages to the clients.
Question: 2
Both the client side and server side have to provide mechanisms to make the data useful in any
way.
Question: 3
Question: 4
Question: 5
Which class represents the sockets that both the client
and server use to communicate with each other?
java.net.socket