Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Socket Programming - Computer Science Engineering (CSE) MCQ

Test: Socket Programming - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: Socket Programming

Test: Socket Programming for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) 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) 2024 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 course for Computer Science Engineering (CSE) & Test: Socket Programming solutions in Hindi for Computer Science Engineering (CSE) 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 for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
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.

1 Crore+ students have signed up on EduRev. Have you? Download the App
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.

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

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)