Basic Networking IQ Test Quiz Instructions:
Basic Networking Quiz Test Questions and Options:
Show some networking terminologies given below?
A: IP address
C: MAC Address
TCP,FTP,Telnet,SMTP,POP etc. are examples of?
C: IP address
D: MAC Address
Which classes are used for connection-oriented socket programming?
A: Socket And ServerSocket
Which class can be used to create a server socket. This object is used to establish communication with the clients?
D: Socket And ServerSocket
Which methods are commonly used in ServerSocket class?
A: public synchronized void close()
B: public OutputStream getOutputStream()
D: public Socket accept()
URL is an acronym for?
A: Uniform Restore Locator
B: Unified Resource Locator
C: Unified Restore 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?
A: MAC Address
D: IP address
In InetAddress class which method it returns the host name of the IP Address?
A: public String getHostAddress()
B: public static InetAddress getLocalHost()
C: public String getHostName()
Which classes are used for connection-less socket programming?
A: 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?
D: DatagramSocket And DatagramPacket
Which constructor of DatagramSocket class is used that it creates a datagram socket and binds it with the given Port Number?
C: DatagramSocket(int port)
D: DatagramSocket(int port, InetAddress address)
Which steps occur when establishing a TCP connection between two computers using sockets?
A: The server instantiates a ServerSocket object, denoting which port number communication is to occur on
B: After the server is waiting, a client instantiates a Socket object, specifying the server name and port number to connect to
C: The server invokes the accept() method of the ServerSocket class. This method waits until a client connects to the server on the given port
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?
A: 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
Computer Networking Online Exams MCQs Quiz Test
Data Reference Models And Communication Networks Online Exams MCQs Quiz Test
Network Applications Online Exams MCQs Quiz Test
Client Administration Online Exams MCQs Quiz Test