1. Which namespace is mostly preferred for the operation of networking in C#?
a) System.Web
b) System.in
c) System.Net.Mail
d) All of the mentioned
2. Which of the following are the classes defined by the namespace System.Net?
a) Cookie
b) CookieContainer
c) FileWebRequest
d) All of the mentioned
3. Which of the following are the interfaces defined by the namespace System.Net?
a) IAuthenticationModule
b) HttpWebRequest
c) WebProxy
d) HttpResponseHeader
4. Which of the following are the classes that support the standard HTTP protocol?
a) HttpWebRequest
b) HttpResponseHeader
c) HttpRequestHeader
d) HttpStatusCode
5. Which of the following class/classes supports the task of uploading and downloading the file?
a) WebRequest
b) WebResponse
c) WebClient
d) All of the mentioned
6. How many ports of TCP/IP are reserved for specific protocols?
a) 10
b) 1024
c) 2048
d) 512
7. How many bits are present in a single IP address?
a) 8
b) 16
c) 32
d) 64
8. Which of the following is the full form of DNS?
a) Data Network Service
b) Data Name Service
c) Domain Network Service
d) Domain Name Service
9. Which of the following classes is used to encapsulate IP address and DNS?
a) DatagramPacket
b) URL
c) InetAddress
d) ContentHandler
10. Which of the following are the protocols defined by .NET runtime?
a) HTTP
b) HTTPS
c) File
d) All of the mentioned