Basic Networking IQ Test Quiz Instructions:
Basic Networking Quiz Test Questions and Options:
Show some networking terminologies given below?
B: MAC Address
D: IP address
TCP,FTP,Telnet,SMTP,POP etc. are examples of?
A: MAC Address
B: IP address
Which classes are used for connection-oriented socket programming?
B: Socket And ServerSocket
Which class can be used to create a server socket. This object is used to establish communication with the clients?
A: Socket And ServerSocket
Which methods are commonly used in ServerSocket class?
A: public Socket accept()
B: public OutputStream getOutputStream()
D: public synchronized void close()
URL is an acronym for?
A: Uniform Restore Locator
B: Unified Restore Locator
C: Unified Resource Locator
D: Uniform Resource locator
The URL Connection class can be used to read and write data to the specified resource referred by the URL?
The java.net.InetAddress class represents an?
C: IP address
D: MAC Address
In InetAddress class which method it returns the host name of the IP Address?
B: public static InetAddress getLocalHost()
C: public String getHostAddress()
D: public String getHostName()
Which classes are used for connection-less socket programming?
C: DatagramSocket And DatagramPacket
Which class is message that can be sent or received. If you send multiple packet, it may arrive in any order,Moreover, packet delivery is not guaranteed?
B: DatagramSocket And DatagramPacket
Which constructor of DatagramSocket class is used that it creates a datagram socket and binds it with the given Port Number?
B: DatagramSocket(int port, InetAddress address)
C: DatagramSocket(int port)
Which steps occur when establishing a TCP connection between two computers using sockets?
A: The server invokes the accept() method of the ServerSocket class. This method waits until a client connects to the server on the given port
B: The server instantiates a ServerSocket object, denoting which port number communication is to occur on
D: After the server is waiting, a client instantiates a Socket object, specifying the server name and port number to connect to
The flush() method of PrintStream class flushes any uncleared buffers in memory?
Which method of URL class represents a URL and has complete set of methods to manipulate URL in Java?
D: java.net.URLConnection And java.net.URL
Recommended Other Related TopicsNetworking Online Exams MCQs Quiz Test
Computer Networks Test Online Exams MCQs Quiz Test
Network Security Online Exams MCQs Quiz Test
Advanced Networking Online Exams MCQs Quiz Test
Routing And IP Addressing Online Exams MCQs Quiz Test
Domain Network Services(DNS) Online Exams MCQs Quiz Test
Data Reference Models And Communication Networks Online Exams MCQs Quiz Test
Network Applications Online Exams MCQs Quiz Test
Computer Networking Online Exams MCQs Quiz Test
Client Administration Online Exams MCQs Quiz Test