Computer Science Engineering (CSE)  >  Computer Networks  >  Test: Socket Programming Download as PDF

Test: Socket Programming


Test Description

10 Questions MCQ Test Computer Networks | Test: Socket Programming

Test: Socket Programming for Computer Science Engineering (CSE) 2022 is part of Computer Networks preparation. The Test: Socket Programming questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Socket Programming MCQs are made for Computer Science Engineering (CSE) 2022 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Socket Programming below.
Solutions of Test: Socket Programming questions in English are available as part of our Computer Networks for Computer Science Engineering (CSE) & Test: Socket Programming solutions in Hindi for Computer Networks course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Socket Programming | 10 questions in 10 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Computer Networks for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
1 Crore+ students have signed up on EduRev. Have you?
Test: Socket Programming - Question 1

Which methods are commonly used in ServerSocket class?

Test: Socket Programming - Question 2

Which constructor of Datagram Socket class is used to create a datagram socket and binds it with the given Port Number?

Detailed Solution for Test: Socket Programming - Question 2

Answer: b
Explanation: Datagram Socket (int port, Int Address address) is use data create a datagram socket.

Test: Socket Programming - Question 3

The client in socket programming must know which information?

Detailed Solution for Test: Socket Programming - Question 3

Answer: c
Explanation: The client in socket programming must know IP address of Server.

Test: Socket Programming - Question 4

The URL Connection class can be used to read and write data to the specified resource referred by the URL

Detailed Solution for Test: Socket Programming - Question 4

Answer: a
Explanation: The URL Connection class can be used to read and write data to the specified resource referred by the URL.

Test: Socket Programming - Question 5

Datagram is basically an information but there is no guarantee of its content, arrival or arrival time.

Detailed Solution for Test: Socket Programming - Question 5

Answer: a
Explanation: Datagram is basically an information but there is no guarantee of its content, arrival or arrival time.

Test: Socket Programming - Question 6

TCP, FTP, Telnet, SMTP, POP etc. are examples of?

Detailed Solution for Test: Socket Programming - Question 6

Answer: c
Explanation: TCP, FTP, Telnet, SMTP, POP etc. are examples of Protocol.

Test: Socket Programming - Question 7

What does the java.net.InetAddress class represent?

Detailed Solution for Test: Socket Programming - Question 7

Answer: b
Explanation: The java.net.InetAddress class represent IP Address.

Test: Socket Programming - Question 8

The flush () method of Print Stream class flushes any un cleared buffers in memory

Detailed Solution for Test: Socket Programming - Question 8

Answer: a
Explanation: The flush () method of Print Stream class flushes any un cleared buffers in memory.

Test: Socket Programming - Question 9

Which classes are used for connection-less socket programming?

Detailed Solution for Test: Socket Programming - Question 9

Answer: c
Explanation: Datagram Socket, Datagram Packet are used for connection-less socket programming.

Test: Socket Programming - Question 10

In Int Address class which method returns the host name of the IP Address?

Detailed Solution for Test: Socket Programming - Question 10

Answer: a
Explanation: In Int Address class public String get Hostname() method returns the host name of the IP Address.

12 videos|72 docs|53 tests
Use Code STAYHOME200 and get INR 200 additional OFF
Use Coupon Code
Information about Test: Socket Programming Page
In this test you can find the Exam questions for Test: Socket Programming solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Socket Programming, EduRev gives you an ample number of Online tests for practice