0

web technology Online Quiz - 9

Description: web technology Online Quiz - 9
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

ConcurrencyMode enumeration are

  1. Multiple

  2. All

  3. Reentrant

  4. Single


Correct Option: B

TranferMode property can be set to?

  1. StreamedRequest

  2. StreamedResponse

  3. Streamed

  4. Buffered

  5. All


Correct Option: E

Which types of operation contract parameters could be streamed?

  1. Message

  2. Stream,IXMLSerializable

  3. Message,Stream

  4. Message,Stream or an IXMLSerializable


Correct Option: D

What sessions are available with WCF?

  1. All

  2. Reliable

  3. Secure

  4. Transport


Correct Option: A

Which Binding is used for port sharing in WCF?

  1. NetMSMQBinding

  2. BasicHTTPBinding

  3. NetPeerTCPBinding

  4. NetTCPBinding


Correct Option: D

Which Namespace is used to handle transactions in WCF?

  1. System.Trans

  2. System.Transcation

  3. System.Transcations

  4. System.Banking


Correct Option: C

Streaming is supported by

  1. NetNamedPipeBinding,NetTcpBinding,BasicHttpBinding

  2. NetNamedPipeBinding,BasicHttpBinding

  3. BasicHttpBinding

  4. NetNamedPipeBinding


Correct Option: A

Options Available with InstanceContextMode Enumeration

  1. Single

  2. All

  3. PerSession

  4. PerCall


Correct Option: B

What types of quota have the WCF transports?

  1. Collection Size Limits

  2. Timeouts & Collection Size Limits

  3. Memory Allocation, Timeouts & Collection Size Limits

  4. Memory Allocatios & Collection Size Limits


Correct Option: C

WS-atomic transaction protocol is interoperable transaction protocol?

  1. True

  2. False


Correct Option: A

Which files types are supported by Service Trace Viewer tool?

  1. Event Tracing File(.etl)

  2. All

  3. Crimson Tracing File

  4. WCF Tracing File(.svcLog)


Correct Option: B

Which property is set to enable port sharing in wcf?

  1. PortSharingEnabled

  2. SharingEnabled

  3. PortSharing

  4. PortSharingDisabled


Correct Option: A

Which Property controls session lifetime?

  1. retrieve Timeout

  2. direct Timeout

  3. recieve Timeout

  4. NA


Correct Option: C

What types of quota have the WCF transports?

  1. Collection Size Limits

  2. Timeouts & Collection Size Limits

  3. Memory Allocation, Timeouts & Collection Size Limits

  4. Memory Allocatios & Collection Size Limits


Correct Option: C

what is an ETL

  1. extract,telpone,level

  2. england,tirupathi,london

  3. extraction,transformation,loading

  4. extraction,travel,loading


Correct Option: C

Which of the following container is used to arrange its children in vertical stack?

  1. ViewStack

  2. VBox

  3. HBox

  4. Canvas


Correct Option: B

Which of the following metadata tags is used to define the variable is eligible for data binding

  1. [Bindable]

  2. [DefaultProperty]

  3. [DataBinding]

  4. [AutoUpdate]


Correct Option: A

Which of the following keywords will be used if you need to use a method without instantiation of the class to which it belongs to?

  1. function

  2. static

  3. static function

  4. public function


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of static methods in object-oriented programming.

Option A) function - This option is incorrect because the keyword "function" is a general term used to define a block of reusable code, but it does not specifically indicate a method that can be used without instantiating a class.

Option B) static - This option is incorrect because the keyword "static" is used to define variables or methods that belong to a class itself, rather than to instances of the class. However, it does not specify whether the method can be used without instantiation.

Option C) static function - This option is correct because the combination of the keywords "static" and "function" indicates a method that can be accessed and used without instantiating the class to which it belongs. It is a method that belongs to the class itself and can be called directly.

Option D) public function - This option is incorrect because the keyword "public" is used to define the visibility of a method (i.e., whether it can be accessed from outside the class), but it does not specify whether the method can be used without instantiation.

The correct answer is C) static function. This option is correct because it specifically indicates a method that can be used without instantiating the class.

What is the default resultFormat when complex data is returned by the class?

  1. Object

  2. Plain text

  3. xml

  4. e4x


Correct Option: A

You want to allow user to select more than one item from a List by holding Ctrl key. Which of the following properties will be used?

  1. allowCtrlSelections

  2. allowMultipleSelections

  3. selectedIndices

  4. selectedItem


Correct Option: B
- Hide questions