Computer Networks Assessment Online Exam Quiz
Computer Networks Assessment GK Quiz. Question and Answers related to Computer Networks Assessment. MCQ (Multiple Choice Questions with answers about Computer Networks Assessment
Which classes are used for connection-less socket programming?
Options
A : Datagram Socket
B : Datagram Packet
C : Both Datagram Socket & Datagram Packet
D : Server Socket
Which constructor of Datagram Socket class is used to create a datagram socket and binds it with the given Port Number?
Options
A : Datagram Socket(int port)
B : Datagram Socket(int port, Int Address address)
C : Datagram Socket()
D : Datagram Socket(int address)
The client in socket programming must know which information?
Options
A : IP address of Server
B : Port number
C : Both IP address of Server & Port number
D : Only its own IP address
Which methods are commonly used in Server Socket class?
Options
A : Public Output Stream get Output Stream ()
B : Public Socket accept ()
C : Public synchronized void close ()
D : Public void connect ()
In Inet Address class, which method returns the host name of the IP Address?
Options
A : Public String get Hostname()
B : Public String getHostAddress()
C : Public static InetAddress get Localhost()
D : Public getByName()
What does the java.net.InetAddress class represent?
Options
A : Socket
B : IP Address
C : Protocol
D : MAC Address
TCP, FTP, Telnet, SMTP, POP etc. are examples of ___________
Options
A : Socket
B : IP Address
C : Protocol
D : MAC Address
Datagram is basically just a piece of information but there is no guarantee of its content, arrival or arrival time.
Options
A : True
B : False
C :
D :
The flush () method of Print Stream class flushes any un-cleared buffers in the memory.
Options
A : True
B : False
C :
D :
The URL Connection class can be used to read and write data to the specified resource that is referred by the URL.
Options
A : True
B : False
C :
D :
Computer Networks Analyzing Subnet Mask more Online Exam Quiz
Computer Graphics Two Dimensional Viewing
Computer Networks Analyzing Subnet Mask
Computer Networks Application Layer
Computer Networks Aptitude Test
Computer Networks Atm Frame Relay