0
Alien head

programming languages Online Quiz - 42

Description: programming languages Online Quiz - 42
Number of Questions: 20
Created by:
Tags: programming languages

Stack is used to maintain objects on a permanent basis.

  1. True

  2. False

Answer: 1

An assembly contains the logical structure of assembly component.

  1. True

  2. False

Answer: 1

CTS(Common Type System) defines and standardizes the data types to ensure compatibility across all .NET complaint languages.

  1. True

  2. False

Answer: 1

What tool is used to manage the GAC ?

  1. GacUtil.exe

  2. RegSvr.exe

  3. GacSvr32.exe

  4. GacMgr.exe

Answer: 1

Namespace for Unit Testing

  1. Microsoft.Visualstudio.TestTools.UnitTestingFramework

  2. Visualstudio.TestTools.UnitTesting

  3. System.UnitTesting

  4. None of the above

Answer: 1

WCF can be hosted in

  1. Web Service

  2. VisualStudio Setup

  3. both A and B

  4. IIS

Answer: 4

How to throw an exception if marshaling encounters an unmappable Unicode character that is converted to an ANSI character?

  1. Set ThrowOnUnmappableChar = True

  2. Set ThrowOnmappableChar = True

  3. Set ThrowOnmappableChar = False

  4. Set ThrowOnUnmappableChar = False

Answer: 1

Select the control which does not have any visible interface

  1. DataList

  2. Repeater

  3. DropDownList

  4. DataGrid

Answer: 2

In which event, controls are fully loaded ?

  1. Page_Init

  2. Page_Load

  3. Control Events

  4. None

Answer: 2

What is the difference between Server.Transfer & Response.Redirect

  1. Server.Transfer needs a roundtrip, Response.Redirect does not

  2. Server.Transfer can transfer user between 2 applicaions

  3. Response.Redirect needs roundtrip, Server.Transfer does not

  4. No Difference

Answer: 3

Which one is not a valid namespace in .net framework?

  1. System.Data.OleDb

  2. System.Web

  3. System.Data.xml

  4. System.Data.SqlClient

Answer: 3

What happens when you change the web.config file at run time?

  1. Application runs without any change

  2. Application automatically close

  3. Application automatically restart

  4. Cannot change the web.config file at run time

Answer: 3

What are Reference Type in .NET?

  1. String

  2. Object

  3. Both

  4. None of these

Answer: 3

C# allows two references pointing to the same object

  1. True

  2. False

Answer: 1

Process of converting a value stored in a variable of one data type to a value of another type is called as?

  1. Data Conversion

  2. Interfacing

  3. Boxing

  4. Casting

Answer: 4

What is the Correct tree structure of an Application in C#?

  1. Namespace>class>manifest>elements

  2. Manifest>class>namespace>elements

  3. Manifest>namespace>class>element

  4. None of these

Answer: 3

How is the Nullable variable declaration done?

  1. Nullable b=null;

  2. bool b=null;

  3. bool b=null;

  4. bool b= ;

Answer: 1

Which language makes the best use of Common Language Runtme(CLR)?

  1. C++

  2. C#

  3. JAVA

  4. VB

Answer: 2

Can you write to the file system from flex?

  1. True

  2. False

Answer: 1

How do you generate random numbers within a given limit with actionscript?

  1. Math.round(Math.random() * (high - low)) + low

  2. Math.round(Math.random())

  3. Math.round(Math.random())+ low

  4. None of the baove

Answer: 1
+ View questions