Net Test Paper Time: 30 Mins Name: - Instrcuctor: Kamal
Net Test Paper Time: 30 Mins Name: - Instrcuctor: Kamal
Time: 30 Mins
Name:_________________________
Instrcuctor: Kamal
6) The default wire protocol for remote XML web service invocation is
a) HTTP POST
b) SOAP
c) HTTP GET
d) None of the above
7) To enable HTTP GET and HTTP POST bindings in web service scenario, setting
are established in
a) machine.config
b) web.config
c) Global.asax
d) app.config
9) To generate the proxy class using some WSDL of a web service such that class is
generated in VB.NET, under namespace sample, and url is taken from client-side
*.config file, the command set would be
a) wsdl /out:proxy.cs /n:sample /urlkey: serviceurl [wsdl link]
b) wsdl /out:proxy.Vb /language:vb /urlkey: serviceurl [wsdl link]
c) wsdl /out: proxy.vb /language:vb /n:sample /urlkey: serviceurl [wsdl link]
d) wsdl /out: proxy.vb [wsdl link]
11) Consider a remote object hosted by window service. The server-activated object is
created when
a) a method call is placed through proxy
b) window service is started
c) proxy is created
d) either a or c depending upon activation mode
12) Consider a c# file named testapp.cs having a class named testapp which has entry
point Main( ), to compile this file to generate testapp.exe following command set is
valid
a) csc /target:exe testapp.cs
b) csc /t:exe testapp.cs
c) csc testapp.cs
d) all above are valid
15) in a disconnected model of ADO.NET, consider that you have created a DataRow
instance, before adding it to the DataRowCollection , it would be in following state
a) Unchanged
b) Deleted
c) Detached
d) Modified
17) A thread would be in following state when it is first created until start( ) method
called on it .
a) Stopped
b) Aborted
c) Unstarted
d) Suspended
18) The following property of Filelnfo class gets the path of the specified file .
a) Directory
b) FullName
c) DirectoryName
d) Extension
22) To get the list of methods hold by delegate object, you will can the following
method
a) Invoke( )
b) Combine( )
c) BeginInvoke ( )
d) GetInvocationList( )
23) To manage the state of application-wide data, with expiration time, so that it can
be updated again, the best suited state-management technique provided by ASP.NET
2.0 for above case is
a) Application State
b) Application Cache
c) Session State
d) Cookie
26) Following Serialization format demands for default constructor in all the classes
involved in object graph to be serialized
a) XmlSerializer
b) SoapFormatter
c) BinayFormatter
d) All of above
27) suppose a web service is there represented by a class named Mathametics. The
code also contains the public helper class named FixedValues. It also contains a
private class named calculations. If we are adding the web reference in client project,
the following classes will be there in Reference.cs file.
a) Mathemetics & calculations
b) Mathemetics, FixedValues & calculation
c) Mathemetics
d) Mathemetics & FixedValues.